[Lldb-commits] [lldb] [lldb][AIX] Implement read/write handling for GPR and SPR registers (PR #193205)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 21 09:14:00 PDT 2026


================
@@ -54,6 +65,14 @@ class NativeRegisterContextAIX_ppc64 : public NativeRegisterContextAIX {
   uint32_t CalculateVmxOffset(const RegisterInfo *reg_info) const;
 
   uint32_t CalculateVsxOffset(const RegisterInfo *reg_info) const;
+
+  union GPRStorage {
+    GPR_PPC gpr32;   // 32-bit general purpose registers.
+    GPR_PPC64 gpr64; // 64-bit general purpose registers.
+  };
----------------
DavidSpickett wrote:

```
union GPRStorage {
 ...
} m_gpr_storage;
```


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


More information about the lldb-commits mailing list