This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Demangler bugs
- To: schwab at issan dot cs dot uni-dortmund dot de
- Subject: Re: Demangler bugs
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 17 Apr 1999 01:22:21 +0200
- CC: egcs at cygnus dot com
- References: <vyz90btymq5.fsf@issan.cs.uni-dortmund.de>
> The following symbols from libstdc++ cannot be demangled:
I think I've seen this before. c++filt looks for a double-underscore,
and finds the wrong one.
> __apl__t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0PCc
If you just want to find out what this is, remove the inner __
__apl__t12basic_string3ZcZt18string_char_traits1ZcZt23_default_alloc_template2b1i0PCc
this gives
basic_string<char, string_char_traits<char>, _default_alloc_template<true, 0> >::operator*(char const *)
I believe there is no 'perfect' solution, unless some sort of
back-tracking is implemented.
Regards,
Martin