Demangling broken (was: Re: [PATCH] Demangler woes with current CVS and type names)
Phil Edwards
phil@jaj.com
Thu Jan 31 13:59:00 GMT 2002
On Thu, Jan 31, 2002 at 07:28:55PM +0100, Hans-Peter Nilsson wrote:
> > Does it ever make sense for any demangling anywhere -- i.e., for non-types --
> > to only partially consume a mangled string? (I wouldn't think so, but...)
>
> I don't know either, but supposedly it can stop at characters
> not in the mangled set. I don't remember if it has to eat all
> characters fed to it to be considered successful.
Hmm. Okay, I won't go that route.
> Either way seems a partial solution, solving the "data" ->
> "double" error, but not to the "d" -> "double" error.
Ah, I see the problem more clearly now; thanks. Yes, it looks like an option
is needed. I'll look into some kind of "no type demangling" flag somewhere.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams
More information about the Binutils
mailing list