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

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 2 05:37:40 PDT 2026


================
@@ -75,7 +75,7 @@ class CommandObjectRegisterRead : public CommandObjectParsed {
 
   bool DumpRegister(const ExecutionContext &exe_ctx, Stream &strm,
                     RegisterContext &reg_ctx, const RegisterInfo &reg_info,
-                    bool print_flags) {
+                    bool print_flags, uint32_t reg_name_align_at = 0) {
----------------
Rifet-c wrote:

Well, maybe then it is a good idea to make alignment always dynamic? I mean, having it as `max(dynamic, 8)` for me looks a bit weird, why is it dynamic when a name is longer than 8 and not dynamic when all of them are shorter?

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


More information about the lldb-commits mailing list