This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New vtable ABI (was Re: Strange behaviour in C++...)


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]