From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38517 invoked by alias); 4 Oct 2019 09:03:53 -0000 Mailing-List: contact libabigail-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Id: List-Subscribe: Sender: libabigail-owner@sourceware.org Received: (qmail 38481 invoked by uid 55); 4 Oct 2019 09:03:50 -0000 From: "dodji at seketeli dot org" To: libabigail@sourceware.org Subject: [Bug default/25058] abigail does not handle subprogram DIEs with DW_AT_ranges instead of DW_AT_low_pc 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: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dodji at seketeli dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-q4/txt/msg00022.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25058 --- Comment #8 from dodji at seketeli dot org --- "simark at simark dot ca" a =C3=A9crit: > Just to clarify: by looking up the ELF symbol associated to the low pc of= the > _first_ range may not be sufficient, as it could give you the wrong ELF s= ymbol. [...] Right, I think we should get the first address that corresponds to a function symbol that is defined and publicly exported. I initially wrote a patch that was just taking the first address of the range referred to by DW_AT_ranges, and then I read your comment addressing this issue and I updated the patch to make sure the address we are getting (from the range) is for a publicly exported function symbol. Thanks for the discussion. --=20 You are receiving this mail because: You are on the CC list for the bug.