1# RUN: yaml2obj %p/Inputs/hello32.yaml -o %t.obj 2# RUN: lld-link -safeseh:no %t.obj %p/Inputs/std32.lib /subsystem:console \ 3# RUN: /entry:main@0 /out:%t.exe /largeaddressaware 4# RUN: llvm-readobj --file-headers %t.exe | FileCheck -check-prefix=HEADER %s 5 6HEADER: Format: COFF-i386 7HEADER-NEXT: Arch: i386 8HEADER-NEXT: AddressSize: 32bit 9HEADER-NEXT: ImageFileHeader { 10HEADER-NEXT: Machine: IMAGE_FILE_MACHINE_I386 (0x14C) 11HEADER-NEXT: SectionCount: 4 12HEADER-NEXT: TimeDateStamp: 13HEADER-NEXT: PointerToSymbolTable: 0x0 14HEADER-NEXT: SymbolCount: 0 15HEADER-NEXT: StringTableSize: 0 16HEADER-NEXT: OptionalHeaderSize: 224 17HEADER-NEXT: Characteristics [ (0x122) 18HEADER-NEXT: IMAGE_FILE_32BIT_MACHINE (0x100) 19HEADER-NEXT: IMAGE_FILE_EXECUTABLE_IMAGE (0x2) 20HEADER-NEXT: IMAGE_FILE_LARGE_ADDRESS_AWARE (0x20) 21HEADER-NEXT: ] 22HEADER-NEXT: } 23