mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 09:19:45 +02:00
* increase stack margin for x86-64 so back tracing a stack overfow with line info does not cause another stack overflow
This commit is contained in:
parent
e03e62f013
commit
cc7325e316
@ -50,6 +50,8 @@ const
|
||||
STACK_MARGIN_MAX = 64; { Stack size margin for stack checking }
|
||||
{$elseif defined(CPULOONGARCH64)}
|
||||
STACK_MARGIN_MAX = 65536; { Stack size margin for stack checking }
|
||||
{$elseif defined(CPUX86_64)}
|
||||
STACK_MARGIN_MAX = 32768; { Stack size margin for stack checking }
|
||||
{$else}
|
||||
STACK_MARGIN_MAX = 16384; { Stack size margin for stack checking }
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user