|
LLDB mainline
|
#include <Target.h>
Private Member Functions | |
| llvm::StringRef | GetScriptClassName () const |
| StopHookScripted (lldb::TargetSP target_sp, lldb::user_id_t uid) | |
| Use CreateStopHook to make a new empty stop hook. | |
Private Attributes | |
| lldb::ScriptedStopHookInterfaceSP | m_interface_sp |
Friends | |
| class | Target |
Additional Inherited Members | |
| Public Types inherited from lldb_private::Target::StopHook | |
| enum class | StopHookKind : uint32_t { CommandBased = 0 , ScriptBased , CodeBased } |
| enum class | StopHookResult : uint32_t { KeepStopped = 0 , RequestContinue , NoPreference , AlreadyContinued } |
| Protected Member Functions inherited from lldb_private::Target::StopHook | |
| StopHook (lldb::TargetSP target_sp, lldb::user_id_t uid) | |
| Protected Attributes inherited from lldb_private::Target::StopHook | |
| 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 |
| bool | m_at_initial_stop = true |
| bool | m_suppress_output = false |
| Protected Attributes inherited from lldb_private::UserID | |
| lldb::user_id_t | m_uid |
| The user ID that uniquely identifies an object. | |
|
overridedefault |
|
inlineprivate |
Use CreateStopHook to make a new empty stop hook.
Use SetScriptCallback to set the script to execute, and SetSpecifier to set the specifier shared pointer (can be null, that will match anything.)
Definition at line 1697 of file Target.h.
References lldb_private::Target::StopHook::StopHook().
|
private |
Definition at line 4342 of file Target.cpp.
References m_interface_sp.
Referenced by GetSubclassDescription().
|
overridevirtual |
Implements lldb_private::Target::StopHook.
Definition at line 4348 of file Target.cpp.
References lldb::eDescriptionLevelBrief, lldb_private::Stream::Format(), GetScriptClassName(), lldb_private::Stream::Indent(), m_interface_sp, lldb_private::Stream::MakeIndentScope(), and lldb_private::Stream::PutCString().
|
overridevirtual |
Implements lldb_private::Target::StopHook.
Definition at line 4320 of file Target.cpp.
References lldb_private::StreamString::GetData(), lldb_private::GetLog(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::Target::StopHook::KeepStopped, LLDB_LOG_ERROR, m_interface_sp, lldb_private::Target::StopHook::RequestContinue, and lldb_private::Target.
| Status Target::StopHookScripted::SetScriptCallback | ( | const ScriptedMetadata & | scripted_metadata | ) |
Definition at line 4283 of file Target.cpp.
References lldb_private::ScriptInterpreter::CreateScriptedStopHookInterface(), error(), lldb_private::Status::FromError(), lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::Target::StopHook::GetTarget(), and m_interface_sp.
|
friend |
|
private |
Definition at line 1692 of file Target.h.
Referenced by GetScriptClassName(), GetSubclassDescription(), HandleStop(), and SetScriptCallback().