diff options
author | Linus Groh <mail@linusgroh.de> | 2021-09-05 20:34:06 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-09-05 22:17:09 +0100 |
commit | 6ffc8f389e76d8358a8829948dd20f2a5603c8bc (patch) | |
tree | 26e4b0eaa24242a40b2929c0c7c81e826f61e3d9 /Ports/bash | |
parent | 941ff0cf601b220c8045209c15e95c658f8c2782 (diff) | |
download | serenity-6ffc8f389e76d8358a8829948dd20f2a5603c8bc.zip |
LibJS: Use different stack space limit values for with and without ASAN
Instead of having a single limit here, which we had to increase once to
work with ASAN enabled, check whether HAS_ADDRESS_SANITIZER is defined
and use 32 KiB, and 16 KiB otherwise (which is what we used previously).
This idea is shamelessly stolen from V8:
https://github.com/v8/v8/blob/b2b44af/src/execution/isolate.cc#L1381-L1387
Diffstat (limited to 'Ports/bash')
0 files changed, 0 insertions, 0 deletions