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
5 # CHECK: Entry name inferred: WinMainCRTStartup
9 Machine: IMAGE_FILE_MACHINE_AMD64
13 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
15 SectionData: B82A000000C3
17 Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
19 SectionData: 2f616c7465726e6174656e616d653a6d61696e3d57696e4d61696e00 # /alternatename:main=WinMain
24 SimpleType: IMAGE_SYM_TYPE_NULL
25 ComplexType: IMAGE_SYM_DTYPE_NULL
26 StorageClass: IMAGE_SYM_CLASS_STATIC
29 NumberOfRelocations: 0
30 NumberOfLinenumbers: 0
36 SimpleType: IMAGE_SYM_TYPE_NULL
37 ComplexType: IMAGE_SYM_DTYPE_NULL
38 StorageClass: IMAGE_SYM_CLASS_EXTERNAL