mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
d73327ebbc
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. llvm-svn: 292759
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
|
|
|