LLVM  14.0.0git
Macros | Functions
TypeRecordMapping.cpp File Reference
#include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/DebugInfo/CodeView/EnumTables.h"
#include "llvm/Support/MD5.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 void computeHashString (StringRef Name, SmallString< 32 > &StringifiedHash)
 
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;

Definition at line 20 of file TypeRecordMapping.cpp.

◆ TYPE_RECORD

#define TYPE_RECORD (   ename,
  value,
  name 
)
Value:
case ename: \
return #name;

Function Documentation

◆ computeHashString()

static void computeHashString ( StringRef  Name,
SmallString< 32 > &  StringifiedHash 
)
static

◆ mapNameAndUniqueName()

static Error mapNameAndUniqueName ( CodeViewRecordIO IO,
StringRef Name,
StringRef UniqueName,
bool  HasUniqueName 
)
static
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
llvm::codeview::CompileSym2Flags::EC
@ EC
name
static const char * name
Definition: SVEIntrinsicOpts.cpp:78