Skip to content

Commit

Permalink
Explicitly initialize RLST_mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
pchintalapudi committed Apr 18, 2022
1 parent 0b57542 commit c9294ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jitlayers.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ class JuliaOJIT {
//Map and inc are guarded by RLST_mutex
DenseMap<void*, std::string> ReverseLocalSymbolTable;
int RLST_inc = 0;
std::mutex RLST_mutex;
std::mutex RLST_mutex{};
};
extern JuliaOJIT *jl_ExecutionEngine;
orc::ThreadSafeModule jl_create_llvm_module(StringRef name, orc::ThreadSafeContext ctx, bool imaging_mode, const DataLayout &DL = jl_ExecutionEngine->getDataLayout(), const Triple &triple = jl_ExecutionEngine->getTargetTriple());
Expand Down

0 comments on commit c9294ea

Please sign in to comment.