build: Decrease maximum stack frame size to 2048

After recent cleanups we can now restrict the maximum stack frame size
to 2k.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
This commit is contained in:
Peter Krempa 2022-09-05 14:38:09 +02:00
parent 9e5f2fe402
commit 42bc76cdb8

View File

@ -248,7 +248,7 @@ alloc_max = run_command(
) )
# sanitizer instrumentation may enlarge stack frames # sanitizer instrumentation may enlarge stack frames
stack_frame_size = get_option('b_sanitize') == 'none' ? 4096 : 32768 stack_frame_size = get_option('b_sanitize') == 'none' ? 2048 : 32768
# array_bounds=2 check triggers false positive on some GCC # array_bounds=2 check triggers false positive on some GCC
# versions when using sanitizers. Seen on Fedora 34 with # versions when using sanitizers. Seen on Fedora 34 with