Binutils 2.25 Released - New D demangling support
Kiith-Sa via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Jan 13 13:39:58 PST 2015
On Tuesday, 13 January 2015 at 21:31:15 UTC, Iain Buclaw wrote:
> Hi,
>
> I'm not sure when it was announced, but binutils 2.25 has been
> released! There's a small reason for excitement as it is the
> first to come with D demangling support in the GNU toolchain.
>
> Unfortunately, I forgot to send in patches that actually
> document it! So for the moment, it's a little secret feature
> shared between all who may read this. :o)
>
>
> How do you use it?
> ---
>
> By default, binutils programs will treat all mangled symbols as
> C++, however you can override this by using --demangle=dlang,
> eg:
>
> objdump -d --demangle=dlang prog.o
>
> nm --demangle=dlang ddmd
>
>
> You can also kickstart your usage by putting -L--demangle=dlang
> in your dmd.conf, and watch your obscure linker errors turn
> into pretty function signatures.
Could you add this note somewhere visible into the wiki so it
doesn't get lost?
Also, could DMD do this by default if available so it works out
of the box?
More information about the Digitalmars-d-announce
mailing list