From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55573 invoked by alias); 11 Feb 2019 17:03:47 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 55480 invoked by uid 48); 11 Feb 2019 17:03:42 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/24204] [dwz, low-mem] Couldn't find DIE referenced by DW_OP_GNU_implicit_pointer Date: Tue, 01 Jan 2019 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: cc Message-ID: In-Reply-To: References: 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: 2019-q1/txt/msg00018.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24204 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at redhat dot com --- Comment #1 from Tom de Vries --- AFAIU, the problem is as follows: During the first low-mem phase in read_debug_info, we're supposed to read in all the intercu-referenced DIES, such that they're available during the sec= ond phase. But in read_debug_info, we're just skipping over the DW_FORM_exprloc that points to the location list that contains the DW_OP_GNU_implicit_pointer reference to the DW_TAG_dwarf_procedure DIE: ... case DW_FORM_exprloc: len =3D read_uleb128 (ptr); form =3D DW_FORM_block1; break; ... And consequently, when we try to access the DIE in checksum_die, it's not available. --=20 You are receiving this mail because: You are on the CC list for the bug.