]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: Decrease maximum stack frame size to 2048
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Sep 2022 12:38:09 +0000 (14:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 9 Sep 2022 14:11:06 +0000 (16:11 +0200)
After recent cleanups we can now restrict the maximum stack frame size
to 2k.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
meson.build

index ed9f4b3f7061a67f69675853fb8834a0dba5a2a1..9d3703a321c4c44f439f5389e11160d00bdb0887 100644 (file)
@@ -226,7 +226,7 @@ alloc_max = run_command(
 )
 
 # 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
 # versions when using sanitizers. Seen on Fedora 34 with