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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 17:52:45 PST 2024


================
@@ -16,8 +17,10 @@
 //
 // Test html output.
 // RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -format html -o %t.dir/html -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs
+// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -format html -o %t.dir/html.binary -binary-counters=true -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs
----------------
MaskRay wrote:

Just `-binary-counters`. `=true` is a weird syntax that most command line parsing libraries don't allow.

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


More information about the llvm-commits mailing list