1 ## Don't make symlinks on Windows.
2 # UNSUPPORTED: system-windows, llvm-driver
7 # RUN: ln -s llvm-objcopy %t/llvm-objcopy-11.exe
8 # RUN: ln -s llvm-objcopy %t/powerpc64-unknown-freebsd13-objcopy
10 # RUN: llvm-objcopy --help | FileCheck --check-prefix=OBJCOPY %s
11 # RUN: %t/llvm-objcopy-11.exe --help | FileCheck --check-prefix=OBJCOPY %s
12 # RUN: %t/powerpc64-unknown-freebsd13-objcopy --help | FileCheck --check-prefix=OBJCOPY %s
14 # OBJCOPY: OVERVIEW: llvm-objcopy tool
16 # RUN: ln -s llvm-strip %t/strip.exe
17 # RUN: ln -s llvm-strip %t/gnu-llvm-strip-10
19 # RUN: llvm-strip --help | FileCheck --check-prefix=STRIP %s
20 # RUN: %t/strip.exe --help | FileCheck --check-prefix=STRIP %s
21 # RUN: %t/gnu-llvm-strip-10 --help | FileCheck --check-prefix=STRIP %s
23 # STRIP: OVERVIEW: llvm-strip tool
25 ## This driver emulates install_name_tool on macOS.
26 # RUN: ln -s llvm-install-name-tool %t/llvm-install-name-tool-10
27 # RUN: ln -s llvm-install-name-tool %t/install_name_tool.exe
29 # RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL %s
30 # RUN: %t/llvm-install-name-tool-10 --help | FileCheck --check-prefix=INSTALL %s
31 # RUN: %t/install_name_tool.exe --help | FileCheck --check-prefix=INSTALL %s
33 # INSTALL: OVERVIEW: llvm-install-name-tool tool
35 ## This driver emulates bitcode_strip on macOS.
36 # RUN: ln -s llvm-bitcode-strip %t/llvm-bitcode-strip-10
37 # RUN: ln -s llvm-bitcode-strip %t/bitcode_strip.exe
39 # RUN: llvm-bitcode-strip --help | FileCheck --check-prefix=BITCODE-STRIP %s
40 # RUN: %t/llvm-bitcode-strip-10 --help | FileCheck --check-prefix=BITCODE-STRIP %s
41 # RUN: %t/bitcode_strip.exe --help | FileCheck --check-prefix=BITCODE-STRIP %s
43 # BITCODE-STRIP: OVERVIEW: llvm-bitcode-strip tool