[cfe-dev] Adding support for multiple non-virtual inheritance for -cxx-abi microsoft

Olivier Goffart ogoffart at kde.org
Mon Apr 8 11:17:01 PDT 2013


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 :-) )

http://blogs.msdn.com/b/oldnewthing/archive/2004/02/09/70002.aspx

-- 
Olivier



More information about the cfe-dev mailing list