kpyzhov added inline comments.
================ Comment at: clang/lib/CodeGen/CodeGenModule.cpp:4294 setNonAliasAttributes(GD, Fn); SetLLVMFunctionAttributesForDefinition(D, Fn); if (const ConstructorAttr *CA = D->getAttr<ConstructorAttr>()) ---------------- tra wrote: > Perhaps this should be pushed further down into `shouldBeInCOMDAT()` which > seems to be the right place to decide whether something is not suitable for > comdat. Good idea. Let me do that. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63277/new/ https://reviews.llvm.org/D63277 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits