Mercurial > projects > ldc
view lphobos/llvm/va_list.d @ 896:fcab41e144c9
Makes sure only function definitions inside templates get weak linkage, llvm doesn't allow weak linkage on just declarations, so we use external linkage for those. Fixes #162
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 22 Jan 2009 17:26:50 +0100 |
parents | 0ccfae271c45 |
children |
line wrap: on
line source
module llvm.va_list; alias void* va_list; /* version(X86) { alias void* va_list; } else version(X86_64) { struct X86_64_va_list { uint gp_offset; uint fp_offset; void* overflow_arg_area; void* reg_save_area; } alias X86_64_va_list va_list; } else static assert("only x86 and x86-64 support va_list"); */