[llvm-dev] [LLVMdev] [Openmp-dev] Calling libomp destructor before other lib destructor

Simone Atzeni via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 20 11:14:57 PDT 2016


Hi,

I have implemented a third-party library that uses OMPT.
I would like to call the destructor of my library after the destructor of the OpenMP runtime.
I tried to specify a priority in both mine and the openmp runtime destructors, but the order does not change, the openmp runtime destructors is always the last one called.

Is that anyway to change this behavior?

Thanks.
Best,
Simone


More information about the llvm-dev mailing list