gimli-rs / gimli

A library for reading and writing the DWARF debugging format

Home Page:https://docs.rs/gimli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide more informative errors for missing supplementary object file

philipc opened this issue · comments

In #514/#515, parsing failed because some attributes used DW_FORM_GNU_strp_alt, but no supplementary object file sections were loaded. The error value (UnexpectedEof(ReaderOffsetId(4497503920))) made it hard to determine the cause. We should return a better error in this case.