[llvm] llvm-cov: Introduce `--binary-counters` (PR #120841)

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 22 23:07:33 PST 2024


================
@@ -1023,6 +1023,11 @@ int CodeCoverageTool::doShow(int argc, const char **argv,
   cl::alias ShowOutputDirectoryA("o", cl::desc("Alias for --output-dir"),
                                  cl::aliasopt(ShowOutputDirectory));
 
+  cl::opt<bool> BinaryCounters(
+      "binary-counters", cl::Optional,
+      cl::desc("Show 1/0 instead of actual counter values."),
----------------
chapuni wrote:

Done, with rewording `lines/branches` since counters belong line and branches.

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


More information about the llvm-commits mailing list