dmd demangle
Michael V. Franklin via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 30 19:31:24 PDT 2017
On Thursday, 31 August 2017 at 02:20:00 UTC, Arun Chandrasekaran
wrote:
> Just a thought. Can dmd demangle the symbols before spitting
> the output of ld to stderr?
dmd doesn't print the output of ld to stderr, ld does.
I believe binutils has some support for D symbol demangling
thanks to the GDC folks. I tried it once:
http://forum.dlang.org/post/bdmsrcczmizevhxorquo@forum.dlang.org
So I think you need to find a way to pass --demangle=dlang to ld.
Maybe `dmd program.d -L--demangle=dlang`?
Mike
More information about the Digitalmars-d
mailing list