Changeset View
Changeset View
Standalone View
Standalone View
include/lldb/Target/StackFrameRecognizer.h
Show All 28 Lines | |||||
/// holds recognized arguments (via GetRecognizedArguments). | /// holds recognized arguments (via GetRecognizedArguments). | ||||
class RecognizedStackFrame | class RecognizedStackFrame | ||||
: public std::enable_shared_from_this<RecognizedStackFrame> { | : public std::enable_shared_from_this<RecognizedStackFrame> { | ||||
public: | public: | ||||
virtual lldb::ValueObjectListSP GetRecognizedArguments() { | virtual lldb::ValueObjectListSP GetRecognizedArguments() { | ||||
return m_arguments; | return m_arguments; | ||||
} | } | ||||
virtual lldb::ValueObjectSP GetExceptionObject() { | |||||
return lldb::ValueObjectSP(); | |||||
} | |||||
virtual ~RecognizedStackFrame(){}; | virtual ~RecognizedStackFrame(){}; | ||||
protected: | protected: | ||||
lldb::ValueObjectListSP m_arguments; | lldb::ValueObjectListSP m_arguments; | ||||
}; | }; | ||||
/// @class StackFrameRecognizer | /// @class StackFrameRecognizer | ||||
/// | /// | ||||
▲ Show 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
/// @class StackFrameRecognizerManager | /// @class StackFrameRecognizerManager | ||||
/// | /// | ||||
/// Static class that provides a registry of known stack frame recognizers. | /// Static class that provides a registry of known stack frame recognizers. | ||||
/// Has static methods to add, enumerate, remove, query and invoke recognizers. | /// Has static methods to add, enumerate, remove, query and invoke recognizers. | ||||
class StackFrameRecognizerManager { | class StackFrameRecognizerManager { | ||||
public: | public: | ||||
static void AddRecognizer(lldb::StackFrameRecognizerSP recognizer, | static void AddRecognizer(lldb::StackFrameRecognizerSP recognizer, | ||||
ConstString &module, ConstString &symbol, | const ConstString &module, const ConstString &symbol, | ||||
bool first_instruction_only = true); | bool first_instruction_only = true); | ||||
static void AddRecognizer(lldb::StackFrameRecognizerSP recognizer, | static void AddRecognizer(lldb::StackFrameRecognizerSP recognizer, | ||||
lldb::RegularExpressionSP module, | lldb::RegularExpressionSP module, | ||||
lldb::RegularExpressionSP symbol, | lldb::RegularExpressionSP symbol, | ||||
bool first_instruction_only = true); | bool first_instruction_only = true); | ||||
static void ForEach( | static void ForEach( | ||||
Show All 17 Lines |