mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 20:03:14 +01:00
26 lines
360 B
D
26 lines
360 B
D
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");
|
|
|
|
*/
|