aboutsummaryrefslogtreecommitdiff
path: root/rust/hw
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-03-06 16:16:31 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2025-03-07 16:38:41 +0100
commit563b1a35ed1f1151505d4fe5f723827d1b3fd4bc (patch)
tree50cf5cdafec5fb0765c74a452298c349d792f1e9 /rust/hw
parent094cd35913bd66228a9a3239e66b1f6f5d667d4b (diff)
downloadqemu-563b1a35ed1f1151505d4fe5f723827d1b3fd4bc.zip
qemu-563b1a35ed1f1151505d4fe5f723827d1b3fd4bc.tar.gz
qemu-563b1a35ed1f1151505d4fe5f723827d1b3fd4bc.tar.bz2
meson.build: default to -gsplit-dwarf for debug info
This option is supported by both gcc (since 4.7) and clang (since 7.0). Not only does this make the linkers job easier by reducing the amount of ELF it needs to parse it also reduces the total build size quite considerably. In my case a default build went from 5.8G to 3.9G (vs 1.9G for --disable-debug-info). The --disable-split-debug option allows distros to keep all the info together for ease of packaging. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Link: https://lore.kernel.org/r/20250306161631.2477685-1-alex.bennee@linaro.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw')
0 files changed, 0 insertions, 0 deletions