Problems with __cxa_demangle and the verbose terminate handler
Gabriel Dos Reis
gdr@integrable-solutions.net
Tue Feb 24 01:08:00 GMT 2004
Benjamin Kosnik <bkoz@redhat.com> writes:
| Three solutions to this problem are:
|
| 1) keep the default terminate handler __verbose_terminate_handler, and
| make people using libsupc++ set the new handler to std::abort
|
| 2) keep the default terminate handler __verbose_terminate_handler, and
| make __cxa_demangle self-contained.
|
| 3) switch the default terminate handler to std::abort
|
| Perhaps there are other options, but #2 seems to be the only workable
| solution for all the issues.
|
| I don't know how to do #2 with the current demangler sources in
| libstdc++.
If the verbose terminator is going to be the riding horse for people
to demand the removal of the C++-based demangler, I'll vote #3 -- even
though I find the verbose terminator useful.
-- Gaby
More information about the Libstdc++
mailing list