]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: Drop workaround for -Wframe-larger-than and clang
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 4 Apr 2025 07:20:01 +0000 (09:20 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 7 Apr 2025 06:43:23 +0000 (08:43 +0200)
After previous cleanups, all functions have their stack smaller
than 2048 bytes and thus the workaround is no longer needed.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
meson.build

index bf4a245dd352285d6806086303a97bb58aee5005..37b1caa5669ef576ef8ed14b6ab6eb40a578c46a 100644 (file)
@@ -258,11 +258,6 @@ alloc_max = run_command(
 
 stack_frame_size = 2048
 
-# clang without optimization enlarges stack frames in certain corner cases
-if cc.get_id() == 'clang' and get_option('optimization') == '0'
-    stack_frame_size = 4096
-endif
-
 # sanitizer instrumentation may enlarge stack frames
 if get_option('b_sanitize') != 'none'
   stack_frame_size = 32768