2 # RUN: yaml2obj %s -o %t.obj
3 # RUN: llvm-as -o %t.lto.obj %S/Inputs/weak-external2.ll
4 # RUN: lld-link /out:%t.exe /entry:g /subsystem:console %t.obj %t.lto.obj
8 Machine: IMAGE_FILE_MACHINE_AMD64
12 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
19 SimpleType: IMAGE_SYM_TYPE_NULL
20 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
21 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
25 SimpleType: IMAGE_SYM_TYPE_NULL
26 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
27 StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
30 Characteristics: IMAGE_WEAK_EXTERN_SEARCH_LIBRARY