Runtime for ARM

Paolo Invernizzi pinver at pinver.com
Tue May 14 20:30:13 PDT 2013


On Monday, 4 March 2013 at 13:13:15 UTC, David Nadlinger wrote:
> On Monday, 18 February 2013 at 13:03:46 UTC, Paolo Invernizzi 
> wrote:
>> Thanks Kai, bug added:
>>
>> http://llvm.org/bugs/show_bug.cgi?id=15293
>
> Does using llvm::CallingConv::C by default help as a workaround 
> (https://github.com/ldc-developers/ldc/blob/master/gen/abi.cpp#L53)?
>
> As the official docs should say that »the extern (D) calling 
> convention matches the C calling convention used by the 
> supported C compiler on the host system«, this should probably 
> be changed anyway.
>
> David

Hi David,

I've tried with the latest master, changing the LINKdefault from 
Fast to C, but I have the same ice, on the reduced example I've 
posted above.

The problem is that right now I'm a little under pressure on 
work, so I've almost no time to dig into LLVM for trying to 
resolve the bug... *sigh*

/Paolo


More information about the digitalmars-d-ldc mailing list