LLVM 20.0.0git
|
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
Public Member Functions | |
SymbolDeserializer (SymbolVisitorDelegate *Delegate, CodeViewContainer Container) | |
Error | visitSymbolBegin (CVSymbol &Record, uint32_t Offset) override |
Paired begin/end actions for all symbols. | |
Error | visitSymbolBegin (CVSymbol &Record) override |
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. | |
virtual Error | visitSymbolBegin (CVSymbol &Record, uint32_t Offset) |
Paired begin/end actions for all symbols. | |
virtual Error | visitSymbolBegin (CVSymbol &Record) |
virtual Error | visitSymbolEnd (CVSymbol &Record) |
Static Public Member Functions | |
template<typename T > | |
static Error | deserializeAs (CVSymbol Symbol, T &Record) |
template<typename T > | |
static Expected< T > | deserializeAs (CVSymbol Symbol) |
Definition at line 24 of file SymbolDeserializer.h.
|
inlineexplicit |
Definition at line 55 of file SymbolDeserializer.h.
|
inlinestatic |
Definition at line 48 of file SymbolDeserializer.h.
References llvm::codeview::EC.
|
inlinestatic |
Definition at line 36 of file SymbolDeserializer.h.
References llvm::codeview::EC, llvm::codeview::ObjectFile, llvm::Error::success(), visitSymbolBegin(), and visitSymbolEnd().
|
inlineoverridevirtual |
Reimplemented from llvm::codeview::SymbolVisitorCallbacks.
Definition at line 63 of file SymbolDeserializer.h.
References assert().
|
inlineoverridevirtual |
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 59 of file SymbolDeserializer.h.
References visitSymbolBegin().
Referenced by deserializeAs(), and visitSymbolBegin().
Reimplemented from llvm::codeview::SymbolVisitorCallbacks.
Definition at line 68 of file SymbolDeserializer.h.
References assert(), and llvm::codeview::EC.
Referenced by deserializeAs().