LLDB mainline
|
#include <SBBreakpointName.h>
Public Member Functions | |
SBBreakpointName () | |
SBBreakpointName (SBTarget &target, const char *name) | |
SBBreakpointName (SBBreakpoint &bkpt, const char *name) | |
SBBreakpointName (const lldb::SBBreakpointName &rhs) | |
~SBBreakpointName () | |
const lldb::SBBreakpointName & | operator= (const lldb::SBBreakpointName &rhs) |
bool | operator== (const lldb::SBBreakpointName &rhs) |
bool | operator!= (const lldb::SBBreakpointName &rhs) |
operator bool () const | |
bool | IsValid () const |
const char * | GetName () const |
void | SetEnabled (bool enable) |
bool | IsEnabled () |
void | SetOneShot (bool one_shot) |
bool | IsOneShot () const |
void | SetIgnoreCount (uint32_t count) |
uint32_t | GetIgnoreCount () const |
void | SetCondition (const char *condition) |
const char * | GetCondition () |
void | SetAutoContinue (bool auto_continue) |
bool | GetAutoContinue () |
void | SetThreadID (lldb::tid_t sb_thread_id) |
lldb::tid_t | GetThreadID () |
void | SetThreadIndex (uint32_t index) |
uint32_t | GetThreadIndex () const |
void | SetThreadName (const char *thread_name) |
const char * | GetThreadName () const |
void | SetQueueName (const char *queue_name) |
const char * | GetQueueName () const |
void | SetCallback (SBBreakpointHitCallback callback, void *baton) |
void | SetScriptCallbackFunction (const char *callback_function_name) |
SBError | SetScriptCallbackFunction (const char *callback_function_name, SBStructuredData &extra_args) |
void | SetCommandLineCommands (lldb::SBStringList &commands) |
bool | GetCommandLineCommands (lldb::SBStringList &commands) |
SBError | SetScriptCallbackBody (const char *script_body_text) |
const char * | GetHelpString () const |
void | SetHelpString (const char *help_string) |
bool | GetAllowList () const |
void | SetAllowList (bool value) |
bool | GetAllowDelete () |
void | SetAllowDelete (bool value) |
bool | GetAllowDisable () |
void | SetAllowDisable (bool value) |
bool | GetDescription (lldb::SBStream &description) |
Private Member Functions | |
lldb_private::BreakpointName * | GetBreakpointName () const |
void | UpdateName (lldb_private::BreakpointName &bp_name) |
Private Attributes | |
std::unique_ptr< SBBreakpointNameImpl > | m_impl_up |
Friends | |
class | SBTarget |
Definition at line 18 of file SBBreakpointName.h.
SBBreakpointName::SBBreakpointName | ( | ) |
Definition at line 110 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA.
SBBreakpointName::SBBreakpointName | ( | SBTarget & | target, |
const char * | name | ||
) |
Definition at line 112 of file SBBreakpointName.cpp.
References GetBreakpointName(), LLDB_INSTRUMENT_VA, and m_impl_up.
SBBreakpointName::SBBreakpointName | ( | SBBreakpoint & | bkpt, |
const char * | name | ||
) |
Definition at line 122 of file SBBreakpointName.cpp.
References lldb_private::Target::ConfigureBreakpointName(), GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb::SBBreakpoint::GetSP(), lldb::SBBreakpoint::IsValid(), LLDB_INSTRUMENT_VA, and m_impl_up.
SBBreakpointName::SBBreakpointName | ( | const lldb::SBBreakpointName & | rhs | ) |
Definition at line 147 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA, and m_impl_up.
|
default |
References lldb::operator==().
bool SBBreakpointName::GetAllowDelete | ( | ) |
Definition at line 628 of file SBBreakpointName.cpp.
References lldb_private::BreakpointName::Permissions::GetAllowDelete(), GetBreakpointName(), lldb_private::BreakpointName::GetPermissions(), and LLDB_INSTRUMENT_VA.
bool SBBreakpointName::GetAllowDisable | ( | ) |
Definition at line 646 of file SBBreakpointName.cpp.
References lldb_private::BreakpointName::Permissions::GetAllowDisable(), GetBreakpointName(), lldb_private::BreakpointName::GetPermissions(), and LLDB_INSTRUMENT_VA.
bool SBBreakpointName::GetAllowList | ( | ) | const |
Definition at line 610 of file SBBreakpointName.cpp.
References lldb_private::BreakpointName::Permissions::GetAllowList(), GetBreakpointName(), lldb_private::BreakpointName::GetPermissions(), and LLDB_INSTRUMENT_VA.
bool SBBreakpointName::GetAutoContinue | ( | ) |
Definition at line 337 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::IsAutoContinue(), LLDB_INSTRUMENT_VA, and m_impl_up.
|
private |
Definition at line 664 of file SBBreakpointName.cpp.
References IsValid(), and m_impl_up.
Referenced by GetAllowDelete(), GetAllowDisable(), GetAllowList(), GetAutoContinue(), GetCommandLineCommands(), GetCondition(), GetDescription(), GetHelpString(), GetIgnoreCount(), GetQueueName(), GetThreadID(), GetThreadIndex(), GetThreadName(), IsEnabled(), IsOneShot(), SBBreakpointName(), SetAllowDelete(), SetAllowDisable(), SetAllowList(), SetAutoContinue(), SetCallback(), SetCommandLineCommands(), SetCondition(), SetEnabled(), SetHelpString(), SetIgnoreCount(), SetOneShot(), SetQueueName(), SetScriptCallbackBody(), SetScriptCallbackFunction(), SetThreadID(), SetThreadIndex(), and SetThreadName().
bool SBBreakpointName::GetCommandLineCommands | ( | lldb::SBStringList & | commands | ) |
Definition at line 479 of file SBBreakpointName.cpp.
References lldb::SBStringList::AppendList(), GetBreakpointName(), lldb_private::BreakpointOptions::GetCommandLineCallbacks(), lldb_private::BreakpointName::GetOptions(), and LLDB_INSTRUMENT_VA.
const char * SBBreakpointName::GetCondition | ( | ) |
Definition at line 310 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointOptions::GetConditionText(), lldb_private::ConstString::GetCString(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, and m_impl_up.
bool SBBreakpointName::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 517 of file SBBreakpointName.cpp.
References lldb::eDescriptionLevelFull, lldb::SBStream::get(), GetBreakpointName(), lldb_private::BreakpointName::GetDescription(), LLDB_INSTRUMENT_VA, and m_impl_up.
const char * SBBreakpointName::GetHelpString | ( | ) | const |
Definition at line 494 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::ConstString::GetCString(), lldb_private::BreakpointName::GetHelp(), and LLDB_INSTRUMENT_VA.
uint32_t SBBreakpointName::GetIgnoreCount | ( | ) | const |
Definition at line 283 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointOptions::GetIgnoreCount(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, and m_impl_up.
const char * SBBreakpointName::GetName | ( | ) | const |
Definition at line 197 of file SBBreakpointName.cpp.
References lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, and m_impl_up.
const char * SBBreakpointName::GetQueueName | ( | ) | const |
tid_t SBBreakpointName::GetThreadID | ( | ) |
Definition at line 364 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::GetThreadSpec(), lldb_private::ThreadSpec::GetTID(), LLDB_INSTRUMENT_VA, LLDB_INVALID_THREAD_ID, and m_impl_up.
uint32_t SBBreakpointName::GetThreadIndex | ( | ) | const |
Definition at line 391 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::ThreadSpec::GetIndex(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::GetThreadSpec(), LLDB_INSTRUMENT_VA, LLDB_INVALID_THREAD_ID, and m_impl_up.
const char * SBBreakpointName::GetThreadName | ( | ) | const |
bool SBBreakpointName::IsEnabled | ( | ) |
Definition at line 229 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::IsEnabled(), LLDB_INSTRUMENT_VA, and m_impl_up.
bool SBBreakpointName::IsOneShot | ( | ) | const |
Definition at line 256 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::IsOneShot(), LLDB_INSTRUMENT_VA, and m_impl_up.
bool SBBreakpointName::IsValid | ( | ) | const |
Definition at line 185 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by GetBreakpointName(), and UpdateName().
|
explicit |
Definition at line 189 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA.
bool SBBreakpointName::operator!= | ( | const lldb::SBBreakpointName & | rhs | ) |
Definition at line 179 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA, and m_impl_up.
const SBBreakpointName & SBBreakpointName::operator= | ( | const lldb::SBBreakpointName & | rhs | ) |
Definition at line 159 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA, and m_impl_up.
bool SBBreakpointName::operator== | ( | const lldb::SBBreakpointName & | rhs | ) |
Definition at line 173 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA, and m_impl_up.
void SBBreakpointName::SetAllowDelete | ( | bool | value | ) |
Definition at line 637 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetPermissions(), LLDB_INSTRUMENT_VA, and lldb_private::BreakpointName::Permissions::SetAllowDelete().
void SBBreakpointName::SetAllowDisable | ( | bool | value | ) |
Definition at line 655 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetPermissions(), LLDB_INSTRUMENT_VA, and lldb_private::BreakpointName::Permissions::SetAllowDisable().
void SBBreakpointName::SetAllowList | ( | bool | value | ) |
Definition at line 619 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetPermissions(), LLDB_INSTRUMENT_VA, and lldb_private::BreakpointName::Permissions::SetAllowList().
void SBBreakpointName::SetAutoContinue | ( | bool | auto_continue | ) |
Definition at line 323 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::BreakpointOptions::SetAutoContinue(), and UpdateName().
void SBBreakpointName::SetCallback | ( | SBBreakpointHitCallback | callback, |
void * | baton | ||
) |
Definition at line 533 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::BreakpointOptions::SetCallback(), and UpdateName().
void SBBreakpointName::SetCommandLineCommands | ( | lldb::SBStringList & | commands | ) |
Definition at line 460 of file SBBreakpointName.cpp.
References lldb::eScriptLanguageNone, GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb::SBStringList::GetSize(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::BreakpointOptions::SetCommandDataCallback(), and UpdateName().
void SBBreakpointName::SetCondition | ( | const char * | condition | ) |
Definition at line 296 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::BreakpointOptions::SetCondition(), and UpdateName().
void SBBreakpointName::SetEnabled | ( | bool | enable | ) |
Definition at line 205 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, and lldb_private::BreakpointOptions::SetEnabled().
void SBBreakpointName::SetHelpString | ( | const char * | help_string | ) |
Definition at line 504 of file SBBreakpointName.cpp.
References GetBreakpointName(), LLDB_INSTRUMENT_VA, m_impl_up, and lldb_private::BreakpointName::SetHelp().
void SBBreakpointName::SetIgnoreCount | ( | uint32_t | count | ) |
Definition at line 269 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::BreakpointOptions::SetIgnoreCount(), and UpdateName().
void SBBreakpointName::SetOneShot | ( | bool | one_shot | ) |
Definition at line 242 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::BreakpointOptions::SetOneShot(), and UpdateName().
void SBBreakpointName::SetQueueName | ( | const char * | queue_name | ) |
Definition at line 432 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::GetThreadSpec(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::ThreadSpec::SetQueueName(), and UpdateName().
SBError SBBreakpointName::SetScriptCallbackBody | ( | const char * | script_body_text | ) |
Definition at line 586 of file SBBreakpointName.cpp.
References error(), lldb::SBError::Fail(), GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb::SBError::SetError(), and UpdateName().
void SBBreakpointName::SetScriptCallbackFunction | ( | const char * | callback_function_name | ) |
Definition at line 551 of file SBBreakpointName.cpp.
References LLDB_INSTRUMENT_VA, and SetScriptCallbackFunction().
Referenced by SetScriptCallbackFunction().
SBError SBBreakpointName::SetScriptCallbackFunction | ( | const char * | callback_function_name, |
SBStructuredData & | extra_args | ||
) |
Definition at line 558 of file SBBreakpointName.cpp.
References error(), GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb::SBStructuredData::m_impl_up, lldb::SBError::SetError(), lldb::SBError::SetErrorString(), and UpdateName().
void SBBreakpointName::SetThreadID | ( | lldb::tid_t | sb_thread_id | ) |
Definition at line 350 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::BreakpointOptions::SetThreadID(), and UpdateName().
void SBBreakpointName::SetThreadIndex | ( | uint32_t | index | ) |
Definition at line 377 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::GetThreadSpec(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::ThreadSpec::SetIndex(), and UpdateName().
void SBBreakpointName::SetThreadName | ( | const char * | thread_name | ) |
Definition at line 404 of file SBBreakpointName.cpp.
References GetBreakpointName(), lldb_private::BreakpointName::GetOptions(), lldb_private::BreakpointOptions::GetThreadSpec(), LLDB_INSTRUMENT_VA, m_impl_up, lldb_private::ThreadSpec::SetName(), and UpdateName().
|
private |
Definition at line 218 of file SBBreakpointName.cpp.
References IsValid(), and m_impl_up.
Referenced by SetAutoContinue(), SetCallback(), SetCommandLineCommands(), SetCondition(), SetIgnoreCount(), SetOneShot(), SetQueueName(), SetScriptCallbackBody(), SetScriptCallbackFunction(), SetThreadID(), SetThreadIndex(), and SetThreadName().
|
friend |
Definition at line 114 of file SBBreakpointName.h.
|
private |
Definition at line 119 of file SBBreakpointName.h.
Referenced by GetAutoContinue(), GetBreakpointName(), GetCondition(), GetDescription(), GetIgnoreCount(), GetName(), GetQueueName(), GetThreadID(), GetThreadIndex(), GetThreadName(), IsEnabled(), IsOneShot(), operator!=(), operator=(), operator==(), SBBreakpointName(), SetAutoContinue(), SetCallback(), SetCommandLineCommands(), SetCondition(), SetEnabled(), SetHelpString(), SetIgnoreCount(), SetOneShot(), SetQueueName(), SetScriptCallbackBody(), SetScriptCallbackFunction(), SetThreadID(), SetThreadIndex(), SetThreadName(), and UpdateName().