mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 07:33:20 +00:00
LibJS: Increase the stack limit when ASAN enabled
Linux, x86_64, Sanitizer, GNU runners on GitHub Action fail randomly with a stack overflow on recursive test called: Libraries/LibJS/Tests/runtime-error-call-stack-size.js
This commit is contained in:
parent
460ffcbe1d
commit
44d2a74eeb
Notes:
github-actions[bot]
2025-10-13 13:09:09 +00:00
Author: https://github.com/rcorsi
Commit: 44d2a74eeb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6456
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ public:
|
|||
|
||||
bool did_reach_stack_space_limit() const
|
||||
{
|
||||
#if defined(AK_OS_MACOS) && defined(HAS_ADDRESS_SANITIZER)
|
||||
// We hit stack limits sooner on macOS 14 arm64 with ASAN enabled.
|
||||
#if defined(HAS_ADDRESS_SANITIZER)
|
||||
// We hit stack limits sooner with ASAN enabled.
|
||||
return m_stack_info.size_free() < 96 * KiB;
|
||||
#else
|
||||
return m_stack_info.size_free() < 32 * KiB;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue