10 #ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H
11 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H
37 #define SYMBOL_RECORD(EnumName, EnumVal, Name) \
38 virtual Error visitKnownRecord(CVSymbol &CVR, Name &Record) { \
39 return Error::success(); \
41 #define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)
42 #include "CVSymbolTypes.def"
48 #endif // LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H
virtual Error visitUnknownSymbol(CVSymbol &Record)
Action to take on unknown symbols. By default, they are ignored.
virtual Error visitSymbolEnd(CVSymbol &Record)
virtual ~SymbolVisitorCallbacks()=default
static ErrorSuccess success()
Create a success value.
Lightweight error class with error context and mandatory checking.
virtual Error visitSymbolBegin(CVSymbol &Record)
Paired begin/end actions for all symbols.