LLVM  10.0.0svn
Macros | Functions
TypeRecordMapping.cpp File Reference
#include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/DebugInfo/CodeView/EnumTables.h"
#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"
Include dependency graph for TypeRecordMapping.cpp:

Go to the source code of this file.

Macros

#define error(X)
 
#define CV_TYPE(enum, val)   {#enum, enum},
 
#define TYPE_RECORD(ename, value, name)
 

Functions

static Error mapNameAndUniqueName (CodeViewRecordIO &IO, StringRef &Name, StringRef &UniqueName, bool HasUniqueName)
 

Macro Definition Documentation

◆ CV_TYPE

#define CV_TYPE (   enum,
  val 
)    {#enum, enum},

◆ error

#define error (   X)
Value:
if (auto EC = X) \
return EC;
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")

Definition at line 18 of file TypeRecordMapping.cpp.

Referenced by mapNameAndUniqueName(), llvm::codeview::TypeRecordMapping::visitMemberBegin(), llvm::codeview::TypeRecordMapping::visitMemberEnd(), llvm::codeview::TypeRecordMapping::visitTypeBegin(), and llvm::codeview::TypeRecordMapping::visitTypeEnd().

◆ TYPE_RECORD

#define TYPE_RECORD (   ename,
  value,
  name 
)
Value:
case ename: \
return #name;
static const char * name

Function Documentation

◆ mapNameAndUniqueName()

static Error mapNameAndUniqueName ( CodeViewRecordIO IO,
StringRef Name,
StringRef UniqueName,
bool  HasUniqueName 
)
static