From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102750 invoked by alias); 24 Jan 2020 19:24:03 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 102656 invoked by uid 48); 24 Jan 2020 19:23:58 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/25459] New: Forward pseudo-reference triggers error Date: Wed, 01 Jan 2020 00:00:00 -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: normal 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-SW-Source: 2020-q1/txt/msg00054.txt https://sourceware.org/bugzilla/show_bug.cgi?id=3D25459 Bug ID: 25459 Summary: Forward pseudo-reference triggers error Product: dwz Version: unspecified Status: NEW Severity: normal 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: --- As we have seen, the test-case in PR25456 triggers an error: ... $ dwz clang-offload-bundler-10.debug dwz: clang-offload-bundler-10.debug: Couldn't find DIE referenced by DW_OP_GNU_implicit_pointer ...=20 However, the question is: should this error be triggered? We have a DIE in a partial unit: ... <3><481a37>: Abbrev Number: 1 (DW_TAG_formal_parameter) <481a38> DW_AT_abstract_origin: <0x5232> <481a3c> DW_AT_location : 0x902527 (location list) <481a40> DW_AT_GNU_locviews: 0x902525 ... for which we calculate the checksum, so we follow the DW_AT_location to: ... 00902525 v000000000000000 v000000000000003 location view pair 00902527 v000000000000000 v000000000000003 views at 00902525 for: 0000000000000033 0000000000000033 (DW_OP_GNU_implicit_pointer: <0x1263f86> 0) ... from where we would like to go to: ... <1><1263f86>: Abbrev Number: 206 (DW_TAG_dwarf_procedure) <1263f88> DW_AT_location : 4 byte block: 9e 2 7e 0=20=20=20=20 (DW_OP_implicit_value 2 byte block: 7e 0 ) ... but we can't because the CU containing this DIE hasn't been processed by read_debug_info. --=20 You are receiving this mail because: You are on the CC list for the bug.