• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Don't make symlinks on Windows.
2# UNSUPPORTED: system-windows
3
4# RUN: rm -rf %t
5# RUN: mkdir %t
6
7# RUN: ln -s llvm-objcopy %t/llvm-objcopy-11.exe
8# RUN: ln -s llvm-objcopy %t/powerpc64-unknown-freebsd13-objcopy
9
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
13
14# OBJCOPY: OVERVIEW: llvm-objcopy tool
15
16# RUN: ln -s llvm-strip %t/strip.exe
17# RUN: ln -s llvm-strip %t/gnu-llvm-strip-10
18
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
22
23# STRIP: OVERVIEW: llvm-strip tool
24
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
28
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
32
33# INSTALL: OVERVIEW: llvm-install-name-tool tool
34
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
38
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
42
43# BITCODE-STRIP: OVERVIEW: llvm-bitcode-strip tool
44