LLVM  6.0.0svn
Public Member Functions | Friends | List of all members
llvm::codeview::SymbolVisitorCallbacks Class Reference

#include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h"

Inheritance diagram for llvm::codeview::SymbolVisitorCallbacks:
Inheritance graph
[legend]

Public Member Functions

virtual ~SymbolVisitorCallbacks ()=default
 
virtual Error visitUnknownSymbol (CVSymbol &Record)
 Action to take on unknown symbols. By default, they are ignored. More...
 
virtual Error visitSymbolBegin (CVSymbol &Record, uint32_t Offset)
 Paired begin/end actions for all symbols. More...
 
virtual Error visitSymbolBegin (CVSymbol &Record)
 
virtual Error visitSymbolEnd (CVSymbol &Record)
 

Friends

class CVSymbolVisitor
 

Detailed Description

Definition at line 19 of file SymbolVisitorCallbacks.h.

Constructor & Destructor Documentation

◆ ~SymbolVisitorCallbacks()

virtual llvm::codeview::SymbolVisitorCallbacks::~SymbolVisitorCallbacks ( )
virtualdefault

Member Function Documentation

◆ visitSymbolBegin() [1/2]

virtual Error llvm::codeview::SymbolVisitorCallbacks::visitSymbolBegin ( CVSymbol Record,
uint32_t  Offset 
)
inlinevirtual

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 in llvm::codeview::SymbolDeserializer, and llvm::codeview::SymbolVisitorCallbackPipeline.

Definition at line 33 of file SymbolVisitorCallbacks.h.

References llvm::Error::success().

Referenced by llvm::codeview::CVSymbolVisitor::visitSymbolRecord().

◆ visitSymbolBegin() [2/2]

virtual Error llvm::codeview::SymbolVisitorCallbacks::visitSymbolBegin ( CVSymbol Record)
inlinevirtual

◆ visitSymbolEnd()

virtual Error llvm::codeview::SymbolVisitorCallbacks::visitSymbolEnd ( CVSymbol Record)
inlinevirtual

◆ visitUnknownSymbol()

virtual Error llvm::codeview::SymbolVisitorCallbacks::visitUnknownSymbol ( CVSymbol Record)
inlinevirtual

Action to take on unknown symbols. By default, they are ignored.

Reimplemented in llvm::codeview::SymbolVisitorCallbackPipeline.

Definition at line 26 of file SymbolVisitorCallbacks.h.

References llvm::Error::success().

Referenced by finishVisitation().

Friends And Related Function Documentation

◆ CVSymbolVisitor

friend class CVSymbolVisitor
friend

Definition at line 20 of file SymbolVisitorCallbacks.h.


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