diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp --- a/lld/COFF/Driver.cpp +++ b/lld/COFF/Driver.cpp @@ -149,9 +149,10 @@ // Create a std::future that opens and maps a file using the best strategy for // the host platform. static std::future createFutureForFile(std::string path) { -#if _WIN32 +#if _WIN64 // On Windows, file I/O is relatively slow so it is best to do this - // asynchronously. + // asynchronously. But 32-bit has issues with potentially launching tons + // of threads auto strategy = std::launch::async; #else auto strategy = std::launch::deferred;