From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.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:58:00 -0000 [thread overview]
Message-ID: <20110504175821.GA3141@caradoc.them.org> (raw)
In-Reply-To: <201105041732.p44HWhvj008763@d06av02.portsmouth.uk.ibm.com>
On Wed, May 04, 2011 at 07:32:43PM +0200, Ulrich Weigand wrote:
> It seems that by now we have agreement that GCC is correct here. So I guess
> I see two options remaining:
>
> - Code a test that compares class name and (demangled) function name, but
> explicitly removes template instance parameters first
>
> or
>
> - Have the symbol reader call is_constructor_name on the mangled name while
> it is still available, and store that information somewhere in the type
> information
>
> Thoughts?
I'd suggest the former. Anything you do with mangled names will be
unexpectedly complex; sometimes you just can't count on having them.
--
Daniel Jacobowitz
Mentor Graphics
next prev parent reply other threads:[~2011-05-04 17:58 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
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 [this message]
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=20110504175821.GA3141@caradoc.them.org \
--to=drow@false.org \
--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