Skip to content

Commit c9294ea

Browse files
committed
Explicitly initialize RLST_mutex
1 parent 0b57542 commit c9294ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jitlayers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ class JuliaOJIT {
405405
//Map and inc are guarded by RLST_mutex
406406
DenseMap<void*, std::string> ReverseLocalSymbolTable;
407407
int RLST_inc = 0;
408-
std::mutex RLST_mutex;
408+
std::mutex RLST_mutex{};
409409
};
410410
extern JuliaOJIT *jl_ExecutionEngine;
411411
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());

0 commit comments

Comments
 (0)