mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 20:10:50 +08:00
Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set.
Use this to allow the lldb Driver to emit notifications for breakpoint modifications. <rdar://problem/10619974> llvm-svn: 150665
This commit is contained in:
@@ -109,6 +109,16 @@ SBEvent::GetBroadcaster () const
|
||||
return broadcaster;
|
||||
}
|
||||
|
||||
const char *
|
||||
SBEvent::GetBroadcasterClass () const
|
||||
{
|
||||
const Event *lldb_event = get();
|
||||
if (lldb_event)
|
||||
return lldb_event->GetBroadcaster()->GetBroadcasterClass().AsCString();
|
||||
else
|
||||
return "unknown class";
|
||||
}
|
||||
|
||||
bool
|
||||
SBEvent::BroadcasterMatchesPtr (const SBBroadcaster *broadcaster)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user