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

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Jul 12 21:33:58 PDT 2015


On Sunday, 12 July 2015 at 07:09:33 UTC, Dan Olson wrote:
> I haven't been paying attention, so perhaps this is old news.  
> D varargs is broken with LDC 0.15.2 and LLVM 3.6 releases.  It 
> looks like an incorrect stack adjust is being added by backend 
> after the function call.  I noticed when I ran unittests and 
> std.outbuffer plus other unittests segv.
>
> I tried LLVM 3.6.0, 3.6.1, and latest version on release_36 
> branch.  All fail same way.  LLVM 3.5 seems ok.
>
> Is there an Issue on this yet?
> --
> Dan

Hi Dan!

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.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list