diff --git a/lld/COFF/Strings.cpp b/lld/COFF/Strings.cpp index 6986f4b391d1..84f9b9a55a32 100644 --- a/lld/COFF/Strings.cpp +++ b/lld/COFF/Strings.cpp @@ -24,7 +24,7 @@ Optional 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 Lock(mu); + std::lock_guard Lock(Mu); char Buf[4096]; if (S.startswith("?"))