COMDAT

Mark Mitchell mark at codesourcery.com
Fri Sep 1 05:48:16 UTC 2000


When the ABI specifies that things must be placed in the same COMDAT
group, does that really matter?

For example, suppose that you put all virtual function thunks in
COMDAT groups, using the mangled name of the thunk as the name of the
COMDAT group.  (This is sub-optimal because you cannot use the
fall-through implementation of thunks, but that's not an ABI issue.)
Should this be allowed by the ABI?

(Right now, the ABI specifies that you must put the virtual function in
the same COMDAT group as the thunked-to function.)

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




More information about the cxx-abi-dev mailing list