hans added a comment.

In https://reviews.llvm.org/D25779#574630, @majnemer wrote:

> Why did this only fail with -flto? Seems strange.


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


Repository:
  rL LLVM

https://reviews.llvm.org/D25779



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to