[all-commits] [llvm/llvm-project] 47c960: [Offload] Check plugins aren't already deinitializ...
Callum Fare via All-commits
all-commits at lists.llvm.org
Mon Jul 14 08:17:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47c9609a8637b68c0170744ce5c06902512e71ca
https://github.com/llvm/llvm-project/commit/47c9609a8637b68c0170744ce5c06902512e71ca
Author: Callum Fare <callum at codeplay.com>
Date: 2025-07-14 (Mon, 14 Jul 2025)
Changed paths:
M offload/liboffload/src/OffloadImpl.cpp
Log Message:
-----------
[Offload] Check plugins aren't already deinitialized when tearing down (#148642)
This is a hotfix for #148615 - it fixes the issue for me locally.
I think a broader issue is that in the test environment we're calling
olShutDown from a global destructor in the test binaries. We should do
something more controlled, either calling olInit/olShutDown in every
test, or move those to a GTest global environment. I didn't do that
originally because it looked like it needed changes to LLVM's GTest
wrapper.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list