LLVM  15.0.0git
Macros | Functions
TypeRecordMapping.cpp File Reference
#include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
#include "llvm/DebugInfo/CodeView/CodeViewRecordIO.h"
#include "llvm/DebugInfo/CodeView/EnumTables.h"
#include "llvm/DebugInfo/CodeView/RecordSerialization.h"
#include "llvm/DebugInfo/CodeView/TypeIndex.h"
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MD5.h"
#include "llvm/Support/ScopedPrinter.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
#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 38 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:74