[Lldb-commits] [lldb] [lldb][AArch64][Linux] Use member initialisers (PR #197122)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed May 13 02:30:23 PDT 2026


================
@@ -91,63 +91,56 @@ class NativeRegisterContextLinux_arm64
   bool m_za_header_is_valid;
   bool m_pac_mask_is_valid;
   bool m_tls_is_valid;
-  size_t m_tls_size;
+  size_t m_tls_size = 0;
   bool m_gcs_is_valid;
   bool m_poe_is_valid;
 
-  struct user_pt_regs m_gpr_arm64; // 64-bit general purpose registers.
+  // 64-bit general purpose registers.
----------------
DavidSpickett wrote:

Fixed the ones changed by this PR.

I'll deal with the others later.

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


More information about the lldb-commits mailing list