This is the mail archive of the gcc@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: GCC to open the C++ demangle API?


On Mon, Mar 04, 2002 at 12:28:03PM -0500, Phil Edwards wrote:

> To be a drop-in replacement for the libiberty stuff, you would need to
> provide those two functions as wrappers to your own demangler.  That way
> existing code won't change.  Take a look at libiberty/cp-demangle.c.

Would this mean I can get the source code equivalent of "c++filt -s
auto" without having to link against the rest of the code ?

As it is it's impossible to split out the demangler code from much of
the rest of libiberty (without making bug merges difficult)

That's what I personally would like.

regards
john

-- 
I am a complete moron for forgetting about endianness. May I be
forever marked as such.


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