[Bug default/27544] New: [dwz] Handle dwarf errors more graciously

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Mar 8 13:47:42 GMT 2021


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

            Bug ID: 27544
           Summary: [dwz] Handle dwarf errors more graciously
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

I did an experiment with libxul debug info (from firefox).

I downloaded the firefox debuginfo package on openSUSE Leap 15.2.

I observed that there we no partial units.

Then I tried to run dwz, but after quite a while ran into a "cannot find
referenced DIE".  I double checked, the error is correct.

It's a bit of a pity though, to not compress a rather large debug info file
because of a few invalid DIE references.

It would be nice if dwz could handle this more aggressively, say by treating
the invalid references as having the value 0.

However, we still would want to make a distinction between:
- "cannot find referenced DIE" because of input error
- "cannot find referenced DIE" because of dwz problem
so probably we'd need an input verification phase (PR25229).

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


More information about the Dwz mailing list