Ben Cotton wrote on Thu, Sep 24, 2020:
> ** If the 3.3% size increase is a concern I can implement a different
> optimization ([https://whova.com/embedded/session/llvm_202010/1193947/
> talk (2)]) as a GCC post-processing phase which would require no
> changes in any DWARF consumers.

That talk doesn't load for me, sorry if I ask something answered in
there.


How does this relate to debuginfo compression such as passing
-Wl,--compress-debug-sections=zlib ?

I haven't tested on very relevant programs but on a single C file
(tested with vmtouch, compiled with f32's `gcc -g vmtouch.c` and
`gcc -g vmtouch.c -Wl,--compress-debug-sections=zlib`) I see a fairly
significant reduction in size:
after strip --only-keep-debug it goes down from 32K to 23K, that's 28%
down.

On a slighly bigger project (wlroots), with
LDFLAGS=-Wl,--compress-debug-sections=zlib meson builddir
and the same strip; I'm going from 1512 to 732k that's over 50%
reduction.


As far as I can see, gdb and lldb both support it just fine; and the
linux kernel builds with it if CONFIG_DEBUG_INFO_COMPRESSED is set so it
looks widespread enough.


If not related would it be worth using? Is support somehow still lacking?


Thanks,
-- 
Dominique
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to