class CVSymbolDumper

Declaration

class CVSymbolDumper { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h:25

Method Overview

  • public CVSymbolDumper(llvm::ScopedPrinter & W, llvm::codeview::TypeCollection & Types, llvm::codeview::CodeViewContainer Container, std::unique_ptr<SymbolDumpDelegate> ObjDelegate, llvm::codeview::CPUType CPU, bool PrintRecordBytes)
  • public llvm::Error dump(CVRecord<llvm::codeview::SymbolKind> & Record)
  • public llvm::Error dump(const llvm::codeview::CVSymbolArray & Symbols)
  • public llvm::codeview::CPUType getCompilationCPUType() const

Methods

CVSymbolDumper(
    llvm::ScopedPrinter& W,
    llvm::codeview::TypeCollection& Types,
    llvm::codeview::CodeViewContainer Container,
    std::unique_ptr<SymbolDumpDelegate>
        ObjDelegate,
    llvm::codeview::CPUType CPU,
    bool PrintRecordBytes)

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h:27

Parameters

llvm::ScopedPrinter& W
llvm::codeview::TypeCollection& Types
llvm::codeview::CodeViewContainer Container
std::unique_ptr<SymbolDumpDelegate> ObjDelegate
llvm::codeview::CPUType CPU
bool PrintRecordBytes

llvm::Error dump(
    CVRecord<llvm::codeview::SymbolKind>& Record)

Description

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.

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h:39

Parameters

CVRecord<llvm::codeview::SymbolKind>& Record

llvm::Error dump(
    const llvm::codeview::CVSymbolArray& Symbols)

Description

Dumps the type records in Data. Returns false if there was a type stream parse error, and true otherwise.

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h:43

Parameters

const llvm::codeview::CVSymbolArray& Symbols

llvm::codeview::CPUType getCompilationCPUType()
    const

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h:45