Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-lib / libpath.test
blob26a1e8dc8b611c450434b2e889d905a24f2a3336
1 RUN: mkdir -p %t/a %t/b
2 RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/a/foo.obj %S/Inputs/a.s
3 RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/b/foo.obj %S/Inputs/b.s
5 RUN: env "LIB=%t/a;%t/b" llvm-lib /out:%t1.lib foo.obj
6 RUN: llvm-nm %t1.lib | FileCheck --check-prefix=A %s
8 RUN: llvm-lib /out:%t2.lib /libpath:%t/a /libpath:%t/b foo.obj
9 RUN: llvm-nm %t2.lib | FileCheck --check-prefix=A %s
11 RUN: env LIB=%t/a llvm-lib /libpath:%t/b /out:%t3.lib foo.obj
12 RUN: llvm-nm %t3.lib | FileCheck --check-prefix=B %s
14 A: T a
15 B: T b