<br><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 10:03 PM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Jul 17, 2012 at 05:17:42PM +0400, Kostya Serebryany wrote:<br>
> > So in terms of lowering,<br>
> > LLVM could replace the "call __asan_report_read4" instruction with<br>
> > "pushq %0; jmp __asan_report_read4" or so. Alternatively, just change<br>
> > the ABI to not depend on __builtin_return_address sounds fine as well?<br>
> ><br>
><br>
> How?<br>
<br>
</div>I'm not sure how it can be abstracted in a general way. I'm not even<br>
sure it would help much either.<br></blockquote><div><br></div><div>I am actually quite satisfied with the code that LLVM generates for asan today. </div><div>I wouldn't change it at all, but there are those nasty compile-time performance issues down stream. </div>
<div>We thought that reducing the number of BBs will help. Apparently it made things worse due to increased number of PHIs. </div><div><br></div><div> --kcc</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5"><br>
Joerg<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>