nmusgrave added inline comments. ================ Comment at: lib/CodeGen/CGCXX.cpp:42-44 @@ -33,1 +41,5 @@ bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { + // If sanitizing memory to check for use-after-dtor, do not emit as + // an alias, unless it has no fields or has only fields with non-trivial + // destructors. + if (getCodeGenOpts().SanitizeMemoryUseAfterDtor) ---------------- vptr poisoning will be implemented in another CL after this is approved
http://reviews.llvm.org/D12022 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits