LLVM  6.0.0svn
Macros | Functions
CVSymbolVisitor.cpp File Reference
#include "llvm/DebugInfo/CodeView/CVSymbolVisitor.h"
#include "llvm/DebugInfo/CodeView/CodeViewError.h"
#include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h"
#include "llvm/DebugInfo/CodeView/CodeViewSymbols.def"
Include dependency graph for CVSymbolVisitor.cpp:

Go to the source code of this file.

Macros

#define SYMBOL_RECORD(EnumName, EnumVal, Name)
 
#define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)   SYMBOL_RECORD(EnumVal, EnumVal, AliasName)
 

Functions

template<typename T >
static Error visitKnownRecord (CVSymbol &Record, SymbolVisitorCallbacks &Callbacks)
 
static Error finishVisitation (CVSymbol &Record, SymbolVisitorCallbacks &Callbacks)
 

Macro Definition Documentation

◆ SYMBOL_RECORD

#define SYMBOL_RECORD (   EnumName,
  EnumVal,
  Name 
)
Value:
case EnumName: { \
if (auto EC = visitKnownRecord<Name>(Record, Callbacks)) \
return EC; \
break; \
}
StringLiteral EnumName

◆ SYMBOL_RECORD_ALIAS

#define SYMBOL_RECORD_ALIAS (   EnumName,
  EnumVal,
  Name,
  AliasName 
)    SYMBOL_RECORD(EnumVal, EnumVal, AliasName)

Function Documentation

◆ finishVisitation()

static Error finishVisitation ( CVSymbol Record,
SymbolVisitorCallbacks Callbacks 
)
static

◆ visitKnownRecord()

template<typename T >
static Error visitKnownRecord ( CVSymbol Record,
SymbolVisitorCallbacks Callbacks 
)
static