Re: [PATCH v4] meson.build: default to -gsplit-dwarf for debug info

2025-03-07 Thread Paolo Bonzini
Il ven 7 mar 2025, 16:17 Alex Bennée ha scritto: > 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 def

[PATCH v4] meson.build: default to -gsplit-dwarf for debug info

2025-03-07 Thread Alex Bennée
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-de