19#define ECase(X) IO.enumCase(Value, #X, COFF::X);
33void ScalarEnumerationTraits<COFFYAML::COMDATType>::enumeration(
34 IO &IO, COFFYAML::COMDATType &
Value) {
35 IO.enumCase(
Value,
"0", 0);
36 ECase(IMAGE_COMDAT_SELECT_NODUPLICATES);
37 ECase(IMAGE_COMDAT_SELECT_ANY);
38 ECase(IMAGE_COMDAT_SELECT_SAME_SIZE);
39 ECase(IMAGE_COMDAT_SELECT_EXACT_MATCH);
40 ECase(IMAGE_COMDAT_SELECT_ASSOCIATIVE);
41 ECase(IMAGE_COMDAT_SELECT_LARGEST);
42 ECase(IMAGE_COMDAT_SELECT_NEWEST);
46ScalarEnumerationTraits<COFFYAML::WeakExternalCharacteristics>::enumeration(
47 IO &IO, COFFYAML::WeakExternalCharacteristics &
Value) {
48 IO.enumCase(
Value,
"0", 0);
49 ECase(IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY);
50 ECase(IMAGE_WEAK_EXTERN_SEARCH_LIBRARY);
51 ECase(IMAGE_WEAK_EXTERN_SEARCH_ALIAS);
52 ECase(IMAGE_WEAK_EXTERN_ANTI_DEPENDENCY);
55void ScalarEnumerationTraits<COFFYAML::AuxSymbolType>::enumeration(
56 IO &IO, COFFYAML::AuxSymbolType &
Value) {
57 ECase(IMAGE_AUX_SYMBOL_TYPE_TOKEN_DEF);
60void ScalarEnumerationTraits<COFF::MachineTypes>::enumeration(
62 ECase(IMAGE_FILE_MACHINE_UNKNOWN);
63 ECase(IMAGE_FILE_MACHINE_AM33);
64 ECase(IMAGE_FILE_MACHINE_AMD64);
65 ECase(IMAGE_FILE_MACHINE_ARM);
66 ECase(IMAGE_FILE_MACHINE_ARMNT);
67 ECase(IMAGE_FILE_MACHINE_ARM64);
68 ECase(IMAGE_FILE_MACHINE_ARM64EC);
69 ECase(IMAGE_FILE_MACHINE_ARM64X);
70 ECase(IMAGE_FILE_MACHINE_EBC);
71 ECase(IMAGE_FILE_MACHINE_I386);
72 ECase(IMAGE_FILE_MACHINE_IA64);
73 ECase(IMAGE_FILE_MACHINE_M32R);
74 ECase(IMAGE_FILE_MACHINE_MIPS16);
75 ECase(IMAGE_FILE_MACHINE_MIPSFPU);
76 ECase(IMAGE_FILE_MACHINE_MIPSFPU16);
77 ECase(IMAGE_FILE_MACHINE_POWERPC);
78 ECase(IMAGE_FILE_MACHINE_POWERPCFP);
79 ECase(IMAGE_FILE_MACHINE_R4000);
80 ECase(IMAGE_FILE_MACHINE_RISCV32);
81 ECase(IMAGE_FILE_MACHINE_RISCV64);
82 ECase(IMAGE_FILE_MACHINE_RISCV128);
83 ECase(IMAGE_FILE_MACHINE_SH3);
84 ECase(IMAGE_FILE_MACHINE_SH3DSP);
85 ECase(IMAGE_FILE_MACHINE_SH4);
86 ECase(IMAGE_FILE_MACHINE_SH5);
87 ECase(IMAGE_FILE_MACHINE_THUMB);
88 ECase(IMAGE_FILE_MACHINE_WCEMIPSV2);
91void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration(
93 ECase(IMAGE_SYM_TYPE_NULL);
94 ECase(IMAGE_SYM_TYPE_VOID);
95 ECase(IMAGE_SYM_TYPE_CHAR);
96 ECase(IMAGE_SYM_TYPE_SHORT);
97 ECase(IMAGE_SYM_TYPE_INT);
98 ECase(IMAGE_SYM_TYPE_LONG);
99 ECase(IMAGE_SYM_TYPE_FLOAT);
100 ECase(IMAGE_SYM_TYPE_DOUBLE);
101 ECase(IMAGE_SYM_TYPE_STRUCT);
102 ECase(IMAGE_SYM_TYPE_UNION);
103 ECase(IMAGE_SYM_TYPE_ENUM);
104 ECase(IMAGE_SYM_TYPE_MOE);
105 ECase(IMAGE_SYM_TYPE_BYTE);
106 ECase(IMAGE_SYM_TYPE_WORD);
107 ECase(IMAGE_SYM_TYPE_UINT);
108 ECase(IMAGE_SYM_TYPE_DWORD);
111void ScalarEnumerationTraits<COFF::SymbolStorageClass>::enumeration(
113 ECase(IMAGE_SYM_CLASS_END_OF_FUNCTION);
114 ECase(IMAGE_SYM_CLASS_NULL);
115 ECase(IMAGE_SYM_CLASS_AUTOMATIC);
116 ECase(IMAGE_SYM_CLASS_EXTERNAL);
117 ECase(IMAGE_SYM_CLASS_STATIC);
118 ECase(IMAGE_SYM_CLASS_REGISTER);
119 ECase(IMAGE_SYM_CLASS_EXTERNAL_DEF);
120 ECase(IMAGE_SYM_CLASS_LABEL);
121 ECase(IMAGE_SYM_CLASS_UNDEFINED_LABEL);
122 ECase(IMAGE_SYM_CLASS_MEMBER_OF_STRUCT);
123 ECase(IMAGE_SYM_CLASS_ARGUMENT);
124 ECase(IMAGE_SYM_CLASS_STRUCT_TAG);
125 ECase(IMAGE_SYM_CLASS_MEMBER_OF_UNION);
126 ECase(IMAGE_SYM_CLASS_UNION_TAG);
127 ECase(IMAGE_SYM_CLASS_TYPE_DEFINITION);
128 ECase(IMAGE_SYM_CLASS_UNDEFINED_STATIC);
129 ECase(IMAGE_SYM_CLASS_ENUM_TAG);
130 ECase(IMAGE_SYM_CLASS_MEMBER_OF_ENUM);
131 ECase(IMAGE_SYM_CLASS_REGISTER_PARAM);
132 ECase(IMAGE_SYM_CLASS_BIT_FIELD);
133 ECase(IMAGE_SYM_CLASS_BLOCK);
134 ECase(IMAGE_SYM_CLASS_FUNCTION);
135 ECase(IMAGE_SYM_CLASS_END_OF_STRUCT);
136 ECase(IMAGE_SYM_CLASS_FILE);
137 ECase(IMAGE_SYM_CLASS_SECTION);
138 ECase(IMAGE_SYM_CLASS_WEAK_EXTERNAL);
139 ECase(IMAGE_SYM_CLASS_CLR_TOKEN);
142void ScalarEnumerationTraits<COFF::SymbolComplexType>::enumeration(
144 ECase(IMAGE_SYM_DTYPE_NULL);
145 ECase(IMAGE_SYM_DTYPE_POINTER);
146 ECase(IMAGE_SYM_DTYPE_FUNCTION);
147 ECase(IMAGE_SYM_DTYPE_ARRAY);
150void ScalarEnumerationTraits<COFF::RelocationTypeI386>::enumeration(
152 ECase(IMAGE_REL_I386_ABSOLUTE);
153 ECase(IMAGE_REL_I386_DIR16);
154 ECase(IMAGE_REL_I386_REL16);
155 ECase(IMAGE_REL_I386_DIR32);
156 ECase(IMAGE_REL_I386_DIR32NB);
157 ECase(IMAGE_REL_I386_SEG12);
158 ECase(IMAGE_REL_I386_SECTION);
159 ECase(IMAGE_REL_I386_SECREL);
160 ECase(IMAGE_REL_I386_TOKEN);
161 ECase(IMAGE_REL_I386_SECREL7);
162 ECase(IMAGE_REL_I386_REL32);
165void ScalarEnumerationTraits<COFF::RelocationTypeAMD64>::enumeration(
167 ECase(IMAGE_REL_AMD64_ABSOLUTE);
168 ECase(IMAGE_REL_AMD64_ADDR64);
169 ECase(IMAGE_REL_AMD64_ADDR32);
170 ECase(IMAGE_REL_AMD64_ADDR32NB);
171 ECase(IMAGE_REL_AMD64_REL32);
172 ECase(IMAGE_REL_AMD64_REL32_1);
173 ECase(IMAGE_REL_AMD64_REL32_2);
174 ECase(IMAGE_REL_AMD64_REL32_3);
175 ECase(IMAGE_REL_AMD64_REL32_4);
176 ECase(IMAGE_REL_AMD64_REL32_5);
177 ECase(IMAGE_REL_AMD64_SECTION);
178 ECase(IMAGE_REL_AMD64_SECREL);
179 ECase(IMAGE_REL_AMD64_SECREL7);
180 ECase(IMAGE_REL_AMD64_TOKEN);
181 ECase(IMAGE_REL_AMD64_SREL32);
182 ECase(IMAGE_REL_AMD64_PAIR);
183 ECase(IMAGE_REL_AMD64_SSPAN32);
186void ScalarEnumerationTraits<COFF::RelocationTypesARM>::enumeration(
188 ECase(IMAGE_REL_ARM_ABSOLUTE);
189 ECase(IMAGE_REL_ARM_ADDR32);
190 ECase(IMAGE_REL_ARM_ADDR32NB);
191 ECase(IMAGE_REL_ARM_BRANCH24);
192 ECase(IMAGE_REL_ARM_BRANCH11);
193 ECase(IMAGE_REL_ARM_TOKEN);
194 ECase(IMAGE_REL_ARM_BLX24);
195 ECase(IMAGE_REL_ARM_BLX11);
196 ECase(IMAGE_REL_ARM_REL32);
197 ECase(IMAGE_REL_ARM_SECTION);
198 ECase(IMAGE_REL_ARM_SECREL);
199 ECase(IMAGE_REL_ARM_MOV32A);
200 ECase(IMAGE_REL_ARM_MOV32T);
201 ECase(IMAGE_REL_ARM_BRANCH20T);
202 ECase(IMAGE_REL_ARM_BRANCH24T);
203 ECase(IMAGE_REL_ARM_BLX23T);
204 ECase(IMAGE_REL_ARM_PAIR);
207void ScalarEnumerationTraits<COFF::RelocationTypesARM64>::enumeration(
209 ECase(IMAGE_REL_ARM64_ABSOLUTE);
210 ECase(IMAGE_REL_ARM64_ADDR32);
211 ECase(IMAGE_REL_ARM64_ADDR32NB);
212 ECase(IMAGE_REL_ARM64_BRANCH26);
213 ECase(IMAGE_REL_ARM64_PAGEBASE_REL21);
214 ECase(IMAGE_REL_ARM64_REL21);
215 ECase(IMAGE_REL_ARM64_PAGEOFFSET_12A);
216 ECase(IMAGE_REL_ARM64_PAGEOFFSET_12L);
217 ECase(IMAGE_REL_ARM64_SECREL);
218 ECase(IMAGE_REL_ARM64_SECREL_LOW12A);
219 ECase(IMAGE_REL_ARM64_SECREL_HIGH12A);
220 ECase(IMAGE_REL_ARM64_SECREL_LOW12L);
221 ECase(IMAGE_REL_ARM64_TOKEN);
222 ECase(IMAGE_REL_ARM64_SECTION);
223 ECase(IMAGE_REL_ARM64_ADDR64);
224 ECase(IMAGE_REL_ARM64_BRANCH19);
225 ECase(IMAGE_REL_ARM64_BRANCH14);
226 ECase(IMAGE_REL_ARM64_REL32);
229void ScalarEnumerationTraits<COFF::WindowsSubsystem>::enumeration(
231 ECase(IMAGE_SUBSYSTEM_UNKNOWN);
232 ECase(IMAGE_SUBSYSTEM_NATIVE);
233 ECase(IMAGE_SUBSYSTEM_WINDOWS_GUI);
234 ECase(IMAGE_SUBSYSTEM_WINDOWS_CUI);
235 ECase(IMAGE_SUBSYSTEM_OS2_CUI);
236 ECase(IMAGE_SUBSYSTEM_POSIX_CUI);
237 ECase(IMAGE_SUBSYSTEM_NATIVE_WINDOWS);
238 ECase(IMAGE_SUBSYSTEM_WINDOWS_CE_GUI);
239 ECase(IMAGE_SUBSYSTEM_EFI_APPLICATION);
240 ECase(IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER);
241 ECase(IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER);
242 ECase(IMAGE_SUBSYSTEM_EFI_ROM);
243 ECase(IMAGE_SUBSYSTEM_XBOX);
244 ECase(IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION);
248#define BCase(X) IO.bitSetCase(Value, #X, COFF::X);
249void ScalarBitSetTraits<COFF::Characteristics>::bitset(
251 BCase(IMAGE_FILE_RELOCS_STRIPPED);
252 BCase(IMAGE_FILE_EXECUTABLE_IMAGE);
253 BCase(IMAGE_FILE_LINE_NUMS_STRIPPED);
254 BCase(IMAGE_FILE_LOCAL_SYMS_STRIPPED);
255 BCase(IMAGE_FILE_AGGRESSIVE_WS_TRIM);
256 BCase(IMAGE_FILE_LARGE_ADDRESS_AWARE);
257 BCase(IMAGE_FILE_BYTES_REVERSED_LO);
258 BCase(IMAGE_FILE_32BIT_MACHINE);
259 BCase(IMAGE_FILE_DEBUG_STRIPPED);
260 BCase(IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP);
261 BCase(IMAGE_FILE_NET_RUN_FROM_SWAP);
262 BCase(IMAGE_FILE_SYSTEM);
263 BCase(IMAGE_FILE_DLL);
264 BCase(IMAGE_FILE_UP_SYSTEM_ONLY);
265 BCase(IMAGE_FILE_BYTES_REVERSED_HI);
268void ScalarBitSetTraits<COFF::SectionCharacteristics>::bitset(
270 BCase(IMAGE_SCN_TYPE_NOLOAD);
271 BCase(IMAGE_SCN_TYPE_NO_PAD);
272 BCase(IMAGE_SCN_CNT_CODE);
273 BCase(IMAGE_SCN_CNT_INITIALIZED_DATA);
274 BCase(IMAGE_SCN_CNT_UNINITIALIZED_DATA);
275 BCase(IMAGE_SCN_LNK_OTHER);
276 BCase(IMAGE_SCN_LNK_INFO);
277 BCase(IMAGE_SCN_LNK_REMOVE);
278 BCase(IMAGE_SCN_LNK_COMDAT);
279 BCase(IMAGE_SCN_GPREL);
280 BCase(IMAGE_SCN_MEM_PURGEABLE);
281 BCase(IMAGE_SCN_MEM_16BIT);
282 BCase(IMAGE_SCN_MEM_LOCKED);
283 BCase(IMAGE_SCN_MEM_PRELOAD);
284 BCase(IMAGE_SCN_LNK_NRELOC_OVFL);
285 BCase(IMAGE_SCN_MEM_DISCARDABLE);
286 BCase(IMAGE_SCN_MEM_NOT_CACHED);
287 BCase(IMAGE_SCN_MEM_NOT_PAGED);
288 BCase(IMAGE_SCN_MEM_SHARED);
289 BCase(IMAGE_SCN_MEM_EXECUTE);
290 BCase(IMAGE_SCN_MEM_READ);
291 BCase(IMAGE_SCN_MEM_WRITE);
294void ScalarBitSetTraits<COFF::DLLCharacteristics>::bitset(
296 BCase(IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA);
297 BCase(IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE);
298 BCase(IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY);
299 BCase(IMAGE_DLL_CHARACTERISTICS_NX_COMPAT);
300 BCase(IMAGE_DLL_CHARACTERISTICS_NO_ISOLATION);
301 BCase(IMAGE_DLL_CHARACTERISTICS_NO_SEH);
302 BCase(IMAGE_DLL_CHARACTERISTICS_NO_BIND);
303 BCase(IMAGE_DLL_CHARACTERISTICS_APPCONTAINER);
304 BCase(IMAGE_DLL_CHARACTERISTICS_WDM_DRIVER);
305 BCase(IMAGE_DLL_CHARACTERISTICS_GUARD_CF);
306 BCase(IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE);
312struct NSectionSelectionType {
313 NSectionSelectionType(IO &)
315 NSectionSelectionType(IO &, uint8_t
C)
323struct NWeakExternalCharacteristics {
324 NWeakExternalCharacteristics(IO &)
326 NWeakExternalCharacteristics(IO &,
uint32_t C)
331 COFFYAML::WeakExternalCharacteristics Characteristics;
334struct NSectionCharacteristics {
335 NSectionCharacteristics(IO &)
337 NSectionCharacteristics(IO &,
uint32_t C)
345struct NAuxTokenType {
348 NAuxTokenType(IO &, uint8_t
C)
356struct NStorageClass {
374struct NHeaderCharacteristics {
384template <
typename RelocType>
386 NType(IO &) :
Type(RelocType(0)) {}
394struct NWindowsSubsystem {
403struct NDLLCharacteristics {
423 MappingNormalization<NType<COFF::RelocationTypeI386>,
uint16_t> NT(
425 IO.mapRequired(
"Type", NT->Type);
427 MappingNormalization<NType<COFF::RelocationTypeAMD64>,
uint16_t> NT(
429 IO.mapRequired(
"Type", NT->Type);
431 MappingNormalization<NType<COFF::RelocationTypesARM>,
uint16_t> NT(
433 IO.mapRequired(
"Type", NT->Type);
435 MappingNormalization<NType<COFF::RelocationTypesARM64>,
uint16_t> NT(
437 IO.mapRequired(
"Type", NT->Type);
439 IO.mapRequired(
"Type", Rel.
Type);
446 IO.mapRequired(
"Size", DD.
Size);
451 MappingNormalization<NWindowsSubsystem, uint16_t> NWS(IO,
453 MappingNormalization<NDLLCharacteristics, uint16_t> NDC(
460 IO.mapOptional(
"MajorOperatingSystemVersion",
462 IO.mapOptional(
"MinorOperatingSystemVersion",
468 IO.mapOptional(
"Subsystem", NWS->Subsystem);
469 IO.mapOptional(
"DLLCharacteristics", NDC->Characteristics);
482 IO.mapOptional(
"BaseRelocationTable",
488 IO.mapOptional(
"LoadConfigTable",
492 IO.mapOptional(
"DelayImportDescriptor",
494 IO.mapOptional(
"ClrRuntimeHeader",
499 MappingNormalization<NMachine, uint16_t> NM(IO,
H.Machine);
500 MappingNormalization<NHeaderCharacteristics, uint16_t>
NC(IO,
503 IO.mapRequired(
"Machine", NM->Machine);
504 IO.mapOptional(
"Characteristics",
NC->Characteristics);
505 IO.setContext(
static_cast<void *
>(&
H));
510 IO.mapRequired(
"TagIndex", AFD.
TagIndex);
511 IO.mapRequired(
"TotalSize", AFD.
TotalSize);
524 MappingNormalization<NWeakExternalCharacteristics, uint32_t> NWEC(
526 IO.mapRequired(
"TagIndex", AWE.
TagIndex);
527 IO.mapRequired(
"Characteristics", NWEC->Characteristics);
532 MappingNormalization<NSectionSelectionType, uint8_t> NSST(
535 IO.mapRequired(
"Length", ASD.
Length);
538 IO.mapRequired(
"CheckSum", ASD.
CheckSum);
539 IO.mapRequired(
"Number", ASD.
Number);
540 IO.mapOptional(
"Selection", NSST->SelectionType, COFFYAML::COMDATType(0));
545 MappingNormalization<NAuxTokenType, uint8_t> NATT(IO, ACT.
AuxType);
546 IO.mapRequired(
"AuxType", NATT->AuxType);
552 IO.mapOptional(
"Flags", S.
Flags);
553 IO.mapOptional(
"Catalog", S.
Catalog);
557template <
typename T,
typename M>
561 reinterpret_cast<char *
>(&Member) -
reinterpret_cast<char *
>(&LoadConfig);
563 IO.mapOptional(
Name, Member);
567 IO.mapOptional(
"Size", LoadConfig.Size,
570 if (LoadConfig.Size <
sizeof(LoadConfig.Size)) {
571 IO.setError(
"Size must be at least " +
Twine(
sizeof(LoadConfig.Size)));
575#define MCase(X) mapLoadConfigMember(IO, LoadConfig, #X, LoadConfig.X)
576 MCase(TimeDateStamp);
579 MCase(GlobalFlagsClear);
580 MCase(GlobalFlagsSet);
581 MCase(CriticalSectionDefaultTimeout);
582 MCase(DeCommitFreeBlockThreshold);
583 MCase(DeCommitTotalFreeThreshold);
584 MCase(LockPrefixTable);
585 MCase(MaximumAllocationSize);
586 MCase(VirtualMemoryThreshold);
587 MCase(ProcessAffinityMask);
588 MCase(ProcessHeapFlags);
590 MCase(DependentLoadFlags);
592 MCase(SecurityCookie);
593 MCase(SEHandlerTable);
594 MCase(SEHandlerCount);
595 MCase(GuardCFCheckFunction);
596 MCase(GuardCFCheckDispatch);
597 MCase(GuardCFFunctionTable);
598 MCase(GuardCFFunctionCount);
600 MCase(CodeIntegrity);
601 MCase(GuardAddressTakenIatEntryTable);
602 MCase(GuardAddressTakenIatEntryCount);
603 MCase(GuardLongJumpTargetTable);
604 MCase(GuardLongJumpTargetCount);
605 MCase(DynamicValueRelocTable);
606 MCase(CHPEMetadataPointer);
607 MCase(GuardRFFailureRoutine);
608 MCase(GuardRFFailureRoutineFunctionPointer);
609 MCase(DynamicValueRelocTableOffset);
610 MCase(DynamicValueRelocTableSection);
611 MCase(GuardRFVerifyStackPointerFunctionPointer);
612 MCase(HotPatchTableOffset);
613 MCase(EnclaveConfigurationPointer);
614 MCase(VolatileMetadataPointer);
615 MCase(GuardEHContinuationTable);
616 MCase(GuardEHContinuationCount);
617 MCase(GuardXFGCheckFunctionPointer);
618 MCase(GuardXFGDispatchFunctionPointer);
619 MCase(GuardXFGTableDispatchFunctionPointer);
620 MCase(CastGuardOsDeterminedFailureMode);
636 IO.mapOptional(
"UInt32",
E.UInt32);
637 IO.mapOptional(
"Binary",
E.Binary);
641 IO.mapOptional(
"LoadConfig",
E.LoadConfig64);
643 IO.mapOptional(
"LoadConfig",
E.LoadConfig32);
649 IO.mapRequired(
"Name", S.
Name);
654 IO.mapRequired(
"StorageClass", NS->StorageClass);
660 IO.mapOptional(
"CLRToken", S.
CLRToken);
664 MappingNormalization<NSectionCharacteristics, uint32_t>
NC(
666 IO.mapRequired(
"Name", Sec.
Name);
667 IO.mapRequired(
"Characteristics",
NC->Characteristics);
670 IO.mapOptional(
"Alignment", Sec.
Alignment, 0U);
676 if (Sec.
Name ==
".debug$S")
677 IO.mapOptional(
"Subsections", Sec.
DebugS);
678 else if (Sec.
Name ==
".debug$T")
679 IO.mapOptional(
"Types", Sec.
DebugT);
680 else if (Sec.
Name ==
".debug$P")
681 IO.mapOptional(
"PrecompTypes", Sec.
DebugP);
682 else if (Sec.
Name ==
".debug$H")
683 IO.mapOptional(
"GlobalHashes", Sec.
DebugH);
688 IO.setError(
"StructuredData and SectionData can't be used together");
695 IO.setError(
"StructuredData and SizeOfRawData can't be used together");
703 IO.mapTag(
"!COFF",
true);
705 IO.mapRequired(
"header", Obj.
Header);
706 IO.mapRequired(
"sections", Obj.
Sections);
707 IO.mapRequired(
"symbols", Obj.
Symbols);
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
COFFYAML::AuxSymbolType AuxType
COFFYAML::COMDATType SelectionType
COFF::MachineTypes Machine
COFF::WindowsSubsystem Subsystem
StringRef - Represent a constant reference to a string, i.e.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
LLVM Value Representation.
ArrayRef< uint8_t >::size_type binary_size() const
The number of bytes that are represented by this BinaryRef.
@ IMAGE_FILE_MACHINE_AMD64
@ IMAGE_FILE_MACHINE_I386
@ IMAGE_FILE_MACHINE_ARMNT
bool isAnyArm64(T Machine)
@ DELAY_IMPORT_DESCRIPTOR
SymbolStorageClass
Storage class tells where and what the symbol represents.
WeakExternalCharacteristics
@ C
The default llvm calling convention, compatible with C.
Type
MessagePack types as defined in the standard, with the exception of Integer being divided into a sign...
void mapLoadConfigMember(IO &IO, T &LoadConfig, const char *Name, M &Member)
void mapLoadConfig(IO &IO, T &LoadConfig)
This is an optimization pass for GlobalISel generic memory operations.
std::optional< PEHeader > OptionalHeader
std::vector< Section > Sections
std::vector< Symbol > Symbols
std::optional< uint32_t > SymbolTableIndex
std::vector< CodeViewYAML::YAMLDebugSubsection > DebugS
std::vector< SectionDataEntry > StructuredData
std::vector< CodeViewYAML::LeafRecord > DebugT
yaml::BinaryRef SectionData
std::optional< CodeViewYAML::DebugHSection > DebugH
std::vector< CodeViewYAML::LeafRecord > DebugP
std::vector< Relocation > Relocations
std::optional< COFF::AuxiliaryWeakExternal > WeakExternal
std::optional< COFF::AuxiliarybfAndefSymbol > bfAndefSymbol
COFF::SymbolComplexType ComplexType
std::optional< COFF::AuxiliarySectionDefinition > SectionDefinition
std::optional< COFF::AuxiliaryFunctionDefinition > FunctionDefinition
COFF::SymbolBaseType SimpleType
std::optional< COFF::AuxiliaryCLRToken > CLRToken
uint32_t SymbolTableIndex
uint32_t PointerToNextFunction
uint32_t PointerToLinenumber
uint16_t NumberOfRelocations
uint16_t NumberOfLinenumbers
uint32_t PointerToNextFunction
uint32_t RelativeVirtualAddress
support::ulittle16_t Flags
support::ulittle16_t Catalog
support::ulittle32_t CatalogOffset
32-bit load config (IMAGE_LOAD_CONFIG_DIRECTORY32)
64-bit load config (IMAGE_LOAD_CONFIG_DIRECTORY64)