<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 29, 2014 at 11:21 AM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ramkumar,<br>
<span class=""><br>
On 28 October 2014 18:32, Ramkumar Ramachandra <<a href="mailto:artagnon@gmail.com">artagnon@gmail.com</a>> wrote:<br>
> Provide a full-fledged example of working variable arguments on X86_64,<br>
> since it's easily the most popular platform.<br>
<br>
</span>I don't think this is a good idea. The section is about all the<br>
varargs intrinsics and instructions, so the example should use all of<br>
them even if it does have to use a target other than x86_64.<br>
<br>
Also, a single example of x86's va_arg handling isn't going to be very<br>
enlightening for anyone: either you know the ABI and it's just the<br>
"obvious" LLVM IR, or you don't and you won't have a clue what's going<br>
on. It's a rather complex and initially confusing topic, and would<br>
probably deserve its own article if it's going to be documented.<br></blockquote><div><br></div><div>I agree.</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div></div>