[llvm] llvm-cov: Introduce `--binary-counters` (PR #120841)
Jessica Paquette via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 22 18:19:07 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."),
----------------
ornata wrote:
I think it might help coverage noobs a little to make it clear that 1 == covered, 0 == covered.
> Show when source is covered (1) or uncovered (0) instead of showing actual counter values.
https://github.com/llvm/llvm-project/pull/120841
More information about the llvm-commits
mailing list