Repository navigation
dlopen: Introduce the ChapelProgramRegistration.chpl module - #28720
Merged
dlongnecke-cray merged 3 commits intoApr 30, 2026
Merged
Conversation
jabraham17
reviewed
Apr 24, 2026
Comment on lines
+79
to
+83
| // NOTE: This absolutely, should not, under ANY circumstances, create a | ||
| // Chapel procedure pointer from 'callback'! The only thing that | ||
| // should be happening here is to cast the local address of the | ||
| // 'callback' to a 'void*'! (Otherwise, everything explodes...) | ||
| const ptr1: c_fn_ptr = __primitive("capture fn", callback, true); |
Comment on lines
+137
to
+138
| // TODO: In the future we can generate a module containing this function by | ||
| // using a script, similiar to what we do for 'SysCTypes.chpl'. |
Member
There was a problem hiding this comment.
oh yeah this is gonna need to be generated, I can already see it becoming unwieldy
dlongnecke-cray
force-pushed
the
dynamic-loading-30
branch
from
April 27, 2026 23:48
94577b3 to
900d33f
Compare
jabraham17
approved these changes
Apr 28, 2026
Signed-off-by: David Longnecker <dlongnecke-cray@users.noreply.github.com>
Signed-off-by: David Longnecker <dlongnecke-cray@users.noreply.github.com>
dlongnecke-cray
force-pushed
the
dynamic-loading-30
branch
from
April 29, 2026 21:11
900d33f to
6923e21
Compare
Signed-off-by: David Longnecker <dlongnecke-cray@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new internal module which is responsible for setting up a
chpl_rt_prginfostruct with details from the Chapel program. It is a companion to #28716 (and the branch is currently based on top of it).This PR is meant to introduce the structure of the module. Not all of the callbacks and constants are wired up here - I will add that as a subsequent PR.
Reviewed by @jabraham17. Thanks much!