This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch/libiberty]: Rewrite of ada_demangle
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Binutils <binutils at sourceware dot org>
- Date: Wed, 9 Dec 2009 13:17:25 +0100
- Subject: Re: [Patch/libiberty]: Rewrite of ada_demangle
- References: <F15337BC-7884-42AF-A54D-18E2943370F6@adacore.com>
> the Ada/GNAT demangler in libiberty is slightly outdated: it didn't handle
> many common encodings.
> In fact it is used only by binutils: both GCC and gdb have their own
> demangler. I plan to reuse the libiberty demangler for gdb and that's the
> reason why ada_demangle is now public.
It will need to be reused by GCC as well because of LTO, but invoked through
the common interface. See gimple.c:gimple_decl_printable_name.
--
Eric Botcazou