diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2026-02-27 15:27:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-27 15:27:02 -0800 |
| commit | 329c52c1004f2d0f487577f73387c8dd8b47fd9a (patch) | |
| tree | 9223890b7b3b98510b13cc929f61e122adb65776 /openmp/device/include/Profiling.h | |
| parent | 788625757ea4a7de562461dfea9b7a59b050ec91 (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
This PR changes the way we set the shlib directory helper. Instead of
setting it while initializing the Host plugin, we register it when
initializing the Python plugin. The motivation is that the current
approach is incompatible with the dynamically linked script
interpreters, as they will not have been loaded at the time the Host
plugin is initialized.
The downside of the new approach is that we set the helper after having
initialized the Host plugin, which theoretically introduces a small
window where someone could query the helper before it has been set.
Fortunately the window is pretty small and limited to when we're
initializing plugins, but it's less "pure" than what we had previously.
That said, I think it balances out with removing the plugin include.
Diffstat (limited to 'openmp/device/include/Profiling.h')
0 files changed, 0 insertions, 0 deletions
