[llvm] [Offload] Stop using global ctor/dtors in Offload unit tests (PR #149299)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 17 06:31:15 PDT 2025
jhuber6 wrote:
I forget if the proper reference counting patch landed for init / deinit. The important thing however is that `deinit` is done via `atexit` rather than a global destructor (Which C++ does). So, I'm unsure why it fails here if we have reference counting. The executable's list should be handled after all the dynamically loaded libraries.
https://github.com/llvm/llvm-project/pull/149299
More information about the llvm-commits
mailing list