r192300 - Use aliases for more constructors and destructors.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 9 14:14:32 PDT 2013


The problem seems to be that clang produces

_ZN7DerivedD1Ev = _ZN7DerivedD2Ev
_ZN7DerivedD2Ev = _ZN4BaseD2Ev

While gcc is less aggressive:

.set _ZN7DerivedD1Ev,_ZN7DerivedD2Ev

Should we disable the "derived destructor == base destructor"
optimization at -O0?

Cheers,
Rafael



More information about the cfe-commits mailing list