<div style="font-family: arial, helvetica, sans-serif"><font size="2"><div class="gmail_quote">On Fri, Jun 15, 2012 at 5:47 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:arial,helvetica,sans-serif"><font size="2"><div class="gmail_quote"><div class="im">On Fri, Jun 15, 2012 at 5:41 PM, Chad Rosier <span dir="ltr"><<a href="mailto:mcrosier@apple.com" target="_blank">mcrosier@apple.com</a>></span> wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matt,<div class="im"><br>
I just wanted to let you know I'm working on a fix for this.  There's actually two issues going on here: (1) the issue you've pointed out and (2) the -mstackrealignment is forcing realignment when it's not necessary (i.e., the ABI alignment is >= then the forced alignment).  I haven't figured out a fix for (1), but I have a solution for (2) and fixing that will solve your problem.  Hopefully, I'll have this done in the next few days.  If you need a fix before then feel free to revert this commit.<br>

</div></blockquote><div><br></div><div>Unfortunately, the case we're hitting is actually #1, I suspect it's just this repro that is solved by #2. We might be able to adapt the repro to work w/ normal x86 and demonstrate this issue even w/ #2 solved.</div>

<div><br></div><div>We're blocked on this, can we revert and carry on?</div></div></font></div>
</blockquote></div><br><div>Also, I should mention, I'm really excited about fixing #2 -- it will likely speed up ASan on ABIs that have nicely aligned stacks!</div></font></div>