C++ demangling of 64-bit symbols on ppc64

Ian Lance Taylor iant@google.com
Fri Apr 6 00:55:00 GMT 2007


Maynard Johnson <maynardj@us.ibm.com> writes:

> >Or, we could change the interface to the demangler.  I don't think it
> >would be appropriate for the demangler to unconditionally remove
> >
> Why?  Are there some circumstances where the correct answer is
> returned, even if the symbol has leading dots?

I believe the demangler should by default strive to avoid converting
two different mangled symbol names to the same demangled string.  When
it does so, the output of nm --demangle becomes confusing.

Ian



More information about the Binutils mailing list