14using namespace codeview;
16#define CV_ENUM_CLASS_ENT(enum_class, enum) \
17 { #enum, std::underlying_type_t<enum_class>(enum_class::enum) }
19#define CV_ENUM_ENT(ns, enum) \
23#define CV_SYMBOL(enum, val) {#enum, enum},
24#include "llvm/DebugInfo/CodeView/CodeViewSymbols.def"
29#define CV_TYPE(name, val) {#name, name},
30#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"
35#define CV_REGISTERS_X86
36#define CV_REGISTER(name, val) CV_ENUM_CLASS_ENT(RegisterId, name),
37#include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
39#undef CV_REGISTERS_X86
43#define CV_REGISTERS_ARM
44#define CV_REGISTER(name, val) CV_ENUM_CLASS_ENT(RegisterId, name),
45#include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
47#undef CV_REGISTERS_ARM
51#define CV_REGISTERS_ARM64
52#define CV_REGISTER(name, val) CV_ENUM_CLASS_ENT(RegisterId, name),
53#include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
55#undef CV_REGISTERS_ARM64
110 {
"Swift", SourceLanguage::OldSwift},
285 CV_ENUM_ENT(COFF, IMAGE_SCN_CNT_UNINITIALIZED_DATA),
static const EnumEntry< uint16_t > MemberKindNames[]
static const EnumEntry< uint16_t > RegisterNames_X86[]
static const EnumEntry< uint32_t > FrameProcSymFlagNames[]
static const EnumEntry< uint16_t > TypeModifierNames[]
static const EnumEntry< uint16_t > PtrMemberRepNames[]
static const EnumEntry< uint8_t > CallingConventions[]
static const EnumEntry< codeview::SourceLanguage > SourceLanguages[]
static const EnumEntry< uint8_t > FunctionOptionEnum[]
static const EnumEntry< TypeLeafKind > TypeLeafNames[]
static const EnumEntry< uint32_t > PublicSymFlagNames[]
static const EnumEntry< uint16_t > LabelTypeEnum[]
static const EnumEntry< uint32_t > FileChecksumNames[]
static const EnumEntry< uint16_t > MethodOptionNames[]
static const EnumEntry< unsigned > CPUTypeNames[]
static const EnumEntry< uint16_t > RegisterNames_ARM[]
#define CV_ENUM_ENT(ns, enum)
static const EnumEntry< uint8_t > ProcSymFlagNames[]
static const EnumEntry< uint16_t > TrampolineNames[]
static const EnumEntry< uint8_t > MemberAccessNames[]
static const EnumEntry< uint16_t > ExportSymFlagNames[]
static const EnumEntry< uint16_t > RegisterNames_ARM64[]
static const EnumEntry< COFF::SectionCharacteristics > ImageSectionCharacteristicNames[]
static const EnumEntry< uint32_t > CompileSym2FlagNames[]
static const EnumEntry< uint16_t > LocalFlags[]
static const EnumEntry< uint32_t > ModuleSubstreamKindNames[]
static const EnumEntry< uint16_t > JumpTableEntrySizeNames[]
static const EnumEntry< uint8_t > FrameCookieKinds[]
static const EnumEntry< uint8_t > PtrModeNames[]
static const EnumEntry< uint16_t > ClassOptionNames[]
static const EnumEntry< uint8_t > ThunkOrdinalNames[]
static const EnumEntry< uint32_t > CompileSym3FlagNames[]
static const EnumEntry< uint8_t > PtrKindNames[]
#define CV_ENUM_CLASS_ENT(enum_class, enum)
static const EnumEntry< SymbolKind > SymbolTypeNames[]
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
A class that wrap the SHA1 algorithm.
ArrayRef< EnumEntry< uint16_t > > getMethodOptionNames()
PointerMode
Equivalent to CV_ptrmode_e.
@ PointerToMemberFunction
ProcSymFlags
Corresponds to the CV_PROCFLAGS bitfield.
LocalSymFlags
Corresponds to CV_LVARFLAGS bitfield.
MethodKind
Part of member attribute flags. (CV_methodprop_e)
ArrayRef< EnumEntry< uint8_t > > getCallingConventions()
ArrayRef< EnumEntry< uint8_t > > getMemberAccessNames()
ArrayRef< EnumEntry< uint8_t > > getPtrKindNames()
CompileSym2Flags
Corresponds to COMPILESYM2::Flags bitfield.
ArrayRef< EnumEntry< uint16_t > > getPtrMemberRepNames()
PointerKind
Equivalent to CV_ptrtype_e.
CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn....
CompileSym3Flags
Corresponds to COMPILESYM3::Flags bitfield.
ArrayRef< EnumEntry< uint16_t > > getLabelTypeEnum()
ArrayRef< EnumEntry< uint32_t > > getCompileSym2FlagNames()
@ HasConstructorOrDestructor
@ HasOverloadedAssignmentOperator
ArrayRef< EnumEntry< COFF::SectionCharacteristics > > getImageSectionCharacteristicNames()
PointerToMemberRepresentation
Equivalent to CV_pmtype_e.
@ MultipleInheritanceData
@ SingleInheritanceFunction
@ VirtualInheritanceFunction
@ MultipleInheritanceFunction
ArrayRef< EnumEntry< uint32_t > > getFileChecksumNames()
ArrayRef< EnumEntry< TypeLeafKind > > getTypeLeafNames()
ArrayRef< EnumEntry< uint16_t > > getExportSymFlagNames()
ArrayRef< EnumEntry< uint16_t > > getJumpTableEntrySizeNames()
ArrayRef< EnumEntry< uint16_t > > getTypeModifierNames()
MethodOptions
Equivalent to CV_fldattr_t bitfield.
ArrayRef< EnumEntry< SymbolKind > > getSymbolTypeNames()
@ ConstructorWithVirtualBases
ArrayRef< EnumEntry< uint16_t > > getMemberKindNames()
MemberAccess
Source-level access specifier. (CV_access_e)
ArrayRef< EnumEntry< uint32_t > > getModuleSubstreamKindNames()
ThunkOrdinal
These values correspond to the THUNK_ORDINAL enumeration.
ArrayRef< EnumEntry< uint16_t > > getLocalFlagNames()
ArrayRef< EnumEntry< uint16_t > > getRegisterNames(CPUType Cpu)
ArrayRef< EnumEntry< uint8_t > > getThunkOrdinalNames()
ArrayRef< EnumEntry< uint8_t > > getPtrModeNames()
ArrayRef< EnumEntry< uint8_t > > getProcSymFlagNames()
ArrayRef< EnumEntry< unsigned > > getCPUTypeNames()
ArrayRef< EnumEntry< uint8_t > > getFunctionOptionEnum()
ModifierOptions
Equivalent to CV_modifier_t.
ArrayRef< EnumEntry< uint16_t > > getClassOptionNames()
@ ProfileGuidedOptimization
@ NoStackOrderingForSecurityChecks
@ EncodedLocalBasePointerMask
@ AsynchronousExceptionHandling
@ HasStructuredExceptionHandling
@ EncodedParamBasePointerMask
ArrayRef< EnumEntry< SourceLanguage > > getSourceLanguageNames()
ArrayRef< EnumEntry< uint32_t > > getFrameProcSymFlagNames()
ArrayRef< EnumEntry< uint16_t > > getTrampolineNames()
PublicSymFlags
Corresponds to the CV_PUBSYMFLAGS bitfield.
LabelType
Equivalent to CV_LABEL_TYPE_e.
@ D
The DMD compiler emits 'D' for the CV source language.
ArrayRef< EnumEntry< uint32_t > > getPublicSymFlagNames()
ArrayRef< EnumEntry< uint32_t > > getCompileSym3FlagNames()
ArrayRef< EnumEntry< uint8_t > > getFrameCookieKindNames()
This is an optimization pass for GlobalISel generic memory operations.
Data in the SUBSEC_FRAMEDATA subection.