[Dwarf-Discuss] DWARF dumpers should note compressed sections

John DelSignore John.DelSignore@roguewave.com
Fri Aug 3 16:25:08 GMT 2018

Hi Paul,

TotalView recently got snagged on this with a GNU DebugFission style Split-DWARF .dwo file. A customer had things set up such that -gz=zlib was the default for their compiler, and it was producing compressed debug sections in the .dwo file, where the only hint that the section was compressed was that the SHF_COMPRESSED flag was set in the section header.  We had been handling that in executable and shared library files, but not the .dwo files.

Cheers, John D.

On 08/03/18 10:59, Paul Robinson via Dwarf-Discuss wrote:
> Recently somebody was poking around looking at compressed DWARF sections,
> and observed that some tools (dwarfdump, objdump, readelf) were dumping
> them just fine, but without any indication that the original section was
> compressed (citing ELF flag SHF_COMPRESSED).  If anybody on this list
> happens to be a maintainer of a DWARF dumper :0) they might want to take
> a look at reporting this tidbit.
> I know that some toolchains prefix a compressed section name with "z"
> (e.g., .zdebug_info) but I wasn't aware of the ELF section flag.
> --paulr
> _______________________________________________
> Dwarf-Discuss mailing list
> Dwarf-Discuss at lists.dwarfstd.org
> http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org

More information about the Dwarf-discuss mailing list