1# RUN: yaml2obj %s -o %t.obj 2# RUN: lld-link /out:%t.exe /entry:main /subsystem:console %t.obj 3 4--- !COFF 5header: 6 Machine: IMAGE_FILE_MACHINE_AMD64 7 Characteristics: [] 8sections: 9 - Name: .text 10 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] 11 Alignment: 4 12 SectionData: B82A000000C3 13symbols: 14 - Name: .text 15 Value: 0 16 SectionNumber: 1 17 SimpleType: IMAGE_SYM_TYPE_NULL 18 ComplexType: IMAGE_SYM_DTYPE_NULL 19 StorageClass: IMAGE_SYM_CLASS_STATIC 20 SectionDefinition: 21 Length: 6 22 NumberOfRelocations: 0 23 NumberOfLinenumbers: 0 24 CheckSum: 0 25 Number: 0 26 - Name: main 27 Value: 0 28 SectionNumber: 1 29 SimpleType: IMAGE_SYM_TYPE_NULL 30 ComplexType: IMAGE_SYM_DTYPE_NULL 31 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 32 - Name: debug 33 Value: 0 34 SectionNumber: -2 35 SimpleType: IMAGE_SYM_TYPE_NULL 36 ComplexType: IMAGE_SYM_DTYPE_NULL 37 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 38... 39