<div dir="ltr">+cc cfe-commits<div class="gmail_extra"><br>On Mon, Apr 1, 2013 at 2:43 PM, Alexey Samsonov <span dir="ltr"><<a href="mailto:samsonov@google.com" target="_blank">samsonov@google.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>This patch adds a tiny bit to r177819: it turns on emitting lifetime markers for all auto variables under -fsanitize=use-after-scope mode. LLVM part of this mode is already implemented and adds calls to ASan runtime that mark the memory as addressable before llvm.lifetime.start() and "unaddressable" after llvm.lifetime.end().</div>
<div><br></div><div>Also note that currently there is a problem with simplifycfg: it may kill llvm.lifetime.start intrinsics at the beginning of some basic blocks. Do you think it may harm you?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>
</div></font></span></div>
</blockquote></div><br><br>-- <br><div>Alexey Samsonov, MSK</div>
</div></div>