From: Daniel Jacobowitz <dan@codesourcery.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Ulrich Weigand <uweigand@de.ibm.com>,
gdb-patches@sourceware.org, Keith Seitz <keiths@redhat.com>
Subject: Re: Is physname mangled or not? (PR c++/8216)
Date: Wed, 04 May 2011 17:00:00 -0000 [thread overview]
Message-ID: <20110504165903.GA26809@caradoc.them.org> (raw)
In-Reply-To: <20110504150846.GA27179@host1.jankratochvil.net>
On Wed, May 04, 2011 at 05:08:46PM +0200, Jan Kratochvil wrote:
> On Tue, 03 May 2011 20:58:49 +0200, Ulrich Weigand wrote:
> > - For template classes, the method name of a constructor does
> > *not* contain the template instance type list, while the type
> > name does, and thus the strcmp fails
>
> <1><55>: Abbrev Number: 6 (DW_TAG_class_type)
> <56> DW_AT_name : (indirect string, offset: 0xb): C<int>
> <2><61>: Abbrev Number: 7 (DW_TAG_subprogram)
> <63> DW_AT_name : C
> <68> DW_AT_declaration : 1
> <69> DW_AT_object_pointer: <0x71>
> <3><71>: Abbrev Number: 4 (DW_TAG_formal_parameter)
> <72> DW_AT_type : <0x80>
> <76> DW_AT_artificial : 1
> <2><78>: Abbrev Number: 8 (DW_TAG_template_type_param)
> <79> DW_AT_name : T
> <7b> DW_AT_type : <0x119>
> (less important attributes removed).
>
> This is IMO a GCC debug/ bug, shouldn't <63> DW_AT_name be `C<int>'?
No. The constructor is named C, not C<int>, I believe.
--
Daniel Jacobowitz
Mentor Graphics
next prev parent reply other threads:[~2011-05-04 17:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-03 18:59 Ulrich Weigand
2011-05-04 15:09 ` Jan Kratochvil
2011-05-04 17:00 ` Daniel Jacobowitz [this message]
2011-05-04 17:10 ` Jan Kratochvil
2011-05-04 17:33 ` Ulrich Weigand
2011-05-04 17:57 ` Jan Kratochvil
2011-05-04 17:58 ` Daniel Jacobowitz
2011-05-05 17:10 ` Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110504165903.GA26809@caradoc.them.org \
--to=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=keiths@redhat.com \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox