Calling convention

Johan j at j.nl
Wed Nov 18 22:22:50 UTC 2020


On Wednesday, 18 November 2020 at 21:58:44 UTC, Jack Applegame 
wrote:
> On Wednesday, 18 November 2020 at 20:35:37 UTC, Elronnd wrote:
>> You may be interested in ldc.attributes.llvmAttr.
>>
>> https://wiki.dlang.org/LDC-specific_language_changes#.40.28ldc.attributes.llvmAttr.28.22key.22.2C_.22value.22.29.29
>
> I already tried llvmAttr("pcs", "aapcs") and 
> llvmAttr("__pcs__", "aapcs"), but nothing changed.

Calling conventions cannot be added with llvmAttr. We need a new 
magic attribute for it.

-Johan



More information about the digitalmars-d-ldc mailing list