[cfe-dev] Adding support for multiple non-virtual inheritance for -cxx-abi microsoft
rjmccall at apple.com
Mon Apr 8 11:36:24 PDT 2013
On Apr 8, 2013, at 11:17 AM, Olivier Goffart <ogoffart at kde.org> wrote:
> On Monday 08 April 2013 22:02:17 Timur Iskhodzhanov wrote:
>> 2013/4/8 John McCall <rjmccall at apple.com>:
>>> I also find it curious that MSVC uses a thunk for member pointers, since
>>> the required this-adjustment is already plainly expressible in the member
>>> pointer value.
>> Me too actually.
>> Reid, wdyt?
> Actualy, in MSVC API, the pointer to member function are just sizeof(void*) in
> the single inheritance case. It does not contains enough bits to put an offset.
> (We had that discussion before :-) )
We were originally just talking about the multiple-inheritance case here,
although it seems like there may have been confusion — it sounds like there
may be a thunk for virtual member functions regardless of inheritance model.
More information about the cfe-dev