Home
last modified time | relevance | path

Searched refs:COFF (Results 1 – 25 of 174) sorted by relevance

1234567

/external/llvm/test/Object/
Dobj2yaml-coff-section-aux-symbol.test1 RUN: yaml2obj %p/Inputs/COFF/section-aux-symbol.yaml | obj2yaml | FileCheck %s --check-prefix COFF-…
3 COFF-I386: sections:
4 COFF-I386-NEXT: - Name: .CRT
5 COFF-I386: symbols:
6 COFF-I386: - Name: '.CRT$XCAA'
7 COFF-I386-NEXT: Value: 4
8 COFF-I386: StorageClass: IMAGE_SYM_CLASS_STATIC
9 COFF-I386-NEXT: SectionDefinition:
10 COFF-I386-NEXT: Length: 4
11 COFF-I386-NEXT: NumberOfRelocations: 1
[all …]
Dyaml2obj-readobj.test1 …N: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers -relocations -expand-relocs - | …
2 RUN: yaml2obj -o %t %p/Inputs/COFF/i386.yaml
4 RUN: | FileCheck %s --check-prefix COFF-I386
6 // COFF-I386: Characteristics [ (0x200)
7 // COFF-I386-NEXT: IMAGE_FILE_DEBUG_STRIPPED (0x200)
8 // COFF-I386-NEXT: ]
10 // COFF-I386: Relocations [
11 // COFF-I386-NEXT: Section (1) .text {
12 // COFF-I386-NEXT: Relocation {
13 // COFF-I386-NEXT: Offset: 0xE
[all …]
Dobj2yaml.test1 RUN: obj2yaml %p/Inputs/trivial-object-test.coff-i386 | FileCheck %s --check-prefix COFF-I386
2 RUN: obj2yaml %p/Inputs/trivial-object-test.coff-x86-64 | FileCheck %s --check-prefix COFF-X86-64
10 COFF-I386: header:
11 COFF-I386-NEXT: Machine: IMAGE_FILE_MACHINE_I386
13 COFF-I386: sections:
14 COFF-I386-NEXT: - Name: .text
15 COFF-I386-NEXT: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ…
16 COFF-I386-NEXT: Alignment: 16
17 COFF-I386-NEXT: SectionData: 83EC0CC744240800000000C7042400000000E800000000E8000000008B44240883…
19 COFF-I386: Relocations:
[all …]
/external/llvm/test/tools/llvm-cxxdump/
Deh.test2 RUN: | FileCheck %s --check-prefix=COFF-I386
5 COFF-I386: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@
6 COFF-I386: ??_R0?AUA@@@8[AlwaysZero]: 0
7 COFF-I386: ??_R0?AUA@@@8[MangledName]: .?AUA@@
8 COFF-I386: ??_R0?AUB@@@8[VFPtr]: ??_7type_info@@6B@
9 COFF-I386: ??_R0?AUB@@@8[AlwaysZero]: 0
10 COFF-I386: ??_R0?AUB@@@8[MangledName]: .?AUB@@
11 COFF-I386: ??_R0?AUC@@@8[VFPtr]: ??_7type_info@@6B@
12 COFF-I386: ??_R0?AUC@@@8[AlwaysZero]: 0
13 COFF-I386: ??_R0?AUC@@@8[MangledName]: .?AUC@@
[all …]
Dtrivial.test2 RUN: | FileCheck %s --check-prefix=COFF-I386
7 COFF-I386: ??_7S@@6B@[0]: ??_R4S@@6B@
8 COFF-I386-NEXT: ??_7S@@6B@[4]: ??_GS@@UAEPAXI@Z
9 COFF-I386-NEXT: ??_8S@@7B@[0]: -4
10 COFF-I386-NEXT: ??_8S@@7B@[4]: 4
11 COFF-I386-NEXT: ??_R4S@@6B@[IsImageRelative]: 0
12 COFF-I386-NEXT: ??_R4S@@6B@[OffsetToTop]: 0
13 COFF-I386-NEXT: ??_R4S@@6B@[VFPtrOffset]: 0
14 COFF-I386-NEXT: ??_R4S@@6B@[TypeDescriptor]: ??_R0?AUS@@@8
15 COFF-I386-NEXT: ??_R4S@@6B@[ClassHierarchyDescriptor]: ??_R3S@@8
[all …]
/external/llvm/include/llvm/ObjectYAML/
DCOFFYAML.h23 namespace COFF {
56 COFF::section Header;
65 COFF::symbol Header;
66 COFF::SymbolBaseType SimpleType = COFF::IMAGE_SYM_TYPE_NULL;
67 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL;
68 Optional<COFF::AuxiliaryFunctionDefinition> FunctionDefinition;
69 Optional<COFF::AuxiliarybfAndefSymbol> bfAndefSymbol;
70 Optional<COFF::AuxiliaryWeakExternal> WeakExternal;
72 Optional<COFF::AuxiliarySectionDefinition> SectionDefinition;
73 Optional<COFF::AuxiliaryCLRToken> CLRToken;
[all …]
/external/swiftshader/third_party/LLVM/test/Object/
Dobjdump-disassembly-inline-relocations.test2 RUN: | FileCheck %s -check-prefix COFF-i386
4 RUN: | FileCheck %s -check-prefix COFF-x86-64
6 COFF-i386: file format COFF-i386
7 COFF-i386: Disassembly of section .text:
8 COFF-i386: 0: 83 ec 0c subl $12, %esp
9 COFF-i386: 3: c7 44 24 08 00 00 00 00 movl $0, 8(%esp)
10 COFF-i386: b: c7 04 24 00 00 00 00 movl $0, (%esp)
11 COFF-i386: e: IMAGE_REL_I386_DIR32 L_.str
12 COFF-i386: 12: e8 00 00 00 00 calll 0
13 COFF-i386: 13: IMAGE_REL_I386_REL32 _puts
[all …]
Dobjdump-trivial-object.test2 RUN: | FileCheck %s -check-prefix COFF-i386
4 RUN: | FileCheck %s -check-prefix COFF-x86-64
10 COFF-i386: file format COFF-i386
11 COFF-i386: Disassembly of section .text:
12 COFF-i386: 0: 83 ec 0c subl $12, %esp
13 COFF-i386: 3: c7 44 24 08 00 00 00 00 movl $0, 8(%esp)
14 COFF-i386: b: c7 04 24 00 00 00 00 movl $0, (%esp)
15 COFF-i386: 12: e8 00 00 00 00 calll 0
16 COFF-i386: 17: e8 00 00 00 00 calll 0
17 COFF-i386: 1c: 8b 44 24 08 movl 8(%esp), %eax
[all …]
/external/llvm/test/tools/llvm-readobj/
Dsymbols.test2 RUN: | FileCheck %s -check-prefix COFF
6 COFF: Symbols [
7 COFF-NEXT: Symbol {
8 COFF-NEXT: Name: @comp.id
9 COFF-NEXT: Value: 14766605
10 COFF-NEXT: Section: IMAGE_SYM_ABSOLUTE (-1)
11 COFF-NEXT: BaseType: Null (0x0)
12 COFF-NEXT: ComplexType: Null (0x0)
13 COFF-NEXT: StorageClass: Static (0x3)
14 COFF-NEXT: AuxSymbolCount: 0
[all …]
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp594 ".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in initCOFFMCObjectFileInfo()
595 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo()
607 ".bss", COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA | in initCOFFMCObjectFileInfo()
608 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo()
612 (IsThumb ? COFF::IMAGE_SCN_MEM_16BIT : (COFF::SectionCharacteristics)0) | in initCOFFMCObjectFileInfo()
613 COFF::IMAGE_SCN_CNT_CODE | COFF::IMAGE_SCN_MEM_EXECUTE | in initCOFFMCObjectFileInfo()
614 COFF::IMAGE_SCN_MEM_READ, in initCOFFMCObjectFileInfo()
617 ".data", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | COFF::IMAGE_SCN_MEM_READ | in initCOFFMCObjectFileInfo()
618 COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo()
621 ".rdata", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | COFF::IMAGE_SCN_MEM_READ, in initCOFFMCObjectFileInfo()
[all …]
DMCSectionCOFF.cpp37 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in setSelection()
51 if (getCharacteristics() & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in PrintSwitchToSection()
53 if (getCharacteristics() & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in PrintSwitchToSection()
55 if (getCharacteristics() & COFF::IMAGE_SCN_MEM_EXECUTE) in PrintSwitchToSection()
57 if (getCharacteristics() & COFF::IMAGE_SCN_MEM_WRITE) in PrintSwitchToSection()
59 else if (getCharacteristics() & COFF::IMAGE_SCN_MEM_READ) in PrintSwitchToSection()
63 if (getCharacteristics() & COFF::IMAGE_SCN_LNK_REMOVE) in PrintSwitchToSection()
65 if (getCharacteristics() & COFF::IMAGE_SCN_MEM_SHARED) in PrintSwitchToSection()
69 if (getCharacteristics() & COFF::IMAGE_SCN_LNK_COMDAT) { in PrintSwitchToSection()
72 case COFF::IMAGE_COMDAT_SELECT_NODUPLICATES: in PrintSwitchToSection()
[all …]
DWinCOFFObjectWriter.cpp46 typedef SmallString<COFF::NameSize> name;
58 COFF::Auxiliary Aux;
66 COFF::symbol Data;
92 COFF::relocation Data;
96 static size_t size() { return COFF::RelocationSize; } in size()
103 COFF::section Header;
125 COFF::header Header;
169 void WriteFileHeader(const COFF::header &Header);
172 void writeSectionHeader(const COFF::section &S);
173 void WriteRelocation(const COFF::relocation &R);
[all …]
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp287 static const EnumEntry<COFF::MachineTypes> ImageFileMachineType[] = {
288 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_UNKNOWN ),
289 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_AM33 ),
290 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_AMD64 ),
291 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARM ),
292 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARMNT ),
293 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_EBC ),
294 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_I386 ),
295 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_IA64 ),
296 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_M32R ),
[all …]
/external/llvm/lib/ObjectYAML/
DCOFFYAML.cpp16 #define ECase(X) IO.enumCase(Value, #X, COFF::X);
20 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); } in Section()
21 Symbol::Symbol() { memset(&Header, 0, sizeof(COFF::symbol)); } in Symbol()
22 Object::Object() { memset(&Header, 0, sizeof(COFF::header)); } in Object()
52 void ScalarEnumerationTraits<COFF::MachineTypes>::enumeration( in enumeration()
53 IO &IO, COFF::MachineTypes &Value) { in enumeration()
78 void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration( in enumeration()
79 IO &IO, COFF::SymbolBaseType &Value) { in enumeration()
98 void ScalarEnumerationTraits<COFF::SymbolStorageClass>::enumeration( in enumeration()
99 IO &IO, COFF::SymbolStorageClass &Value) { in enumeration()
[all …]
/external/llvm/test/Object/X86/
Dobjdump-trivial-object.test2 RUN: | FileCheck %s -check-prefix COFF-i386
4 RUN: | FileCheck %s -check-prefix COFF-x86-64
10 COFF-i386: file format COFF-i386
11 COFF-i386: Disassembly of section .text:
12 COFF-i386: 0: 83 ec 0c subl $12, %esp
13 COFF-i386: 3: c7 44 24 08 00 00 00 00 movl $0, 8(%esp)
14 COFF-i386: b: c7 04 24 00 00 00 00 movl $0, (%esp)
15 COFF-i386: 12: e8 00 00 00 00 calll 0
16 COFF-i386: 17: e8 00 00 00 00 calll 0
17 COFF-i386: 1c: 8b 44 24 08 movl 8(%esp), %eax
[all …]
Dobjdump-disassembly-inline-relocations.test2 RUN: | FileCheck %s -check-prefix COFF-i386
4 RUN: | FileCheck %s -check-prefix COFF-x86-64
14 COFF-i386: file format COFF-i386
15 COFF-i386: Disassembly of section .text:
16 COFF-i386: 0: 83 ec 0c subl $12, %esp
17 COFF-i386: 3: c7 44 24 08 00 00 00 00 movl $0, 8(%esp)
18 COFF-i386: b: c7 04 24 00 00 00 00 movl $0, (%esp)
19 COFF-i386: e: IMAGE_REL_I386_DIR32 L_.str
20 COFF-i386: 12: e8 00 00 00 00 calll 0
21 COFF-i386: 13: IMAGE_REL_I386_REL32 _puts
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFObjectWriter.cpp37 : MCWinCOFFObjectTargetWriter(Is64Bit ? COFF::IMAGE_FILE_MACHINE_AMD64 in X86WinCOFFObjectWriter()
38 : COFF::IMAGE_FILE_MACHINE_I386) {} in X86WinCOFFObjectWriter()
51 if (getMachine() == COFF::IMAGE_FILE_MACHINE_AMD64) { in getRelocType()
58 return COFF::IMAGE_REL_AMD64_REL32; in getRelocType()
63 return COFF::IMAGE_REL_AMD64_ADDR32NB; in getRelocType()
65 return COFF::IMAGE_REL_AMD64_SECREL; in getRelocType()
66 return COFF::IMAGE_REL_AMD64_ADDR32; in getRelocType()
68 return COFF::IMAGE_REL_AMD64_ADDR64; in getRelocType()
70 return COFF::IMAGE_REL_AMD64_SECTION; in getRelocType()
72 return COFF::IMAGE_REL_AMD64_SECREL; in getRelocType()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/
DMCObjectFileInfo.cpp378 COFF::IMAGE_SCN_CNT_CODE | in InitCOFFMCObjectFileInfo()
379 COFF::IMAGE_SCN_MEM_EXECUTE | in InitCOFFMCObjectFileInfo()
380 COFF::IMAGE_SCN_MEM_READ, in InitCOFFMCObjectFileInfo()
384 COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in InitCOFFMCObjectFileInfo()
385 COFF::IMAGE_SCN_MEM_READ | in InitCOFFMCObjectFileInfo()
386 COFF::IMAGE_SCN_MEM_WRITE, in InitCOFFMCObjectFileInfo()
390 COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in InitCOFFMCObjectFileInfo()
391 COFF::IMAGE_SCN_MEM_READ, in InitCOFFMCObjectFileInfo()
395 COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in InitCOFFMCObjectFileInfo()
396 COFF::IMAGE_SCN_MEM_READ | in InitCOFFMCObjectFileInfo()
[all …]
DWinCOFFObjectWriter.cpp43 typedef llvm::SmallString<COFF::NameSize> name;
55 COFF::Auxiliary Aux;
63 COFF::symbol Data;
85 COFF::relocation Data;
89 static size_t size() { return COFF::RelocationSize; } in size()
96 COFF::section Header;
133 COFF::header Header;
165 void WriteFileHeader(const COFF::header &Header);
168 void WriteSectionHeader(const COFF::section &S);
169 void WriteRelocation(const COFF::relocation &R);
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp282 static const EnumEntry<COFF::SectionCharacteristics>
284 CV_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NOLOAD),
285 CV_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NO_PAD),
286 CV_ENUM_ENT(COFF, IMAGE_SCN_CNT_CODE),
287 CV_ENUM_ENT(COFF, IMAGE_SCN_CNT_INITIALIZED_DATA),
288 CV_ENUM_ENT(COFF, IMAGE_SCN_CNT_UNINITIALIZED_DATA),
289 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_OTHER),
290 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_INFO),
291 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_REMOVE),
292 CV_ENUM_ENT(COFF, IMAGE_SCN_LNK_COMDAT),
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFX86_64.h69 case COFF::IMAGE_REL_AMD64_REL32: in resolveRelocation()
70 case COFF::IMAGE_REL_AMD64_REL32_1: in resolveRelocation()
71 case COFF::IMAGE_REL_AMD64_REL32_2: in resolveRelocation()
72 case COFF::IMAGE_REL_AMD64_REL32_3: in resolveRelocation()
73 case COFF::IMAGE_REL_AMD64_REL32_4: in resolveRelocation()
74 case COFF::IMAGE_REL_AMD64_REL32_5: { in resolveRelocation()
78 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); in resolveRelocation()
87 case COFF::IMAGE_REL_AMD64_ADDR32NB: { in resolveRelocation()
98 case COFF::IMAGE_REL_AMD64_ADDR64: { in resolveRelocation()
136 case COFF::IMAGE_REL_AMD64_REL32: in processRelocationRef()
[all …]
DRuntimeDyldCOFFThumb.h67 case COFF::IMAGE_REL_ARM_ADDR32: in processRelocationRef()
68 case COFF::IMAGE_REL_ARM_ADDR32NB: in processRelocationRef()
69 case COFF::IMAGE_REL_ARM_SECREL: in processRelocationRef()
97 case COFF::IMAGE_REL_ARM_ABSOLUTE: in processRelocationRef()
100 case COFF::IMAGE_REL_ARM_ADDR32: in processRelocationRef()
101 case COFF::IMAGE_REL_ARM_ADDR32NB: { in processRelocationRef()
108 case COFF::IMAGE_REL_ARM_SECTION: { in processRelocationRef()
114 case COFF::IMAGE_REL_ARM_SECREL: { in processRelocationRef()
120 case COFF::IMAGE_REL_ARM_MOV32T: { in processRelocationRef()
127 case COFF::IMAGE_REL_ARM_BRANCH20T: in processRelocationRef()
[all …]
/external/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp41 COFF::COMDATType Type);
95 COFF::IMAGE_SCN_CNT_CODE in ParseSectionDirectiveText()
96 | COFF::IMAGE_SCN_MEM_EXECUTE in ParseSectionDirectiveText()
97 | COFF::IMAGE_SCN_MEM_READ, in ParseSectionDirectiveText()
101 return ParseSectionSwitch(".data", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in ParseSectionDirectiveData()
102 COFF::IMAGE_SCN_MEM_READ | in ParseSectionDirectiveData()
103 COFF::IMAGE_SCN_MEM_WRITE, in ParseSectionDirectiveData()
108 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 …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMWinCOFFObjectWriter.cpp26 : MCWinCOFFObjectTargetWriter(COFF::IMAGE_FILE_MACHINE_ARMNT) { in ARMWinCOFFObjectWriter()
42 assert(getMachine() == COFF::IMAGE_FILE_MACHINE_ARMNT && in getRelocType()
56 return COFF::IMAGE_REL_ARM_ADDR32NB; in getRelocType()
58 return COFF::IMAGE_REL_ARM_SECREL; in getRelocType()
60 return COFF::IMAGE_REL_ARM_ADDR32; in getRelocType()
63 return COFF::IMAGE_REL_ARM_SECTION; in getRelocType()
65 return COFF::IMAGE_REL_ARM_SECREL; in getRelocType()
67 return COFF::IMAGE_REL_ARM_BRANCH20T; in getRelocType()
69 return COFF::IMAGE_REL_ARM_BRANCH24T; in getRelocType()
72 return COFF::IMAGE_REL_ARM_BLX23T; in getRelocType()
[all …]
/external/llvm/test/DebugInfo/X86/
Ddbg-asm.s2 # RUN: | llvm-readobj -r - | FileCheck -check-prefix CHECK-COFF %s
4 # RUN: | llvm-readobj -r - | FileCheck -check-prefix CHECK-COFF %s
12 # CHECK-COFF: Relocations [
13 # CHECK-COFF: Section {{.*}} .debug_info {
14 # CHECK-COFF: 0x6 IMAGE_REL_I386_SECREL .debug_abbrev
15 # CHECK-COFF: 0xC IMAGE_REL_I386_SECREL .debug_line
16 # CHECK-COFF: }
17 # CHECK-COFF: Section {{.*}} .debug_aranges {
18 # CHECK-COFF: 0x6 IMAGE_REL_I386_SECREL .debug_info
19 # CHECK-COFF: }
[all …]

1234567