-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ft_printf misbehaves on Apple Silicon #21
Comments
Variadic C functions implementation detailsApple SiliconApple documentation on what is specific to their architecture : writing arm64 code for apple platforms
In a way, this What is new here is that they specify a different calling convention for variadic functions that for other functions. (And that is why C functions interface in other languages had issues on Apple Silicon, e.g. Java Native Runtime FFI, CPython ctypes) Amd64To compare, on amd64
|
TL;DRSo. the difference is that So |
I initially took it by value for
|
Since we're hereInteresting reads : Having some fun
|
The other way aroundLet's now see what appends when the callee is actually variadic on Apple Silicon
|
The reinterpret casts seem to be at faultThe text was updated successfully, but these errors were encountered: