This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Export bits of the demangler's internal interface
- From: DJ Delorie <dj at redhat dot com>
- To: drow at mvista dot com
- Cc: gcc-patches at gcc dot gnu dot org, ian at airs dot com
- Date: Tue, 30 Dec 2003 16:51:15 -0500
- Subject: Re: Export bits of the demangler's internal interface
- References: <20031230213416.GA16140@nevyn.them.org>
*If* such APIs are exported (which I'm not yet addressing), we'd have
to consider the namespace pollution aspects of all those functions.
It's not just the header, it's that libiberty.a will now have far more
global symbols in it.
I would also recommend that include/cp-demangle.h be protected with
something like '#ifdef IN_GDB' to make it obvious that the interface
is ONLY for gdb.