Fix build breakage.

llvm-svn: 305726
This commit is contained in:
Rui Ueyama 2017-06-19 18:04:34 +00:00
parent 475fcd9cd8
commit 10ae4ca564
1 changed files with 1 additions and 1 deletions

View File

@ -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("?"))