[Issue 14698] Un-mangle symbols in disassembly?

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 29 01:59:21 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14698

--- Comment #11 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Rainer Schuetze from comment #9)
> > Support was added in binutils 2.25
> 
> I've build this version, but noticed that it doesn't demangle full text
> files, just the arguments given on the command line. Instead, it reports
> "Internal error: no symbol alphabet for current style". That has an easy
> fix, though.
> 
> As cxxfilt will very likely never support compressed symbols aswell as MS
> mangled symbols, I've compiled my own version supporting all 3 manglings
> (D/gcc/cl) including compression.
> 

Nice wrapper you've got there.  The next version of binutils/gdb will have
pretty much near complete 2.068 support. In my local tests, it managed to
demangle all symbols in Phobos and druntime (core.demangle barely got 20% - and
even then some were massively incorrect).

--


More information about the Digitalmars-d-bugs mailing list