public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Keith Seitz <keiths@redhat.com>
Cc: sami wagiaalla <swagiaal@redhat.com>,
	Project Archer <archer@sourceware.org>
Subject: Re: Template function support
Date: Fri, 11 Jun 2010 03:32:00 -0000	[thread overview]
Message-ID: <m3eige6y7d.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4C113B37.9080309@redhat.com> (Keith Seitz's message of "Thu, 10 Jun 2010 12:21:27 -0700")

Keith> I wonder if having DW_TAG_template_*_parameter and a better symbol
Keith> table layout would facilitate things like this? [I know a better
Keith> symbol table layout would help in many other areas involving lookups.]

I think there are 2 issues.

First, we need some way to get from the unadorned name to the various
instantiations.

Second, once we have an instantiation, it would be handy if the
parameters were represented as symbols attached to the instantiation's
symbol.  I plan to do this once Sami's patch to deal with the
c++-specific stuff in general_symbol_info goes in.

In the long run maybe we want to move to a multi-level symbol table.
This isn't totally clear to me -- it would be more conventional, but I
am having trouble at the moment thinking of ways that our current
approach prevents us from doing what we want.

Tom

  reply	other threads:[~2010-06-11  3:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10 18:57 sami wagiaalla
2010-06-10 19:00 ` Keith Seitz
2010-06-10 19:11   ` Tom Tromey
2010-06-10 19:21     ` Keith Seitz
2010-06-11  3:32       ` Tom Tromey [this message]
2010-06-11 14:23         ` sami wagiaalla
2010-06-10 19:17   ` sami wagiaalla
2010-06-10 19:43 ` Tom Tromey
2010-06-10 20:04   ` sami wagiaalla
2010-06-11  3:29     ` Tom Tromey

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=m3eige6y7d.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=archer@sourceware.org \
    --cc=keiths@redhat.com \
    --cc=swagiaal@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).