<div dir="ltr">It demangles symbols by default, so we only have --no-demangle option. Feel free to add --demangle as an ignored option.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 7, 2016 at 4:28 PM, Davide Italiano <span dir="ltr"><<a href="mailto:davide@freebsd.org" target="_blank">davide@freebsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 7, 2016 at 4:04 PM, Rui Ueyama via llvm-commits<br>
<<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
> Author: ruiu<br>
> Date: Thu JulĀ 7 18:04:15 2016<br>
> New Revision: 274804<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=274804&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=274804&view=rev</a><br>
> Log:<br>
> Move demangle() from Symbols.cpp to Strings.cpp.<br>
><br>
> Symbols.cpp contains functions to handle ELF symbols.<br>
> demangle() function is essentially a function to work on a<br>
> string rather than on an ELF symbol. So Strings.cpp is a<br>
> better place to put that function.<br>
><br>
> This change also make demangle to demangle symbols unconditionally.<br>
> Previously, it demangled symbols only when Config->Demangle is true.<br>
><br>
<br>
</span>FWIW, lld currently doesn't accept --demangle<br>
<br>
[davide@localhost build-clang]$ ld.gold --demangle<br>
ld.gold: fatal error: no input files<br>
[davide@localhost build-clang]$ ld.lld --demangle<br>
warning: unknown argument: --demangle<br>
unknown argument(s) found<br>
<br>
<br>
Thanks,<br>
<br>
--<br>
Davide<br>
</blockquote></div><br></div>