SBWatchpoint SBWatchpoint::GetWatchpointFromEvent(const lldb::SBEvent &event) { SBWatchpoint sb_watchpoint; if (event.IsValid()) sb_watchpoint.m_opaque_sp = Watchpoint::WatchpointEventData::GetWatchpointFromEvent(event.GetSP()); return sb_watchpoint; }
bool SBWatchpoint::EventIsWatchpointEvent(const lldb::SBEvent &event) { LLDB_RECORD_STATIC_METHOD(bool, SBWatchpoint, EventIsWatchpointEvent, (const lldb::SBEvent &), event); return Watchpoint::WatchpointEventData::GetEventDataFromEvent(event.get()) != NULL; }
uint32_t SBBreakpoint::GetNumBreakpointLocationsFromEvent (const lldb::SBEvent &event) { uint32_t num_locations = 0; if (event.IsValid()) num_locations = (Breakpoint::BreakpointEventData::GetNumBreakpointLocationsFromEvent (event.GetSP())); return num_locations; }
SBBreakpointLocation SBBreakpoint::GetBreakpointLocationAtIndexFromEvent (const lldb::SBEvent& event, uint32_t loc_idx) { SBBreakpointLocation sb_breakpoint_loc; if (event.IsValid()) sb_breakpoint_loc.SetLocation (Breakpoint::BreakpointEventData::GetBreakpointLocationAtIndexFromEvent (event.GetSP(), loc_idx)); return sb_breakpoint_loc; }
SBBreakpoint SBBreakpoint::GetBreakpointFromEvent (const lldb::SBEvent& event) { SBBreakpoint sb_breakpoint; if (event.IsValid()) sb_breakpoint.m_opaque_sp = Breakpoint::BreakpointEventData::GetBreakpointFromEvent (event.GetSP()); return sb_breakpoint; }
bool SBBreakpoint::EventIsBreakpointEvent (const lldb::SBEvent &event) { return Breakpoint::BreakpointEventData::GetEventDataFromEvent(event.get()) != nullptr; }
size_t SBProcess::GetNumRestartedReasonsFromEvent (const lldb::SBEvent &event) { return Process::ProcessEventData::GetNumRestartedReasons(event.get()); }
bool SBWatchpoint::EventIsWatchpointEvent(const lldb::SBEvent &event) { return Watchpoint::WatchpointEventData::GetEventDataFromEvent(event.get()) != NULL; }
bool SBCommandInterpreter::EventIsCommandInterpreterEvent( const lldb::SBEvent &event) { return event.GetBroadcasterClass() == SBCommandInterpreter::GetBroadcasterClass(); }