aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDaniel Thornburgh <dthorn@google.com>2025-04-15 14:46:55 -0700
committerGitHub <noreply@github.com>2025-04-15 14:46:55 -0700
commit2d98bdc12c291523c3543ceaf1c526e25dcaedc6 (patch)
tree0c088e9f5e239f639d3bc977f03c1ff1f5994734 /clang/lib/Frontend/CompilerInstance.cpp
parentd0372179fbbcb7b3fa680a78919a980fa4384c46 (diff)
downloadllvm-2d98bdc12c291523c3543ceaf1c526e25dcaedc6.zip
llvm-2d98bdc12c291523c3543ceaf1c526e25dcaedc6.tar.gz
llvm-2d98bdc12c291523c3543ceaf1c526e25dcaedc6.tar.bz2
Revert "[llvm][clang] Allocate a new stack instead of spawning a new … (#135865)
…thread to get more stack space (#133173)" This change breaks the Clang build on Mac AArch64. This reverts commit d0c973a7a0149db3b71767d4c5a20a31e6a8ed5b. This reverts commit 429a84f8a4bf559f43f50072747ef49d3e3b2cf1. This reverts commit 4f64c80d5a23c244f942193e58ecac666c173308.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 5fe80fc..243e0a3 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -1265,7 +1265,7 @@ bool CompilerInstance::compileModule(SourceLocation ImportLoc,
// Execute the action to actually build the module in-place. Use a separate
// thread so that we get a stack large enough.
- bool Crashed = !llvm::CrashRecoveryContext().RunSafelyOnNewStack(
+ bool Crashed = !llvm::CrashRecoveryContext().RunSafelyOnThread(
[&]() {
GenerateModuleFromModuleMapAction Action;
Instance.ExecuteAction(Action);