Skip to content

Commit d3a19b5

Browse files
committed
[llvm] Temporarily disable split stacks
This appears to be causing: "stack nearly exhausted; compilation time may suffer, and crashes due to stack overflow are likely" warnings in Swift, so disable it while this issue is investigated. rdar://154158529
1 parent ac66248 commit d3a19b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/Support/ProgramStack.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include "llvm/ADT/STLFunctionalExtras.h"
1313
#include "llvm/Support/Compiler.h"
1414

15+
// FIXME: Temporarily disable split stacks. rdar://154158529
16+
#if 0
1517
// LLVM_HAS_SPLIT_STACKS is exposed in the header because CrashRecoveryContext
1618
// needs to know if it's running on another thread or not.
1719
//
@@ -22,6 +24,7 @@
2224
# define LLVM_HAS_SPLIT_STACKS
2325
# define LLVM_HAS_SPLIT_STACKS_AARCH64
2426
#endif
27+
#endif
2528

2629
namespace llvm {
2730

0 commit comments

Comments
 (0)