brintos

brintos / llvm-project-archived public Read only

0
0
Text · 487 B · 48486d0 Raw
21 lines · plain
1# REQUIRES: x862 3# RUN: rm -rf %t.dir4# RUN: mkdir -p %t.dir5# RUN: cd %t.dir6# RUN: echo ".global foo; foo: ret" | \7# RUN:   llvm-mc -filetype=obj -triple=x86_64 - -o foo.o8# RUN: llvm-ar rc foo.a foo.o9# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o bar.o10 11# RUN: ld.lld bar.o --reproduce repro.tar12# RUN: tar tf repro.tar | FileCheck -DPATH='%:t.dir' %s13 14# CHECK: [[PATH]]/foo.a15 16.globl _start17_start:18  call foo19.section ".deplibs","MS",@llvm_dependent_libraries,120.asciz "foo.a"21