On Mon, 30 Nov 2026 18:41:53 GMT, Andrew Haley <[email protected]> wrote:

> Ouch, thanks. I always knew that Apple's rather, er, elaborate calling 
> convention was trouble.

Yeah... what makes it worse is that handling for stack arguments is slightly 
different on Linux and Windows as well, and then again when you throw variadic 
functions into the mix. We need a table to describe all the scenarios: 
https://github.com/openjdk/jdk/blob/8fcb1c5b69c6144a3447591dfda10a4cecd134bc/src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java#L239-L264

-------------

PR Comment: https://git.openjdk.org/jdk/pull/34130#issuecomment-7289076443

Reply via email to