On Thursday, 31 August 2017 at 03:58:14 UTC, Michael V. Franklin
wrote:
Just getting unresolved symbols?
Yeah, I was just wondering what if the output can be readable,
given that dmd is the one that invokes ld. Would be much more
human readable without piping through ddemangle. Thanks.
On Thursday, 31 August 2017 at 02:51:25 UTC, Arun Chandrasekaran
wrote:
I was looking at src/ddmd/link.d, has the below that reads the
output of ld.
Ah, right you are. My apologies.
It'd probably be simple enough to have that demangling on by
default. Maybe I'll give it a go later today.
On Thursday, 31 August 2017 at 02:31:24 UTC, Michael V. Franklin
wrote:
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 doe
Arun Chandrasekaran wrote:
Just a thought. Can dmd demangle the symbols before spitting the output
of ld to stderr?
p.s.: redirecting output to ddemangle may work too, as ddemange will try to
detect mangled DMD names, and won't modify other text. this way you can,
for example, dem
Arun Chandrasekaran wrote:
Just a thought. Can dmd demangle the symbols before spitting the output
of ld to stderr?
no need to ;-) just add this to DFLAGS in dmd.conf, "Envirnment" section:
-L--demangle=dlang
so, it should look something like this:
..
[Environment]
DFLAGS= -L
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 t
Just a thought. Can dmd demangle the symbols before spitting the
output of ld to stderr?