xref: /llvm-project/llvm/test/tools/llvm-driver/symlink-call.test (revision 2805e6faad7795ed0846010e3e7ad41460030758)
1## Don't make symlinks on Windows.
2# UNSUPPORTED: system-windows
3# REQUIRES: llvm-driver
4
5# RUN: rm -rf %t
6# RUN: mkdir %t
7# RUN: ln -s %llvm %t/llvm-cxxfilt
8# RUN: %t/llvm-cxxfilt --help | FileCheck %s
9# RUN: ln -s %llvm %t/llvm-cxxfilt-15
10# RUN: %t/llvm-cxxfilt-15 --help | FileCheck %s
11# RUN: ln -s %llvm %t/cxxfilt
12# RUN: %t/cxxfilt --help | FileCheck %s
13# RUN: ln -s %llvm %t/cxxfilt-15
14# RUN: %t/cxxfilt-15 --help | FileCheck %s
15# RUN: ln -s %llvm %t/cxxfilt-15.exe
16# RUN: %t/cxxfilt-15.exe --help | FileCheck %s
17# RUN: ln -s %llvm %t/c++filt
18# RUN: %t/c++filt --help | FileCheck %s
19
20# RUN: ln -s %llvm %t/llvm-15
21# RUN: %t/llvm-15 cxxfilt --help | FileCheck %s
22# RUN: ln -s %llvm %t/llvm-15.exe
23# RUN: %t/llvm-15.exe cxxfilt --help | FileCheck %s
24
25# CHECK: OVERVIEW: LLVM symbol undecoration tool
26