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]

Re: Demangler bugs


> 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


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