[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / lld / test / MachO / reproduce-thin-archives.s
blob33eeaede7aa410871507cd75d1051a3078a6bb07
1 # REQUIRES: x86
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
7 # RUN: cd %t.dir
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
23 #--- foo.s
24 .globl _main
25 _main:
26 nop
28 #--- unused.s
29 .globl _unused
30 _unused:
31 nop