mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01: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
|
|
@ -108,8 +108,8 @@ public:
|
||||||
|
|
||||||
bool did_reach_stack_space_limit() const
|
bool did_reach_stack_space_limit() const
|
||||||
{
|
{
|
||||||
#if defined(AK_OS_MACOS) && defined(HAS_ADDRESS_SANITIZER)
|
#if defined(HAS_ADDRESS_SANITIZER)
|
||||||
// We hit stack limits sooner on macOS 14 arm64 with ASAN enabled.
|
// We hit stack limits sooner with ASAN enabled.
|
||||||
return m_stack_info.size_free() < 96 * KiB;
|
return m_stack_info.size_free() < 96 * KiB;
|
||||||
#else
|
#else
|
||||||
return m_stack_info.size_free() < 32 * KiB;
|
return m_stack_info.size_free() < 32 * KiB;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user