[compiler-rt] [compiler-rt][asan] Force RTLD_GLOBAL for HSA/HIP/OpenCL runtime dlopen. (PR #201081)

Amit Kumar Pandey via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 07:09:49 PDT 2026


ampandey-1995 wrote:

> Is this a reentrancy issue? I don't fully know what the order of construction is. If the problem is re-running constructors that have already been run you could possibly query with `RTLD_NOLOAD` instead to get a handle to what's already present.

Yes , It's a reentrancy issue. Thanks , I'll try with `RTLD_NOLOAD`

https://github.com/llvm/llvm-project/pull/201081


More information about the llvm-commits mailing list