LLDB mainline
|
#include <ScriptedStopHookInterface.h>
Public Member Functions | |
virtual llvm::Expected< StructuredData::GenericSP > | CreatePluginObject (llvm::StringRef class_name, lldb::TargetSP target_sp, const StructuredDataImpl &args_sp)=0 |
virtual llvm::Expected< bool > | HandleStop (ExecutionContext &exe_ctx, lldb::StreamSP &output_sp) |
"handle_stop" will return a bool with the meaning "should_stop"... If nothing is returned, we'll assume we are going to stop. | |
Public Member Functions inherited from lldb_private::ScriptedInterface | |
ScriptedInterface ()=default | |
virtual | ~ScriptedInterface ()=default |
StructuredData::GenericSP | GetScriptObjectInstance () |
virtual llvm::SmallVector< AbstractMethodRequirement > | GetAbstractMethodRequirements () const =0 |
llvm::SmallVector< llvm::StringLiteral > const | GetAbstractMethods () const |
Additional Inherited Members | |
Static Public Member Functions inherited from lldb_private::ScriptedInterface | |
template<typename Ret > | |
static Ret | ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, LLDBLog log_category=LLDBLog::Process) |
template<typename T = StructuredData::ObjectSP> | |
static bool | CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error) |
static bool | CreateInstance (lldb::ScriptLanguage language, ScriptedInterfaceUsages usages) |
Protected Attributes inherited from lldb_private::ScriptedInterface | |
StructuredData::GenericSP | m_object_instance_sp |
Definition at line 17 of file ScriptedStopHookInterface.h.
|
pure virtual |
|
inlinevirtual |
"handle_stop" will return a bool with the meaning "should_stop"... If nothing is returned, we'll assume we are going to stop.
Also any errors should return true, since we should stop on error.
Definition at line 26 of file ScriptedStopHookInterface.h.