1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link -safeseh:no /dll /noentry /out:%t.dll %t.obj
3 # RUN: llvm-readobj --file-headers %t.dll | FileCheck %s
5 # CHECK: MajorOperatingSystemVersion: 42
6 # CHECK: MinorOperatingSystemVersion: 43
7 # CHECK: MajorSubsystemVersion: 42
8 # CHECK: MinorSubsystemVersion: 43
9 # CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI
13 Machine: IMAGE_FILE_MACHINE_I386
17 Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
19 SectionData: 2f73756273797374656d3a636f6e736f6c652c34322e343300 # /subsystem:console,42.43