mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +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
14 lines
328 B
Plaintext
14 lines
328 B
Plaintext
## Don't make symlinks on Windows.
|
|
# UNSUPPORTED: system-windows
|
|
|
|
# RUN: rm -rf %t
|
|
# RUN: mkdir %t
|
|
# RUN: ln -s llvm-ranlib %t/llvm-ranlib-9
|
|
# RUN: ln -s llvm-ranlib %t/ranlib.exe
|
|
|
|
# RUN: llvm-ranlib -h | FileCheck %s
|
|
# RUN: %t/llvm-ranlib-9 -h | FileCheck %s
|
|
# RUN: %t/ranlib.exe -h | FileCheck %s
|
|
|
|
# CHECK: USAGE: llvm-ranlib
|