1 # RUN: yaml2obj %s -o %t1.obj
2 # RUN: yaml2obj %s -o %t2.obj
3 # RUN: llvm-lib /out:%t.lib %t1.obj %t2.obj
4 # RUN: lld-link /out:%t.exe /lldmap:%t.map /entry:main /subsystem:console %p/Inputs/ret42.obj %t.lib
5 # RUN: FileCheck %s < %t.map
11 Machine: IMAGE_FILE_MACHINE_AMD64
15 Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
22 SimpleType: IMAGE_SYM_TYPE_NULL
23 ComplexType: IMAGE_SYM_DTYPE_NULL
24 StorageClass: IMAGE_SYM_CLASS_STATIC
27 NumberOfRelocations: 0
28 NumberOfLinenumbers: 0
31 Selection: IMAGE_COMDAT_SELECT_ANY
35 SimpleType: IMAGE_SYM_TYPE_NULL
36 ComplexType: IMAGE_SYM_DTYPE_NULL
37 StorageClass: IMAGE_SYM_CLASS_EXTERNAL