LLVM 20.0.0git
Macros | Functions | Variables
TypeDumpVisitor.cpp File Reference
#include "llvm/DebugInfo/CodeView/TypeDumpVisitor.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
#include "llvm/DebugInfo/CodeView/RecordSerialization.h"
#include "llvm/DebugInfo/CodeView/TypeCollection.h"
#include "llvm/DebugInfo/CodeView/TypeIndex.h"
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"

Go to the source code of this file.

Macros

#define CV_TYPE(enum, val)   {#enum, enum},
 
#define ENUM_ENTRY(enum_class, enum)    { #enum, std::underlying_type_t<enum_class>(enum_class::enum) }
 
#define TYPE_RECORD(ename, value, name)
 

Functions

static StringRef getLeafTypeName (TypeLeafKind LT)
 

Variables

static const EnumEntry< TypeLeafKindLeafTypeNames []
 
static const EnumEntry< uint16_tClassOptionNames []
 
static const EnumEntry< uint8_tMemberAccessNames []
 
static const EnumEntry< uint16_tMethodOptionNames []
 
static const EnumEntry< uint16_tMemberKindNames []
 
static const EnumEntry< uint8_tPtrKindNames []
 
static const EnumEntry< uint8_tPtrModeNames []
 
static const EnumEntry< uint16_tPtrMemberRepNames []
 
static const EnumEntry< uint16_tTypeModifierNames []
 
static const EnumEntry< uint8_tCallingConventions []
 
static const EnumEntry< uint8_tFunctionOptionEnum []
 
static const EnumEntry< uint16_tLabelTypeEnum []
 

Macro Definition Documentation

◆ CV_TYPE

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

◆ ENUM_ENTRY

#define ENUM_ENTRY (   enum_class,
  enum 
)     { #enum, std::underlying_type_t<enum_class>(enum_class::enum) }

Definition at line 29 of file TypeDumpVisitor.cpp.

◆ TYPE_RECORD

#define TYPE_RECORD (   ename,
  value,
  name 
)
Value:
case ename: \
return #name;
static const char * name
Definition: SMEABIPass.cpp:46

Function Documentation

◆ getLeafTypeName()

static StringRef getLeafTypeName ( TypeLeafKind  LT)
static

Variable Documentation

◆ CallingConventions

const EnumEntry<uint8_t> CallingConventions[]
static
Initial value:
= {
}
@ Generic
#define ENUM_ENTRY(enum_class, enum)
CallingConvention
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
Definition: CodeView.h:184

Definition at line 111 of file TypeDumpVisitor.cpp.

◆ ClassOptionNames

const EnumEntry<uint16_t> ClassOptionNames[]
static

◆ FunctionOptionEnum

const EnumEntry<uint8_t> FunctionOptionEnum[]
static

◆ LabelTypeEnum

const EnumEntry<uint16_t> LabelTypeEnum[]
static
Initial value:

Definition at line 145 of file TypeDumpVisitor.cpp.

◆ LeafTypeNames

const EnumEntry<TypeLeafKind> LeafTypeNames[]
static

◆ MemberAccessNames

const EnumEntry<uint8_t> MemberAccessNames[]
static

◆ MemberKindNames

const EnumEntry<uint16_t> MemberKindNames[]
static

◆ MethodOptionNames

const EnumEntry<uint16_t> MethodOptionNames[]
static

◆ PtrKindNames

const EnumEntry<uint8_t> PtrKindNames[]
static

◆ PtrMemberRepNames

const EnumEntry<uint16_t> PtrMemberRepNames[]
static
Initial value:
= {
}
PointerToMemberRepresentation
Equivalent to CV_pmtype_e.
Definition: CodeView.h:386

Definition at line 94 of file TypeDumpVisitor.cpp.

◆ PtrModeNames

const EnumEntry<uint8_t> PtrModeNames[]
static

◆ TypeModifierNames

const EnumEntry<uint16_t> TypeModifierNames[]
static