1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objdump -f %t | FileCheck %s
3 # RUN: llvm-objdump -file-headers %t | FileCheck %s
7 Machine: IMAGE_FILE_MACHINE_I386
8 Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
10 AddressOfEntryPoint: 0x123456
11 # Unfortunately, all these flags are mandatory to set AddressOfEntryPoint.
12 # All the values are randomly picked. They can't interfere in what
13 # we are testing here.
14 SizeOfHeapCommit: 1024
15 SizeOfHeapReserve: 1024
16 SizeOfStackCommit: 1024
17 SizeOfStackReserve: 1024
18 DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE ]
19 Subsystem: IMAGE_SUBSYSTEM_NATIVE
20 MinorSubsystemVersion: 1
21 MajorSubsystemVersion: 1
24 MinorOperatingSystemVersion: 1
25 MajorOperatingSystemVersion: 1
32 # CHECK: architecture: i386
33 # CHECK: start address: 0x00123456