Created
June 15, 2022 00:24
-
-
Save tapthaker/e9fef745c84f7663731c6ae285991aca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp | |
index 04a1a9e19428..4198142ff0c6 100644 | |
--- a/llvm/lib/Support/Threading.cpp | |
+++ b/llvm/lib/Support/Threading.cpp | |
@@ -87,7 +87,7 @@ unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { | |
// which is not enough for some/many normal LLVM compilations. This implements | |
// the same interface as std::thread but requests the same stack size as the | |
// main thread (8MB) before creation. | |
-const llvm::Optional<unsigned> llvm::thread::DefaultStackSize = 8 * 1024 * 1024; | |
+const llvm::Optional<unsigned> llvm::thread::DefaultStackSize = 256 * 1024 * 1024; | |
#else | |
const llvm::Optional<unsigned> llvm::thread::DefaultStackSize = None; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment