[lld] r365737 - Fix build breakage on Win32.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 23:56:44 PDT 2019


Author: ruiu
Date: Wed Jul 10 23:56:44 2019
New Revision: 365737

URL: http://llvm.org/viewvc/llvm-project?rev=365737&view=rev
Log:
Fix build breakage on Win32.

Modified:
    lld/trunk/COFF/Driver.cpp

Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=365737&r1=365736&r2=365737&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Wed Jul 10 23:56:44 2019
@@ -117,7 +117,7 @@ static std::future<MBErrPair> createFutu
 #if _WIN32
   // On Windows, file I/O is relatively slow so it is best to do this
   // asynchronously.
-  auto Strategy = std::launch::async;
+  auto strategy = std::launch::async;
 #else
   auto strategy = std::launch::deferred;
 #endif




More information about the llvm-commits mailing list