During __orc_rt_macho_jit_dlopen the ORC runtime will make a request to the JIT to push any new initializers. Since this call may add new JD-state to the runtime (and is expected to in general) we need to unlock the JDStatesMutex during this operation (and similarly when running initializers and atexits, as these may call trigger push-initializers recursively). No testcase yet: I haven't been able to reproduce the deadlock when running llvm-jitlink in in-process mode, and we don't support out-of-process mode in regression tests yet.
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================