[Lldb-commits] [lldb] [SBProgress][CLI] Configure sbprogress events to be emitted for the CLI (PR #133309)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 27 13:29:07 PDT 2025
https://github.com/Jlalond updated https://github.com/llvm/llvm-project/pull/133309
>From d55d7e328300134c723cbc7d0f67ac8c1309ebbb Mon Sep 17 00:00:00 2001
From: Jacob Lalonde <jalalonde at fb.com>
Date: Thu, 27 Mar 2025 13:15:46 -0700
Subject: [PATCH] Configure sbprogress events to be emitted for the CLI
---
lldb/source/Core/Debugger.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 8c705f889983a..fbbe3d62937ba 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -2024,7 +2024,8 @@ lldb::thread_result_t Debugger::DefaultEventHandler() {
}
}
} else if (broadcaster == &m_broadcaster) {
- if (event_type & lldb::eBroadcastBitProgress)
+ if (event_type & lldb::eBroadcastBitProgress ||
+ event_type & lldb::eBroadcastBitExternalProgress)
HandleProgressEvent(event_sp);
else if (event_type & lldb::eBroadcastBitWarning)
HandleDiagnosticEvent(event_sp);
More information about the lldb-commits
mailing list