[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] passing struct by value does not respect x86_64 SysV ABI (#443)
notifications at github.com
Wed Nov 6 19:13:07 UTC 2019
The case when a structure passed by value is passed via memory (thru a pointer), via registers, or just stack, same for structure return value is much more complex than what is programmed currently in both FFI and Alien (FFI and Alien currently do not even agree...).
This badly need more test cases and more attention.
See squeak-dev thread **[squeak-dev] Alien primFFICall returning struct with 64bit vm**
See draft for ABI, near page 21 and 24 (not very clear)
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev