LDC calling convention

kinke noone at nowhere.com
Wed Apr 10 10:35:40 UTC 2019


It is the SysV ABI, with the exception that the 
arguments/parameters are reversed for extern(D) - the rightmost 
parameter is passed in the first register etc. That's what DMD 
does and required for compatibility with DMD-style inline 
assembly in druntime/Phobos.


More information about the digitalmars-d-ldc mailing list