EricWF marked an inline comment as done. EricWF added inline comments.
================ Comment at: lib/CodeGen/CGBuiltin.cpp:1947-1948 + const auto *Record = ArgTy->getAsCXXRecordDecl(); + if (CGM.getCodeGenOpts().StrictVTablePointers && Record && + Record->isDynamicClass()) + Ptr = Builder.CreateInvariantGroupBarrier(Ptr); ---------------- rsmith wrote: > I think you also need to catch class types that contain dynamic classes as > subobjects. Only by-value subobjects, or also reference subobjects? https://reviews.llvm.org/D40218 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits