getClassAtVTableLocation() was calling ASTRecordLayout::getBaseClassOffset() on a virtual base, causing an assert.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I was asking myself the same thing :-) It's because of this code in MicrosoftCXXABI::getVirtualFunctionPointer:
if (CGM.getCodeGenOpts().PrepareForLTO) // XXX: Aha! CGF.EmitTypeMetadataCodeForVCall( getClassAtVTableLocation(getContext(), GD, ML), VTable, Loc);