[Lldb-commits] [lldb] [lldb][Process/FreeBSDKernel] Fix broken debugging on aarch64 (PR #180222)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 12 02:24:44 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
----------------
DavidSpickett wrote:
Seems like these are only used in the 14+ path. So move them as close as you can to use and declare them as constant variables instead.
```
const uint32_t pcb_fp_index = 10;
...
```
https://github.com/llvm/llvm-project/pull/180222
More information about the lldb-commits
mailing list