public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/27544] New: [dwz] Handle dwarf errors more graciously
@ 2021-03-08 13:47 vries at gcc dot gnu.org
  2021-03-12 10:56 ` [Bug default/27544] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-03-08 13:47 UTC (permalink / raw)
  To: dwz

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug default/27544] [dwz] Handle dwarf errors more graciously
  2021-03-08 13:47 [Bug default/27544] New: [dwz] Handle dwarf errors more graciously vries at gcc dot gnu.org
@ 2021-03-12 10:56 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-03-12 10:56 UTC (permalink / raw)
  To: dwz

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |27568


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27568
[Bug 27568] Add initial .debug_info reading phase to dwz
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-12 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-08 13:47 [Bug default/27544] New: [dwz] Handle dwarf errors more graciously vries at gcc dot gnu.org
2021-03-12 10:56 ` [Bug default/27544] " vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).