This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Export bits of the demangler's internal interface


*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.


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