From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17096 invoked by alias); 23 May 2011 21:11:22 -0000 Received: (qmail 17087 invoked by uid 22791); 23 May 2011 21:11:21 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 May 2011 21:11:07 +0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/49130] New: discrepancies between DW_AT_name and demangler X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 23 May 2011 21:34:00 -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 X-SW-Source: 2011-05/txt/msg02137.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49130 Summary: discrepancies between DW_AT_name and demangler Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned@gcc.gnu.org ReportedBy: tromey@gcc.gnu.org >>From the tail of this email: http://sourceware.org/ml/gdb-patches/2011-05/msg00524.html There are a number of places where DW_AT_name disagrees with the demangler: Computed physname ::data()> does not match demangled ::data()> (from linkage <_ZN3WTF10FixedArrayIdLm8EE4dataEv>) - FYI its DW_TAG_class_type DW_AT_name is: FixedArray Computed physname ::hash(void*)> does not match demangled ::hash(void const*)> (from linkage <_ZN3WTF7PtrHashIPKvE4hashES2_>) - const issue Computed physname does not match demangled (from linkage <_ZNK7WebCore18RangeBoundaryPoint6offsetEv>) - maybe different const issue (I didn't verify the const issues in the DWARF, it may be a gdb bug) I think it would be best if DW_AT_name matched the demangler in all cases. (I think it is arguable whether DW_AT_name should include the template parameters; but we should at least discuss on the gdb list before considering this, and anyway this would require a complete solution to PR 41736) See also PR 33861