Branch: refs/heads/main
Revision: 0c02bcb5765b32fec9ce2bb183eeec61b595bd13
Author: dlongnecke-cray
Link: dlopen: Move `chpl_executionCommand` to be part of program data by dlongnecke-cray · Pull Request #28798 · chapel-lang/chapel · GitHub
Log Message:
dlopen: Move chpl_executionCommand to be part of program data (#28798)
This PR adjusts chpl_executionCommand so that it no longer lives in
the runtime but becomes a writeable variable that lives in data section
of a chpl_rt_prginfo. As part of chpl_rt_init the runtime
initializes the chpl_executionCommand for the root program.
TESTING
-
COMM=gasnet
Reviewed by @jabraham17. Thanks!
Diff:
M compiler/codegen/codegen.cpp
M runtime/include/chpl-prginfo-data-macro.h
M runtime/include/chpl-prginfo.h
M runtime/include/chplcgfns.h
M runtime/src/chpl-init.c
M runtime/src/chplmemtrack.c
https://github.com/chapel-lang/chapel/pull/28798.diff