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

Dumper for CodeView symbol streams found in COFF object files and PDB files. More...

#include <SymbolDumper.h>

Public Member Functions

 CVSymbolDumper (ScopedPrinter &W, TypeDatabase &TypeDB, std::unique_ptr< SymbolDumpDelegate > ObjDelegate, bool PrintRecordBytes)
 
Error dump (CVRecord< SymbolKind > &Record)
 Dumps one type record. More...
 
Error dump (const CVSymbolArray &Symbols)
 Dumps the type records in Data. More...
 

Detailed Description

Dumper for CodeView symbol streams found in COFF object files and PDB files.

Definition at line 26 of file SymbolDumper.h.

Constructor & Destructor Documentation

llvm::codeview::CVSymbolDumper::CVSymbolDumper ( ScopedPrinter W,
TypeDatabase TypeDB,
std::unique_ptr< SymbolDumpDelegate ObjDelegate,
bool  PrintRecordBytes 
)
inline

Definition at line 28 of file SymbolDumper.h.

Member Function Documentation

Error CVSymbolDumper::dump ( CVRecord< SymbolKind > &  Record)

Dumps one type record.

Returns false if there was a type parsing error, and true otherwise. This should be called in order, since the dumper maintains state about previous records which are necessary for cross type references.

Definition at line 669 of file SymbolDumper.cpp.

References llvm::codeview::SymbolVisitorCallbackPipeline::addCallbackToPipeline(), and llvm::codeview::CVSymbolVisitor::visitSymbolRecord().

Error CVSymbolDumper::dump ( const CVSymbolArray Symbols)

Dumps the type records in Data.

Returns false if there was a type stream parse error, and true otherwise.

Definition at line 680 of file SymbolDumper.cpp.

References llvm::codeview::SymbolVisitorCallbackPipeline::addCallbackToPipeline(), and llvm::codeview::CVSymbolVisitor::visitSymbolStream().


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