LLDB mainline
|
#include <SBWatchpoint.h>
Static Public Member Functions | |
static bool | EventIsWatchpointEvent (const lldb::SBEvent &event) |
static lldb::WatchpointEventType | GetWatchpointEventTypeFromEvent (const lldb::SBEvent &event) |
static lldb::SBWatchpoint | GetWatchpointFromEvent (const lldb::SBEvent &event) |
Private Attributes | |
std::weak_ptr< lldb_private::Watchpoint > | m_opaque_wp |
Friends | |
class | SBTarget |
class | SBValue |
Definition at line 17 of file SBWatchpoint.h.
SBWatchpoint::SBWatchpoint | ( | ) |
Definition at line 30 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA.
SBWatchpoint::SBWatchpoint | ( | const lldb::SBWatchpoint & | rhs | ) |
Definition at line 37 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA.
SBWatchpoint::SBWatchpoint | ( | const lldb::WatchpointSP & | wp_sp | ) |
Definition at line 32 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA.
|
default |
void SBWatchpoint::Clear | ( | ) |
Definition at line 250 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
|
static |
Definition at line 268 of file SBWatchpoint.cpp.
References lldb::SBEvent::get(), lldb_private::Watchpoint::WatchpointEventData::GetEventDataFromEvent(), and LLDB_INSTRUMENT_VA.
const char * SBWatchpoint::GetCondition | ( | ) |
Definition at line 209 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBWatchpoint::GetDescription | ( | lldb::SBStream & | description, |
DescriptionLevel | level | ||
) |
Definition at line 232 of file SBWatchpoint.cpp.
References lldb_private::Stream::EOL(), GetSP(), LLDB_INSTRUMENT_VA, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
SBError SBWatchpoint::GetError | ( | ) |
Definition at line 84 of file SBWatchpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBError::SetError().
int32_t SBWatchpoint::GetHardwareIndex | ( | ) |
With -1 representing an invalid hardware index.
Definition at line 95 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
uint32_t SBWatchpoint::GetHitCount | ( | ) |
Definition at line 172 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
watch_id_t SBWatchpoint::GetID | ( | ) |
Definition at line 51 of file SBWatchpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_WATCH_ID.
uint32_t SBWatchpoint::GetIgnoreCount | ( | ) |
Definition at line 186 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
lldb::WatchpointSP SBWatchpoint::GetSP | ( | ) | const |
Definition at line 256 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
Referenced by GetCondition(), GetDescription(), GetError(), GetHardwareIndex(), GetHitCount(), GetID(), GetIgnoreCount(), GetType(), GetWatchAddress(), GetWatchSize(), GetWatchSpec(), GetWatchValueKind(), IsEnabled(), IsWatchingReads(), IsWatchingWrites(), operator==(), SetCondition(), SetEnabled(), and SetIgnoreCount().
lldb::SBType SBWatchpoint::GetType | ( | ) |
Definition at line 295 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
addr_t SBWatchpoint::GetWatchAddress | ( | ) |
Definition at line 110 of file SBWatchpoint.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_ADDRESS.
|
static |
Definition at line 276 of file SBWatchpoint.cpp.
References lldb::SBEvent::GetSP(), lldb_private::Watchpoint::WatchpointEventData::GetWatchpointEventTypeFromEvent(), lldb::SBEvent::IsValid(), and LLDB_INSTRUMENT_VA.
|
static |
Definition at line 285 of file SBWatchpoint.cpp.
References lldb::SBEvent::GetSP(), lldb_private::Watchpoint::WatchpointEventData::GetWatchpointFromEvent(), lldb::SBEvent::IsValid(), and LLDB_INSTRUMENT_VA.
size_t SBWatchpoint::GetWatchSize | ( | ) |
Definition at line 125 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
const char * SBWatchpoint::GetWatchSpec | ( | ) |
Definition at line 322 of file SBWatchpoint.cpp.
References lldb_private::ConstString::AsCString(), GetSP(), and LLDB_INSTRUMENT_VA.
WatchpointValueKind SBWatchpoint::GetWatchValueKind | ( | ) |
Definition at line 308 of file SBWatchpoint.cpp.
References lldb::eWatchPointValueKindExpression, lldb::eWatchPointValueKindInvalid, lldb::eWatchPointValueKindVariable, GetSP(), and LLDB_INSTRUMENT_VA.
bool SBWatchpoint::IsEnabled | ( | ) |
Definition at line 160 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBWatchpoint::IsValid | ( | ) | const |
Definition at line 62 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA.
bool SBWatchpoint::IsWatchingReads | ( | ) |
Definition at line 338 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBWatchpoint::IsWatchingWrites | ( | ) |
Definition at line 351 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 66 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA.
bool SBWatchpoint::operator!= | ( | const SBWatchpoint & | rhs | ) | const |
Definition at line 78 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA.
const SBWatchpoint & SBWatchpoint::operator= | ( | const lldb::SBWatchpoint & | rhs | ) |
Definition at line 42 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
bool SBWatchpoint::operator== | ( | const SBWatchpoint & | rhs | ) | const |
Definition at line 72 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBWatchpoint::SetCondition | ( | const char * | condition | ) |
Definition at line 221 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBWatchpoint::SetEnabled | ( | bool | enabled | ) |
Definition at line 140 of file SBWatchpoint.cpp.
References lldb_private::Target::GetAPIMutex(), lldb_private::Target::GetProcessSP(), GetSP(), and LLDB_INSTRUMENT_VA.
void SBWatchpoint::SetIgnoreCount | ( | uint32_t | n | ) |
Definition at line 198 of file SBWatchpoint.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBWatchpoint::SetSP | ( | const lldb::WatchpointSP & | sp | ) |
Definition at line 262 of file SBWatchpoint.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_wp, and sp.
Referenced by lldb::SBTarget::FindWatchpointByID(), lldb::SBTarget::GetWatchpointAtIndex(), lldb::SBValue::Watch(), and lldb::SBTarget::WatchAddress().
|
friend |
Definition at line 92 of file SBWatchpoint.h.
|
friend |
Definition at line 93 of file SBWatchpoint.h.
|
private |
Definition at line 95 of file SBWatchpoint.h.
Referenced by Clear(), GetSP(), operator=(), and SetSP().