[patch] Don't use alias from derived dtor to base dtor at -O0

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Nov 12 10:17:11 PST 2013


The attached patch disables aliasing (and rauw) of derived dtors to
base dtors at -O0. This optimization can have a negative impact on the
debug quality.

This was a latent bug for some time with local classes, but got
noticed when it was generalized and broke gdb's destrprint.exp.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 2842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131112/35679a62/attachment.bin>


More information about the cfe-commits mailing list