LLDB mainline
Classes | Public Member Functions | Private Attributes | List of all members
lldb_private::StackFrameRecognizerManager Class Reference

Class that provides a registry of known stack frame recognizers. More...

#include <StackFrameRecognizer.h>

Classes

struct  RegisteredEntry
 

Public Member Functions

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

Private Attributes

std::deque< RegisteredEntrym_recognizers
 

Detailed Description

Class that provides a registry of known stack frame recognizers.

Definition at line 103 of file StackFrameRecognizer.h.

Member Function Documentation

◆ AddRecognizer() [1/2]

void StackFrameRecognizerManager::AddRecognizer ( lldb::StackFrameRecognizerSP  recognizer,
ConstString  module,
llvm::ArrayRef< ConstString symbols,
bool  first_instruction_only = true 
)

◆ AddRecognizer() [2/2]

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

Definition at line 58 of file StackFrameRecognizer.cpp.

References m_recognizers.

◆ ForEach()

void StackFrameRecognizerManager::ForEach ( std::function< void(uint32_t recognizer_id, std::string recognizer_name, std::string module, llvm::ArrayRef< ConstString > symbols, bool regexp)> const &  callback)

◆ GetRecognizerForFrame()

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

◆ RecognizeFrame()

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

Definition at line 149 of file StackFrameRecognizer.cpp.

References GetRecognizerForFrame().

◆ RemoveAllRecognizers()

void StackFrameRecognizerManager::RemoveAllRecognizers ( )

◆ RemoveRecognizerWithID()

bool StackFrameRecognizerManager::RemoveRecognizerWithID ( uint32_t  recognizer_id)

Member Data Documentation

◆ m_recognizers

std::deque<RegisteredEntry> lldb_private::StackFrameRecognizerManager::m_recognizers
private

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