|
LLDB mainline
|
#include <ScriptedThreadPythonInterface.h>
Public Member Functions | |
| ScriptedThreadPythonInterface (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::tid_t | GetThreadID () override |
| std::optional< std::string > | GetName () override |
| lldb::StateType | GetState () override |
| std::optional< std::string > | GetQueue () override |
| StructuredData::DictionarySP | GetStopReason () override |
| StructuredData::ArraySP | GetStackFrames () override |
| StructuredData::DictionarySP | GetRegisterInfo () override |
| std::optional< std::string > | GetRegisterContext () override |
| StructuredData::ArraySP | GetExtendedInfo () override |
| std::optional< std::string > | GetScriptedFramePluginName () 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. | |
Additional Inherited Members | |
| Public Types inherited from lldb_private::ScriptedPythonInterface | |
| enum class | AbstractMethodCheckerCases { eNotImplemented , eNotAllocated , eNotCallable , eUnknownArgumentCount , eInvalidArgumentCount , eValid } |
| 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 |
| Protected Attributes inherited from lldb_private::ScriptedPythonInterface | |
| ScriptInterpreterPythonImpl & | m_interpreter |
Definition at line 17 of file ScriptedThreadPythonInterface.h.
| ScriptedThreadPythonInterface::ScriptedThreadPythonInterface | ( | ScriptInterpreterPythonImpl & | interpreter | ) |
Definition at line 27 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::ScriptedPythonInterface().
Referenced by lldb_private::OperatingSystemPythonInterface::OperatingSystemPythonInterface().
|
overridevirtual |
Implements lldb_private::ScriptedThreadInterface.
Definition at line 32 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::CreatePluginObject().
|
overrideprotectedvirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 158 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::m_interpreter.
|
inlineoverridevirtual |
Implements lldb_private::ScriptedInterface.
Definition at line 28 of file ScriptedThreadPythonInterface.h.
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 133 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 53 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 75 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 122 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 110 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
Referenced by lldb_private::OperatingSystemPythonInterface::GetRegisterInfo().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 146 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 98 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 64 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), error(), and lldb::eStateInvalid.
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 86 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedThreadInterface.
Definition at line 42 of file ScriptedThreadPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), error(), and LLDB_INVALID_THREAD_ID.