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 1d9e2e7 commit 969cafbCopy full SHA for 969cafb
src/codegen.cpp
@@ -9147,7 +9147,9 @@ extern "C" JL_DLLEXPORT void jl_init_codegen_impl(void)
9147
extern "C" JL_DLLEXPORT void jl_teardown_codegen_impl() JL_NOTSAFEPOINT
9148
{
9149
// output LLVM timings and statistics
9150
- jl_ExecutionEngine->printTimers();
+ // Guard against exits before we have initialized the ExecutionEngine
9151
+ if (jl_ExecutionEngine)
9152
+ jl_ExecutionEngine->printTimers();
9153
PrintStatistics();
9154
}
9155
0 commit comments