1 ## Show the behaviour of --[no-]strip-underscore. This test does not test
2 ## the platform-specific default behaviour. This is tested elsewhere.
4 RUN: llvm-cxxfilt -_ __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-STRIPPED
5 RUN: llvm-cxxfilt --strip-underscore __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-STRIPPED
6 RUN: llvm-cxxfilt -n __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-UNSTRIPPED
7 RUN: llvm-cxxfilt --no-strip-underscore __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-UNSTRIPPED
10 CHECK-STRIPPED: _ZSt1f
12 CHECK-STRIPPED: ._Z3f.0v
14 CHECK-UNSTRIPPED: __ZN2ns1fE
15 CHECK-UNSTRIPPED: std::f
17 CHECK-UNSTRIPPED: _._Z3f.0v