comparison lphobos/llvm/va_list.d @ 55:0ccfae271c45 trunk

[svn r59] Added support for C-style variadic functions. Currently only works on x86, x86-64 va_arg is broken in LLVM 2.1. PPC and PPC64 unknown. Updates to runtime. Rebuild!
author lindquist
date Wed, 24 Oct 2007 22:18:06 +0200
parents
children
comparison
equal deleted inserted replaced
54:28e99b04a132 55:0ccfae271c45
1 module llvm.va_list;
2
3 alias void* va_list;
4
5 /*
6
7 version(X86)
8 {
9 alias void* va_list;
10 }
11 else version(X86_64)
12 {
13 struct X86_64_va_list
14 {
15 uint gp_offset;
16 uint fp_offset;
17 void* overflow_arg_area;
18 void* reg_save_area;
19 }
20 alias X86_64_va_list va_list;
21 }
22 else
23 static assert("only x86 and x86-64 support va_list");
24
25 */