This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc visibility used by moz
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Benjamin Smedberg <benjamin at smedbergs dot us>, gcc at gcc dot gnu dot org
- Date: Fri, 14 Jul 2006 17:24:34 -0700
- Subject: Re: gcc visibility used by moz
- References: <44B412CC.5000507@smedbergs.us> <44B41C1A.3010000@redhat.com>
Jason Merrill wrote:
>
> It seems that you have a different mental model of type visibility.
I've gotten a little lost in this thread. Is there a clear proposal for
the semantics that we're leaning towards at this point?
One meta-note is that we're not the first people to consider this. I
wonder if the rules beginning at page 19 (Inter-DLL symbol visibility
and linkage) of the ARM C++ ABI:
http://www.arm.com/miscPDFs/8033.pdf
might be helpful? This is really about mapping dllexport/dllimport onto
ELF symbols, but there are some rules about how to decide whether
members of classes are exported.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713