Skip to content
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

Fix code generation for variadic FFI functions on arm64 #3768

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

ergl
Copy link
Member

@ergl ergl commented Jun 1, 2021

We need to tell LLVM about the non-optional arguments that a variadic
function takes, but we were generating functions with no fixed arguments
at all, even if the declaration specified them.

@ergl ergl added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Jun 1, 2021
@ergl ergl marked this pull request as draft June 1, 2021 10:24
@ergl ergl force-pushed the ergl/fix_variadic_codegen branch from 3c2e45b to aee0b69 Compare June 1, 2021 10:25
We need to tell LLVM about the non-optional arguments that a variadic
function takes, but we were generating functions with no fixed arguments
at all, even if the declaration specified them.
@ergl ergl force-pushed the ergl/fix_variadic_codegen branch from aee0b69 to 16b0518 Compare June 1, 2021 12:34
@ergl ergl marked this pull request as ready for review June 1, 2021 12:34
@SeanTAllen SeanTAllen merged commit 304692a into main Jun 1, 2021
@SeanTAllen SeanTAllen deleted the ergl/fix_variadic_codegen branch June 1, 2021 18:17
github-actions bot pushed a commit that referenced this pull request Jun 1, 2021
github-actions bot pushed a commit that referenced this pull request Jun 1, 2021
@redvers redvers mentioned this pull request Jul 7, 2021
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants