9#ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H 
   10#define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H 
   38#define SYMBOL_RECORD(EnumName, EnumVal, Name)                                 \ 
   39  virtual Error visitKnownRecord(CVSymbol &CVR, Name &Record) {                \ 
   40    return Error::success();                                                   \ 
 
   42#define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) 
   43#include "llvm/DebugInfo/CodeView/CodeViewSymbols.def" 
 
Lightweight error class with error context and mandatory checking.
 
static ErrorSuccess success()
Create a success value.
 
virtual Error visitSymbolEnd(CVSymbol &Record)
 
virtual Error visitSymbolBegin(CVSymbol &Record)
 
virtual ~SymbolVisitorCallbacks()=default
 
virtual Error visitSymbolBegin(CVSymbol &Record, uint32_t Offset)
Paired begin/end actions for all symbols.
 
virtual Error visitUnknownSymbol(CVSymbol &Record)
Action to take on unknown symbols. By default, they are ignored.
 
friend class CVSymbolVisitor
 
CVRecord< SymbolKind > CVSymbol
 
This is an optimization pass for GlobalISel generic memory operations.