[cxx-abi-dev] Ordering of introduced functions before replicated overridden functions from non-primary

Mark Mitchell mark at codesourcery.com
Fri Sep 13 20:58:17 UTC 2002


> Left side is 3.0.3, right side (scrolll over to the right end) is 3.2.
> There are
> 3 differences:
> 1. the round brackets beside function names
> 2. the  negative values in the offsets are shown as their unsigned
> equivalent

I'm not sure what you're getting at with these first two points; these
don't matter as far as I can tell.

> 3. the order of function in 3.0.3 is:
> f,j,h,g while the order in 3.2 is f,j,g,h

Yes, this is a change.  GCC 3.2 is correct.  After laying out the
primary part of the vtable, you iterate through the remaining functions,
adding those that are overridden in the final derived class but do not
already appear.

The bullets in Category 2 are not supposed to indicate ordering,
although just yesterday another person was confused by this as well.

I will endeavor to clarify this portion.

-- 
Mark Mitchell                mark at codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the cxx-abi-dev mailing list