[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/20369] Support DW_TAG_type_unit



https://sourceware.org/bugzilla/show_bug.cgi?id=20369

--- Comment #14 from andrew.c.morrow at gmail dot com ---
Well, based on libbase.so.bad (built with -fdebug-types-sections) and
libbase.so.good (built without) attached in this bug, it looks like using
-fdebug-types-sections shaved off about .4MB from the total file, so about a
10% reduction, which isn't nothing.

I'd not heard that -fdebug-types-sections was disfavored, nor have I done a
careful investigation of what it may save at linker runtime (we are using
ld.gold, btw).

As I mentioned elsewhere, I am also experimenting with
-Wl,--compress-debug-sections=zlib-gabi, which I think is more or less the same
thing as using 'dwz'. The improvements there are quite nice.

I definitely haven't looked into the combined effects of compresing the debug
info and -fdebug-types-section. It might be interesting to compare the four
combinations.

In any event, -fdebug-types-sections is a documented GCC option that certainly
looks like a good thing to use, so I'd expect at least some projects to use it
in the wild, in which case I think libabigail should be able to tolerate it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.