Re: [cxx-abi-dev] Non-cloned [cd]tors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] Non-cloned [cd]tors




On Nov 19, 2009, at 10:53 AM, Jason Merrill wrote:

On 11/19/2009 10:02 AM, Mark Mitchell wrote:
That's my recollection of how EDG did it too, in the sense that I think
there were fields in the IL for COMDAT group, and a COMDAT-capable
back-end could thus emit them in the right group.

A quick check with icc 10.1 shows that they currently put them in separate COMDATs as well. And they also emit a C9/D9 variant, curiously enough. Anyone know what that's for?

The EDG implementation used to have all the ABI-mandated ctors and dtors call an underlying "9" routine. That's no longer the case (since January of 2006, in our version).

On the larger issue, I can confirm that we do put each entry point into a COMDAT named the same as the routine.

Steve