|
LLDB mainline
|
#include <ScriptedThreadPlanPythonInterface.h>
Public Member Functions | |
| ScriptedThreadPlanPythonInterface (ScriptInterpreterPythonImpl &interpreter) | |
| llvm::Expected< StructuredData::GenericSP > | CreatePluginObject (const llvm::StringRef class_name, lldb::ThreadPlanSP thread_plan_sp, const StructuredDataImpl &args_sp) override |
| llvm::SmallVector< AbstractMethodRequirement > | GetAbstractMethodRequirements () const override |
| llvm::Expected< bool > | ExplainsStop (Event *event) override |
| llvm::Expected< bool > | ShouldStop (Event *event) override |
| llvm::Expected< bool > | IsStale () override |
| lldb::StateType | GetRunState () override |
| llvm::Error | GetStopDescription (lldb::StreamSP &stream) override |
| llvm::StringRef | GetPluginName () override |
| Public Member Functions inherited from lldb_private::ScriptedInterface | |
| ScriptedInterface ()=default | |
| virtual | ~ScriptedInterface ()=default |
| StructuredData::GenericSP | GetScriptObjectInstance () |
| llvm::SmallVector< llvm::StringLiteral > const | GetAbstractMethods () const |
| Public Member Functions inherited from lldb_private::ScriptedPythonInterface | |
| ScriptedPythonInterface (ScriptInterpreterPythonImpl &interpreter) | |
| ~ScriptedPythonInterface () override=default | |
| llvm::Expected< FileSpec > | GetScriptedModulePath () override |
| llvm::Expected< std::map< llvm::StringLiteral, AbstractMethodCheckerPayload > > | CheckAbstractMethodImplementation (const python::PythonDictionary &class_dict) const |
| template<typename... Args> | |
| llvm::Expected< StructuredData::GenericSP > | CreatePluginObject (llvm::StringRef class_name, StructuredData::Generic *script_obj, Args... args) |
| template<typename T = StructuredData::ObjectSP, typename... Args> | |
| T | CallStaticMethod (llvm::StringRef class_name, llvm::StringRef method_name, Status &error, Args &&...args) |
| Call a static method on a Python class without creating an instance. | |
| Public Member Functions inherited from lldb_private::PluginInterface | |
| PluginInterface ()=default | |
| virtual | ~PluginInterface ()=default |
| PluginInterface (const PluginInterface &)=delete | |
| PluginInterface & | operator= (const PluginInterface &)=delete |
Static Public Member Functions | |
| static void | Initialize () |
| static void | Terminate () |
| static llvm::StringRef | GetPluginNameStatic () |
| 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) |
Definition at line 19 of file ScriptedThreadPlanPythonInterface.h.
| ScriptedThreadPlanPythonInterface::ScriptedThreadPlanPythonInterface | ( | ScriptInterpreterPythonImpl & | interpreter | ) |
Definition at line 26 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::ScriptedPythonInterface().
|
overridevirtual |
Implements lldb_private::ScriptedThreadPlanInterface.
Definition at line 31 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::CreatePluginObject().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadPlanInterface.
Definition at line 39 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
inlineoverridevirtual |
Implements lldb_private::ScriptedInterface.
Definition at line 31 of file ScriptedThreadPlanPythonInterface.h.
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 53 of file ScriptedThreadPlanPythonInterface.h.
References GetPluginNameStatic().
|
inlinestatic |
Definition at line 49 of file ScriptedThreadPlanPythonInterface.h.
Referenced by GetPluginName(), and Initialize().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadPlanInterface.
Definition at line 82 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), error(), and lldb::eStateStepping.
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadPlanInterface.
Definition at line 95 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
static |
Definition at line 105 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedInterface::CreateInstance(), lldb::eScriptLanguagePython, GetPluginNameStatic(), and lldb_private::PluginManager::RegisterPlugin().
Referenced by lldb_private::ScriptInterpreterPythonInterfaces::Initialize().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadPlanInterface.
Definition at line 68 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadPlanInterface.
Definition at line 54 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
static |
Definition at line 116 of file ScriptedThreadPlanPythonInterface.cpp.
References lldb_private::ScriptedInterface::CreateInstance(), and lldb_private::PluginManager::UnregisterPlugin().
Referenced by lldb_private::ScriptInterpreterPythonInterfaces::Terminate().