We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f864a7 commit 405e1a4Copy full SHA for 405e1a4
src/codegen.cpp
@@ -9294,6 +9294,8 @@ extern "C" JL_DLLEXPORT_CODEGEN void jl_teardown_codegen_impl() JL_NOTSAFEPOINT
9294
if (jl_ExecutionEngine)
9295
jl_ExecutionEngine->printTimers();
9296
PrintStatistics();
9297
+ JL_LOCK(&jl_codegen_lock); // TODO: If this lock gets removed reconsider
9298
+ // LLVM global state/destructors (maybe a rwlock)
9299
}
9300
9301
// the rest of this file are convenience functions
0 commit comments