[llvm] [llvm-cov] Fix branch counts of template functions (#111743) (PR #113925)

Alan Phipps via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 15:44:43 PST 2024


================
@@ -1270,13 +1270,18 @@ int CodeCoverageTool::doExport(int argc, const char **argv,
                               cl::desc("Don't export branch data (LCOV)"),
                               cl::cat(ExportCategory));
 
+  cl::opt<bool> UnifyInstantiations("unify-instantiations", cl::Optional,
+                                    cl::desc("Unify function instantiations"),
+                                    cl::init(false), cl::cat(ExportCategory));
----------------
evodius96 wrote:

Would it be worthwhile to turn this ON by default?  Then the summary would be more consistent with the summary output of `llvm-cov show`.

https://github.com/llvm/llvm-project/pull/113925


More information about the llvm-commits mailing list