brintos

brintos / llvm-project-archived public Read only

0
0
Text · 987 B · f981721 Raw
33 lines · plain
1# REQUIRES: x862# RUN: yaml2obj %s -o %t.obj3# RUN: llvm-as -o %t.lto.obj %S/Inputs/weak-external3.ll4# RUN: lld-link /out:%t1.exe /entry:f /subsystem:console /lldmap:%t1.map %t.lto.obj5# RUN: FileCheck --check-prefix=CHECK1 %s < %t1.map6# RUN: lld-link /out:%t2.exe /entry:f /subsystem:console /lldmap:%t2.map %t.obj %t.lto.obj7# RUN: FileCheck --check-prefix=CHECK2 %s < %t2.map8 9# CHECK1:      .lto.obj:10# CHECK1-NEXT: .lto.obj:11# CHECK1-NEXT: 0 g12 13# CHECK2: weak-external3.test.tmp.obj14# CHECK2-NEXT: 0 f15 16--- !COFF17header:18  Machine:         IMAGE_FILE_MACHINE_AMD6419  Characteristics: [  ]20sections:21  - Name:            '.text'22    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]23    Alignment:       1624    SectionData:     0025symbols:26  - Name:            'f'27    Value:           028    SectionNumber:   129    SimpleType:      IMAGE_SYM_TYPE_NULL30    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION31    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL32...33