LLVM  8.0.1
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]
Collaboration diagram for llvm::codeview::SymbolSerializer:
Collaboration 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. More...
 
virtual Error visitSymbolBegin (CVSymbol &Record, uint32_t Offset)
 Paired begin/end actions for all symbols. More...
 

Static Public Member Functions

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

Detailed Description

Definition at line 29 of file SymbolSerializer.h.

Constructor & Destructor Documentation

◆ SymbolSerializer()

SymbolSerializer::SymbolSerializer ( BumpPtrAllocator Storage,
CodeViewContainer  Container 
)

Definition at line 22 of file SymbolSerializer.cpp.

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: