|
LLDB mainline
|
#include <ScriptedFramePythonInterface.h>
Public Member Functions | |
| ScriptedFramePythonInterface (ScriptInterpreterPythonImpl &interpreter) | |
| llvm::Expected< StructuredData::GenericSP > | CreatePluginObject (llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr) override |
| llvm::SmallVector< AbstractMethodRequirement > | GetAbstractMethodRequirements () const override |
| lldb::user_id_t | GetID () override |
| lldb::addr_t | GetPC () override |
| std::optional< SymbolContext > | GetSymbolContext () override |
| std::optional< std::string > | GetFunctionName () override |
| std::optional< std::string > | GetDisplayFunctionName () override |
| bool | IsInlined () override |
| bool | IsArtificial () override |
| bool | IsHidden () override |
| StructuredData::DictionarySP | GetRegisterInfo () override |
| std::optional< std::string > | GetRegisterContext () override |
| lldb::ValueObjectListSP | GetVariables () override |
| std::optional< lldb::ValueType > | GetValueTypeForVariable (lldb::ValueObjectSP value) override |
| lldb::ValueObjectSP | GetValueObjectForVariableExpression (llvm::StringRef expr, uint32_t options, Status &status) override |
| llvm::StringRef | GetPluginName () override |
| Public Member Functions inherited from lldb_private::ScriptedInterface | |
| ScriptedInterface ()=default | |
| virtual | ~ScriptedInterface ()=default |
| StructuredData::GenericSP | GetScriptObjectInstance () |
| const std::optional< ScriptedMetadata > & | GetScriptedMetadata () const |
| 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 (const ScriptedMetadata &scripted_metadata, 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 17 of file ScriptedFramePythonInterface.h.
| ScriptedFramePythonInterface::ScriptedFramePythonInterface | ( | ScriptInterpreterPythonImpl & | interpreter | ) |
Definition at line 28 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::ScriptedPythonInterface().
|
overridevirtual |
Implements lldb_private::ScriptedFrameInterface.
Definition at line 33 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::CreatePluginObject().
|
inlineoverridevirtual |
Implements lldb_private::ScriptedInterface.
Definition at line 29 of file ScriptedFramePythonInterface.h.
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 89 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 77 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 43 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), error(), and LLDB_INVALID_FRAME_ID.
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 54 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), error(), and LLDB_INVALID_ADDRESS.
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 70 of file ScriptedFramePythonInterface.h.
References GetPluginNameStatic().
|
inlinestatic |
Definition at line 66 of file ScriptedFramePythonInterface.h.
Referenced by GetPluginName(), and Initialize().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 145 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 133 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 65 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::Dispatch(), error(), and lldb_private::ScriptedInterface::ErrorWithMessage().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 184 of file ScriptedFramePythonInterface.cpp.
References lldb_private::Status::AsCString(), lldb_private::ScriptedPythonInterface::Dispatch(), lldb_private::ScriptedInterface::ErrorWithMessage(), and lldb_private::Status::Fail().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 169 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::Dispatch(), error(), and lldb_private::ScriptedInterface::ErrorWithMessage().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 156 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::Dispatch(), error(), and lldb_private::ScriptedInterface::ErrorWithMessage().
|
static |
Definition at line 199 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CreateInstance(), lldb::eScriptedExtensionScriptedFrame, lldb::eScriptLanguagePython, GetPluginNameStatic(), and lldb_private::PluginManager::RegisterPlugin().
Referenced by lldb_private::ScriptInterpreterPythonInterfaces::Initialize().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 111 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 122 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedFrameInterface.
Definition at line 100 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
static |
Definition at line 207 of file ScriptedFramePythonInterface.cpp.
References lldb_private::ScriptedInterface::CreateInstance(), and lldb_private::PluginManager::UnregisterPlugin().
Referenced by lldb_private::ScriptInterpreterPythonInterfaces::Terminate().