<div dir="ltr">+1<div><br></div><div>ASan should replace dynamic allocas with runtime calls that delegate to malloc. Poisoning will work out of the box with no changes.</div><div><br></div><div>We will need additional runtime handling to deal with VLAs, which use llvm.stacksave / llvm.stackrestore.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 5:20 PM, Kostya Serebryany <span dir="ltr"><<a href="mailto:kcc@google.com" target="_blank">kcc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I did not give much thought to dynamic allocas, but what if we simply replace them with run-time calls somehow?<br>
Maybe we could reuse the FakeStack here somehow?<br>
<br>
Alexey, you've been touching the Alloca's recently, and was going to touch them more. Thoughts?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
REPOSITORY<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D7098" target="_blank">http://reviews.llvm.org/D7098</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>