1# RUN: yaml2obj %s -o %t.obj 2# RUN: not lld-link /out:%t.exe %t.obj /verbose > %t.log 2>&1 3# RUN: FileCheck %s < %t.log 4 5# CHECK: Entry name inferred: _WinMainCRTStartup 6 7--- !COFF 8header: 9 Machine: IMAGE_FILE_MACHINE_I386 10 Characteristics: [] 11sections: 12 - Name: .text 13 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] 14 Alignment: 4 15 SectionData: B82A000000C3 16symbols: 17 - Name: .text 18 Value: 0 19 SectionNumber: 1 20 SimpleType: IMAGE_SYM_TYPE_NULL 21 ComplexType: IMAGE_SYM_DTYPE_NULL 22 StorageClass: IMAGE_SYM_CLASS_STATIC 23 SectionDefinition: 24 Length: 6 25 NumberOfRelocations: 0 26 NumberOfLinenumbers: 0 27 CheckSum: 0 28 Number: 0 29 - Name: _WinMain@16 30 Value: 0 31 SectionNumber: 1 32 SimpleType: IMAGE_SYM_TYPE_NULL 33 ComplexType: IMAGE_SYM_DTYPE_NULL 34 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 35... 36