/external/llvm/test/Object/ |
D | obj2yaml-coff-section-aux-symbol.test | 1 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 …]
|
D | obj2yaml.test | 1 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 …]
|
D | yaml2obj-readobj.test | 1 …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 …]
|
D | nm-archive.test | 1 RUN: llvm-nm -a %p/Inputs/archive-test.a-coff-i386 \ 2 RUN: | FileCheck %s -check-prefix COFF 4 COFF: trivial-object-test.coff-i386: 5 COFF-NEXT: 00000000 d .data 6 COFF-NEXT: 00000000 t .text 7 COFF-NEXT: 00000000 d L_.str 8 COFF-NEXT: U _SomeOtherFunction 9 COFF-NEXT: 00000000 T _main 10 COFF-NEXT: U _puts 12 RUN: llvm-nm -a -o %p/Inputs/archive-test.a-coff-i386 \ [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/ |
D | obj2yaml-coff-section-aux-symbol.test | 1 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 …]
|
D | obj2yaml.test | 1 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 3 RUN: obj2yaml %p/Inputs/trivial-object-test.coff-armnt | FileCheck %s --check-prefix COFF-ARMNT 4 RUN: obj2yaml %p/Inputs/trivial-object-test.coff-arm64 | FileCheck %s --check-prefix COFF-ARM64 12 COFF-I386: header: 13 COFF-I386-NEXT: Machine: IMAGE_FILE_MACHINE_I386 15 COFF-I386: sections: 16 COFF-I386-NEXT: - Name: .text 17 COFF-I386-NEXT: Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ… 18 COFF-I386-NEXT: Alignment: 16 [all …]
|
D | yaml2obj-readobj.test | 1 …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 …]
|
D | nm-archive.test | 1 RUN: llvm-nm -a %p/Inputs/archive-test.a-coff-i386 \ 2 RUN: | FileCheck %s -check-prefix COFF 4 COFF: trivial-object-test.coff-i386: 5 COFF-NEXT: 00000000 d .data 6 COFF-NEXT: 00000000 t .text 7 COFF-NEXT: 00000000 d L_.str 8 COFF-NEXT: U _SomeOtherFunction 9 COFF-NEXT: 00000000 T _main 10 COFF-NEXT: U _puts 12 RUN: llvm-nm -a -o %p/Inputs/archive-test.a-coff-i386 \ [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cxxdump/ |
D | eh.test | 1 RUN: llvm-cxxdump %p/Inputs/eh.obj.coff-i386 \ 2 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 [all …]
|
D | trivial.test | 1 RUN: llvm-cxxdump %p/Inputs/trivial.obj.coff-i386 \ 2 RUN: | FileCheck %s --check-prefix=COFF-I386 7 RUN: llvm-cxxdump %p/Inputs/mixed-archive.coff-i386 \ 10 COFF-I386: ??_7S@@6B@[0]: ??_R4S@@6B@ 11 COFF-I386-NEXT: ??_7S@@6B@[4]: ??_GS@@UAEPAXI@Z 12 COFF-I386-NEXT: ??_8S@@7B@[0]: -4 13 COFF-I386-NEXT: ??_8S@@7B@[4]: 4 14 COFF-I386-NEXT: ??_R4S@@6B@[IsImageRelative]: 0 15 COFF-I386-NEXT: ??_R4S@@6B@[OffsetToTop]: 0 16 COFF-I386-NEXT: ??_R4S@@6B@[VFPtrOffset]: 0 [all …]
|
/external/llvm/test/tools/llvm-cxxdump/ |
D | eh.test | 1 RUN: llvm-cxxdump %p/Inputs/eh.obj.coff-i386 \ 2 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 [all …]
|
D | trivial.test | 1 RUN: llvm-cxxdump %p/Inputs/trivial.obj.coff-i386 \ 2 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 [all …]
|
/external/llvm/test/tools/llvm-readobj/ |
D | symbols.test | 1 RUN: llvm-readobj -t %p/Inputs/trivial.obj.coff-i386 \ 2 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) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/ |
D | COFFYAML.h | 1 //===- COFFYAML.h - COFF YAMLIO implementation ------------------*- C++ -*-===// 10 // This file declares classes for handling the YAML representation of COFF. 19 #include "llvm/BinaryFormat/COFF.h" 29 namespace COFF { 48 } // end namespace COFF 50 // The structure of the yaml files is not an exact 1:1 match to COFF. In order 65 COFF::section Header; 79 COFF::symbol Header; 80 COFF::SymbolBaseType SimpleType = COFF::IMAGE_SYM_TYPE_NULL; 81 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL; [all …]
|
/external/llvm/include/llvm/ObjectYAML/ |
D | COFFYAML.h | 1 //===- COFFYAML.h - COFF YAMLIO implementation ------------------*- C++ -*-===// 10 // This file declares classes for handling the YAML representation of COFF. 19 #include "llvm/Support/COFF.h" 23 namespace COFF { 42 // The structure of the yaml files is not an exact 1:1 match to COFF. In order 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; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/ |
D | symbols.test | 1 RUN: llvm-readobj -t %p/Inputs/trivial.obj.coff-i386 \ 2 RUN: | FileCheck %s -check-prefix COFF 8 COFF: Symbols [ 9 COFF-NEXT: Symbol { 10 COFF-NEXT: Name: @comp.id 11 COFF-NEXT: Value: 14766605 12 COFF-NEXT: Section: IMAGE_SYM_ABSOLUTE (-1) 13 COFF-NEXT: BaseType: Null (0x0) 14 COFF-NEXT: ComplexType: Null (0x0) 15 COFF-NEXT: StorageClass: Static (0x3) [all …]
|
D | file-headers.test | 1 RUN: llvm-readobj -h %p/Inputs/trivial.obj.coff-arm \ 2 RUN: | FileCheck %s -check-prefix COFF-ARM 3 RUN: llvm-readobj -h %p/Inputs/trivial.obj.coff-arm64 \ 4 RUN: | FileCheck %s -check-prefix COFF-ARM64 5 RUN: llvm-readobj -h %p/Inputs/trivial.obj.coff-i386 \ 7 RUN: llvm-readobj -h %p/Inputs/trivial.obj.coff-x86-64 \ 9 RUN: llvm-readobj -h %p/Inputs/trivial.exe.coff-i386 \ 25 RUN: llvm-readobj -h %p/Inputs/magic.coff-unknown \ 26 RUN: | FileCheck %s -check-prefix COFF-UNKNOWN 27 RUN: llvm-readobj -h %p/Inputs/magic.coff-importlib \ [all …]
|
/external/swiftshader/third_party/LLVM/test/Object/ |
D | objdump-disassembly-inline-relocations.test | 1 RUN: llvm-objdump -d -r %p/TestObjectFiles/trivial-object-test.coff-i386 \ 2 RUN: | FileCheck %s -check-prefix COFF-i386 3 RUN: llvm-objdump -d -r %p/TestObjectFiles/trivial-object-test.coff-x86-64 \ 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 [all …]
|
/external/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 19 #include "llvm/Support/COFF.h" 594 ".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in initCOFFMCObjectFileInfo() 595 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo() 605 // COFF 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() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 13 #include "llvm/BinaryFormat/COFF.h" 625 ".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in initCOFFMCObjectFileInfo() 626 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo() 636 // COFF in initCOFFMCObjectFileInfo() 638 ".bss", COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA | in initCOFFMCObjectFileInfo() 639 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo() 643 (IsThumb ? COFF::IMAGE_SCN_MEM_16BIT : (COFF::SectionCharacteristics)0) | in initCOFFMCObjectFileInfo() 644 COFF::IMAGE_SCN_CNT_CODE | COFF::IMAGE_SCN_MEM_EXECUTE | in initCOFFMCObjectFileInfo() 645 COFF::IMAGE_SCN_MEM_READ, in initCOFFMCObjectFileInfo() 648 ".data", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | COFF::IMAGE_SCN_MEM_READ | in initCOFFMCObjectFileInfo() [all …]
|
/external/llvm/lib/ObjectYAML/ |
D | COFFYAML.cpp | 1 //===- COFFYAML.cpp - COFF YAMLIO implementation --------------------------===// 10 // This file defines classes for handling the YAML representation of COFF. 16 #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() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
D | COFFYAML.cpp | 1 //===- COFFYAML.cpp - COFF YAMLIO implementation --------------------------===// 10 // This file defines classes for handling the YAML representation of COFF. 20 #define ECase(X) IO.enumCase(Value, #X, COFF::X); 26 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); } in Section() 27 Symbol::Symbol() { memset(&Header, 0, sizeof(COFF::symbol)); } in Symbol() 28 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() 86 void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration( in enumeration() 87 IO &IO, COFF::SymbolBaseType &Value) { in enumeration() [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 1 //===-- COFFDumper.cpp - COFF-specific dumper -------------------*- C++ -*-===// 11 /// \brief This file implements the COFF-specific dumper for llvm-readobj. 37 #include "llvm/Object/COFF.h" 39 #include "llvm/Support/COFF.h" 287 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 ), [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 1 //===-- COFFDumper.cpp - COFF-specific dumper -------------------*- C++ -*-===// 11 /// This file implements the COFF-specific dumper for llvm-readobj. 24 #include "llvm/BinaryFormat/COFF.h" 45 #include "llvm/Object/COFF.h" 332 static const EnumEntry<COFF::MachineTypes> ImageFileMachineType[] = { 333 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_UNKNOWN ), 334 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_AM33 ), 335 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_AMD64 ), 336 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARM ), 337 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_FILE_MACHINE_ARM64 ), [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/X86/ |
D | objdump-trivial-object.test | 1 RUN: llvm-objdump -d %p/../Inputs/trivial-object-test.coff-i386 \ 2 RUN: | FileCheck %s -check-prefix COFF-i386 3 RUN: llvm-objdump -d %p/../Inputs/trivial-object-test.coff-x86-64 \ 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 [all …]
|