This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New vtable ABI (was Re: Strange behaviour in C++...)
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: New vtable ABI (was Re: Strange behaviour in C++...)
- From: Jason Merrill <jason at cygnus dot com>
- Date: 26 Aug 1999 17:13:29 -0700
- Cc: dje at watson dot ibm dot com, law at cygnus dot com, mrs at wrs dot com, oliva at dcc dot unicamp dot br, cj at interlog dot com, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- References: <199908270001.RAA27894@atrus.synopsys.com>
>>>>> Joe Buck <jbuck@synopsys.com> writes:
>> Rather than per-function offsets, we have per-target type offsets. These
>> offsets (if any) are stored at a negative index from the vptr.
> Hmm ... RTTI is currently there, but RTTI takes a fixed # of slots
> so it's no problem.
Actually, RTTI is currently at indices 0 and 1. It will probably make
sense to move them to negative offsets in the new model, since COM wants
the functions to start at offset 0.
Jason