fabs not being inlined?

kinke noone at nowhere.com
Tue Feb 12 12:19:10 UTC 2019


On Tuesday, 12 February 2019 at 07:46:24 UTC, Radu wrote:
> On Monday, 11 February 2019 at 23:52:50 UTC, Stefan Koch wrote:
>> On Saturday, 9 February 2019 at 15:38:55 UTC, kinke wrote:
>>> [...]
>>
>> IIRC __chkstk is a msvcrt call to dynamically grow the stack.
>> There might be a hidden dependency introduced by llvm?
>
> A good explanation on this:
> https://metricpanda.com/rival-fortress-update-45-dealing-with-__chkstk-__chkstk_ms-when-cross-compiling-for-windows

I wanted to spare you the details, but that's the workaround 
which at least works without LTO: 
https://github.com/ldc-developers/druntime/blob/ldc/src/rt/msvc.c#L93-L99


More information about the digitalmars-d-ldc mailing list