LLDB  mainline
Static Public Member Functions | List of all members
lldb_private::StackFrameRecognizerManager Class Reference

Static class that provides a registry of known stack frame recognizers. More...

#include <StackFrameRecognizer.h>

Static Public Member Functions

static void AddRecognizer (lldb::StackFrameRecognizerSP recognizer, ConstString module, ConstString symbol, bool first_instruction_only=true)
 
static void AddRecognizer (lldb::StackFrameRecognizerSP recognizer, lldb::RegularExpressionSP module, lldb::RegularExpressionSP symbol, bool first_instruction_only=true)
 
static void ForEach (std::function< void(uint32_t recognizer_id, std::string recognizer_name, std::string module, std::string symbol, bool regexp)> const &callback)
 
static bool RemoveRecognizerWithID (uint32_t recognizer_id)
 
static void RemoveAllRecognizers ()
 
static lldb::StackFrameRecognizerSP GetRecognizerForFrame (lldb::StackFrameSP frame)
 
static lldb::RecognizedStackFrameSP RecognizeFrame (lldb::StackFrameSP frame)
 

Detailed Description

Static class that provides a registry of known stack frame recognizers.

Has static methods to add, enumerate, remove, query and invoke recognizers.

Definition at line 96 of file StackFrameRecognizer.h.

Member Function Documentation

◆ AddRecognizer() [1/2]

static void lldb_private::StackFrameRecognizerManager::AddRecognizer ( lldb::StackFrameRecognizerSP  recognizer,
ConstString  module,
ConstString  symbol,
bool  first_instruction_only = true 
)
static

◆ AddRecognizer() [2/2]

static void lldb_private::StackFrameRecognizerManager::AddRecognizer ( lldb::StackFrameRecognizerSP  recognizer,
lldb::RegularExpressionSP  module,
lldb::RegularExpressionSP  symbol,
bool  first_instruction_only = true 
)
static

◆ ForEach()

void StackFrameRecognizerManager::ForEach ( std::function< void(uint32_t recognizer_id, std::string recognizer_name, std::string module, std::string symbol, bool regexp)> const &  callback)
static

◆ GetRecognizerForFrame()

StackFrameRecognizerSP StackFrameRecognizerManager::GetRecognizerForFrame ( lldb::StackFrameSP  frame)
static

◆ RecognizeFrame()

RecognizedStackFrameSP StackFrameRecognizerManager::RecognizeFrame ( lldb::StackFrameSP  frame)
static

◆ RemoveAllRecognizers()

void StackFrameRecognizerManager::RemoveAllRecognizers ( )
static

◆ RemoveRecognizerWithID()

bool StackFrameRecognizerManager::RemoveRecognizerWithID ( uint32_t  recognizer_id)
static

The documentation for this class was generated from the following files: