This is the mail archive of the gcc-bugs@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: Need help with name demangling


> 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


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