Home
last modified time | relevance | path

Searched full:coff (Results 1 – 25 of 760) sorted by relevance

12345678910>>...31

/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 …]
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 …]
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 …]
Dnm-archive.test1 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/llvm/test/tools/llvm-cxxdump/
Deh.test1 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 …]
Dtrivial.test1 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/
Dsymbols.test1 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/llvm/include/llvm/ObjectYAML/
DCOFFYAML.h1 //===- 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-16.0/llvm/include/llvm/ObjectYAML/
DCOFFYAML.h1 //===- COFFYAML.h - COFF YAMLIO implementation ------------------*- C++ -*-===//
9 // This file declares classes for handling the YAML representation of COFF.
17 #include "llvm/BinaryFormat/COFF.h"
28 namespace COFF {
47 } // end namespace COFF
49 // The structure of the yaml files is not an exact 1:1 match to COFF. In order
70 COFF::section Header;
84 COFF::symbol Header;
85 COFF::SymbolBaseType SimpleType = COFF::IMAGE_SYM_TYPE_NULL;
86 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DCOFFYAML.h1 //===- COFFYAML.h - COFF YAMLIO implementation ------------------*- C++ -*-===//
9 // This file declares classes for handling the YAML representation of COFF.
18 #include "llvm/BinaryFormat/COFF.h"
28 namespace COFF {
47 } // end namespace COFF
49 // The structure of the yaml files is not an exact 1:1 match to COFF. In order
70 COFF::section Header;
84 COFF::symbol Header;
85 COFF::SymbolBaseType SimpleType = COFF::IMAGE_SYM_TYPE_NULL;
86 COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCObjectFileInfo.cpp12 #include "llvm/BinaryFormat/COFF.h"
496 Ctx->getCOFFSection(".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in initCOFFMCObjectFileInfo()
497 COFF::IMAGE_SCN_MEM_READ, in initCOFFMCObjectFileInfo()
507 // COFF in initCOFFMCObjectFileInfo()
509 ".bss", COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA | in initCOFFMCObjectFileInfo()
510 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo()
514 (IsThumb ? COFF::IMAGE_SCN_MEM_16BIT : (COFF::SectionCharacteristics)0) | in initCOFFMCObjectFileInfo()
515 COFF::IMAGE_SCN_CNT_CODE | COFF::IMAGE_SCN_MEM_EXECUTE | in initCOFFMCObjectFileInfo()
516 COFF::IMAGE_SCN_MEM_READ, in initCOFFMCObjectFileInfo()
519 ".data", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | COFF::IMAGE_SCN_MEM_READ | in initCOFFMCObjectFileInfo()
[all …]
/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Library/
DPeCoffGetEntryPointLib.h2 Provides a service to retrieve the PE/COFF entry point from a PE/COFF image.
13 Retrieves and returns a pointer to the entry point to a PE/COFF image that has been loaded
14 into system memory with the PE/COFF Loader Library functions.
16 Retrieves the entry point to the PE/COFF image specified by Pe32Data and returns this entry
17 point in EntryPoint. If the entry point could not be retrieved from the PE/COFF image, then
22 …@param Pe32Data The pointer to the PE/COFF image that is loaded in system memory.
23 @param EntryPoint The pointer to entry point to the PE/COFF image to return.
26 @retval RETURN_INVALID_PARAMETER The entry point could not be found in the PE/COFF image.
37 Returns the machine type of a PE/COFF image.
39 Returns the machine type from the PE/COFF image specified by Pe32Data.
[all …]
DPeCoffLib.h2 Provides services to load and relocate a PE/COFF image.
4 The PE/COFF Loader Library abstracts the implementation of a PE/COFF loader for
18 // Return status codes from the PE/COFF Loader services
34 Reads contents of a PE/COFF image.
36 A function of this type reads contents of the PE/COFF image specified by FileHandle. The read
37 operation copies ReadSize bytes from the PE/COFF image starting at byte offset FileOffset into
39 If FileOffset specifies an offset past the end of the PE/COFF image, a ReadSize of 0 is returned.
41 …structure for the PE/COFF Loader Library service to function correctly. This function abstracts a…
42 …to a PE/COFF image so it can be implemented in an environment specific manner. For example, SEC a…
43 environments may access memory directly to read the contents of a PE/COFF image, and DXE or UEFI
[all …]
/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Library/
DPeCoffGetEntryPointLib.h2 Provides a service to retrieve the PE/COFF entry point from a PE/COFF image.
13 Retrieves and returns a pointer to the entry point to a PE/COFF image that has been loaded
14 into system memory with the PE/COFF Loader Library functions.
16 Retrieves the entry point to the PE/COFF image specified by Pe32Data and returns this entry
17 point in EntryPoint. If the entry point could not be retrieved from the PE/COFF image, then
22 …@param Pe32Data The pointer to the PE/COFF image that is loaded in system memory.
23 @param EntryPoint The pointer to entry point to the PE/COFF image to return.
26 @retval RETURN_INVALID_PARAMETER The entry point could not be found in the PE/COFF image.
37 Returns the machine type of a PE/COFF image.
39 Returns the machine type from the PE/COFF image specified by Pe32Data.
[all …]
DPeCoffLib.h2 Provides services to load and relocate a PE/COFF image.
4 The PE/COFF Loader Library abstracts the implementation of a PE/COFF loader for
18 // Return status codes from the PE/COFF Loader services
34 Reads contents of a PE/COFF image.
36 A function of this type reads contents of the PE/COFF image specified by FileHandle. The read
37 operation copies ReadSize bytes from the PE/COFF image starting at byte offset FileOffset into
39 If FileOffset specifies an offset past the end of the PE/COFF image, a ReadSize of 0 is returned.
41 …structure for the PE/COFF Loader Library service to function correctly. This function abstracts a…
42 …to a PE/COFF image so it can be implemented in an environment specific manner. For example, SEC a…
43 environments may access memory directly to read the contents of a PE/COFF image, and DXE or UEFI
[all …]
/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Library/
DPeCoffGetEntryPointLib.h2 Provides a service to retrieve the PE/COFF entry point from a PE/COFF image.
13 Retrieves and returns a pointer to the entry point to a PE/COFF image that has been loaded
14 into system memory with the PE/COFF Loader Library functions.
16 Retrieves the entry point to the PE/COFF image specified by Pe32Data and returns this entry
17 point in EntryPoint. If the entry point could not be retrieved from the PE/COFF image, then
22 …@param Pe32Data The pointer to the PE/COFF image that is loaded in system memory.
23 @param EntryPoint The pointer to entry point to the PE/COFF image to return.
26 @retval RETURN_INVALID_PARAMETER The entry point could not be found in the PE/COFF image.
37 Returns the machine type of a PE/COFF image.
39 Returns the machine type from the PE/COFF image specified by Pe32Data.
[all …]
DPeCoffLib.h2 Provides services to load and relocate a PE/COFF image.
4 The PE/COFF Loader Library abstracts the implementation of a PE/COFF loader for
18 // Return status codes from the PE/COFF Loader services
34 Reads contents of a PE/COFF image.
36 A function of this type reads contents of the PE/COFF image specified by FileHandle. The read
37 operation copies ReadSize bytes from the PE/COFF image starting at byte offset FileOffset into
39 If FileOffset specifies an offset past the end of the PE/COFF image, a ReadSize of 0 is returned.
41 …structure for the PE/COFF Loader Library service to function correctly. This function abstracts a…
42 …to a PE/COFF image so it can be implemented in an environment specific manner. For example, SEC a…
43 environments may access memory directly to read the contents of a PE/COFF image, and DXE or UEFI
[all …]
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp19 #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/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Library/
DPeCoffGetEntryPointLib.h2 Provides a service to retrieve the PE/COFF entry point from a PE/COFF image.
19 Retrieves and returns a pointer to the entry point to a PE/COFF image that has been loaded
20 into system memory with the PE/COFF Loader Library functions.
22 Retrieves the entry point to the PE/COFF image specified by Pe32Data and returns this entry
23 point in EntryPoint. If the entry point could not be retrieved from the PE/COFF image, then
28 …@param Pe32Data The pointer to the PE/COFF image that is loaded in system memory.
29 @param EntryPoint The pointer to entry point to the PE/COFF image to return.
32 @retval RETURN_INVALID_PARAMETER The entry point could not be found in the PE/COFF image.
43 Returns the machine type of a PE/COFF image.
45 Returns the machine type from the PE/COFF image specified by Pe32Data.
[all …]
DPeCoffLib.h2 Provides services to load and relocate a PE/COFF image.
4 The PE/COFF Loader Library abstracts the implementation of a PE/COFF loader for
24 // Return status codes from the PE/COFF Loader services
40 Reads contents of a PE/COFF image.
42 A function of this type reads contents of the PE/COFF image specified by FileHandle. The read
43 operation copies ReadSize bytes from the PE/COFF image starting at byte offset FileOffset into
45 If FileOffset specifies an offset past the end of the PE/COFF image, a ReadSize of 0 is returned.
47 …structure for the PE/COFF Loader Library service to function correctly. This function abstracts a…
48 …to a PE/COFF image so it can be implemented in an environment specific manner. For example, SEC a…
49 environments may access memory directly to read the contents of a PE/COFF image, and DXE or UEFI
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjectYAML/
DCOFFYAML.cpp1 //===- COFFYAML.cpp - COFF YAMLIO implementation --------------------------===//
9 // This file defines classes for handling the YAML representation of COFF.
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()
90 void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration( in enumeration()
91 IO &IO, COFF::SymbolBaseType &Value) { in enumeration()
[all …]
/external/llvm/lib/ObjectYAML/
DCOFFYAML.cpp1 //===- 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-10.0/llvm/lib/ObjectYAML/
DCOFFYAML.cpp1 //===- COFFYAML.cpp - COFF YAMLIO implementation --------------------------===//
9 // This file defines classes for handling the YAML representation of COFF.
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()
59 void ScalarEnumerationTraits<COFF::MachineTypes>::enumeration( in enumeration()
60 IO &IO, COFF::MachineTypes &Value) { in enumeration()
85 void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration( in enumeration()
86 IO &IO, COFF::SymbolBaseType &Value) { in enumeration()
[all …]
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp1 //===-- 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-16.0/llvm/lib/MC/
DMCObjectFileInfo.cpp12 #include "llvm/BinaryFormat/COFF.h"
318 #define HANDLE_SWIFT_SECTION(KIND, MACHO, ELF, COFF) \ in initMachOMCObjectFileInfo() argument
549 Ctx->getCOFFSection(".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in initCOFFMCObjectFileInfo()
550 COFF::IMAGE_SCN_MEM_READ, in initCOFFMCObjectFileInfo()
558 // COFF in initCOFFMCObjectFileInfo()
560 ".bss", COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA | in initCOFFMCObjectFileInfo()
561 COFF::IMAGE_SCN_MEM_READ | COFF::IMAGE_SCN_MEM_WRITE, in initCOFFMCObjectFileInfo()
565 (IsThumb ? COFF::IMAGE_SCN_MEM_16BIT : (COFF::SectionCharacteristics)0) | in initCOFFMCObjectFileInfo()
566 COFF::IMAGE_SCN_CNT_CODE | COFF::IMAGE_SCN_MEM_EXECUTE | in initCOFFMCObjectFileInfo()
567 COFF::IMAGE_SCN_MEM_READ, in initCOFFMCObjectFileInfo()
[all …]

12345678910>>...31