summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-06-19 18:04:34 +0000
committerRui Ueyama <ruiu@google.com>2017-06-19 18:04:34 +0000
commit10ae4ca56419a33ab501aeefd4b9aa2146adeb49 (patch)
tree3af4ea165f5876d07893b4f5b51d9a6f0524aec9
parent475fcd9cd8b8c1747fc2e918a507194af77f139b (diff)
downloadbcm5719-llvm-10ae4ca56419a33ab501aeefd4b9aa2146adeb49.tar.gz
bcm5719-llvm-10ae4ca56419a33ab501aeefd4b9aa2146adeb49.zip
Fix build breakage.
llvm-svn: 305726
-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