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

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 02:21:03 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));
----------------
stma247 wrote:

Okay, I changed the default to true.

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


More information about the llvm-commits mailing list