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

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

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

Public Member Functions

 SymbolSerializer (BumpPtrAllocator &Storage, CodeViewContainer Container)
 
Error visitSymbolBegin (CVSymbol &Record) override
 
Error visitSymbolEnd (CVSymbol &Record) override
 
- 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)
 

Static Public Member Functions

template<typename SymType >
static CVSymbol writeOneSymbol (SymType &Sym, BumpPtrAllocator &Storage, CodeViewContainer Container)
 

Detailed Description

Definition at line 28 of file SymbolSerializer.h.

Constructor & Destructor Documentation

◆ SymbolSerializer()

SymbolSerializer::SymbolSerializer ( BumpPtrAllocator Storage,
CodeViewContainer  Container 
)

Definition at line 20 of file SymbolSerializer.cpp.

References Allocator.

Member Function Documentation

◆ visitSymbolBegin()

Error SymbolSerializer::visitSymbolBegin ( CVSymbol Record)
overridevirtual

◆ visitSymbolEnd()

Error SymbolSerializer::visitSymbolEnd ( CVSymbol Record)
overridevirtual

◆ writeOneSymbol()

template<typename SymType >
static CVSymbol llvm::codeview::SymbolSerializer::writeOneSymbol ( SymType &  Sym,
BumpPtrAllocator Storage,
CodeViewContainer  Container 
)
inlinestatic

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