[Lldb-commits] [lldb] [lldb] Improved formatting of 'register read' command. (PR #188049)

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 2 07:16:46 PDT 2026


================
@@ -147,6 +149,39 @@ class CommandObjectRegisterRead : public CommandObjectParsed {
   }
 
 protected:
+  uint32_t ComputeMatchingAlignment(RegisterContext *reg_ctx,
+                                    const RegisterSet *const reg_set,
----------------
Rifet-c wrote:

Sure, done :ok_hand: 
By the way, it was dereferenced conditionally, since this functions was being called only in case `reg_set` is not null (`DumpRegisterSet()` -> `if (reg_set) {`)

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


More information about the lldb-commits mailing list