From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13027 invoked by alias); 19 Feb 2016 19:44:24 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 12997 invoked by uid 48); 19 Feb 2016 19:44:20 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/19500] .callee test failures Date: Fri, 19 Feb 2016 19:44:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org 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: 2016-q1/txt/msg00100.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19500 --- Comment #1 from David Smith --- This appears to be the result of s390x's odd debuginfo. On x86_64, you'll s= ee something like this (from 'eu-readelf --debug-dump libreloc.so'): =3D=3D=3D=3D ... [ 2d] subprogram external (flag_present) Yes name (string) "bar" ... [ 79] subprogram external (flag_present) Yes name (string) "foo" ... GNU_all_call_sites (flag_present) Yes ... [ bb] GNU_call_site low_pc (addr) +0x00000000000006e2 abstract_origin (ref4) [ 2d] ... =3D=3D=3D=3D This means that foo() has one callee, bar(), which we can see since foo() h= as 1 GNU_call_site attribute, whose abstract_origin is 2d (which maps to bar()). On s390x, we see the following (from 'eu-readelf --debug-dump libreloc.so'): =3D=3D=3D=3D ... [ 2d] subprogram external (flag_present) Yes name (string) "bar" ... [ 7b] subprogram external (flag_present) Yes name (string) "foo" ... GNU_all_call_sites (flag_present) Yes [ bd] GNU_call_site low_pc (addr) +0x000000000000073a ... =3D=3D=3D=3D On s390x, we've got a GNU_call_site attribute, but it doesn't have an abstract_origin attribute to tell us which function was called. I've sent an email to a gcc developer and we'll see if he can shine any lig= ht on this. --=20 You are receiving this mail because: You are the assignee for the bug.