/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | COFFYAML.h | 29 namespace COFF { 81 COFF::section Header; 96 COFF::symbol Header; 97 COFF::SymbolBaseType SimpleType = COFF::IMAGE_SYM_TYPE_NULL; 98 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; 99 std::optional<COFF::AuxiliaryFunctionDefinition> FunctionDefinition; 100 std::optional<COFF::AuxiliarybfAndefSymbol> bfAndefSymbol; 101 std::optional<COFF::AuxiliaryWeakExternal> WeakExternal; 103 std::optional<COFF::AuxiliarySectionDefinition> SectionDefinition; 104 std::optional<COFF::AuxiliaryCLRToken> CLRToken; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCObjectFileInfo.cpp | 327 #define HANDLE_SWIFT_SECTION(KIND, MACHO, ELF, COFF) \ in initMachOMCObjectFileInfo() argument 565 Ctx->getCOFFSection(".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in initCOFFMCObjectFileInfo() 566 COFF::IMAGE_SCN_MEM_READ); in initCOFFMCObjectFileInfo() 575 ".bss", COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA | in initCOFFMCObjectFileInfo() 576 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE); in initCOFFMCObjectFileInfo() 579 (IsThumb ? COFF::IMAGE_SCN_MEM_16BIT : (COFF::SectionCharacteristics)0) | in initCOFFMCObjectFileInfo() 580 COFF::IMAGE_SCN_CNT_CODE | COFF::IMAGE_SCN_MEM_EXECUTE | in initCOFFMCObjectFileInfo() 581 COFF::IMAGE_SCN_MEM_READ); in initCOFFMCObjectFileInfo() 583 ".data", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | COFF::IMAGE_SCN_MEM_READ | in initCOFFMCObjectFileInfo() 584 COFF::IMAGE_SCN_MEM_WRITE); in initCOFFMCObjectFileInfo() [all …]
|
H A D | MCSectionCOFF.cpp | 34 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in setSelection() 47 if (getCharacteristics() & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in printSwitchToSection() 49 if (getCharacteristics() & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in printSwitchToSection() 51 if (getCharacteristics() & COFF::IMAGE_SCN_MEM_EXECUTE) in printSwitchToSection() 53 if (getCharacteristics() & COFF::IMAGE_SCN_MEM_WRITE) in printSwitchToSection() 55 else if (getCharacteristics() & COFF::IMAGE_SCN_MEM_READ) in printSwitchToSection() 59 if (getCharacteristics() & COFF::IMAGE_SCN_LNK_REMOVE) in printSwitchToSection() 61 if (getCharacteristics() & COFF::IMAGE_SCN_MEM_SHARED) in printSwitchToSection() 63 if ((getCharacteristics() & COFF::IMAGE_SCN_MEM_DISCARDABLE) && in printSwitchToSection() 66 if (getCharacteristics() & COFF::IMAGE_SCN_LNK_INFO) in printSwitchToSection() [all …]
|
H A D | WinCOFFObjectWriter.cpp | 59 using name = SmallString<COFF::NameSize>; 65 COFF::Auxiliary Aux; 72 COFF::symbol Data = {}; 98 COFF::relocation Data; 103 static size_t size() { return COFF::RelocationSize; } in size() 110 COFF::section Header = {}; 137 COFF::header Header = {}; 184 void WriteFileHeader(const COFF::header &Header); 188 void WriteRelocation(const COFF::relocation &R); 238 UseOffsetLabels = COFF::isAnyArm64(Header.Machine); in WinCOFFWriter() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | WindowsMachineFlag.cpp | 23 COFF::MachineTypes llvm::getMachineType(StringRef S) { in getMachineType() 24 return StringSwitch<COFF::MachineTypes>(S.lower()) in getMachineType() 25 .Cases("x64", "amd64", COFF::IMAGE_FILE_MACHINE_AMD64) in getMachineType() 26 .Cases("x86", "i386", COFF::IMAGE_FILE_MACHINE_I386) in getMachineType() 27 .Case("arm", COFF::IMAGE_FILE_MACHINE_ARMNT) in getMachineType() 28 .Case("arm64", COFF::IMAGE_FILE_MACHINE_ARM64) in getMachineType() 29 .Case("arm64ec", COFF::IMAGE_FILE_MACHINE_ARM64EC) in getMachineType() 30 .Case("arm64x", COFF::IMAGE_FILE_MACHINE_ARM64X) in getMachineType() 31 .Default(COFF::IMAGE_FILE_MACHINE_UNKNOWN); in getMachineType() 34 StringRef llvm::machineToStr(COFF::MachineTypes MT) { in machineToStr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86WinCOFFObjectWriter.cpp | 37 : MCWinCOFFObjectTargetWriter(Is64Bit ? COFF::IMAGE_FILE_MACHINE_AMD64 in X86WinCOFFObjectWriter() 38 : COFF::IMAGE_FILE_MACHINE_I386) {} in X86WinCOFFObjectWriter() 45 const bool Is64Bit = getMachine() == COFF::IMAGE_FILE_MACHINE_AMD64; in getRelocType() 57 return COFF::IMAGE_REL_AMD64_ADDR32; in getRelocType() 72 return COFF::IMAGE_REL_AMD64_REL32; in getRelocType() 77 return COFF::IMAGE_REL_AMD64_ADDR32NB; in getRelocType() 79 return COFF::IMAGE_REL_AMD64_SECREL; in getRelocType() 80 return COFF::IMAGE_REL_AMD64_ADDR32; in getRelocType() 82 return COFF::IMAGE_REL_AMD64_ADDR64; in getRelocType() 84 return COFF::IMAGE_REL_AMD64_SECTION; in getRelocType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | COFFYAML.cpp | 19 #define ECase(X) IO.enumCase(Value, #X, COFF::X); 25 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); } in Section() 26 Symbol::Symbol() { memset(&Header, 0, sizeof(COFF::symbol)); } in Symbol() 27 Object::Object() { memset(&Header, 0, sizeof(COFF::header)); } in Object() 60 void ScalarEnumerationTraits<COFF::MachineTypes>::enumeration( in enumeration() 61 IO &IO, COFF::MachineTypes &Value) { in enumeration() 91 void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration( in enumeration() 92 IO &IO, COFF::SymbolBaseType &Value) { in enumeration() 111 void ScalarEnumerationTraits<COFF::SymbolStorageClass>::enumeration( in enumeration() 112 IO &IO, COFF::SymbolStorageClass &Value) { in enumeration() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64WinCOFFObjectWriter.cpp | 35 ? COFF::IMAGE_FILE_MACHINE_ARM64EC in AArch64WinCOFFObjectWriter() 36 : COFF::IMAGE_FILE_MACHINE_ARM64) {} in AArch64WinCOFFObjectWriter() 60 return COFF::IMAGE_REL_ARM64_ADDR32; in getRelocType() 80 return COFF::IMAGE_REL_ARM64_ABSOLUTE; // Dummy return value in getRelocType() 95 return COFF::IMAGE_REL_ARM64_ABSOLUTE; // Dummy return value in getRelocType() 99 return COFF::IMAGE_REL_ARM64_REL32; in getRelocType() 104 return COFF::IMAGE_REL_ARM64_ADDR32; in getRelocType() 106 return COFF::IMAGE_REL_ARM64_ADDR32NB; in getRelocType() 108 return COFF::IMAGE_REL_ARM64_SECREL; in getRelocType() 112 return COFF::IMAGE_REL_ARM64_ADDR64; in getRelocType() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | COFFDumper.cpp | 341 const EnumEntry<COFF::MachineTypes> ImageFileMachineType[] = { 342 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_UNKNOWN ), 343 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_AM33 ), 344 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_AMD64 ), 345 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARM ), 346 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARM64 ), 347 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARM64EC ), 348 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARM64X ), 349 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARMNT ), 350 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_EBC ), [all …]
|
H A D | Win64EHDumper.cpp | 11 #include "llvm/Object/COFF.h" 114 static std::error_code getSymbol(const COFFObjectFile &COFF, uint64_t VA, in getSymbol() argument 116 for (const auto &Symbol : COFF.symbols()) { in getSymbol() 128 static object::SymbolRef getPreferredSymbol(const COFFObjectFile &COFF, in getPreferredSymbol() argument 134 COFFSymbolRef CoffSym = COFF.getCOFFSymbol(Sym); in getPreferredSymbol() 135 if (CoffSym.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol() 138 for (const auto &S : COFF.symbols()) { in getPreferredSymbol() 139 COFFSymbolRef CS = COFF.getCOFFSymbol(S); in getPreferredSymbol() 142 CS.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol() 172 Symbol = getPreferredSymbol(Ctx.COFF, Symbo in formatSymbol() 228 getSectionContaining(const COFFObjectFile & COFF,uint64_t VA) getSectionContaining() argument [all...] |
H A D | COFFImportDumper.cpp | 1 //===-- COFFImportDumper.cpp - COFF import library dumper -------*- C++ -*-===// 10 /// This file implements the COFF import library dumper for llvm-readobj. 14 #include "llvm/BinaryFormat/COFF.h" 15 #include "llvm/Object/COFF.h" 30 case COFF::IMPORT_CODE: Writer.printString("Type", "code"); break; in dumpCOFFImportFile() 31 case COFF::IMPORT_DATA: Writer.printString("Type", "data"); break; in dumpCOFFImportFile() 32 case COFF::IMPORT_CONST: Writer.printString("Type", "const"); break; in dumpCOFFImportFile() 36 case COFF::IMPORT_ORDINAL: in dumpCOFFImportFile() 39 case COFF::IMPORT_NAME: in dumpCOFFImportFile() 42 case COFF in dumpCOFFImportFile() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | COFFAsmParser.cpp | 42 StringRef COMDATSymName, COFF::COMDATType Type); 96 return ParseSectionSwitch(".text", COFF::IMAGE_SCN_CNT_CODE | in ParseSectionDirectiveText() 97 COFF::IMAGE_SCN_MEM_EXECUTE | in ParseSectionDirectiveText() 98 COFF::IMAGE_SCN_MEM_READ); in ParseSectionDirectiveText() 102 return ParseSectionSwitch(".data", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in ParseSectionDirectiveData() 103 COFF::IMAGE_SCN_MEM_READ | in ParseSectionDirectiveData() 104 COFF::IMAGE_SCN_MEM_WRITE); in ParseSectionDirectiveData() 108 return ParseSectionSwitch(".bss", COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA | in ParseSectionDirectiveBSS() 109 COFF::IMAGE_SCN_MEM_READ | in ParseSectionDirectiveBSS() 110 COFF::IMAGE_SCN_MEM_WRITE); in ParseSectionDirectiveBSS() [all …]
|
H A D | COFFMasmParser.cpp | 41 StringRef COMDATSymName, COFF::COMDATType Type, 186 return ParseSectionSwitch(".text", COFF::IMAGE_SCN_CNT_CODE | in ParseSectionDirectiveCode() 187 COFF::IMAGE_SCN_MEM_EXECUTE | in ParseSectionDirectiveCode() 188 COFF::IMAGE_SCN_MEM_READ); in ParseSectionDirectiveCode() 192 return ParseSectionSwitch(".data", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in ParseSectionDirectiveInitializedData() 193 COFF::IMAGE_SCN_MEM_READ | in ParseSectionDirectiveInitializedData() 194 COFF::IMAGE_SCN_MEM_WRITE); in ParseSectionDirectiveInitializedData() 198 return ParseSectionSwitch(".bss", COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA | in ParseSectionDirectiveUninitializedData() 199 COFF::IMAGE_SCN_MEM_READ | in ParseSectionDirectiveUninitializedData() 200 COFF::IMAGE_SCN_MEM_WRITE); in ParseSectionDirectiveUninitializedData() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMWinCOFFObjectWriter.cpp | 1 //===-- ARMWinCOFFObjectWriter.cpp - ARM Windows COFF Object Writer -- C++ -==// 11 #include "llvm/BinaryFormat/COFF.h" 30 : MCWinCOFFObjectTargetWriter(COFF::IMAGE_FILE_MACHINE_ARMNT) { in ARMWinCOFFObjectWriter() 56 return COFF::IMAGE_REL_ARM_ADDR32; in getRelocType() 70 return COFF::IMAGE_REL_ARM_ADDR32NB; in getRelocType() 72 return COFF::IMAGE_REL_ARM_SECREL; in getRelocType() 74 return COFF::IMAGE_REL_ARM_ADDR32; in getRelocType() 77 return COFF::IMAGE_REL_ARM_REL32; in getRelocType() 79 return COFF::IMAGE_REL_ARM_SECTION; in getRelocType() 81 return COFF in getRelocType() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldCOFFAArch64.h | 1 //===-- RuntimeDyldCOFFAArch64.h --- COFF/AArch64 specific code ---*- C++ 10 // COFF AArch64 support for MC-JIT runtime dynamic linker. 19 #include "llvm/BinaryFormat/COFF.h" 20 #include "llvm/Object/COFF.h" 93 : RuntimeDyldCOFF(MM, Resolver, 8, COFF::IMAGE_REL_ARM64_ADDR64), in RuntimeDyldCOFFAArch64() 193 case COFF::IMAGE_REL_ARM64_ADDR32: in processRelocationRef() 194 case COFF::IMAGE_REL_ARM64_ADDR32NB: in processRelocationRef() 195 case COFF::IMAGE_REL_ARM64_REL32: in processRelocationRef() 196 case COFF::IMAGE_REL_ARM64_SECREL: in processRelocationRef() 199 case COFF in processRelocationRef() [all...] |
H A D | RuntimeDyldCOFFThumb.h | 1 //===--- RuntimeDyldCOFFThumb.h --- COFF/Thumb specific code ---*- C++ --*-===// 9 // COFF thumb support for MC-JIT runtime dynamic linker. 18 #include "llvm/BinaryFormat/COFF.h" 19 #include "llvm/Object/COFF.h" 44 COFF::IMAGE_SCN_MEM_16BIT; in isThumbFunc() 51 : RuntimeDyldCOFF(MM, Resolver, 4, COFF::IMAGE_REL_ARM_ADDR32) {} in RuntimeDyldCOFFThumb() 72 bool isThumb = CoffSec->Characteristics & COFF::IMAGE_SCN_MEM_16BIT; in processRelocationRef() 111 case COFF::IMAGE_REL_ARM_ADDR32: in processRelocationRef() 112 case COFF::IMAGE_REL_ARM_ADDR32NB: in processRelocationRef() 113 case COFF in processRelocationRef() [all...] |
H A D | RuntimeDyldCOFFI386.h | 1 //===--- RuntimeDyldCOFFI386.h --- COFF/X86_64 specific code ---*- C++ --*-===// 9 // COFF x86 support for MC-JIT runtime dynamic linker. 17 #include "llvm/BinaryFormat/COFF.h" 18 #include "llvm/Object/COFF.h" 28 : RuntimeDyldCOFF(MM, Resolver, 4, COFF::IMAGE_REL_I386_DIR32) {} in RuntimeDyldCOFFI386() 74 if (RelType != COFF::IMAGE_REL_I386_SECTION) in processRelocationRef() 85 case COFF::IMAGE_REL_I386_DIR32: in processRelocationRef() 86 case COFF::IMAGE_REL_I386_DIR32NB: in processRelocationRef() 87 case COFF::IMAGE_REL_I386_SECREL: in processRelocationRef() 88 case COFF in processRelocationRef() [all...] |
H A D | RuntimeDyldCOFFX86_64.h | 1 //===-- RuntimeDyldCOFFX86_64.h --- COFF/X86_64 specific code ---*- C++ -*-===// 9 // COFF x86_x64 support for MC-JIT runtime dynamic linker. 17 #include "llvm/BinaryFormat/COFF.h" 18 #include "llvm/Object/COFF.h" 59 : RuntimeDyldCOFF(MM, Resolver, 8, COFF::IMAGE_REL_AMD64_ADDR64), in RuntimeDyldCOFFX86_64() 93 case COFF::IMAGE_REL_AMD64_REL32: in resolveRelocation() 94 case COFF::IMAGE_REL_AMD64_REL32_1: in resolveRelocation() 95 case COFF::IMAGE_REL_AMD64_REL32_2: in resolveRelocation() 96 case COFF::IMAGE_REL_AMD64_REL32_3: in resolveRelocation() 97 case COFF in resolveRelocation() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | COFF.cpp | 1 //===-------------- COFF.cpp - JIT linker function for COFF -------------===// 9 // COFF jit-link function. 13 #include "llvm/ExecutionEngine/JITLink/COFF.h" 15 #include "llvm/BinaryFormat/COFF.h" 17 #include "llvm/Object/COFF.h" 31 case COFF::IMAGE_FILE_MACHINE_I386: in getMachineName() 33 case COFF::IMAGE_FILE_MACHINE_AMD64: in getMachineName() 35 case COFF::IMAGE_FILE_MACHINE_ARMNT: in getMachineName() 37 case COFF in getMachineName() [all...] |
H A D | COFFLinkGraphBuilder.cpp | 1 //=--------- COFFLinkGraphBuilder.cpp - COFF LinkGraph builder ----------===// 9 // Generic COFF LinkGraph building code. 22 T.setObjectFormat(Triple::COFF); in createTripleWithCOFFFormat() 69 return Section->Characteristics & COFF::IMAGE_SCN_LNK_COMDAT; in isComdatSection() 81 return make_error<JITLinkError>("Object is not a relocatable COFF file"); in buildGraph() 100 case COFF::IMAGE_SYM_UNDEFINED: { in getCOFFSectionName() 106 case COFF::IMAGE_SYM_ABSOLUTE: in getCOFFSectionName() 108 case COFF::IMAGE_SYM_DEBUG: { in getCOFFSectionName() 153 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE) in graphifySections() 155 if ((*Sec)->Characteristics & COFF in graphifySections() [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | WindowsMachineFlag.h | 22 namespace COFF { 28 StringRef machineToStr(COFF::MachineTypes MT); 32 COFF::MachineTypes getMachineType(StringRef S); 36 case COFF::IMAGE_FILE_MACHINE_I386: in getMachineArchType() 38 case COFF::IMAGE_FILE_MACHINE_AMD64: in getMachineArchType() 40 case COFF::IMAGE_FILE_MACHINE_ARMNT: in getMachineArchType() 42 case COFF::IMAGE_FILE_MACHINE_ARM64: in getMachineArchType() 43 case COFF::IMAGE_FILE_MACHINE_ARM64EC: in getMachineArchType() 44 case COFF::IMAGE_FILE_MACHINE_ARM64X: in getMachineArchType()
|
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
H A D | LibDriver.cpp | 162 static Expected<COFF::MachineTypes> getCOFFFileMachine(MemoryBufferRef MB) { in getCOFFFileMachine() 169 if (Machine != COFF::IMAGE_FILE_MACHINE_I386 && in getCOFFFileMachine() 170 Machine != COFF::IMAGE_FILE_MACHINE_AMD64 && in getCOFFFileMachine() 171 Machine != COFF::IMAGE_FILE_MACHINE_ARMNT && !COFF::isAnyArm64(Machine)) { in getCOFFFileMachine() 176 return static_cast<COFF::MachineTypes>(Machine); in getCOFFFileMachine() 179 static Expected<COFF::MachineTypes> getBitcodeFileMachine(MemoryBufferRef MB) { in getBitcodeFileMachine() 187 return COFF::IMAGE_FILE_MACHINE_I386; in getBitcodeFileMachine() 189 return COFF::IMAGE_FILE_MACHINE_AMD64; in getBitcodeFileMachine() 191 return COFF::IMAGE_FILE_MACHINE_ARMNT; in getBitcodeFileMachine() 193 return T.isWindowsArm64EC() ? COFF::IMAGE_FILE_MACHINE_ARM64EC in getBitcodeFileMachine() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/ |
H A D | ObjectFileCOFF.cpp | 126 switch (static_cast<COFF::MachineTypes>(object->getMachine())) { in GetModuleSpecifications() 127 case COFF::IMAGE_FILE_MACHINE_I386: in GetModuleSpecifications() 130 case COFF::IMAGE_FILE_MACHINE_AMD64: in GetModuleSpecifications() 133 case COFF::IMAGE_FILE_MACHINE_ARMNT: in GetModuleSpecifications() 136 case COFF::IMAGE_FILE_MACHINE_ARM64: in GetModuleSpecifications() 167 switch (static_cast<COFF::MachineTypes>(m_object->getMachine())) { in GetArchitecture() 168 case COFF::IMAGE_FILE_MACHINE_I386: in GetArchitecture() 170 case COFF::IMAGE_FILE_MACHINE_AMD64: in GetArchitecture() 172 case COFF::IMAGE_FILE_MACHINE_ARMNT: in GetArchitecture() 174 case COFF in GetArchitecture() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | EnumTables.cpp | 279 static const EnumEntry<COFF::SectionCharacteristics> 281 CV_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NOLOAD), 282 CV_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NO_PAD), 283 CV_ENUM_ENT(COFF, IMAGE_SCN_CNT_CODE), 284 CV_ENUM_ENT(COFF, IMAGE_SCN_CNT_INITIALIZED_DATA), 285 CV_ENUM_ENT(COFF, IMAGE_SCN_CNT_UNINITIALIZED_DATA), 286 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_OTHER), 287 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_INFO), 288 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_REMOVE), 289 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_COMDAT), [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | Magic.cpp | 12 #include "llvm/BinaryFormat/COFF.h" 38 // COFF bigobj, CL.exe's LTO object file, or short import library file in identify_magic() 41 offsetof(COFF::BigObjHeader, UUID) + sizeof(COFF::BigObjMagic); in identify_magic() 45 const char *Start = Magic.data() + offsetof(COFF::BigObjHeader, UUID); in identify_magic() 46 if (memcmp(Start, COFF::BigObjMagic, sizeof(COFF::BigObjMagic)) == 0) in identify_magic() 48 if (memcmp(Start, COFF::ClGlObjMagic, sizeof(COFF::BigObjMagic)) == 0) in identify_magic() 53 if (Magic.size() >= sizeof(COFF in identify_magic() [all...] |