[cxx-abi-dev] comparing type_infos (was Re: Patch for throw/catch problems)

Jason Merrill jason_merrill at redhat.com
Wed Aug 15 14:46:42 UTC 2001


>>>>> "Mark" == Mark Mitchell <mark at codesourcery.com> writes:

> Interesting idea.  But, you've spotted the major issue; a
> pointer-to-member contains an implicit reference into the vtable; values
> are looked up without being called.  I assume that the dynamic linker
> smushes weak symbols together first and then does relocations only
> against the survivors.  If we had thought of this we could have put
> bits on the pointers-to-members to indicate whether they were resolved
> or not.  Rats.

Huh?  I don't understand.  The function pointers in vtables are never
compared, so stubbing them out a la PLT should be fine.

Jason



More information about the cxx-abi-dev mailing list