Skip to content

Correctly call function pointers in arm64#463

Merged
mschoema merged 4 commits intoMobilityDB:developfrom
estebanzimanyi:arm
Apr 2, 2024
Merged

Correctly call function pointers in arm64#463
mschoema merged 4 commits intoMobilityDB:developfrom
estebanzimanyi:arm

Conversation

@mschoema
Copy link
Copy Markdown
Member

@mschoema mschoema commented Apr 2, 2024

Cast the lifted function back to a static parameter function before calling it in the lifting code.
This is required because arm64 has different calling conventions for static and variadic functions (unlike x86_64).

See this link for a description of the problem and this link for the solution.

This PR also cleans up the rest of the lifting code a little.

@mschoema mschoema requested a review from estebanzimanyi April 2, 2024 10:41
@mschoema mschoema merged commit 01db74b into MobilityDB:develop Apr 2, 2024
@mschoema mschoema deleted the arm branch April 2, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants