summaryrefslogtreecommitdiffstats
path: root/lld/COFF/Strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/Strings.cpp')
-rw-r--r--lld/COFF/Strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/Strings.cpp b/lld/COFF/Strings.cpp
index 6986f4b391d..84f9b9a55a3 100644
--- a/lld/COFF/Strings.cpp
+++ b/lld/COFF/Strings.cpp
@@ -24,7 +24,7 @@ Optional<std::string> coff::demangle(StringRef S) {
#if defined(_MSC_VER)
// UnDecorateSymbolName is not thread-safe, so we need a mutex.
static std::mutex Mu;
- std::lock_guard<std::mutex> Lock(mu);
+ std::lock_guard<std::mutex> Lock(Mu);
char Buf[4096];
if (S.startswith("?"))
OpenPOWER on IntegriCloud