Demangling broken (was: Re: [PATCH] Demangler woes with current CVS and type names)

Phil Edwards phil@jaj.com
Fri Feb 1 14:00:00 GMT 2002


On Fri, Feb 01, 2002 at 07:50:10PM +0000, Jason Merrill wrote:
> >>>>> "H" == H J Lu <hjl@lucon.org> writes:
> 
> > 	(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
> > 	gnu_v3_demangling:
> 
> Not OK.  This will wreak the same havoc that Phil's original change did,
> just only with -s gnu-v3.  The type-handling behavior should be limited to
> command line arguments, it should never be active in filter mode.

What if HJ's patch were to turn on type demangling by default only when
the standalone c++filt were being built, and leave the current semantics
stand for the library?  (Is that what you're saying?)

My feeling is that users won't know to call c++filt with extra flags.


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