LLVM 20.0.0git
|
Dumper for CodeView symbol streams found in COFF object files and PDB files. More...
#include "llvm/DebugInfo/CodeView/SymbolDumper.h"
Public Member Functions | |
CVSymbolDumper (ScopedPrinter &W, TypeCollection &Types, CodeViewContainer Container, std::unique_ptr< SymbolDumpDelegate > ObjDelegate, CPUType CPU, bool PrintRecordBytes) | |
Error | dump (CVRecord< SymbolKind > &Record) |
Dumps one type record. | |
Error | dump (const CVSymbolArray &Symbols) |
Dumps the type records in Data. | |
CPUType | getCompilationCPUType () const |
Dumper for CodeView symbol streams found in COFF object files and PDB files.
Definition at line 27 of file SymbolDumper.h.
|
inline |
Definition at line 29 of file SymbolDumper.h.
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 694 of file SymbolDumper.cpp.
References llvm::codeview::SymbolVisitorCallbackPipeline::addCallbackToPipeline(), llvm::codeview::Symbols, and llvm::codeview::CVSymbolVisitor::visitSymbolStream().
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 680 of file SymbolDumper.cpp.
References llvm::codeview::SymbolVisitorCallbackPipeline::addCallbackToPipeline(), and llvm::codeview::CVSymbolVisitor::visitSymbolRecord().
|
inline |
Definition at line 47 of file SymbolDumper.h.