Index: src/IceASanInstrumentation.h |
diff --git a/src/IceASanInstrumentation.h b/src/IceASanInstrumentation.h |
index c9095fa525e1870265e6e74dce8dc4cf32be7aae..bd889592e664a7caeecf6ced1c31a7a497364f49 100644 |
--- a/src/IceASanInstrumentation.h |
+++ b/src/IceASanInstrumentation.h |
@@ -33,9 +33,7 @@ class ASanInstrumentation : public Instrumentation { |
ASanInstrumentation &operator=(const ASanInstrumentation &) = delete; |
public: |
- ASanInstrumentation(GlobalContext *Ctx) |
- : Instrumentation(Ctx), RzNum(0), |
- GlobalsLock(GlobalsMutex, std::defer_lock) { |
+ ASanInstrumentation(GlobalContext *Ctx) : Instrumentation(Ctx), RzNum(0) { |
ICE_TLS_INIT_FIELD(LocalDtors); |
} |
void instrumentGlobals(VariableDeclarationList &Globals) override; |
@@ -57,8 +55,6 @@ private: |
bool DidProcessGlobals = false; |
SizeT RzGlobalsNum = 0; |
std::mutex GlobalsMutex; |
- std::unique_lock<std::mutex> GlobalsLock; |
- std::condition_variable GlobalsDoneCV; |
}; |
} // end of namespace Ice |