Runtime for ARM
David Nadlinger
see at klickverbot.at
Tue May 14 20:30:14 PDT 2013
On Saturday, 23 March 2013 at 15:12:29 UTC, Kai Nacke wrote:
> There is now a patch available in the bug report. At first look
> it seems that it fixes the problem.
> I tried to compile druntime but (as usual) I get a lot of
> "error: undefined identifier va_list" messages. That was the
> same with PPC64....
The patch is still being discussed on the LLVM lists, and it
looks like it is a very incomplete solution.
In any case, it shouldn't really be a blocker for us, as we need
to implement ABI transforms similar to x86_64 anyway to handle
the ARM EABI (with and without VFP/hardfloat):
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf
(see e.g. section 5.5)
The Clang source has a couple of interesting test cases, for
example:
https://github.com/llvm-mirror/clang/blob/master/test/CodeGen/arm-arguments.c
https://github.com/llvm-mirror/clang/blob/master/test/CodeGen/arm-aapcs-vfp.c
David
More information about the digitalmars-d-ldc
mailing list