[Dwarf-Discuss] DWARF dumpers should note compressed sections
Fri Aug 3 16:25:08 GMT 2018
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.
> Dwarf-Discuss mailing list
> Dwarf-Discuss at lists.dwarfstd.org
More information about the Dwarf-discuss