class SymbolDeserializer

Declaration

class SymbolDeserializer : public SymbolVisitorCallbacks { /* full declaration omitted */ };

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:24

Inherits from: SymbolVisitorCallbacks

Member Variables

private llvm::codeview::SymbolVisitorDelegate* Delegate
private llvm::codeview::CodeViewContainer Container
private std::unique_ptr<MappingInfo> Mapping

Method Overview

  • public SymbolDeserializer(llvm::codeview::SymbolVisitorDelegate * Delegate, llvm::codeview::CodeViewContainer Container)
  • public template <typename T>static llvm::Error deserializeAs(llvm::codeview::CVSymbol Symbol, T & Record)
  • public template <typename T>static Expected<T> deserializeAs(llvm::codeview::CVSymbol Symbol)
  • private template <typename T>llvm::Error visitKnownRecordImpl(llvm::codeview::CVSymbol & CVR, T & Record)
  • public llvm::Error visitSymbolBegin(llvm::codeview::CVSymbol & Record, uint32_t Offset)
  • public llvm::Error visitSymbolBegin(llvm::codeview::CVSymbol & Record)
  • public llvm::Error visitSymbolEnd(llvm::codeview::CVSymbol & Record)

Inherited from SymbolVisitorCallbacks:

Methods

SymbolDeserializer(
    llvm::codeview::SymbolVisitorDelegate*
        Delegate,
    llvm::codeview::CodeViewContainer Container)

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:55

Parameters

llvm::codeview::SymbolVisitorDelegate* Delegate
llvm::codeview::CodeViewContainer Container

template <typename T>
static llvm::Error deserializeAs(
    llvm::codeview::CVSymbol Symbol,
    T& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:36

Templates

T

Parameters

llvm::codeview::CVSymbol Symbol
T& Record

template <typename T>
static Expected<T> deserializeAs(
    llvm::codeview::CVSymbol Symbol)

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:48

Templates

T

Parameters

llvm::codeview::CVSymbol Symbol

template <typename T>
llvm::Error visitKnownRecordImpl(
    llvm::codeview::CVSymbol& CVR,
    T& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:83

Templates

T

Parameters

llvm::codeview::CVSymbol& CVR
T& Record

llvm::Error visitSymbolBegin(
    llvm::codeview::CVSymbol& Record,
    uint32_t Offset)

Description

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.

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:59

Parameters

llvm::codeview::CVSymbol& Record
uint32_t Offset

llvm::Error visitSymbolBegin(
    llvm::codeview::CVSymbol& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:63

Parameters

llvm::codeview::CVSymbol& Record

llvm::Error visitSymbolEnd(
    llvm::codeview::CVSymbol& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h:68

Parameters

llvm::codeview::CVSymbol& Record