xref: /aosp_15_r20/external/llvm/test/LibDriver/infer-output-path.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/a.obj %S/Inputs/a.s
2*9880d681SAndroid Build Coastguard WorkerRUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/b.o %S/Inputs/b.s
3*9880d681SAndroid Build Coastguard WorkerRUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/c %S/Inputs/b.s
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard WorkerRUN: rm -f %T/a.lib
6*9880d681SAndroid Build Coastguard WorkerRUN: llvm-lib %T/a.obj
7*9880d681SAndroid Build Coastguard WorkerRUN: test -e %T/a.lib
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard WorkerRUN: rm -f %T/b.lib
10*9880d681SAndroid Build Coastguard WorkerRUN: llvm-lib /libpath:%T b.o
11*9880d681SAndroid Build Coastguard WorkerRUN: test -e %T/b.lib
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard WorkerRUN: rm -f %T/c.lib
14*9880d681SAndroid Build Coastguard WorkerRUN: llvm-lib /libpath:%T c
15*9880d681SAndroid Build Coastguard WorkerRUN: test -e %T/c.lib
16