LLDB mainline
|
Python implementation for frame recognizers. More...
#include <StackFrameRecognizer.h>
Public Member Functions | |
ScriptedStackFrameRecognizer (lldb_private::ScriptInterpreter *interpreter, const char *pclass) | |
~ScriptedStackFrameRecognizer () override=default | |
std::string | GetName () override |
const char * | GetPythonClassName () |
lldb::RecognizedStackFrameSP | RecognizeFrame (lldb::StackFrameSP frame) override |
Public Member Functions inherited from lldb_private::StackFrameRecognizer | |
virtual lldb::RecognizedStackFrameSP | RecognizeFrame (lldb::StackFrameSP frame) |
virtual std::string | GetName () |
virtual | ~StackFrameRecognizer ()=default |
Private Member Functions | |
ScriptedStackFrameRecognizer (const ScriptedStackFrameRecognizer &)=delete | |
const ScriptedStackFrameRecognizer & | operator= (const ScriptedStackFrameRecognizer &)=delete |
Private Attributes | |
lldb_private::ScriptInterpreter * | m_interpreter |
lldb_private::StructuredData::ObjectSP | m_python_object_sp |
std::string | m_python_class |
Python implementation for frame recognizers.
An instance of this class tracks a particular Python classobject, which will be asked to recognize stack frames.
Definition at line 79 of file StackFrameRecognizer.h.
ScriptedStackFrameRecognizer::ScriptedStackFrameRecognizer | ( | lldb_private::ScriptInterpreter * | interpreter, |
const char * | pclass | ||
) |
Definition at line 30 of file StackFrameRecognizer.cpp.
References lldb_private::ScriptInterpreter::CreateFrameRecognizer(), m_interpreter, m_python_class, and m_python_object_sp.
|
overridedefault |
|
privatedelete |
|
inlineoverridevirtual |
Reimplemented from lldb_private::StackFrameRecognizer.
Definition at line 90 of file StackFrameRecognizer.h.
References GetPythonClassName().
|
inline |
Definition at line 94 of file StackFrameRecognizer.h.
References m_python_class.
Referenced by GetName().
|
privatedelete |
|
overridevirtual |
Reimplemented from lldb_private::StackFrameRecognizer.
Definition at line 38 of file StackFrameRecognizer.cpp.
References lldb_private::ValueObjectRecognizerSynthesizedValue::Create(), lldb::eValueTypeVariableArgument, lldb_private::ScriptInterpreter::GetRecognizedArguments(), m_interpreter, m_python_object_sp, and lldb_private::ScriptInterpreter::ShouldHide().
|
private |
Definition at line 80 of file StackFrameRecognizer.h.
Referenced by RecognizeFrame(), and ScriptedStackFrameRecognizer().
|
private |
Definition at line 83 of file StackFrameRecognizer.h.
Referenced by GetPythonClassName(), and ScriptedStackFrameRecognizer().
|
private |
Definition at line 81 of file StackFrameRecognizer.h.
Referenced by RecognizeFrame(), and ScriptedStackFrameRecognizer().