search for: ctor_complete

Displaying 2 results from an estimated 2 matches for "ctor_complete".

2012 Feb 27
3
[LLVMdev] Microsoft constructors implementation problem.
...eax,dword ptr [this] 012B1A08 mov dword ptr [eax+edx],offset second::`vftable' (12B77F4h) 012B1A0F mov eax,dword ptr [this] ................................................................................ As you can see 'push 1' for MS ABI is like ctor_base & ctor_complete for Itanium ABI. If second ctor was called from another ctor(for example child that inherits second) on stack will be pushed 0, and ctor in second will not initialize vbtable and call first::ctor. Add new class. class third : public second, public first {}; .......................................
2012 Feb 27
0
[LLVMdev] Microsoft constructors implementation problem.
...] > 012B1A08  mov         dword ptr [eax+edx],offset second::`vftable' > (12B77F4h) > 012B1A0F  mov         eax,dword ptr [this] > ................................................................................ > As you can see 'push 1' for MS ABI is like ctor_base & ctor_complete for > Itanium ABI. > If second ctor was called from another ctor(for example child that > inherits second) on stack will be pushed 0, > and ctor in second will not initialize vbtable and call first::ctor. > > Add new class. > > class third : public second, public first {}; &...