================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits