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

via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 20 08:41:17 PDT 2026


================
@@ -195,6 +252,11 @@ class CommandObjectRegisterRead : public CommandObjectParsed {
         result.AppendError("the --set <set> option can't be used when "
                            "registers names are supplied as arguments\n");
       } else {
+        int alignment = ComputeLongestRegisterName(
+            command, reg_ctx,
+            !static_cast<bool>(m_command_options.alternate_name));
+        strm.IndentMore(); // Extra ident to be consistent with register sets
----------------
Rifet-c wrote:

Done

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


More information about the lldb-commits mailing list