This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: #pragma weak conformance
- To: dje at watson dot ibm dot com
- Subject: Re: #pragma weak conformance
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Fri, 2 Nov 2001 17:49:13 -0800
- CC: gcc at gcc dot gnu dot org
- References: <200111022230.RAA30332@makai.watson.ibm.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Fri, 02 Nov 2001 17:30:55 -0500
> From: David Edelsohn <dje@watson.ibm.com>
> The Solaris semantics require that an alias of an identifier match
> a declaration. Is there any way to find the GCC declaration associated
> with an identifier?
That's one of those fundamental compiler pieces (the symbol table)
that's so hard to find in GCC. The function is called lookup_name.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>