[all-commits] [llvm/llvm-project] 76065f: [lldb] Fix indentation when printing stop hooks

Julian Lettner via All-commits all-commits at lists.llvm.org
Fri Oct 31 16:46:09 PDT 2025


  Branch: refs/heads/users/yln/lldb-stop-hook-list-format
  Home:   https://github.com/llvm/llvm-project
  Commit: 76065f031ab36b327293a42929c703d0c013d752
      https://github.com/llvm/llvm-project/commit/76065f031ab36b327293a42929c703d0c013d752
  Author: Julian Lettner <jlettner at apple.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M lldb/source/Target/Target.cpp
    A lldb/test/Shell/ExecControl/StopHook/stop-hook-list-format.test

  Log Message:
  -----------
  [lldb] Fix indentation when printing stop hooks

Fix the format (i.e., indentation) when printing
stop hooks via `target stop-hook list`.


  Commit: dc15f12965ce4a5bc24eaa989f7104b69c079e24
      https://github.com/llvm/llvm-project/commit/dc15f12965ce4a5bc24eaa989f7104b69c079e24
  Author: Julian Lettner <jlettner at apple.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M lldb/include/lldb/Utility/Stream.h
    M lldb/source/Utility/Stream.cpp

  Log Message:
  -----------
  [lldb] Add indentation scope guard

Add `IndentScope Stream::MakeIndentScope()` to
make managing (and restoring!) of the indentation
level on `Stream` instances more ergonomic and
less error prone.


  Commit: 3e60bdf0a36d34e6668e75f8ffefb4ec1c9cca93
      https://github.com/llvm/llvm-project/commit/3e60bdf0a36d34e6668e75f8ffefb4ec1c9cca93
  Author: Julian Lettner <jlettner at apple.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb] Simplify printing of stop hooks

Simplify printing of stop hooks using the new
IndentScope.


Compare: https://github.com/llvm/llvm-project/compare/76065f031ab3%5E...3e60bdf0a36d

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