40 lines · plain
1# RUN: yaml2obj %s -o %t.obj2# RUN: not lld-link /out:%t.exe %t.obj /verbose > %t.log 2>&13# RUN: FileCheck %s < %t.log4 5# CHECK: Entry name inferred: WinMainCRTStartup6 7--- !COFF8header:9 Machine: IMAGE_FILE_MACHINE_AMD6410 Characteristics: []11sections:12 - Name: .text13 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]14 Alignment: 415 SectionData: B82A000000C316 - Name: .drectve17 Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]18 Alignment: 119 SectionData: 2f616c7465726e6174656e616d653a6d61696e3d57696e4d61696e00 # /alternatename:main=WinMain20symbols:21 - Name: .text22 Value: 023 SectionNumber: 124 SimpleType: IMAGE_SYM_TYPE_NULL25 ComplexType: IMAGE_SYM_DTYPE_NULL26 StorageClass: IMAGE_SYM_CLASS_STATIC27 SectionDefinition:28 Length: 629 NumberOfRelocations: 030 NumberOfLinenumbers: 031 CheckSum: 032 Number: 033 - Name: WinMain34 Value: 035 SectionNumber: 136 SimpleType: IMAGE_SYM_TYPE_NULL37 ComplexType: IMAGE_SYM_DTYPE_NULL38 StorageClass: IMAGE_SYM_CLASS_EXTERNAL39...40