diff options
| author | Linux User <emmett@vmi2195005.contaboserver.net> | 2025-04-14 01:35:12 +0000 |
|---|---|---|
| committer | Linux User <emmett@vmi2195005.contaboserver.net> | 2025-04-14 01:35:12 +0000 |
| commit | 595101c9e63eae025157878b14577acb3fef0b3b (patch) | |
| tree | 9878022974c9d8b274c999d693e466b23cfb2fdd /repos/archive/llvm/musl-stack-size.patch | |
| parent | 73d7a925b4ad5bb64b17506acdf1600a12d55d47 (diff) | |
| download | alicelinux-595101c9e63eae025157878b14577acb3fef0b3b.tar.gz alicelinux-595101c9e63eae025157878b14577acb3fef0b3b.zip | |
clang repos migrated to main
Diffstat (limited to 'repos/archive/llvm/musl-stack-size.patch')
| -rw-r--r-- | repos/archive/llvm/musl-stack-size.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/repos/archive/llvm/musl-stack-size.patch b/repos/archive/llvm/musl-stack-size.patch new file mode 100644 index 00000000..b3f2189d --- /dev/null +++ b/repos/archive/llvm/musl-stack-size.patch @@ -0,0 +1,14 @@ +diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp +index 923935bbc..26594aac8 100644 +--- a/llvm/lib/Support/Threading.cpp ++++ b/llvm/lib/Support/Threading.cpp +@@ -77,7 +77,7 @@ unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { + // keyword. + #include "llvm/Support/thread.h" + +-#if defined(__APPLE__) ++#if 1 + // Darwin's default stack size for threads except the main one is only 512KB, + // 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 + |