mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
a7bce70eed
Summary: For platform that uses macho format, c++filt should be stripping the leading underscore by default. Introduce the binutil compatible "-n" option to control strip-undercore behaivor together with the existing "-_" option and fallback to system default if none of them are set. rdar://problem/57173514 Reviewers: compnerd, erik.pilkington, dexonsmith, mattd Reviewed By: compnerd, erik.pilkington Subscribers: jkorous, ributzka, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70250
10 lines
219 B
Plaintext
10 lines
219 B
Plaintext
# Show that llvm-cxxfilt can handle empty lines in the input.
|
|
RUN: echo "" > %t
|
|
RUN: echo "_Z3foov" >> %t
|
|
RUN: echo "" >> %t
|
|
RUN: llvm-cxxfilt -n < %t | FileCheck %s
|
|
|
|
CHECK: {{^$}}
|
|
CHECK-NEXT: foo()
|
|
CHECK-EMPTY:
|