LLVM 20.0.0git
Public Member Functions | List of all members
llvm::codeview::SymbolVisitorCallbackPipeline Class Reference

#include "llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h"

Inheritance diagram for llvm::codeview::SymbolVisitorCallbackPipeline:
Inheritance graph
[legend]

Public Member Functions

 SymbolVisitorCallbackPipeline ()=default
 
Error visitUnknownSymbol (CVSymbol &Record) override
 Action to take on unknown symbols. By default, they are ignored.
 
Error visitSymbolBegin (CVSymbol &Record, uint32_t Offset) override
 Paired begin/end actions for all symbols.
 
Error visitSymbolBegin (CVSymbol &Record) override
 
Error visitSymbolEnd (CVSymbol &Record) override
 
void addCallbackToPipeline (SymbolVisitorCallbacks &Callbacks)
 
- Public Member Functions inherited from llvm::codeview::SymbolVisitorCallbacks
virtual ~SymbolVisitorCallbacks ()=default
 
virtual Error visitUnknownSymbol (CVSymbol &Record)
 Action to take on unknown symbols. By default, they are ignored.
 
virtual Error visitSymbolBegin (CVSymbol &Record, uint32_t Offset)
 Paired begin/end actions for all symbols.
 
virtual Error visitSymbolBegin (CVSymbol &Record)
 
virtual Error visitSymbolEnd (CVSymbol &Record)
 

Detailed Description

Definition at line 20 of file SymbolVisitorCallbackPipeline.h.

Constructor & Destructor Documentation

◆ SymbolVisitorCallbackPipeline()

llvm::codeview::SymbolVisitorCallbackPipeline::SymbolVisitorCallbackPipeline ( )
default

Member Function Documentation

◆ addCallbackToPipeline()

void llvm::codeview::SymbolVisitorCallbackPipeline::addCallbackToPipeline ( SymbolVisitorCallbacks Callbacks)
inline

◆ visitSymbolBegin() [1/2]

Error llvm::codeview::SymbolVisitorCallbackPipeline::visitSymbolBegin ( CVSymbol Record)
inlineoverridevirtual

◆ visitSymbolBegin() [2/2]

Error llvm::codeview::SymbolVisitorCallbackPipeline::visitSymbolBegin ( CVSymbol Record,
uint32_t  Offset 
)
inlineoverridevirtual

Paired begin/end actions for all symbols.

Receives all record data, including the fixed-length record prefix. visitSymbolBegin() should return the type of the Symbol, or an error if it cannot be determined.

Reimplemented from llvm::codeview::SymbolVisitorCallbacks.

Definition at line 32 of file SymbolVisitorCallbackPipeline.h.

References llvm::codeview::EC, llvm::Offset, and llvm::Error::success().

◆ visitSymbolEnd()

Error llvm::codeview::SymbolVisitorCallbackPipeline::visitSymbolEnd ( CVSymbol Record)
inlineoverridevirtual

◆ visitUnknownSymbol()

Error llvm::codeview::SymbolVisitorCallbackPipeline::visitUnknownSymbol ( CVSymbol Record)
inlineoverridevirtual

Action to take on unknown symbols. By default, they are ignored.

Reimplemented from llvm::codeview::SymbolVisitorCallbacks.

Definition at line 24 of file SymbolVisitorCallbackPipeline.h.

References llvm::codeview::EC, and llvm::Error::success().


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