3 # RUN: rm -rf %t.dir; split-file %s %t.dir
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %t.dir/foo.s -o %t.dir/foo.o
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos %t.dir/unused.s -o %t.dir/unused.o
8 # RUN: llvm-ar rcsT foo.a foo.o unused.o
10 # RUN: %lld foo.a -o /dev/null --reproduce repro.tar
11 # RUN: tar tf repro.tar | FileCheck -DPATH='repro/%:t.dir' %s
13 # RUN: %lld -all_load foo.a -o /dev/null --reproduce repro2.tar
14 # RUN: tar tf repro2.tar | FileCheck -DPATH='repro2/%:t.dir' %s
16 # RUN: %lld -ObjC foo.a -o /dev/null --reproduce repro3.tar
17 # RUN: tar tf repro3.tar | FileCheck -DPATH='repro3/%:t.dir' %s
19 # CHECK-DAG: [[PATH]]/foo.a
20 # CHECK-DAG: [[PATH]]/foo.o
21 # CHECK-DAG: [[PATH]]/unused.o