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 4 5# CHECK: MajorOperatingSystemVersion: 42 6# CHECK: MinorOperatingSystemVersion: 43 7# CHECK: MajorSubsystemVersion: 42 8# CHECK: MinorSubsystemVersion: 43 9# CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI 10 11--- !COFF 12header: 13 Machine: IMAGE_FILE_MACHINE_I386 14 Characteristics: [] 15sections: 16 - Name: .drectve 17 Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] 18 Alignment: 1 19 SectionData: 2f73756273797374656d3a636f6e736f6c652c34322e343300 # /subsystem:console,42.43 20symbols: 21... 22