<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 30, 2014 at 2:54 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 30 October 2014 13:54, Kostya Serebryany <<a href="mailto:kcc@google.com">kcc@google.com</a>> wrote:<br>
> We need to emit the actual DTOR instead of replacing it with the base class DTOR, because later in clang codegen this DTOR will be instrumented with __asan_unpoison_intra_object_redzone and its body will become non-empty<br>
<br>
</span>This is just a problem if the target destructor itself is not<br>
instrumented, right? I assume that is why this optimization is a<br>
problem but aliasing D2 and D1 is not?<br></blockquote><div><br></div><div>Right... </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div></div>