Displaying 2 results from an estimated 2 matches for "i_va_arg".
2003 May 08
0
[LLVMdev] New support for variable argument functions & intrinsic functions
...cally, support has been added for the C <stdarg.h> header.
This involved the addition of three new intrinsics and a new LLVM
va_arg instruction. These are documented here:
http://llvm.cs.uiuc.edu/docs/LangRef.html#int_varargs
http://llvm.cs.uiuc.edu/docs/LangRef.html#i_va_arg
Support for variable argument functions has been added to LLI, the C
backend, and the X86 JIT. The _new_ C front-end also generates
these correctly. A testcase has been checked in here:
test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c
Let me know if you have any q...
2014 Oct 29
2
[LLVMdev] [PATCH] LangRef: va_arg doesn't work on X86_64; update example
...t;""
@@ -6879,29 +6880,44 @@ value type "``va_list``". The LLVM assembly language reference manual
does not define what this type is, so all transformations should be
prepared to handle these functions regardless of the type used.
-This example shows how the :ref:`va_arg <i_va_arg>` instruction and the
-variable argument handling intrinsic functions are used.
+This example shows how the variable argument handling is done on
+x86_64. The complexity arises from the fact that ``va_arg`` does not
+work on this type of ``va_list``.
.. code-block:: llvm
+ %struct.__va_l...