From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130022 invoked by alias); 26 Feb 2015 16:03:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 129952 invoked by uid 48); 26 Feb 2015 16:03:14 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/64999] s390x libgo test failure in TestMemoryProfiler Date: Thu, 26 Feb 2015 16:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg02944.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64999 --- Comment #31 from Ian Lance Taylor --- > Why is it important to be able to map a file:line to a single PC? The problem is that the Go code in the runtime/pprof package assumes that it can take a single PC value and map that to a meaningful file/line. Which it can, but with gccgo it loses inlining information. >> But there is no useful file/line information in a signal handler anyhow. > > I would imagine file:line information *is* useful for user written signal handlers and in case of a panic or crash. Sorry, I misspoke. I meant signal trampoline--the code in the C library that is invoked by the kernel--not signal handler.