GCC to open the C++ demangle API?

Andrew Marlow apm35@student.open.ac.uk
Mon Mar 4 02:48:00 GMT 2002


There does not appear to be a public API for demangling C++ symbol
names with the GNU C++ compiler. The code is there in binutils because
c++filt uses it. However, the API has not been 'opened'. Any ideas why
this is (other than it being non-portable) ? 

IMO it would be good if
the GNU C++ compiler environment opened access to the demangling
routine. Other compiler environments have opened up the API.
There is demangle on HPUX, cplus_demangle on Solaris etc.

Regards,

Andrew M.




More information about the Gcc mailing list