LLDB mainline
|
#include <SBBreakpoint.h>
Static Public Member Functions | |
static bool | EventIsBreakpointEvent (const lldb::SBEvent &event) |
static lldb::BreakpointEventType | GetBreakpointEventTypeFromEvent (const lldb::SBEvent &event) |
static lldb::SBBreakpoint | GetBreakpointFromEvent (const lldb::SBEvent &event) |
static lldb::SBBreakpointLocation | GetBreakpointLocationAtIndexFromEvent (const lldb::SBEvent &event, uint32_t loc_idx) |
static uint32_t | GetNumBreakpointLocationsFromEvent (const lldb::SBEvent &event_sp) |
Private Member Functions | |
SBBreakpoint (const lldb::BreakpointSP &bp_sp) | |
lldb::BreakpointSP | GetSP () const |
Private Attributes | |
lldb::BreakpointWP | m_opaque_wp |
Friends | |
class | SBBreakpointList |
class | SBBreakpointLocation |
class | SBBreakpointName |
class | SBTarget |
class | lldb_private::ScriptInterpreter |
class | lldb_private::python::SWIGBridge |
Definition at line 25 of file SBBreakpoint.h.
SBBreakpoint::SBBreakpoint | ( | ) |
Definition at line 47 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by GetBreakpointFromEvent().
SBBreakpoint::SBBreakpoint | ( | const lldb::SBBreakpoint & | rhs | ) |
Definition at line 49 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA.
|
default |
References lldb::operator==().
|
private |
Definition at line 54 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA.
Definition at line 536 of file SBBreakpoint.cpp.
References lldb_private::Address::Dump(), lldb_private::Address::DumpStyleModuleWithFileAddress, error(), lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), lldb::SBAddress::get(), lldb_private::StreamString::GetData(), GetSP(), lldb::SBAddress::IsValid(), LLDB_INSTRUMENT_VA, and lldb::SBAddress::ref().
SBError SBBreakpoint::AddNameWithErrorHandling | ( | const char * | new_name | ) |
Definition at line 662 of file SBBreakpoint.cpp.
References error(), lldb_private::Status::FromErrorString(), GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBError::SetError().
void SBBreakpoint::ClearAllBreakpointSites | ( | ) |
Definition at line 117 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
|
static |
Definition at line 724 of file SBBreakpoint.cpp.
References lldb::SBEvent::get(), lldb_private::Breakpoint::BreakpointEventData::GetEventDataFromEvent(), and LLDB_INSTRUMENT_VA.
SBBreakpointLocation SBBreakpoint::FindLocationByAddress | ( | lldb::addr_t | vm_addr | ) |
SBBreakpointLocation SBBreakpoint::FindLocationByID | ( | lldb::break_id_t | bp_loc_id | ) |
Definition at line 169 of file SBBreakpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBBreakpointLocation::SetLocation().
break_id_t SBBreakpoint::FindLocationIDByAddress | ( | lldb::addr_t | vm_addr | ) |
Definition at line 149 of file SBBreakpoint.cpp.
References lldb_private::Target::GetSectionLoadList(), GetSP(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, LLDB_INVALID_BREAK_ID, lldb_private::SectionLoadList::ResolveLoadAddress(), and lldb_private::Address::SetRawAddress().
bool SBBreakpoint::GetAutoContinue | ( | ) |
Definition at line 305 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
|
static |
Definition at line 732 of file SBBreakpoint.cpp.
References lldb_private::Breakpoint::BreakpointEventData::GetBreakpointEventTypeFromEvent(), lldb::SBEvent::GetSP(), lldb::SBEvent::IsValid(), and LLDB_INSTRUMENT_VA.
|
static |
Definition at line 741 of file SBBreakpoint.cpp.
References lldb_private::Breakpoint::BreakpointEventData::GetBreakpointFromEvent(), lldb::SBEvent::GetSP(), lldb::SBEvent::IsValid(), LLDB_INSTRUMENT_VA, and SBBreakpoint().
|
static |
Definition at line 751 of file SBBreakpoint.cpp.
References lldb_private::Breakpoint::BreakpointEventData::GetBreakpointLocationAtIndexFromEvent(), lldb::SBEvent::GetSP(), lldb::SBEvent::IsValid(), LLDB_INSTRUMENT_VA, and lldb::SBBreakpointLocation::SetLocation().
bool SBBreakpoint::GetCommandLineCommands | ( | SBStringList & | commands | ) |
Definition at line 496 of file SBBreakpoint.cpp.
References lldb::SBStringList::AppendList(), GetSP(), and LLDB_INSTRUMENT_VA.
const char * SBBreakpoint::GetCondition | ( | ) |
Definition at line 282 of file SBBreakpoint.cpp.
References lldb_private::ConstString::GetCString(), GetSP(), and LLDB_INSTRUMENT_VA.
bool SBBreakpoint::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 510 of file SBBreakpoint.cpp.
References GetDescription(), and LLDB_INSTRUMENT_VA.
Referenced by GetDescription().
bool SBBreakpoint::GetDescription | ( | lldb::SBStream & | description, |
bool | include_locations | ||
) |
Definition at line 516 of file SBBreakpoint.cpp.
References lldb::SBStream::get(), GetSP(), and LLDB_INSTRUMENT_VA.
uint32_t SBBreakpoint::GetHitCount | ( | ) | const |
Definition at line 317 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
break_id_t SBBreakpoint::GetID | ( | ) | const |
Definition at line 90 of file SBBreakpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_BREAK_ID.
uint32_t SBBreakpoint::GetIgnoreCount | ( | ) | const |
Definition at line 331 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
SBBreakpointLocation SBBreakpoint::GetLocationAtIndex | ( | uint32_t | index | ) |
Definition at line 184 of file SBBreakpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBBreakpointLocation::SetLocation().
void SBBreakpoint::GetNames | ( | SBStringList & | names | ) |
Definition at line 708 of file SBBreakpoint.cpp.
References lldb::SBStringList::AppendString(), GetSP(), and LLDB_INSTRUMENT_VA.
|
static |
Definition at line 764 of file SBBreakpoint.cpp.
References lldb_private::Breakpoint::BreakpointEventData::GetNumBreakpointLocationsFromEvent(), lldb::SBEvent::GetSP(), lldb::SBEvent::IsValid(), and LLDB_INSTRUMENT_VA.
size_t SBBreakpoint::GetNumLocations | ( | ) | const |
Definition at line 466 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
size_t SBBreakpoint::GetNumResolvedLocations | ( | ) | const |
Definition at line 453 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
const char * SBBreakpoint::GetQueueName | ( | ) | const |
Definition at line 437 of file SBBreakpoint.cpp.
References lldb_private::ConstString::GetCString(), GetSP(), and LLDB_INSTRUMENT_VA.
|
private |
Definition at line 784 of file SBBreakpoint.cpp.
References m_opaque_wp.
Referenced by AddLocation(), AddNameWithErrorHandling(), lldb::SBBreakpointList::AppendIfUnique(), ClearAllBreakpointSites(), FindLocationByAddress(), FindLocationByID(), FindLocationIDByAddress(), GetAutoContinue(), GetCommandLineCommands(), GetCondition(), GetDescription(), GetHitCount(), GetID(), GetIgnoreCount(), GetLocationAtIndex(), GetNames(), GetNumLocations(), GetNumResolvedLocations(), GetQueueName(), GetTarget(), GetThreadID(), GetThreadIndex(), GetThreadName(), IsEnabled(), IsHardware(), IsInternal(), IsOneShot(), MatchesName(), RemoveName(), lldb::SBBreakpointName::SBBreakpointName(), SerializeToStructuredData(), SetAutoContinue(), SetCallback(), SetCommandLineCommands(), SetCondition(), SetEnabled(), SetIgnoreCount(), SetOneShot(), SetQueueName(), SetScriptCallbackBody(), SetScriptCallbackFunction(), SetThreadID(), SetThreadIndex(), and SetThreadName().
SBTarget SBBreakpoint::GetTarget | ( | ) | const |
Definition at line 80 of file SBBreakpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and SBTarget.
lldb::tid_t SBBreakpoint::GetThreadID | ( | ) |
Definition at line 356 of file SBBreakpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_THREAD_ID.
uint32_t SBBreakpoint::GetThreadIndex | ( | ) | const |
Definition at line 381 of file SBBreakpoint.cpp.
References lldb_private::ThreadSpec::GetIndex(), GetSP(), LLDB_INSTRUMENT_VA, and UINT32_MAX.
const char * SBBreakpoint::GetThreadName | ( | ) | const |
Definition at line 410 of file SBBreakpoint.cpp.
References lldb_private::ConstString::GetCString(), GetSP(), and LLDB_INSTRUMENT_VA.
bool SBBreakpoint::IsEnabled | ( | ) |
Definition at line 211 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBBreakpoint::IsHardware | ( | ) | const |
Definition at line 775 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBBreakpoint::IsInternal | ( | ) |
Definition at line 247 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBBreakpoint::IsOneShot | ( | ) | const |
Definition at line 235 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBBreakpoint::IsValid | ( | ) | const |
Definition at line 101 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBBreakpointList::Append(), lldb::SBBreakpointList::AppendIfUnique(), and lldb::SBBreakpointName::SBBreakpointName().
lldb::SBBreakpoint::LLDB_DEPRECATED_FIXME | ( | "Doesn't provide error handling" | , |
"AddNameWithErrorHandling" | |||
) | const |
bool SBBreakpoint::MatchesName | ( | const char * | name | ) |
Definition at line 694 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 105 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA.
bool SBBreakpoint::operator!= | ( | const lldb::SBBreakpoint & | rhs | ) |
Definition at line 74 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
const SBBreakpoint & SBBreakpoint::operator= | ( | const lldb::SBBreakpoint & | rhs | ) |
Definition at line 61 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
bool SBBreakpoint::operator== | ( | const lldb::SBBreakpoint & | rhs | ) |
Definition at line 68 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
void SBBreakpoint::RemoveName | ( | const char * | name_to_remove | ) |
Definition at line 681 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
SBStructuredData SBBreakpoint::SerializeToStructuredData | ( | ) |
Definition at line 570 of file SBBreakpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBStructuredData::m_impl_up.
void SBBreakpoint::SetAutoContinue | ( | bool | auto_continue | ) |
Definition at line 294 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetCallback | ( | SBBreakpointHitCallback | callback, |
void * | baton | ||
) |
Definition at line 584 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetCommandLineCommands | ( | SBStringList & | commands | ) |
Definition at line 479 of file SBBreakpoint.cpp.
References lldb::eScriptLanguageNone, lldb::SBStringList::GetSize(), GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetCondition | ( | const char * | condition | ) |
Definition at line 271 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetEnabled | ( | bool | enable | ) |
Definition at line 199 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetIgnoreCount | ( | uint32_t | count | ) |
Definition at line 259 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetOneShot | ( | bool | one_shot | ) |
Definition at line 223 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetQueueName | ( | const char * | queue_name | ) |
Definition at line 426 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
SBError SBBreakpoint::SetScriptCallbackBody | ( | const char * | script_body_text | ) |
Definition at line 632 of file SBBreakpoint.cpp.
References error(), lldb_private::Status::FromErrorString(), GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBError::SetError().
void SBBreakpoint::SetScriptCallbackFunction | ( | const char * | callback_function_name | ) |
Definition at line 599 of file SBBreakpoint.cpp.
References LLDB_INSTRUMENT_VA, and SetScriptCallbackFunction().
Referenced by SetScriptCallbackFunction().
SBError SBBreakpoint::SetScriptCallbackFunction | ( | const char * | callback_function_name, |
SBStructuredData & | extra_args | ||
) |
Definition at line 606 of file SBBreakpoint.cpp.
References error(), lldb_private::Status::FromErrorString(), GetSP(), LLDB_INSTRUMENT_VA, lldb::SBStructuredData::m_impl_up, and lldb::SBError::SetError().
void SBBreakpoint::SetThreadID | ( | lldb::tid_t | sb_thread_id | ) |
Definition at line 345 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetThreadIndex | ( | uint32_t | index | ) |
Definition at line 370 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBBreakpoint::SetThreadName | ( | const char * | thread_name | ) |
Definition at line 398 of file SBBreakpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
|
friend |
Definition at line 164 of file SBBreakpoint.h.
|
friend |
Definition at line 163 of file SBBreakpoint.h.
|
friend |
Definition at line 158 of file SBBreakpoint.h.
|
friend |
Definition at line 159 of file SBBreakpoint.h.
|
friend |
Definition at line 160 of file SBBreakpoint.h.
|
friend |
Definition at line 161 of file SBBreakpoint.h.
Referenced by GetTarget().
|
private |
Definition at line 170 of file SBBreakpoint.h.
Referenced by lldb::SBBreakpointList::Append(), lldb_private::ScriptInterpreter::GetOpaqueTypeFromSBBreakpoint(), GetSP(), operator!=(), operator=(), and operator==().