[cxx-abi-dev] Finding the type of a virtual table
    Mark Mitchell 
    mark at codesourcery.com
       
    Fri May 17 16:16:34 UTC 2002
    
    
  
> can only be used if D's primary vtable is available. Is it possible to
> uniquely determine D's primary table, given only D's type info? Is it
> true that it is the only vtable with offset-to-top = 0 and D's type info
> in its RTTI slot?
Yes -- except for construction vtables.  A D-in-E construction vtable
might also have this configuration.  But, it will not be named _ZTV1D;
you might be able to use the mangled name for D to obtain D's vtable,
if you have that handy.
--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com
    
    
More information about the cxx-abi-dev
mailing list