https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

--- Comment #2 from Joe Lorenz <znerol at gmail dot com> ---
(In reply to Richard Biener from comment #1)
> Confirmed.  Debug info is now more complete.  Note
> -feliminate-unused-debug-symbols is only implemented for STABS debugging,
> not for DWARF and from
> my reading implementing it for DWARF is what you'd like to see.
> 
> If you use GCC 8 or newer and LTO and apply dwarf compression using the dwz
> tool the final debug info will be smaller than with GCC 4.9.  Unfortunately
> dwarf compression doesn't help when not using LTO as it seems to be
> "confused"
> by location attributes.
> 
> Let's make this bug a request for implementing
> -feliminate-unused-debug-symbols
> for DWARF.

If implementing that option for DWARF will achieve the same behavior as the 4.9
version, then yes, I think that would be exactly what I'm after. I think it's
fine if the default behavior (with no added option) stays as it is. But having
control over it is essential when working with the nature of the source tree I
am saddled with.

I'm grateful for your focus and effort and I hesitate to ask, but what sort of
time frame are we talking for a change like this?

Reply via email to