mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Increase the size of the sigaltstack used by LLVM signal handlers. 8KB is not
sufficient in some cases; increase to 64KB, which should be enough for anyone :) Patch by github.com/bryant! llvm-svn: 279599
This commit is contained in:
parent
13d789ce38
commit
0b5fef23d4
@ -127,7 +127,7 @@ static void RegisterHandler(int Signal) {
|
||||
static stack_t OldAltStack;
|
||||
|
||||
static void CreateSigAltStack() {
|
||||
const size_t AltStackSize = MINSIGSTKSZ + 8192;
|
||||
const size_t AltStackSize = MINSIGSTKSZ + 64 * 1024;
|
||||
|
||||
// If we're executing on the alternate stack, or we already have an alternate
|
||||
// signal stack that we're happy with, there's nothing for us to do. Don't
|
||||
|
Loading…
x
Reference in New Issue
Block a user