view lphobos/llvm/va_list.d @ 983:6e68054cfc20

Fix out-ouf-source build for runtime as well. To build out-of-source, follow these steps: # [[Insert LLVM build instructions here]] mkdir my_build_dir cd my_build_dir svn co http://svn.dsource.org/projects/tango/trunk tango ccmake <PATH_TO_SOURCE> # (Regular ccmake stuff, press 'c' a few times followed by 'g') make make runtime # add `PWD`/bin to PATH closes #213
author Frits van Bommel <fvbommel wxs.nl>
date Thu, 19 Feb 2009 11:01:34 +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");

*/