LLVM  10.0.0svn
Macros
PDBExtras.cpp File Reference
#include "llvm/DebugInfo/PDB/PDBExtras.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
Include dependency graph for PDBExtras.cpp:

Go to the source code of this file.

Macros

#define CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, Str, Stream)
 
#define CASE_OUTPUT_ENUM_CLASS_NAME(Class, Value, Stream)   CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, #Value, Stream)
 
#define CV_REGISTERS_ARM64
 
#define CV_REGISTER(name, val)
 
#define CV_REGISTERS_X86
 
#define CV_REGISTER(name, val)
 

Macro Definition Documentation

◆ CASE_OUTPUT_ENUM_CLASS_NAME

#define CASE_OUTPUT_ENUM_CLASS_NAME (   Class,
  Value,
  Stream 
)    CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, #Value, Stream)

Definition at line 21 of file PDBExtras.cpp.

Referenced by llvm::pdb::dumpPDBSourceCompression(), and llvm::pdb::operator<<().

◆ CASE_OUTPUT_ENUM_CLASS_STR

#define CASE_OUTPUT_ENUM_CLASS_STR (   Class,
  Value,
  Str,
  Stream 
)
Value:
case Class::Value: \
Stream << Str; \
break;

Definition at line 16 of file PDBExtras.cpp.

Referenced by llvm::pdb::dumpPDBSourceCompression(), and llvm::pdb::operator<<().

◆ CV_REGISTER [1/2]

#define CV_REGISTER (   name,
  val 
)
Value:
OS << #name; \
return OS;
static const char * name

◆ CV_REGISTER [2/2]

#define CV_REGISTER (   name,
  val 
)
Value:
OS << #name; \
return OS;
static const char * name

◆ CV_REGISTERS_ARM64

#define CV_REGISTERS_ARM64

◆ CV_REGISTERS_X86

#define CV_REGISTERS_X86