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

Inject a "global pointers array". #122

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

vext01
Copy link

@vext01 vext01 commented Mar 21, 2024

Companion to ykjit/yk#1051

This change adds (to the AOT LLVM module) an array containing the addresses of all global variables in the module.

We can use this to find the addresses of global variables (by index) without leaning on dlsym(3).

This change adds (to the AOT LLVM module) an array containing the
addresses of all global variables in the module.

We can use this to find the addresses of global variables (by index)
without leaning on dlsym(3).
@ltratt
Copy link

ltratt commented Mar 21, 2024

LGTM.

1 similar comment
@ptersilie
Copy link

LGTM.

@ptersilie ptersilie added this pull request to the merge queue Mar 21, 2024
@ltratt ltratt removed this pull request from the merge queue due to a manual request Mar 21, 2024
@ltratt
Copy link

ltratt commented Mar 21, 2024

I'll restart this again shortly: just realised that we don't have ykllvm_caching set up properly on b16.

@ltratt ltratt added this pull request to the merge queue Mar 21, 2024
Merged via the queue into ykjit:main with commit 69a5b5a Mar 21, 2024
2 checks passed
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.

3 participants