#include "lldb/Target/StackFrameRecognizer.h"
#include "lldb/Core/Module.h"
#include "lldb/Interpreter/ScriptInterpreter.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Utility/RegularExpression.h"
usingnamespacelldb;
usingnamespacelldb_private;
class ScriptedRecognizedStackFrame : public RecognizedStackFrame { … };
ScriptedStackFrameRecognizer::ScriptedStackFrameRecognizer(
ScriptInterpreter *interpreter, const char *pclass)
: … { … }
RecognizedStackFrameSP
ScriptedStackFrameRecognizer::RecognizeFrame(lldb::StackFrameSP frame) { … }
void StackFrameRecognizerManager::BumpGeneration() { … }
void StackFrameRecognizerManager::AddRecognizer(
StackFrameRecognizerSP recognizer, ConstString module,
llvm::ArrayRef<ConstString> symbols,
Mangled::NamePreference symbol_mangling, bool first_instruction_only) { … }
void StackFrameRecognizerManager::AddRecognizer(
StackFrameRecognizerSP recognizer, RegularExpressionSP module,
RegularExpressionSP symbol, Mangled::NamePreference symbol_mangling,
bool first_instruction_only) { … }
void StackFrameRecognizerManager::ForEach(
const std::function<void(
uint32_t, bool, std::string, std::string, llvm::ArrayRef<ConstString>,
Mangled::NamePreference name_preference, bool)> &callback) { … }
bool StackFrameRecognizerManager::SetEnabledForID(uint32_t recognizer_id,
bool enabled) { … }
bool StackFrameRecognizerManager::RemoveRecognizerWithID(
uint32_t recognizer_id) { … }
void StackFrameRecognizerManager::RemoveAllRecognizers() { … }
StackFrameRecognizerSP
StackFrameRecognizerManager::GetRecognizerForFrame(StackFrameSP frame) { … }
RecognizedStackFrameSP
StackFrameRecognizerManager::RecognizeFrame(StackFrameSP frame) { … }