[Openmp-commits] [PATCH] D142249: [openmp] Workaround for HSA in issue 60119
Mészáros Gergely via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jan 20 13:40:39 PST 2023
Maetveis added inline comments.
================
Comment at: openmp/libomptarget/src/rtl.cpp:47-50
+ if (PM != nullptr) {
+ // In case one of the plugins chooses to call back into this constructor
+ return;
+ }
----------------
This isn't necessary, glibc will not run the `__attribute__((constructor(101)))` calls again on a second `dlopen`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142249/new/
https://reviews.llvm.org/D142249
More information about the Openmp-commits
mailing list