On Fri, 25 Sep 2020 16:29:26 +0200, Jan Kratochvil wrote:
On Fri, 25 Sep 2020 12:10:22 +0200, Zbigniew Jędrzejewski-Szmek
wrote:
> - debuginfo with dwz (current approach)
rpm size: 35186079102
disk size: 177913332940
> - debuginfo with -fdebug-types-section
rpm size: 37570327765
disk size: 214927514757
= DWZ rpm size is smaller by 6.78%
= DWZ on-disk size is smaller by 20.8%
...
Also there is an opportunity for new non-DWZ optimization (orthogonal
to
DWZ/-fdebug-types-section) which can save 5.96% of *-debuginfo.rpm with
^^^^^^^^^^^^^^^
= on-disk files
clang-only draft implementation which requires no DWARF consumers
modification
and it is easier to implement than to upstream+maintain the DWZ support for
LLDB.
Here I made a mistake. One needs to compare 5.96% to DWZ saving of 20.8%
(and not 6.78%). Therefore this "non-DWZ optimization" is not equivalent do
DWZ (but it could still save some space). This also only an estimate.
I have updated the wiki page (it does not change much on the proposal).
Jan