LLDB mainline
|
#include <Target.h>
Public Types | |
enum class | StopHookKind : uint32_t { CommandBased = 0 , ScriptBased } |
enum class | StopHookResult : uint32_t { KeepStopped = 0 , RequestContinue , AlreadyContinued } |
Public Member Functions | |
StopHook (const StopHook &rhs) | |
virtual | ~StopHook ()=default |
lldb::TargetSP & | GetTarget () |
void | SetSpecifier (SymbolContextSpecifier *specifier) |
SymbolContextSpecifier * | GetSpecifier () |
bool | ExecutionContextPasses (const ExecutionContext &exe_ctx) |
virtual StopHookResult | HandleStop (ExecutionContext &exe_ctx, lldb::StreamSP output)=0 |
void | SetThreadSpecifier (ThreadSpec *specifier) |
ThreadSpec * | GetThreadSpecifier () |
bool | IsActive () |
void | SetIsActive (bool is_active) |
void | SetAutoContinue (bool auto_continue) |
bool | GetAutoContinue () const |
void | GetDescription (Stream *s, lldb::DescriptionLevel level) const |
virtual void | GetSubclassDescription (Stream *s, lldb::DescriptionLevel level) const =0 |
![]() | |
UserID (lldb::user_id_t uid=LLDB_INVALID_UID) | |
Construct with optional user ID. | |
~UserID ()=default | |
Destructor. | |
void | Clear () |
Clears the object state. | |
lldb::user_id_t | GetID () const |
Get accessor for the user ID. | |
void | SetID (lldb::user_id_t uid) |
Set accessor for the user ID. | |
Protected Member Functions | |
StopHook (lldb::TargetSP target_sp, lldb::user_id_t uid) | |
Protected Attributes | |
lldb::TargetSP | m_target_sp |
lldb::SymbolContextSpecifierSP | m_specifier_sp |
std::unique_ptr< ThreadSpec > | m_thread_spec_up |
bool | m_active = true |
bool | m_auto_continue = false |
![]() | |
lldb::user_id_t | m_uid |
The user ID that uniquely identifies an object. | |
|
strong |
|
strong |
Target::StopHook::StopHook | ( | const StopHook & | rhs | ) |
Definition at line 3588 of file Target.cpp.
References m_thread_spec_up.
|
virtualdefault |
|
protected |
Definition at line 3584 of file Target.cpp.
bool Target::StopHook::ExecutionContextPasses | ( | const ExecutionContext & | exe_ctx | ) |
Definition at line 3604 of file Target.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetSymbolContext(), and lldb_private::ExecutionContext::GetThreadRef().
|
inline |
Definition at line 1290 of file Target.h.
References m_auto_continue.
void Target::StopHook::GetDescription | ( | Stream * | s, |
lldb::DescriptionLevel | level | ||
) | const |
Definition at line 3620 of file Target.cpp.
References lldb::eDescriptionLevelBrief, lldb_private::Stream::GetIndentLevel(), lldb_private::StreamString::GetString(), lldb_private::Stream::Indent(), lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), and lldb_private::Stream::SetIndentLevel().
|
inline |
Definition at line 1265 of file Target.h.
References m_specifier_sp.
|
pure virtual |
Implemented in lldb_private::Target::StopHookCommandLine, and lldb_private::Target::StopHookScripted.
|
inline |
Definition at line 1259 of file Target.h.
References m_target_sp.
|
inline |
Definition at line 1280 of file Target.h.
References m_thread_spec_up.
|
pure virtual |
Implemented in lldb_private::Target::StopHookScripted, and lldb_private::Target::StopHookCommandLine.
|
inline |
|
inline |
Definition at line 1286 of file Target.h.
References m_auto_continue.
|
inline |
void Target::StopHook::SetSpecifier | ( | SymbolContextSpecifier * | specifier | ) |
Definition at line 3596 of file Target.cpp.
void Target::StopHook::SetThreadSpecifier | ( | ThreadSpec * | specifier | ) |
Definition at line 3600 of file Target.cpp.
|
protected |
Definition at line 1300 of file Target.h.
Referenced by IsActive(), and SetIsActive().
|
protected |
Definition at line 1301 of file Target.h.
Referenced by GetAutoContinue(), and SetAutoContinue().
|
protected |
Definition at line 1298 of file Target.h.
Referenced by GetSpecifier().
|
protected |
Definition at line 1297 of file Target.h.
Referenced by GetTarget().
|
protected |
Definition at line 1299 of file Target.h.
Referenced by GetThreadSpecifier(), and StopHook().