vtable layout
    Christophe de Dinechin 
    ddd at cup.hp.com
       
    Mon Aug 30 16:59:24 UTC 1999
    
    
  
>  > You need to locate them so that the address differences
>
>  >    &cvt-B-to-D - &B-in-D-vtable
>  >    &cvt-C-to-D - &C-in-D-vtable
>
>  > are equal
>
> I don't see why.  The D::C and D::B vtables can refer to different  
entry
> points, so they can look in different places to find the 'this'
> adjustment.
You could do that, but then that's no longer the scheme we  
discussed. The whole point of adjusting late is to have a single  
adjusting entry point, which is where speed and space benefits come  
from.
Christophe
    
    
More information about the cxx-abi-dev
mailing list