This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++] Make use of runtime demangler
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Carlo Wood <carlo at alinoe dot com>, Phil Edwards <phil at jaj dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 01 Apr 2002 10:39:15 -0800
- Subject: Re: [libstdc++] Make use of runtime demangler
- References: <Pine.SOL.3.91.1020401102313.29244B-100000@taarna.cygnus.com>
--On Monday, April 01, 2002 10:27:50 AM -0800 Benjamin Kosnik
<bkoz@redhat.com> wrote:
>
>> If your demangler is better, we can replace the one in libiberty with
>> yours. Or, we can take the one in libiberty and fix the problems you've
>> found. We certainly should end up with only one demangler at the end
>> of the day.
>
> Ok. So, the idea of taking the demangler out of libiberty is still sound,
> regardless of if the definition of __cxa_demangle is to remain the same as
> it is now?
Yes. The nice thing about an interface is we can change the
implementation... But, the demangler belongs in libiberty so that it can
be used in c++filt, gdb, etc.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com