================ @@ -1227,7 +1241,8 @@ void CodeGenModule::EmitDeferredVTables() { #endif for (const CXXRecordDecl *RD : DeferredVTables) - if (shouldEmitVTableAtEndOfTranslationUnit(*this, RD)) + if (shouldEmitVTableAtEndOfTranslationUnit(*this, RD) && + !RD->shouldEmitInExternalSource()) ---------------- efriedma-quic wrote:
I think this is redundant? https://github.com/llvm/llvm-project/pull/75912 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits