[all-commits] [llvm/llvm-project] 396638: [lldb] Correct alignment of register fields (#209140)

David Spickett via All-commits all-commits at lists.llvm.org
Mon Jul 13 04:22:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3966381ccbd135e34b44a746187ac6c5140df4cd
      https://github.com/llvm/llvm-project/commit/3966381ccbd135e34b44a746187ac6c5140df4cd
  Author: David Spickett <david.spickett at arm.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M lldb/source/Core/DumpRegisterValue.cpp
    M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
    M lldb/test/API/linux/aarch64/permission_overlay/TestAArch64LinuxPOE.py

  Log Message:
  -----------
  [lldb] Correct alignment of register fields (#209140)

In #188049 the alignment of register names for the raw value part "pc =
0x..." changed.

This resulted in many register fields being 2 spaces off where they
should be, because the stream we were printing to had a 2 space indent
set where it had none before.

This is actually a bug in the original field formatting code. It assumed
the stream had no indent level of its own. So the fix is to indent using
the stream (the 2 spaces), then indent to where the register name ends.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list