|
LLDB mainline
|
#include <ScriptedStackFrameRecognizerPythonInterface.h>
Public Member Functions | |
| ScriptedStackFrameRecognizerPythonInterface (ScriptInterpreterPythonImpl &interpreter) | |
| llvm::Expected< StructuredData::GenericSP > | CreatePluginObject (const ScriptedMetadata &scripted_metadata) override |
| llvm::SmallVector< AbstractMethodRequirement > | GetAbstractMethodRequirements () const override |
| lldb::ValueObjectListSP | GetRecognizedArguments (lldb::StackFrameSP frame_sp) override |
| bool | ShouldHide (lldb::StackFrameSP frame_sp) override |
| lldb::StackFrameSP | SelectMostRelevantFrame (lldb::StackFrameSP frame_sp) override |
| lldb::ValueObjectSP | GetException (lldb::StackFrameSP frame_sp) override |
| std::string | GetStopDescription (lldb::StackFrameSP frame_sp) 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 ScriptedStackFrameRecognizerPythonInterface.h.
| ScriptedStackFrameRecognizerPythonInterface::ScriptedStackFrameRecognizerPythonInterface | ( | ScriptInterpreterPythonImpl & | interpreter | ) |
Definition at line 23 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::ScriptedPythonInterface().
|
overridevirtual |
Implements lldb_private::ScriptedStackFrameRecognizerInterface.
Definition at line 30 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::CreatePluginObject().
|
inlineoverridevirtual |
Implements lldb_private::ScriptedInterface.
Definition at line 29 of file ScriptedStackFrameRecognizerPythonInterface.h.
|
overridevirtual |
Reimplemented from lldb_private::ScriptedStackFrameRecognizerInterface.
Definition at line 64 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 53 of file ScriptedStackFrameRecognizerPythonInterface.h.
References GetPluginNameStatic().
|
inlinestatic |
Definition at line 49 of file ScriptedStackFrameRecognizerPythonInterface.h.
Referenced by GetPluginName(), and Initialize().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedStackFrameRecognizerInterface.
Definition at line 37 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedStackFrameRecognizerInterface.
Definition at line 70 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
static |
Definition at line 81 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedInterface::CreateInstance(), lldb::eScriptedExtensionScriptedStackFrameRecognizer, lldb::eScriptLanguagePython, GetPluginNameStatic(), and lldb_private::PluginManager::RegisterPlugin().
Referenced by lldb_private::ScriptInterpreterPythonInterfaces::Initialize().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedStackFrameRecognizerInterface.
Definition at line 57 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptedStackFrameRecognizerInterface.
Definition at line 44 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedInterface::CheckStructuredDataObject(), lldb_private::ScriptedPythonInterface::Dispatch(), and error().
|
static |
Definition at line 95 of file ScriptedStackFrameRecognizerPythonInterface.cpp.
References lldb_private::ScriptedInterface::CreateInstance(), and lldb_private::PluginManager::UnregisterPlugin().
Referenced by lldb_private::ScriptInterpreterPythonInterfaces::Terminate().