analysis of libiberty/cp-demangle.c for libsupc++/__cxa_demangle

Carlo Wood carlo@alinoe.com
Wed Feb 25 21:15:00 GMT 2004


On Wed, Feb 25, 2004 at 10:32:49AM -0600, Benjamin Kosnik wrote:
> 1) your patch of yesterday + my patches to add an type parameter get
> applied to demangle.h.
> 
> 2) this gets moved to include/ext/demangle.h
> 
> 3) We move __cxa_demangle into libsupc++ and use libiberty's code for this function.
> 
> Thoughts? Is this acceptable to everybody? 

Ok with me.  I also don't see a way to make it freestanding.
I did that in the past (make my demangler not depend on libstdc++)
but I forgot how and the code for that was lost in the meantime.
It was a bit dirty anyways, it would not be the best solution
now that libiberty has a good implementation.

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Libstdc++ mailing list