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 |
Public Member Functions inherited from lldb_private::UserID | |
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 |
Protected Attributes inherited from lldb_private::UserID | |
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 3705 of file Target.cpp.
References m_thread_spec_up.
|
virtualdefault |
|
protected |
Definition at line 3701 of file Target.cpp.
bool Target::StopHook::ExecutionContextPasses | ( | const ExecutionContext & | exe_ctx | ) |
Definition at line 3721 of file Target.cpp.
References lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetSymbolContext(), and lldb_private::ExecutionContext::GetThreadRef().
|
inline |
Definition at line 1334 of file Target.h.
References m_auto_continue.
void Target::StopHook::GetDescription | ( | Stream & | s, |
lldb::DescriptionLevel | level | ||
) | const |
Definition at line 3737 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 1309 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 1303 of file Target.h.
References m_target_sp.
|
inline |
Definition at line 1324 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 1330 of file Target.h.
References m_auto_continue.
|
inline |
void Target::StopHook::SetSpecifier | ( | SymbolContextSpecifier * | specifier | ) |
Definition at line 3713 of file Target.cpp.
void Target::StopHook::SetThreadSpecifier | ( | ThreadSpec * | specifier | ) |
Definition at line 3717 of file Target.cpp.
|
protected |
Definition at line 1344 of file Target.h.
Referenced by IsActive(), and SetIsActive().
|
protected |
Definition at line 1345 of file Target.h.
Referenced by GetAutoContinue(), and SetAutoContinue().
|
protected |
Definition at line 1342 of file Target.h.
Referenced by GetSpecifier().
|
protected |
Definition at line 1341 of file Target.h.
Referenced by GetTarget().
|
protected |
Definition at line 1343 of file Target.h.
Referenced by GetThreadSpecifier(), and StopHook().