When Compilers Disagree on the ABI
GCC and Clang compile the same function to two different calling conventions, and that breaks a promise libffi makes.
GCC and Clang compile the same function to two different calling conventions, and that breaks a promise libffi makes.
libffi re-derives the same argument layout on every call. A new API lets a caller build that layout once and reuse it, several times faster, with no writable-executable memory.