This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libstdc++] Make use of runtime demangler


On Sat, Mar 30, 2002 at 03:21:27PM +0100, Carlo Wood wrote:
> On Fri, Mar 29, 2002 at 06:29:24PM -0500, Phil Edwards wrote:
> > This builds the new __cxa_demangle'r into the C++ support library.
> 
> Just asking because last thing I knew was that the problem
> of adding my demangler to libiberty and the C++ support library
> was a license problem (the FSF would refuse to allow another
> license than the GPL); but my demangler would be better.
> So, when now another demangler is added - then apparently the
> license problem is solved and I wonder why not my demangler is
> added instead.

The cxa_demangler isn't really being added -- it's always been there.
We just haven't been able to link to it from the library directly.

I second Bejamin's questions -- please describe why exactly your demangler is
better, and post a patch to allow a call to __cxa_demangle() to resolve to
your demangler instead.  I don't particularly care offhand which demangler
is doing the underlying work.  Maybe we can offer configure options to
use arbitrary external demanglers, like we're doing now with "libunwind".


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]