LLVM  4.0.0
Public Member Functions | List of all members
llvm::codeview::SymbolRecordMapping Class Reference

#include <SymbolRecordMapping.h>

Inheritance diagram for llvm::codeview::SymbolRecordMapping:
[legend]
Collaboration diagram for llvm::codeview::SymbolRecordMapping:
[legend]

Public Member Functions

 SymbolRecordMapping (msf::StreamReader &Reader)
 
 SymbolRecordMapping (msf::StreamWriter &Writer)
 
Error visitSymbolBegin (CVSymbol &Record) override
 Paired begin/end actions for all symbols. More...
 
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...
 

Detailed Description

Definition at line 23 of file SymbolRecordMapping.h.

Constructor & Destructor Documentation

llvm::codeview::SymbolRecordMapping::SymbolRecordMapping ( msf::StreamReader Reader)
inlineexplicit

Definition at line 25 of file SymbolRecordMapping.h.

llvm::codeview::SymbolRecordMapping::SymbolRecordMapping ( msf::StreamWriter Writer)
inlineexplicit

Definition at line 26 of file SymbolRecordMapping.h.

Member Function Documentation

Error SymbolRecordMapping::visitSymbolBegin ( CVSymbol Record)
overridevirtual

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 37 of file SymbolRecordMapping.cpp.

References llvm::codeview::CodeViewRecordIO::beginRecord(), error, llvm::codeview::MaxRecordLength, and llvm::Error::success().

Referenced by llvm::codeview::SymbolSerializer::visitSymbolBegin().

Error SymbolRecordMapping::visitSymbolEnd ( CVSymbol Record)
overridevirtual

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