mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-24 14:26:48 +00:00

Add the `--strip-underscore` option to llvm-cxxfilt to strip the leading underscore. This is useful for when dealing with targets which add a leading underscore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292759 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
313 B
Plaintext
12 lines
313 B
Plaintext
RUN: llvm-cxxfilt -_ __ZN2ns1fE _ZSt1f _f | FileCheck %s -check-prefix CHECK-STRIPPED
|
|
RUN: llvm-cxxfilt __ZN2ns1fE _ZSt1f _f | FileCheck %s -check-prefix CHECK-UNSTRIPPED
|
|
|
|
CHECK-STRIPPED: ns::f
|
|
CHECK-STRIPPED: _ZSt1f
|
|
CHECK-STRIPPED: _f
|
|
|
|
CHECK-UNSTRIPPED: __ZN2ns1fE
|
|
CHECK-UNSTRIPPED: std::f
|
|
CHECK-UNSTRIPPED: _f
|
|
|