From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4A560394EC0B; Mon, 8 Mar 2021 13:47:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A560394EC0B From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/27544] New: [dwz] Handle dwarf errors more graciously Date: Mon, 08 Mar 2021 13:47:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2021 13:47:42 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27544 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). --=20 You are receiving this mail because: You are on the CC list for the bug.=