https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78321
Bug ID: 78321
Summary: Fission + type units + compression are suboptimal
Product: gcc
Version: 6.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: dblaikie at gmail dot com
Target Milestone: ---
GCC is producing separate (though non-comdat) sections for each type in the
.dwo file when using fission+type units.
There's no need for these to be in separate sections - and it hurts compression
greatly. (this may be one of the reasons Clang's .debug_types.dwo section is
1/6th the size of GCC's in a large example at Google)
It may make merging types a little more efficient - by not having to decompress
the whole set of types to merge in just one/a few types, so there's potentially
a memory/storage tradeoff here.