mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
meson: Drop workaround for -Wframe-larger-than and clang
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>
This commit is contained in:
1 parent
01a098ebc7
commit
73d8cbaae5
1 file changed
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user