r192300 - Use aliases for more constructors and destructors.

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


The attached patch should fix it.  Is it OK?

On 9 October 2013 17:14, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 3449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131009/7a25d8f7/attachment.obj>


More information about the cfe-commits mailing list