<div dir="ltr">Hi Rafael, comment explanation added now. Thanks.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 8:31 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">LGTM with a comment explaining the issue.<br>
<div class="HOEnZb"><div class="h5"><br>
On 20 December 2013 03:50, Andrew MacPherson <<a href="mailto:andrew.macp@gmail.com">andrew.macp@gmail.com</a>> wrote:<br>
> Thanks Joerg.<br>
><br>
> I've made the change you suggested and verified that it still works. I think<br>
> the noinline is still required though as this function can be called from a<br>
> couple of places and gdb will want to set its breakpoint on the single<br>
> function address. Let me know if you think otherwise though.<br>
><br>
> Cheers,<br>
> Andrew<br>
><br>
><br>
><br>
> On Fri, Dec 20, 2013 at 11:52 AM, Joerg Sonnenberger<br>
> <<a href="mailto:joerg@britannica.bec.de">joerg@britannica.bec.de</a>> wrote:<br>
>><br>
>> On Fri, Dec 20, 2013 at 11:18:46AM +0100, Andrew MacPherson wrote:<br>
>> > This patch forces it to leave the call using the method described here<br>
>> > in<br>
>> > the 'noinline' section:<br>
>><br>
>> Use asm volatile("":::"memory") to make sure that it doesn't leave<br>
>> trackes. The noinline can likely go in that case...<br>
>><br>
>> Joerg<br>
>> _______________________________________________<br>
>> LLVM Developers mailing list<br>
>> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
</div></div></blockquote></div><br></div>