mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
208a1eb22e
If llvm-ar is installed at arm-pokymllib32-linux-gnueabi-llvm-ar, it may think it is llvm-lib due to the "lib" substring. Improve the heuristic to make all the following work as intended: llvm-ar-9 (llvm-9 package on Debian) llvm-ranlib.exe Lib.exe (reported by D44808) arm-pokymllib32-linux-gnueabi-llvm-ar (reported by D71030) Reviewed By: raj.khem, rupprecht Differential Revision: https://reviews.llvm.org/D71302
16 lines
424 B
Plaintext
16 lines
424 B
Plaintext
## Don't make symlinks on Windows.
|
|
# UNSUPPORTED: system-windows
|
|
|
|
# RUN: rm -rf %t
|
|
# RUN: mkdir %t
|
|
# RUN: ln -s llvm-ar %t/llvm-ar-9
|
|
# RUN: ln -s llvm-ar %t/ar.exe
|
|
# RUN: ln -s llvm-ar %t/arm-pokymllib32-linux-gnueabi-llvm-ar-9
|
|
|
|
# RUN: llvm-ar h | FileCheck %s
|
|
# RUN: %t/llvm-ar-9 h | FileCheck %s
|
|
# RUN: %t/ar.exe h | FileCheck %s
|
|
# RUN: %t/arm-pokymllib32-linux-gnueabi-llvm-ar-9 h | FileCheck %s
|
|
|
|
# CHECK: USAGE: llvm-ar
|