[lld] r305726 - Fix build breakage.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 19 11:04:34 PDT 2017
Author: ruiu
Date: Mon Jun 19 13:04:34 2017
New Revision: 305726
URL: http://llvm.org/viewvc/llvm-project?rev=305726&view=rev
Log:
Fix build breakage.
Modified:
lld/trunk/COFF/Strings.cpp
Modified: lld/trunk/COFF/Strings.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Strings.cpp?rev=305726&r1=305725&r2=305726&view=diff
==============================================================================
--- lld/trunk/COFF/Strings.cpp (original)
+++ lld/trunk/COFF/Strings.cpp Mon Jun 19 13:04:34 2017
@@ -24,7 +24,7 @@ Optional<std::string> coff::demangle(Str
#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("?"))
More information about the llvm-commits
mailing list