[RISCV] Rename a lambda to have plural nouns to reflect that it contains a loop. NFC
[llvm-project.git] / llvm / test / tools / llvm-cxxfilt / strip-underscore.test
blob60c530acf0be4a8832bfe436fdec3ca37d8ac449
1 ## Show the behaviour of --[no-]strip-underscore.
3 RUN: llvm-cxxfilt -_ ___ZN2ns1fE _____Z1fi_block_invoke _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-STRIPPED
4 RUN: llvm-cxxfilt --strip-underscore __ZN2ns1fE _____Z1fi_block_invoke _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-STRIPPED
5 RUN: llvm-cxxfilt -n ___ZN2ns1fE _____Z1fi_block_invoke _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-UNSTRIPPED
6 RUN: llvm-cxxfilt --no-strip-underscore ___ZN2ns1fE _____Z1fi_block_invoke _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-UNSTRIPPED
7 RUN: llvm-cxxfilt -n -_ _ZSt1f | FileCheck %s -check-prefix OVERRIDE-STRIPPED
8 RUN: llvm-cxxfilt -_ -n _ZSt1f | FileCheck %s -check-prefix OVERRIDE-UNSTRIPPED
10 CHECK-STRIPPED: ns::f
11 CHECK-STRIPPED: invocation function for block in f(int)
12 CHECK-STRIPPED: _ZSt1f
13 CHECK-STRIPPED: _f
14 CHECK-STRIPPED: ._Z3f.0v
16 CHECK-UNSTRIPPED: ___ZN2ns1fE
17 CHECK-UNSTRIPPED: _____Z1fi_block_invoke
18 CHECK-UNSTRIPPED: std::f
19 CHECK-UNSTRIPPED: _f
20 CHECK-UNSTRIPPED: _._Z3f.0v
22 OVERRIDE-STRIPPED:   _ZSt1f
23 OVERRIDE-UNSTRIPPED: std::f