LLVM 20.0.0git
Macros
FormatUtil.cpp File Reference
#include "llvm/DebugInfo/PDB/Native/FormatUtil.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/STLForwardCompat.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/Support/FormatAdapters.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/DebugInfo/CodeView/CodeViewSymbols.def"
#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"

Go to the source code of this file.

Macros

#define SYMBOL_RECORD(EnumName, value, name)
 
#define CV_SYMBOL(EnumName, value)   SYMBOL_RECORD(EnumName, value, EnumName)
 
#define TYPE_RECORD(EnumName, value, name)
 
#define PUSH_CHARACTERISTIC_FLAG(Enum, TheOpt, Value, Style, Descriptive)
 
#define PUSH_MASKED_CHARACTERISTIC_FLAG(Enum, Mask, TheOpt, Value, Style, Descriptive)
 

Macro Definition Documentation

◆ CV_SYMBOL

#define CV_SYMBOL (   EnumName,
  value 
)    SYMBOL_RECORD(EnumName, value, EnumName)

◆ PUSH_CHARACTERISTIC_FLAG

#define PUSH_CHARACTERISTIC_FLAG (   Enum,
  TheOpt,
  Value,
  Style,
  Descriptive 
)
Value:
PUSH_FLAG(Enum, TheOpt, Value, \
((Style == CharacteristicStyle::HeaderDefinition) ? #TheOpt \
#define PUSH_FLAG(Enum, TheOpt, Value, Text)
Definition: FormatUtil.h:30
LLVM Value Representation.
Definition: Value.h:74

Definition at line 131 of file FormatUtil.cpp.

◆ PUSH_MASKED_CHARACTERISTIC_FLAG

#define PUSH_MASKED_CHARACTERISTIC_FLAG (   Enum,
  Mask,
  TheOpt,
  Value,
  Style,
  Descriptive 
)
Value:
PUSH_MASKED_FLAG(Enum, Mask, TheOpt, Value, \
((Style == CharacteristicStyle::HeaderDefinition) \
? #TheOpt \
#define PUSH_MASKED_FLAG(Enum, Mask, TheOpt, Value, Text)
Definition: FormatUtil.h:26

Definition at line 136 of file FormatUtil.cpp.

◆ SYMBOL_RECORD

#define SYMBOL_RECORD (   EnumName,
  value,
  name 
)
Value:
case EnumName: \
return #EnumName;
StringLiteral EnumName

◆ TYPE_RECORD

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