Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2026 03:19:58 +0000
From:      Minsoo Choo <minsoochoo0122@proton.me>
To:        freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, freebsd-riscv@freebsd.org, freebsd-mips@freebsd.org, freebsd-ppc@freebsd.org, freebsd-arm@freebsd.org, freebsd-amd64@freebsd.org
Subject:   LLDB improvements on FreeBSD
Message-ID:  <8FA29C46-A15F-4B66-BDCA-4FF81EF8879B@proton.me>

index | next in thread | raw e-mail

[-- Attachment #1 --]
(I'm sending this email to all relevant mailing lists. When reply, please choose relevant mailing lists instead of replying to all mailing lists. (e.g. ppc testing result should be reported only to freebsd-ppc). I'm sorry that I spammed your inbox if you are subscribed to all the lists above)

Greetings,

Recently, I've been working on LLDB improvements on FreeBSD. This was originally a GSoC idea for kernel debugging support, but it ended up being general improvement including userspace debugging, kernel debugging, and rewriting LLDB tests.

The meta issue at LLVM GitHub repository is available at [1]. Those changes are solely targeted to LLVM 23, but I'm planning to backport those once dim@ lands his LLVM 21 patches in src. Note that none of the deprecation/removal changes will be backported. LLVM 21 import progress is available at [2].

Note for mips users: LLDB for FreeBSD on mips will be unavailable starting from LLVM 23.

Note for armv7 users: Due to lack of resources, the only thing I'll do for armv7 is kernel dump support. I'm not adding any other features or doing bugs fixes/testing for armv7. However, contributions are always welcome and if someone wants to improve support for armv7, please notify me and I'll add the issue/PR on the meta issue.

Note for powerpc32 users: powerpc32 currently has userspace debugging support. I tried to implement kernel debugging for powerpc32 but there are a few blockers on the core LLDB side. Thus, I'm not implementing kernel debugging support for powerpc32. Like armv7, if there is someone willing to step up for powerpc32 implementation, I'm happy to add the issue/PR in the meta issue.

Note for powerpc64be users: powerpc64be is poorly supported in the LLDB core since LLDB/Linux devs seem to be uninterested. Hence, I'm not implementing anything for powerpc64be but contributions are welcome.

Note for non-x86 and non-aarch64 users: Testing on these architectures is difficult due to lack of hardware while I always believe that testing on real hardware is way better than relying on QEMU. For those labelled under "Architecture support" in the meta issue, please report testing results in this mailing thread (to the relevant mailing list, not all the ones here). I might be able to run FreeBSD/LLDB on powerpc64le and riscv64, but things are still unclear.

[1] https://github.com/llvm/llvm-project/issues/180061
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067

--
Minsoo
[-- Attachment #2 --]
<html aria-label="message body"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"/></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">(I&#39;m sending this email to all relevant mailing lists. When reply, please choose relevant mailing lists instead of replying to all mailing lists. (e.g. ppc testing result should be reported only to freebsd-ppc). I&#39;m sorry that I spammed your inbox if you are subscribed to all the lists above)<div><br/></div><div>Greetings,</div><div><br/></div><div>Recently, I&#39;ve been working on LLDB improvements on FreeBSD. This was originally a GSoC idea for kernel debugging support, but it ended up being general improvement including userspace debugging, kernel debugging, and rewriting LLDB tests.</div><div><br/></div><div>The meta issue at LLVM GitHub repository is available at [1]. Those changes are solely targeted to LLVM 23, but I&#39;m planning to backport those once dim@ lands his LLVM 21 patches in src. Note that none of the deprecation/removal changes will be backported. LLVM 21 import progress is available at [2].</div><div><br/></div><div>Note for mips users: LLDB for FreeBSD on mips will be unavailable starting from LLVM 23.</div><div><br/></div><div>Note for armv7 users: Due to lack of resources, the only thing I&#39;ll do for armv7 is kernel dump support. I&#39;m not adding any other features or doing bugs fixes/testing for armv7. However, contributions are always welcome and if someone wants to improve support for armv7, please notify me and I&#39;ll add the issue/PR on the meta issue.</div><div><br/></div><div>Note for powerpc32 users: powerpc32 currently has userspace debugging support. I tried to implement kernel debugging for powerpc32 but there are a few blockers on the core LLDB side. Thus, I&#39;m not implementing kernel debugging support for powerpc32. Like armv7, if there is someone willing to step up for powerpc32 implementation, I&#39;m happy to add the issue/PR in the meta issue.</div><div><br/></div><div>Note for powerpc64be users: powerpc64be is poorly supported in the LLDB core since LLDB/Linux devs seem to be uninterested. Hence, I&#39;m not implementing anything for powerpc64be but contributions are welcome.</div><div><br/></div><div>Note for non-x86 and non-aarch64 users: Testing on these architectures is difficult due to lack of hardware while I always believe that testing on real hardware is way better than relying on QEMU. For those labelled under &#34;Architecture support&#34; in the meta issue, please report testing results in this mailing thread (to the relevant mailing list, not all the ones here). I might be able to run FreeBSD/LLDB on powerpc64le and riscv64, but things are still unclear.</div><div><br/></div><div>[1] <a href="https://github.com/llvm/llvm-project/issues/180061">https://github.com/llvm/llvm-project/issues/180061</a></div><div>[2] <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067</a></div><div><br/></div><div>--</div><div>Minsoo</div></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8FA29C46-A15F-4B66-BDCA-4FF81EF8879B>