[llvm] [llvm-cxxfilt][macOS] Don't strip underscores on macOS by default (PR #106233)
Michael Buch via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 12:59:47 PDT 2024
================
@@ -165,13 +165,9 @@ int llvm_cxxfilt_main(int argc, char **argv, const llvm::ToolContext &) {
return 0;
}
- // The default value depends on the default triple. Mach-O has symbols
- // prefixed with "_", so strip by default.
if (opt::Arg *A =
Args.getLastArg(OPT_strip_underscore, OPT_no_strip_underscore))
StripUnderscore = A->getOption().matches(OPT_strip_underscore);
----------------
Michael137 wrote:
nice, thanks!
https://github.com/llvm/llvm-project/pull/106233
More information about the llvm-commits
mailing list