llvm 3.6 and x86 (32-bit) varargs bad stack adjust

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Jul 15 11:34:39 PDT 2015


On Tuesday, 14 July 2015 at 12:04:57 UTC, David Nadlinger wrote:
> On Monday, 13 July 2015 at 04:34:00 UTC, Kai Nacke wrote:
>> There is no ldc issue yet. Did you check with LLVM 3.7? If we 
>> can produce a LLVM bug report then we could try to set this as 
>> a release blocker. Branching for the 3.7 release is tomorrow.
>
> So if this is really an LLVM bug that we cannot work around 
> easily, what is our plan for the next LDC release(s)?
>
>  — David

I think now that it is not an LLVM bug because stdcall does not 
support variadic arguments. Solution is to use the C calling 
convention. DMD seems to do something similar.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list