mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-06-16 21:54:09 +02:00
We can't simply use the C calling convention, as the D(MD) ABI is callee-pop, and this is hardcoded in naked functions with stack parameters. The \1 "trick" is normally used to avoid prefixes added by LLVM; on the 3.2 release, a patch is needed to make it work for the @<n> stdcall suffixes as well.
7.9 KiB
7.9 KiB