llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Jacob Lalonde (Jlalond)

<details>
<summary>Changes</summary>

In the original SBProgress patch, #<!-- -->123837, I didn't ensure the debugger 
was broadcasting these events to the CLI. This patch addresses that.

&lt;img width="387" alt="image" 
src="https://github.com/user-attachments/assets/5eb93a46-1db6-4d46-a6b7-2b2f9bbe71db";
 /&gt;


---
Full diff: https://github.com/llvm/llvm-project/pull/133309.diff


1 Files Affected:

- (modified) lldb/source/Core/Debugger.cpp (+1-1) 


``````````diff
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 8c705f889983a..cf247974ad966 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -2024,7 +2024,7 @@ 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);

``````````

</details>


https://github.com/llvm/llvm-project/pull/133309
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to