[Lldb-commits] [lldb] [lldb][Process/FreeBSDKernel] Fix broken debugging on aarch64 (PR #180222)

Minsoo Choo via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 12 07:44:51 PST 2026


================
@@ -42,64 +48,111 @@ bool RegisterContextFreeBSDKernel_arm64::ReadRegister(
   if (m_pcb_addr == LLDB_INVALID_ADDRESS)
     return false;
 
+  struct {
+#define PCB_FP 10
+#define PCB_LR 11
----------------
mchoo7 wrote:

Okay, but I'm using `constexpr` here (since this was originally a macro)

https://github.com/llvm/llvm-project/pull/180222


More information about the lldb-commits mailing list