This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Need help with name demangling
- To: tm at netcom dot com
- Subject: Re: Need help with name demangling
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 19 Sep 1998 10:03:09 +0200
- CC: egcs-bugs at cygnus dot com
- References: <199809182340.QAA14259@netcom8.netcom.com>
> Is there a name mangling/demangling utility for g++?
Please try <prefix>/bin/c++filt.
> We're having some problems where the compiler generates a bogus call to a
> destructor which should never be generated because the destructor is
> virtual, and it's difficult to tell which call in the generated assembly
> is the culprit because all the names are mangled...
A destructor is always called, even if it is virtual and you are
destroying a derived-class instance. After the destructor of the
derived class is done, the base class destructor is called.
Regards,
Martin