Skip to content

Commit ab4a793

Browse files
[lldb][debugger][NFC] Add broadcast bit for category-based progress events. (llvm#81169)
This commit adds a new broadcast bit to the debugger. When in use, it will be listened to for progress events that will be delivered and kept track of by category as opposed to the current behaviour of coming in one by one.
1 parent 687304a commit ab4a793

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lldb/include/lldb/API/SBDebugger.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class LLDB_API SBDebugger {
4646
eBroadcastBitProgress = (1 << 0),
4747
eBroadcastBitWarning = (1 << 1),
4848
eBroadcastBitError = (1 << 2),
49+
eBroadcastBitProgressCategory = (1 << 3),
4950
};
5051

5152
SBDebugger();

lldb/include/lldb/Core/Debugger.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
8484
eBroadcastBitWarning = (1 << 1),
8585
eBroadcastBitError = (1 << 2),
8686
eBroadcastSymbolChange = (1 << 3),
87+
eBroadcastBitProgressCategory = (1 << 4),
8788
};
8889

8990
using DebuggerList = std::vector<lldb::DebuggerSP>;

0 commit comments

Comments
 (0)