[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [cxx-abi-dev] Vtable layout question
- To: cxx-abi-dev@xxxxxxxxxxxxxxxx
- Subject: Re: [cxx-abi-dev] Vtable layout question
- From: Dennis Handly <dhandly@xxxxxxxxxx>
- Date: Thu, 24 Jul 2003 22:21:30 -0700 (PDT)
>My question is why does the location and order of the secondary vtables
>matter. I *think* the only way to get to one of these secondary vtables
>is through the VTT, in which case all that really matters is that the
>pointers in the VTT point to the correct vtables and the actual ordering
>and location of those vtables is immaterial.
Steve Ellcey
I believe Mark mentioned this was for an optimization that didn't prove
useful in the long term.
Also, g++ accesses the secondary vtables directly in the ctors/dtors of
the complete object versions. The base object versions would use the
entries in the VTT.
|