[all-commits] [llvm/llvm-project] c7a0af: [lldb] Gate `PolicyStack::Current()` log behind ve...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Tue Jul 14 10:55:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7a0afe5049a3d4789f34a8d746c6a45d73557b4
      https://github.com/llvm/llvm-project/commit/c7a0afe5049a3d4789f34a8d746c6a45d73557b4
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M lldb/source/Utility/Policy.cpp

  Log Message:
  -----------
  [lldb] Gate `PolicyStack::Current()` log behind verbose (#209527)

`Process::GetState()` calls `PolicyStack::Get().Current()` on every
prompt redraw, so the previous unconditional LLDB_LOG at the read site
fired on every keypress once `log enable lldb process` was on, drowning
out any other process log output. Keep the dump for when it's actually
wanted, but only fire it if the log is set to verbose.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>



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