2 # RUN: yaml2obj %s -o %t.obj
3 # RUN: llvm-as -o %t.lto.obj %S/Inputs/weak-external3.ll
4 # RUN: lld-link /out:%t1.exe /entry:f /subsystem:console /lldmap:%t1.map %t.lto.obj
5 # RUN: FileCheck --check-prefix=CHECK1 %s < %t1.map
6 # RUN: lld-link /out:%t2.exe /entry:f /subsystem:console /lldmap:%t2.map %t.obj %t.lto.obj
7 # RUN: FileCheck --check-prefix=CHECK2 %s < %t2.map
10 # CHECK1-NEXT: .lto.obj:
13 # CHECK2: weak-external3.test.tmp.obj
18 Machine: IMAGE_FILE_MACHINE_AMD64
22 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
29 SimpleType: IMAGE_SYM_TYPE_NULL
30 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
31 StorageClass: IMAGE_SYM_CLASS_EXTERNAL