LLVM  13.0.0git
EnumTables.cpp
Go to the documentation of this file.
1 //===- EnumTables.cpp - Enum to string conversion tables ------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
11 #include <type_traits>
12 
13 using namespace llvm;
14 using namespace codeview;
15 
16 #define CV_ENUM_CLASS_ENT(enum_class, enum) \
17  { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
18 
19 #define CV_ENUM_ENT(ns, enum) \
20  { #enum, ns::enum }
21 
23 #define CV_SYMBOL(enum, val) {#enum, enum},
24 #include "llvm/DebugInfo/CodeView/CodeViewSymbols.def"
25 #undef CV_SYMBOL
26 };
27 
29 #define CV_TYPE(name, val) {#name, name},
30 #include "llvm/DebugInfo/CodeView/CodeViewTypes.def"
31 #undef CV_TYPE
32 };
33 
35 #define CV_REGISTERS_X86
36 #define CV_REGISTER(name, val) CV_ENUM_CLASS_ENT(RegisterId, name),
37 #include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
38 #undef CV_REGISTER
39 #undef CV_REGISTERS_X86
40 };
41 
43 #define CV_REGISTERS_ARM
44 #define CV_REGISTER(name, val) CV_ENUM_CLASS_ENT(RegisterId, name),
45 #include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
46 #undef CV_REGISTER
47 #undef CV_REGISTERS_ARM
48 };
49 
51 #define CV_REGISTERS_ARM64
52 #define CV_REGISTER(name, val) CV_ENUM_CLASS_ENT(RegisterId, name),
53 #include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
54 #undef CV_REGISTER
55 #undef CV_REGISTERS_ARM64
56 };
57 
63 };
64 
74 };
75 
76 static const EnumEntry<uint16_t> LocalFlags[] = {
88 };
89 
95 };
96 
108 };
109 
120 };
121 
135 };
136 
142 };
143 
205 };
206 
229 };
230 
246 };
247 
255 };
256 
258  CV_ENUM_CLASS_ENT(ThunkOrdinal, Standard),
265 };
266 
270 };
271 
310 
324 };
325 
331 };
332 
339 };
340 
344  CV_ENUM_CLASS_ENT(MethodKind, Static),
349 };
350 
365 };
366 
373 };
374 
387 };
388 
393 };
394 
420 };
421 
426 };
427 
431 };
432 
433 namespace llvm {
434 namespace codeview {
435 
438 }
439 
441  return makeArrayRef(TypeLeafNames);
442 }
443 
445  if (Cpu == CPUType::ARMNT) {
447  } else if (Cpu == CPUType::ARM64) {
449  }
451 }
452 
455 }
456 
459 }
460 
462  return makeArrayRef(LocalFlags);
463 }
464 
467 }
468 
471 }
472 
475 }
476 
479 }
480 
483 }
484 
486  return makeArrayRef(CPUTypeNames);
487 }
488 
491 }
492 
495 }
496 
499 }
500 
503 }
504 
507 }
508 
512 }
513 
516 }
517 
520 }
521 
524 }
525 
528 }
529 
531  return makeArrayRef(PtrKindNames);
532 }
533 
535  return makeArrayRef(PtrModeNames);
536 }
537 
540 }
541 
544 }
545 
548 }
549 
552 }
553 
555  return makeArrayRef(LabelTypeEnum);
556 }
557 
558 } // end namespace codeview
559 } // end namespace llvm
llvm::codeview::JScript
@ JScript
Definition: CodeView.h:158
llvm::codeview::LocalSymFlags::IsOptimizedOut
@ IsOptimizedOut
llvm::codeview::CPUType::PPC603
@ PPC603
llvm::codeview::CPUType::ARM64
@ ARM64
llvm::COFF::IMAGE_SCN_ALIGN_64BYTES
@ IMAGE_SCN_ALIGN_64BYTES
Definition: COFF.h:306
llvm::codeview::CPUType::MIPSV
@ MIPSV
llvm::codeview::CPUType::MIPSIV
@ MIPSIV
llvm::codeview::ClassOptions::ForwardReference
@ ForwardReference
llvm::codeview::LocalSymFlags::IsAddressTaken
@ IsAddressTaken
llvm::COFF::IMAGE_SCN_ALIGN_1BYTES
@ IMAGE_SCN_ALIGN_1BYTES
Definition: COFF.h:300
llvm::codeview::MemberAccess
MemberAccess
Source-level access specifier. (CV_access_e)
Definition: CodeView.h:260
llvm::COFF::IMAGE_SCN_ALIGN_2048BYTES
@ IMAGE_SCN_ALIGN_2048BYTES
Definition: COFF.h:311
MethodOptionNames
static const EnumEntry< uint16_t > MethodOptionNames[]
Definition: EnumTables.cpp:333
llvm::codeview::DebugSubsectionKind::InlineeLines
@ InlineeLines
llvm::codeview::CPUType::Alpha21164A
@ Alpha21164A
llvm::codeview::getTypeLeafNames
ArrayRef< EnumEntry< TypeLeafKind > > getTypeLeafNames()
Definition: EnumTables.cpp:440
llvm
Definition: AllocatorList.h:23
llvm::COFF::IMAGE_SCN_LNK_NRELOC_OVFL
@ IMAGE_SCN_LNK_NRELOC_OVFL
Definition: COFF.h:315
llvm::COFF::IMAGE_SCN_ALIGN_16BYTES
@ IMAGE_SCN_ALIGN_16BYTES
Definition: COFF.h:304
llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA
@ IMAGE_SCN_CNT_UNINITIALIZED_DATA
Definition: COFF.h:290
llvm::codeview::getMemberKindNames
ArrayRef< EnumEntry< uint16_t > > getMemberKindNames()
Definition: EnumTables.cpp:526
llvm::COFF::IMAGE_SCN_ALIGN_4BYTES
@ IMAGE_SCN_ALIGN_4BYTES
Definition: COFF.h:302
llvm::codeview::LocalSymFlags::IsReturnValue
@ IsReturnValue
llvm::codeview::ThunkOrdinal::Vcall
@ Vcall
llvm::codeview::MethodKind::PureVirtual
@ PureVirtual
llvm::codeview::DebugSubsectionKind::CoffSymbolRVA
@ CoffSymbolRVA
llvm::codeview::DebugSubsectionKind::Lines
@ Lines
llvm::codeview::LabelType::Far
@ Far
llvm::COFF::IMAGE_SCN_ALIGN_256BYTES
@ IMAGE_SCN_ALIGN_256BYTES
Definition: COFF.h:308
llvm::codeview::getCompileSym3FlagNames
ArrayRef< EnumEntry< uint32_t > > getCompileSym3FlagNames()
Definition: EnumTables.cpp:477
llvm::Function
Definition: Function.h:61
llvm::codeview::ModifierOptions
ModifierOptions
Equivalent to CV_modifier_t.
Definition: CodeView.h:299
llvm::codeview::MethodOptions::NoInherit
@ NoInherit
llvm::codeview::PointerKind::BasedOnSegmentAddress
@ BasedOnSegmentAddress
llvm::codeview::ProcSymFlags
ProcSymFlags
Corresponds to the CV_PROCFLAGS bitfield.
Definition: CodeView.h:428
llvm::COFF::IMAGE_SCN_MEM_NOT_PAGED
@ IMAGE_SCN_MEM_NOT_PAGED
Definition: COFF.h:318
CompileSym3FlagNames
static const EnumEntry< uint32_t > CompileSym3FlagNames[]
Definition: EnumTables.cpp:122
llvm::codeview::ClassOptions::HasConstructorOrDestructor
@ HasConstructorOrDestructor
TypeModifierNames
static const EnumEntry< uint16_t > TypeModifierNames[]
Definition: EnumTables.cpp:389
llvm::codeview::FunctionOptions
FunctionOptions
Definition: CodeView.h:244
llvm::codeview::CPUType::SH3E
@ SH3E
llvm::codeview::CallingConvention::AlphaCall
@ AlphaCall
llvm::codeview::CallingConvention::AM33Call
@ AM33Call
llvm::SHA256
Definition: SHA256.h:33
llvm::codeview::CallingConvention::ThisCall
@ ThisCall
llvm::COFF::IMAGE_SCN_MEM_DISCARDABLE
@ IMAGE_SCN_MEM_DISCARDABLE
Definition: COFF.h:316
llvm::codeview::FileChecksumKind
FileChecksumKind
Definition: CodeView.h:561
llvm::codeview::PointerToMemberRepresentation::VirtualInheritanceData
@ VirtualInheritanceData
PublicSymFlagNames
static const EnumEntry< uint32_t > PublicSymFlagNames[]
Definition: EnumTables.cpp:58
llvm::codeview::ThunkOrdinal::UnknownLoad
@ UnknownLoad
llvm::codeview::FrameProcedureOptions::SafeBuffers
@ SafeBuffers
llvm::codeview::PointerToMemberRepresentation::GeneralData
@ GeneralData
llvm::codeview::ThunkOrdinal::Pcode
@ Pcode
llvm::codeview::MemberAccess::Protected
@ Protected
llvm::codeview::CPUType::AM33
@ AM33
llvm::codeview::PointerToMemberRepresentation::VirtualInheritanceFunction
@ VirtualInheritanceFunction
llvm::codeview::CallingConvention::NearC
@ NearC
llvm::codeview::getLocalFlagNames
ArrayRef< EnumEntry< uint16_t > > getLocalFlagNames()
Definition: EnumTables.cpp:461
llvm::codeview::ThunkOrdinal::ThisAdjustor
@ ThisAdjustor
llvm::codeview::MethodKind::Vanilla
@ Vanilla
llvm::codeview::ExportFlags::IsData
@ IsData
llvm::codeview::CPUType::CEE
@ CEE
llvm::codeview::CallingConvention::FarFast
@ FarFast
llvm::codeview::FunctionOptions::ConstructorWithVirtualBases
@ ConstructorWithVirtualBases
llvm::codeview::FrameData
Data in the SUBSEC_FRAMEDATA subection.
Definition: CodeView.h:569
llvm::codeview::getTypeModifierNames
ArrayRef< EnumEntry< uint16_t > > getTypeModifierNames()
Definition: EnumTables.cpp:542
llvm::codeview::DebugSubsectionKind::CrossScopeExports
@ CrossScopeExports
ProcSymFlagNames
static const EnumEntry< uint8_t > ProcSymFlagNames[]
Definition: EnumTables.cpp:65
llvm::codeview::CallingConvention::NearVector
@ NearVector
llvm::codeview::LocalSymFlags::IsAggregated
@ IsAggregated
llvm::COFF::IMAGE_SCN_ALIGN_512BYTES
@ IMAGE_SCN_ALIGN_512BYTES
Definition: COFF.h:309
llvm::codeview::CPUType::Intel80486
@ Intel80486
llvm::codeview::DebugSubsectionKind::StringTable
@ StringTable
llvm::codeview::Link
@ Link
Definition: CodeView.h:151
llvm::codeview::CPUType::X64
@ X64
llvm::codeview::CPUType::Intel8080
@ Intel8080
llvm::codeview::MSIL
@ MSIL
Definition: CodeView.h:159
llvm::codeview::MemberAccess::Public
@ Public
llvm::codeview::LabelType
LabelType
Equivalent to CV_LABEL_TYPE_e.
Definition: CodeView.h:292
llvm::codeview::FrameProcedureOptions::AsynchronousExceptionHandling
@ AsynchronousExceptionHandling
llvm::codeview::getImageSectionCharacteristicNames
ArrayRef< EnumEntry< COFF::SectionCharacteristics > > getImageSectionCharacteristicNames()
Definition: EnumTables.cpp:510
llvm::codeview::CPUType::ARMNT
@ ARMNT
llvm::codeview::PointerMode::Pointer
@ Pointer
llvm::codeview::ClassOptions::HasOverloadedOperator
@ HasOverloadedOperator
llvm::codeview::FrameProcedureOptions::HasExceptionHandling
@ HasExceptionHandling
CV_ENUM_CLASS_ENT
#define CV_ENUM_CLASS_ENT(enum_class, enum)
Definition: EnumTables.cpp:16
llvm::codeview::FrameProcedureOptions::ProfileGuidedOptimization
@ ProfileGuidedOptimization
llvm::codeview::DebugSubsectionKind::MergedAssemblyInput
@ MergedAssemblyInput
EnumTables.h
llvm::codeview::ProcSymFlags::IsNoReturn
@ IsNoReturn
llvm::codeview::CPUType::Intel80286
@ Intel80286
llvm::codeview::PointerKind::BasedOnSegmentValue
@ BasedOnSegmentValue
llvm::EnumEntry
Definition: ScopedPrinter.h:24
llvm::codeview::CPUType::ARM_XMAC
@ ARM_XMAC
llvm::codeview::CompileSym2Flags::HotPatch
@ HotPatch
llvm::codeview::ClassOptions::ContainsNestedClass
@ ContainsNestedClass
llvm::codeview::ClassOptions::Scoped
@ Scoped
llvm::codeview::CPUType::Thumb
@ Thumb
llvm::codeview::MethodKind::IntroducingVirtual
@ IntroducingVirtual
llvm::codeview::FrameProcedureOptions::ValidProfileCounts
@ ValidProfileCounts
llvm::codeview::Cvtres
@ Cvtres
Definition: CodeView.h:152
llvm::codeview::MethodKind::Virtual
@ Virtual
llvm::codeview::FrameCookieKind::XorStackPointer
@ XorStackPointer
llvm::codeview::MethodKind::Friend
@ Friend
llvm::codeview::PointerKind::Far32
@ Far32
llvm::codeview::CPUType::Ia64_2
@ Ia64_2
llvm::codeview::CompileSym2Flags::NoDbgInfo
@ NoDbgInfo
llvm::codeview::CompileSym2Flags::ManagedPresent
@ ManagedPresent
llvm::COFF::IMAGE_SCN_LNK_INFO
@ IMAGE_SCN_LNK_INFO
Definition: COFF.h:292
llvm::codeview::getMethodOptionNames
ArrayRef< EnumEntry< uint16_t > > getMethodOptionNames()
Definition: EnumTables.cpp:522
llvm::codeview::CompileSym3Flags::PGO
@ PGO
llvm::COFF::IMAGE_SCN_CNT_INITIALIZED_DATA
@ IMAGE_SCN_CNT_INITIALIZED_DATA
Definition: COFF.h:289
llvm::codeview::FrameProcedureOptions::GuardCfg
@ GuardCfg
llvm::codeview::getThunkOrdinalNames
ArrayRef< EnumEntry< uint8_t > > getThunkOrdinalNames()
Definition: EnumTables.cpp:501
llvm::codeview::HLSL
@ HLSL
Definition: CodeView.h:160
llvm::codeview::MemberAccess::Private
@ Private
ThunkOrdinalNames
static const EnumEntry< uint8_t > ThunkOrdinalNames[]
Definition: EnumTables.cpp:257
llvm::codeview::CPUType::Pentium
@ Pentium
llvm::codeview::CPUType::ARM5
@ ARM5
llvm::COFF::IMAGE_SCN_LNK_REMOVE
@ IMAGE_SCN_LNK_REMOVE
Definition: COFF.h:293
llvm::codeview::PointerToMemberRepresentation::SingleInheritanceFunction
@ SingleInheritanceFunction
llvm::codeview::CPUType::PPCBE
@ PPCBE
llvm::codeview::CallingConvention::SHCall
@ SHCall
llvm::SHA1
A class that wrap the SHA1 algorithm.
Definition: SHA1.h:26
llvm::codeview::CPUType::MIPS
@ MIPS
llvm::codeview::DebugSubsectionKind::CrossScopeImports
@ CrossScopeImports
llvm::codeview::ProcSymFlags::IsNoInline
@ IsNoInline
llvm::codeview::ExportFlags::IsConstant
@ IsConstant
llvm::codeview::CallingConvention::SH5Call
@ SH5Call
llvm::codeview::CPUType::TriCore
@ TriCore
llvm::codeview::CPUType::ARM3
@ ARM3
C
(vector float) vec_cmpeq(*A, *B) C
Definition: README_ALTIVEC.txt:86
llvm::codeview::Masm
@ Masm
Definition: CodeView.h:147
llvm::codeview::CompileSym2Flags::CVTCIL
@ CVTCIL
llvm::codeview::CallingConvention::FarC
@ FarC
llvm::codeview::FrameProcedureOptions::EncodedLocalBasePointerMask
@ EncodedLocalBasePointerMask
llvm::codeview::CompileSym2Flags::LTCG
@ LTCG
llvm::COFF::IMAGE_SCN_MEM_READ
@ IMAGE_SCN_MEM_READ
Definition: COFF.h:321
llvm::codeview::ThunkOrdinal::TrampIncremental
@ TrampIncremental
llvm::codeview::CPUType::Alpha21164
@ Alpha21164
ImageSectionCharacteristicNames
static const EnumEntry< COFF::SectionCharacteristics > ImageSectionCharacteristicNames[]
Definition: EnumTables.cpp:273
RegisterNames_ARM64
static const EnumEntry< uint16_t > RegisterNames_ARM64[]
Definition: EnumTables.cpp:50
llvm::codeview::CPUType::MIPSI
@ MIPSI
llvm::codeview::CPUType::ARM6
@ ARM6
FileChecksumNames
static const EnumEntry< uint32_t > FileChecksumNames[]
Definition: EnumTables.cpp:137
llvm::codeview::CPUType::EBC
@ EBC
llvm::codeview::CPUType::Ia64
@ Ia64
llvm::codeview::MethodKind
MethodKind
Part of member attribute flags. (CV_methodprop_e)
Definition: CodeView.h:268
llvm::codeview::DebugSubsectionKind::FuncMDTokenMap
@ FuncMDTokenMap
llvm::codeview::ProcSymFlags::HasFP
@ HasFP
llvm::codeview::ExportFlags::IsForwarder
@ IsForwarder
llvm::codeview::CPUType::ARM5T
@ ARM5T
llvm::codeview::ClassOptions::Sealed
@ Sealed
llvm::codeview::getPublicSymFlagNames
ArrayRef< EnumEntry< uint32_t > > getPublicSymFlagNames()
Definition: EnumTables.cpp:453
llvm::codeview::DebugSubsectionKind::FileChecksums
@ FileChecksums
llvm::codeview::FrameCookieKind
FrameCookieKind
Definition: CodeView.h:506
llvm::codeview::LocalSymFlags::IsEnregisteredGlobal
@ IsEnregisteredGlobal
llvm::codeview::PointerToMemberRepresentation::SingleInheritanceData
@ SingleInheritanceData
llvm::codeview::ModifierOptions::Volatile
@ Volatile
llvm::codeview::FrameProcedureOptions::HasSetJmp
@ HasSetJmp
llvm::codeview::getFunctionOptionEnum
ArrayRef< EnumEntry< uint8_t > > getFunctionOptionEnum()
Definition: EnumTables.cpp:550
llvm::COFF::IMAGE_SCN_ALIGN_32BYTES
@ IMAGE_SCN_ALIGN_32BYTES
Definition: COFF.h:305
llvm::codeview::getProcSymFlagNames
ArrayRef< EnumEntry< uint8_t > > getProcSymFlagNames()
Definition: EnumTables.cpp:457
TypeLeafNames
static const EnumEntry< TypeLeafKind > TypeLeafNames[]
Definition: EnumTables.cpp:28
llvm::codeview::ClassOptions
ClassOptions
Definition: CodeView.h:201
llvm::codeview::getFileChecksumNames
ArrayRef< EnumEntry< uint32_t > > getFileChecksumNames()
Definition: EnumTables.cpp:481
llvm::codeview::LocalSymFlags::IsEnregisteredStatic
@ IsEnregisteredStatic
llvm::codeview::Java
@ Java
Definition: CodeView.h:157
llvm::None
const NoneType None
Definition: None.h:23
llvm::codeview::getPtrKindNames
ArrayRef< EnumEntry< uint8_t > > getPtrKindNames()
Definition: EnumTables.cpp:530
llvm::codeview::CallingConvention::NearFast
@ NearFast
llvm::codeview::PointerMode::LValueReference
@ LValueReference
CV_ENUM_ENT
#define CV_ENUM_ENT(ns, enum)
Definition: EnumTables.cpp:19
llvm::codeview::ClassOptions::Intrinsic
@ Intrinsic
llvm::codeview::getLabelTypeEnum
ArrayRef< EnumEntry< uint16_t > > getLabelTypeEnum()
Definition: EnumTables.cpp:554
llvm::codeview::PointerMode
PointerMode
Equivalent to CV_ptrmode_e.
Definition: CodeView.h:348
llvm::codeview::getCPUTypeNames
ArrayRef< EnumEntry< unsigned > > getCPUTypeNames()
Definition: EnumTables.cpp:485
llvm::codeview::CallingConvention::FarPascal
@ FarPascal
llvm::codeview::FrameProcedureOptions
FrameProcedureOptions
Definition: CodeView.h:218
llvm::COFF::IMAGE_SCN_TYPE_NOLOAD
@ IMAGE_SCN_TYPE_NOLOAD
Definition: COFF.h:286
llvm::COFF::IMAGE_SCN_LNK_OTHER
@ IMAGE_SCN_LNK_OTHER
Definition: COFF.h:291
llvm::codeview::CPUType::PPC604
@ PPC604
llvm::codeview::CPUType::ARM7
@ ARM7
llvm::COFF::IMAGE_SCN_MEM_PURGEABLE
@ IMAGE_SCN_MEM_PURGEABLE
Definition: COFF.h:296
llvm::codeview::Fortran
@ Fortran
Definition: CodeView.h:146
llvm::codeview::ProcSymFlags::HasFRET
@ HasFRET
llvm::codeview::TrampolineType
TrampolineType
Definition: CodeView.h:558
llvm::COFF::IMAGE_SCN_TYPE_NO_PAD
@ IMAGE_SCN_TYPE_NO_PAD
Definition: COFF.h:287
llvm::COFF::IMAGE_SCN_ALIGN_8192BYTES
@ IMAGE_SCN_ALIGN_8192BYTES
Definition: COFF.h:313
LabelTypeEnum
static const EnumEntry< uint16_t > LabelTypeEnum[]
Definition: EnumTables.cpp:428
llvm::codeview::CPUType::MIPSII
@ MIPSII
llvm::COFF::IMAGE_SCN_ALIGN_2BYTES
@ IMAGE_SCN_ALIGN_2BYTES
Definition: COFF.h:301
llvm::codeview::DebugSubsectionKind::TypeMDTokenMap
@ TypeMDTokenMap
llvm::codeview::PublicSymFlags
PublicSymFlags
Corresponds to the CV_PUBSYMFLAGS bitfield.
Definition: CodeView.h:418
llvm::codeview::CPUType::SH3
@ SH3
CPUTypeNames
static const EnumEntry< unsigned > CPUTypeNames[]
Definition: EnumTables.cpp:144
Generic
@ Generic
Definition: AArch64MCAsmInfo.cpp:23
llvm::COFF::IMAGE_SCN_MEM_SHARED
@ IMAGE_SCN_MEM_SHARED
Definition: COFF.h:319
llvm::MD5
Definition: MD5.h:41
llvm::codeview::Cvtpgd
@ Cvtpgd
Definition: CodeView.h:153
llvm::codeview::FrameProcedureOptions::SecurityChecks
@ SecurityChecks
llvm::codeview::FrameCookieKind::Copy
@ Copy
llvm::codeview::CPUType::Intel8086
@ Intel8086
llvm::codeview::FrameProcedureOptions::OptimizedForSpeed
@ OptimizedForSpeed
llvm::codeview::FrameProcedureOptions::Naked
@ Naked
llvm::codeview::CompileSym3Flags::Sdl
@ Sdl
llvm::codeview::getPtrModeNames
ArrayRef< EnumEntry< uint8_t > > getPtrModeNames()
Definition: EnumTables.cpp:534
llvm::COFF::IMAGE_SCN_GPREL
@ IMAGE_SCN_GPREL
Definition: COFF.h:295
FunctionOptionEnum
static const EnumEntry< uint8_t > FunctionOptionEnum[]
Definition: EnumTables.cpp:422
llvm::codeview::CPUType::ARM4T
@ ARM4T
SourceLanguages
static const EnumEntry< codeview::SourceLanguage > SourceLanguages[]
Definition: EnumTables.cpp:97
llvm::codeview::CPUType::SH3DSP
@ SH3DSP
llvm::codeview::CPUType::MIPS32
@ MIPS32
llvm::codeview::FrameProcedureOptions::Inlined
@ Inlined
llvm::codeview::CallingConvention::ClrCall
@ ClrCall
llvm::codeview::CallingConvention::NearSysCall
@ NearSysCall
PtrMemberRepNames
static const EnumEntry< uint16_t > PtrMemberRepNames[]
Definition: EnumTables.cpp:375
llvm::codeview::ILAsm
@ ILAsm
Definition: CodeView.h:156
TrampolineNames
static const EnumEntry< uint16_t > TrampolineNames[]
Definition: EnumTables.cpp:267
llvm::codeview::CallingConvention::Inline
@ Inline
ClassOptionNames
static const EnumEntry< uint16_t > ClassOptionNames[]
Definition: EnumTables.cpp:311
llvm::codeview::ProcSymFlags::HasIRET
@ HasIRET
llvm::codeview::FrameProcedureOptions::NoStackOrderingForSecurityChecks
@ NoStackOrderingForSecurityChecks
llvm::codeview::PointerKind::Huge16
@ Huge16
llvm::codeview::getFrameCookieKindNames
ArrayRef< EnumEntry< uint8_t > > getFrameCookieKindNames()
Definition: EnumTables.cpp:465
llvm::codeview::FrameProcedureOptions::HasInlineAssembly
@ HasInlineAssembly
llvm::codeview::CPUType::M68010
@ M68010
llvm::codeview::D
@ D
The DMD & Swift compilers emit 'D' and 'S', respectively, for the CV source language.
Definition: CodeView.h:164
llvm::COFF::IMAGE_SCN_LNK_COMDAT
@ IMAGE_SCN_LNK_COMDAT
Definition: COFF.h:294
MemberAccessNames
static const EnumEntry< uint8_t > MemberAccessNames[]
Definition: EnumTables.cpp:326
llvm::codeview::CompileSym2Flags::EC
@ EC
llvm::codeview::getPtrMemberRepNames
ArrayRef< EnumEntry< uint16_t > > getPtrMemberRepNames()
Definition: EnumTables.cpp:538
llvm::codeview::FrameProcedureOptions::MarkedInline
@ MarkedInline
llvm::codeview::CPUType::D3D11_Shader
@ D3D11_Shader
llvm::codeview::getMemberAccessNames
ArrayRef< EnumEntry< uint8_t > > getMemberAccessNames()
Definition: EnumTables.cpp:518
llvm::codeview::getSymbolTypeNames
ArrayRef< EnumEntry< SymbolKind > > getSymbolTypeNames()
Definition: EnumTables.cpp:436
llvm::codeview::CPUType::M68040
@ M68040
FrameProcSymFlagNames
static const EnumEntry< uint32_t > FrameProcSymFlagNames[]
Definition: EnumTables.cpp:207
llvm::codeview::CallingConvention::FarStdCall
@ FarStdCall
PtrKindNames
static const EnumEntry< uint8_t > PtrKindNames[]
Definition: EnumTables.cpp:351
llvm::codeview::PointerKind::Near16
@ Near16
llvm::codeview::PointerKind::Near32
@ Near32
llvm::codeview::SourceLanguage
SourceLanguage
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn....
Definition: CodeView.h:143
llvm::codeview::FrameCookieKind::XorFramePointer
@ XorFramePointer
llvm::codeview::ExportFlags::HasNoName
@ HasNoName
llvm::codeview::CPUType::PPCFP
@ PPCFP
llvm::ArrayRef
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: APInt.h:32
FrameCookieKinds
static const EnumEntry< uint8_t > FrameCookieKinds[]
Definition: EnumTables.cpp:90
llvm::codeview::FrameProcedureOptions::GuardCfw
@ GuardCfw
llvm::codeview::ExportFlags::IsPrivate
@ IsPrivate
llvm::COFF::IMAGE_SCN_ALIGN_4096BYTES
@ IMAGE_SCN_ALIGN_4096BYTES
Definition: COFF.h:312
llvm::codeview::ClassOptions::HasOverloadedAssignmentOperator
@ HasOverloadedAssignmentOperator
llvm::COFF::IMAGE_SCN_ALIGN_128BYTES
@ IMAGE_SCN_ALIGN_128BYTES
Definition: COFF.h:307
llvm::codeview::getSourceLanguageNames
ArrayRef< EnumEntry< SourceLanguage > > getSourceLanguageNames()
Definition: EnumTables.cpp:469
llvm::codeview::PointerMode::RValueReference
@ RValueReference
llvm::COFF::IMAGE_SCN_ALIGN_8BYTES
@ IMAGE_SCN_ALIGN_8BYTES
Definition: COFF.h:303
PtrModeNames
static const EnumEntry< uint8_t > PtrModeNames[]
Definition: EnumTables.cpp:367
llvm::codeview::CallingConvention::M32RCall
@ M32RCall
llvm::codeview::CompileSym2Flags::MSILModule
@ MSILModule
llvm::codeview::FrameProcedureOptions::HasStructuredExceptionHandling
@ HasStructuredExceptionHandling
llvm::codeview::CallingConvention::PpcCall
@ PpcCall
llvm::codeview::MethodOptions::CompilerGenerated
@ CompilerGenerated
llvm::codeview::PointerToMemberRepresentation
PointerToMemberRepresentation
Equivalent to CV_pmtype_e.
Definition: CodeView.h:371
llvm::codeview::FrameProcedureOptions::HasAlloca
@ HasAlloca
LocalFlags
static const EnumEntry< uint16_t > LocalFlags[]
Definition: EnumTables.cpp:76
llvm::codeview::CPUType::Intel80386
@ Intel80386
llvm::codeview::CompileSym2Flags
CompileSym2Flags
Corresponds to COMPILESYM2::Flags bitfield.
Definition: CodeView.h:442
llvm::codeview::CPUType::PentiumPro
@ PentiumPro
llvm::codeview::CallingConvention::NearStdCall
@ NearStdCall
llvm::codeview::CompileSym2Flags::NoDataAlign
@ NoDataAlign
llvm::codeview::CPUType::ARM4
@ ARM4
llvm::COFF::IMAGE_SCN_MEM_LOCKED
@ IMAGE_SCN_MEM_LOCKED
Definition: COFF.h:298
llvm::codeview::CPUType::MIPSIII
@ MIPSIII
llvm::codeview::LocalSymFlags::IsParameter
@ IsParameter
llvm::codeview::ClassOptions::Packed
@ Packed
llvm::codeview::LocalSymFlags::IsAggregate
@ IsAggregate
llvm::codeview::FrameProcedureOptions::EncodedParamBasePointerMask
@ EncodedParamBasePointerMask
llvm::codeview::MethodOptions::NoConstruct
@ NoConstruct
CompileSym2FlagNames
static const EnumEntry< uint32_t > CompileSym2FlagNames[]
Definition: EnumTables.cpp:110
llvm::codeview::PublicSymFlags::Managed
@ Managed
llvm::codeview::CPUType::M32R
@ M32R
llvm::codeview::FunctionOptions::Constructor
@ Constructor
llvm::codeview::getTrampolineNames
ArrayRef< EnumEntry< uint16_t > > getTrampolineNames()
Definition: EnumTables.cpp:505
llvm::codeview::PointerKind::BasedOnSelf
@ BasedOnSelf
llvm::codeview::Pascal
@ Pascal
Definition: CodeView.h:148
llvm::codeview::CPUType::Alpha21264
@ Alpha21264
llvm::codeview::LabelType::Near
@ Near
llvm::COFF::IMAGE_SCN_MEM_PRELOAD
@ IMAGE_SCN_MEM_PRELOAD
Definition: COFF.h:299
llvm::codeview::CPUType::MIPS16
@ MIPS16
llvm::codeview::getModuleSubstreamKindNames
ArrayRef< EnumEntry< uint32_t > > getModuleSubstreamKindNames()
Definition: EnumTables.cpp:497
RegisterNames_ARM
static const EnumEntry< uint16_t > RegisterNames_ARM[]
Definition: EnumTables.cpp:42
llvm::codeview::PointerMode::PointerToMemberFunction
@ PointerToMemberFunction
llvm::COFF::IMAGE_SCN_CNT_CODE
@ IMAGE_SCN_CNT_CODE
Definition: COFF.h:288
llvm::codeview::ModifierOptions::Unaligned
@ Unaligned
llvm::codeview::CPUType::PPC601
@ PPC601
llvm::codeview::PointerToMemberRepresentation::GeneralFunction
@ GeneralFunction
llvm::codeview::CPUType
CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn....
Definition: CodeView.h:78
llvm::codeview::getFrameProcSymFlagNames
ArrayRef< EnumEntry< uint32_t > > getFrameProcSymFlagNames()
Definition: EnumTables.cpp:489
llvm::codeview::CPUType::PPC620
@ PPC620
llvm::codeview::CPUType::ARM_WMMX
@ ARM_WMMX
llvm::codeview::CPUType::M68000
@ M68000
llvm::codeview::FrameProcedureOptions::HasLongJmp
@ HasLongJmp
llvm::codeview::ExportFlags::HasExplicitOrdinal
@ HasExplicitOrdinal
llvm::codeview::PointerKind::BasedOnType
@ BasedOnType
llvm::COFF::IMAGE_SCN_ALIGN_1024BYTES
@ IMAGE_SCN_ALIGN_1024BYTES
Definition: COFF.h:310
llvm::codeview::FrameProcedureOptions::StrictSecurityChecks
@ StrictSecurityChecks
llvm::codeview::PointerMode::PointerToDataMember
@ PointerToDataMember
llvm::codeview::CSharp
@ CSharp
Definition: CodeView.h:154
llvm::codeview::FunctionOptions::CxxReturnUdt
@ CxxReturnUdt
llvm::codeview::CPUType::Alpha
@ Alpha
llvm::codeview::PointerKind::BasedOnValue
@ BasedOnValue
llvm::codeview::ProcSymFlags::HasOptimizedDebugInfo
@ HasOptimizedDebugInfo
llvm::codeview::getCompileSym2FlagNames
ArrayRef< EnumEntry< uint32_t > > getCompileSym2FlagNames()
Definition: EnumTables.cpp:473
llvm::codeview::PointerKind::Near64
@ Near64
llvm::codeview::VB
@ VB
Definition: CodeView.h:155
llvm::codeview::ModifierOptions::Const
@ Const
llvm::codeview::DebugSubsectionKind
DebugSubsectionKind
Definition: CodeView.h:310
llvm::codeview::MethodKind::PureIntroducingVirtual
@ PureIntroducingVirtual
llvm::codeview::Cobol
@ Cobol
Definition: CodeView.h:150
llvm::makeArrayRef
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
Definition: ArrayRef.h:476
llvm::codeview::CallingConvention::ArmCall
@ ArmCall
llvm::codeview::ThunkOrdinal
ThunkOrdinal
These values correspond to the THUNK_ORDINAL enumeration.
Definition: CodeView.h:548
llvm::codeview::LocalSymFlags
LocalSymFlags
Corresponds to CV_LVARFLAGS bitfield.
Definition: CodeView.h:401
llvm::codeview::CPUType::M68020
@ M68020
llvm::codeview::ProcSymFlags::HasCustomCallingConv
@ HasCustomCallingConv
llvm::codeview::Cpp
@ Cpp
Definition: CodeView.h:145
llvm::codeview::CallingConvention::FarSysCall
@ FarSysCall
llvm::codeview::ClassOptions::HasConversionOperator
@ HasConversionOperator
ExportSymFlagNames
static const EnumEntry< uint16_t > ExportSymFlagNames[]
Definition: EnumTables.cpp:248
llvm::codeview::PointerKind::BasedOnAddress
@ BasedOnAddress
llvm::codeview::Basic
@ Basic
Definition: CodeView.h:149
llvm::COFF::IMAGE_SCN_MEM_NOT_CACHED
@ IMAGE_SCN_MEM_NOT_CACHED
Definition: COFF.h:317
llvm::codeview::CPUType::Alpha21364
@ Alpha21364
llvm::codeview::CallingConvention
CallingConvention
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
Definition: CodeView.h:173
RegisterNames_X86
static const EnumEntry< uint16_t > RegisterNames_X86[]
Definition: EnumTables.cpp:34
llvm::codeview::CompileSym3Flags::Exp
@ Exp
llvm::codeview::ClassOptions::HasUniqueName
@ HasUniqueName
llvm::codeview::CallingConvention::NearPascal
@ NearPascal
CallingConventions
static const EnumEntry< uint8_t > CallingConventions[]
Definition: EnumTables.cpp:395
llvm::COFF::IMAGE_SCN_MEM_EXECUTE
@ IMAGE_SCN_MEM_EXECUTE
Definition: COFF.h:320
llvm::codeview::CallingConvention::TriCall
@ TriCall
SymbolTypeNames
static const EnumEntry< SymbolKind > SymbolTypeNames[]
Definition: EnumTables.cpp:22
llvm::codeview::PointerKind
PointerKind
Equivalent to CV_ptrtype_e.
Definition: CodeView.h:331
llvm::codeview::getCallingConventions
ArrayRef< EnumEntry< uint8_t > > getCallingConventions()
Definition: EnumTables.cpp:546
llvm::codeview::PointerToMemberRepresentation::MultipleInheritanceData
@ MultipleInheritanceData
llvm::codeview::getExportSymFlagNames
ArrayRef< EnumEntry< uint16_t > > getExportSymFlagNames()
Definition: EnumTables.cpp:493
llvm::COFF::IMAGE_SCN_MEM_16BIT
@ IMAGE_SCN_MEM_16BIT
Definition: COFF.h:297
llvm::codeview::FrameCookieKind::XorR13
@ XorR13
llvm::codeview::CPUType::MIPS64
@ MIPS64
llvm::codeview::CompileSym3Flags
CompileSym3Flags
Corresponds to COMPILESYM3::Flags bitfield.
Definition: CodeView.h:458
llvm::codeview::LocalSymFlags::IsAlias
@ IsAlias
llvm::codeview::PointerToMemberRepresentation::MultipleInheritanceFunction
@ MultipleInheritanceFunction
MemberKindNames
static const EnumEntry< uint16_t > MemberKindNames[]
Definition: EnumTables.cpp:341
llvm::codeview::getClassOptionNames
ArrayRef< EnumEntry< uint16_t > > getClassOptionNames()
Definition: EnumTables.cpp:514
llvm::codeview::LocalSymFlags::IsAliased
@ IsAliased
llvm::codeview::ThunkOrdinal::BranchIsland
@ BranchIsland
llvm::codeview::PointerKind::Far16
@ Far16
llvm::codeview::CallingConvention::MipsCall
@ MipsCall
llvm::codeview::DebugSubsectionKind::ILLines
@ ILLines
llvm::codeview::ExportFlags
ExportFlags
Definition: CodeView.h:476
llvm::codeview::CPUType::Omni
@ Omni
ModuleSubstreamKindNames
static const EnumEntry< uint32_t > ModuleSubstreamKindNames[]
Definition: EnumTables.cpp:231
llvm::codeview::CPUType::SH4
@ SH4
llvm::codeview::CPUType::M68030
@ M68030
llvm::codeview::CPUType::Pentium3
@ Pentium3
llvm::codeview::PointerKind::BasedOnSegment
@ BasedOnSegment
llvm::codeview::ClassOptions::Nested
@ Nested
llvm::codeview::LocalSymFlags::IsCompilerGenerated
@ IsCompilerGenerated
llvm::COFF::IMAGE_SCN_MEM_WRITE
@ IMAGE_SCN_MEM_WRITE
Definition: COFF.h:322
llvm::codeview::getRegisterNames
ArrayRef< EnumEntry< uint16_t > > getRegisterNames(CPUType Cpu)
Definition: EnumTables.cpp:444
llvm::codeview::Swift
@ Swift
Definition: CodeView.h:165
llvm::codeview::CPUType::SHMedia
@ SHMedia
llvm::codeview::MethodOptions
MethodOptions
Equivalent to CV_fldattr_t bitfield.
Definition: CodeView.h:279
ScopedPrinter.h
llvm::codeview::ProcSymFlags::IsUnreachable
@ IsUnreachable