mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
3defb31026
When committing dba420bc05ae, I missed that a darwin-specific change had been recently introduced into llvm-cxxfilt, which my change ignored and consequently broke the darwin build bot. This change fixes this issue as well as improving naming/commenting of things related to this point so that people are less likely to run into the same issue as I did.
16 lines
669 B
Plaintext
16 lines
669 B
Plaintext
## Show the behaviour of --[no-]strip-underscore. This test does not test
|
|
## the platform-specific default behaviour. This is tested elsewhere.
|
|
|
|
RUN: llvm-cxxfilt -_ __ZN2ns1fE _ZSt1f _f | FileCheck %s -check-prefix CHECK-STRIPPED
|
|
RUN: llvm-cxxfilt --strip-underscore __ZN2ns1fE _ZSt1f _f | FileCheck %s -check-prefix CHECK-STRIPPED
|
|
RUN: llvm-cxxfilt -n __ZN2ns1fE _ZSt1f _f | FileCheck %s -check-prefix CHECK-UNSTRIPPED
|
|
RUN: llvm-cxxfilt --no-strip-underscore __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
|