nickdesaulniers accepted this revision. nickdesaulniers added a comment. This revision is now accepted and ready to land.
Nice idea to create `Function::createWithDefaultAttr` then reuse for multiple purposes! ================ Comment at: llvm/lib/IR/Function.cpp:333 Function *Function::createWithDefaultAttr(FunctionType *Ty, LinkageTypes Linkage, ---------------- we should call this from gcov too to solve https://github.com/ClangBuiltLinux/linux/issues/955. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101016/new/ https://reviews.llvm.org/D101016 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits