LLVM  14.0.0git
Macros | Functions
SymbolDumper.cpp File Reference
#include "llvm/DebugInfo/CodeView/SymbolDumper.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/DebugInfo/CodeView/CVSymbolVisitor.h"
#include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h"
#include "llvm/DebugInfo/CodeView/EnumTables.h"
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
#include "llvm/DebugInfo/CodeView/SymbolDumpDelegate.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h"
#include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h"
#include "llvm/DebugInfo/CodeView/TypeIndex.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ScopedPrinter.h"
#include <system_error>
#include "llvm/DebugInfo/CodeView/CodeViewSymbols.def"
Include dependency graph for SymbolDumper.cpp:

Go to the source code of this file.

Macros

#define SYMBOL_RECORD(EnumName, EnumVal, Name)   Error visitKnownRecord(CVSymbol &CVR, Name &Record) override;
 CVSymbolVisitor overrides. More...
 
#define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)
 
#define SYMBOL_RECORD(EnumName, EnumVal, Name)
 CVSymbolVisitor overrides. More...
 

Functions

static StringRef getSymbolKindName (SymbolKind Kind)
 

Macro Definition Documentation

◆ SYMBOL_RECORD [1/2]

#define SYMBOL_RECORD (   EnumName,
  EnumVal,
  Name 
)    Error visitKnownRecord(CVSymbol &CVR, Name &Record) override;

CVSymbolVisitor overrides.

Definition at line 39 of file SymbolDumper.cpp.

◆ SYMBOL_RECORD [2/2]

#define SYMBOL_RECORD (   EnumName,
  EnumVal,
  Name 
)
Value:
case EnumName: \
return #Name;

CVSymbolVisitor overrides.

Definition at line 39 of file SymbolDumper.cpp.

◆ SYMBOL_RECORD_ALIAS

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

Definition at line 41 of file SymbolDumper.cpp.

Function Documentation

◆ getSymbolKindName()

static StringRef getSymbolKindName ( SymbolKind  Kind)
static

Definition at line 68 of file SymbolDumper.cpp.

llvm::GraphProgram::Name
Name
Definition: GraphWriter.h:52
EnumName
StringLiteral EnumName
Definition: MCSectionMachO.cpp:19