================
@@ -106,9 +107,15 @@ void Progress::ReportProgress() {
if (completed < m_prev_completed)
return; // An overflow in the m_completed counter. Just ignore these
events.
+ // Change the category bit if we're an internal or external progress.
+ uint32_t progress_category_bit =
+ m_origin == ProgressOrigin::eExternal
+ ? lldb::eBroadcastBitExternalProgressCategory
+ : lldb::eBroadcastBitProgressCategory;
----------------
Jlalond wrote:
I understand we have two categories and two defined bits here, but I'm confused
what you mean by
> You'll need to check both eBroadcastBitProgress and
> eBroadcastBitProgressCategory
Wouldn't I just want to set both bits (and unset internal), and pass that to
the debugger to see if there is a listener for either?
https://github.com/llvm/llvm-project/pull/120171
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits