[clang] [compiler-rt] [llvm] [InstrProf] Single byte counters in coverage (PR #75425)
Alan Phipps via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 10:53:09 PST 2024
================
@@ -1519,38 +1543,53 @@ struct CounterCoverageMappingBuilder
}
// Create Branch Region around condition.
- createBranchRegion(S->getCond(), BodyCount,
- subtractCounters(CondCount, BodyCount));
+ if (!llvm::EnableSingleByteCoverage)
+ createBranchRegion(S->getCond(), BodyCount,
+ subtractCounters(CondCount, BodyCount));
----------------
evodius96 wrote:
I may have missed it, but do you plan to handle branch regions at some point with explicit byte counters?
https://github.com/llvm/llvm-project/pull/75425
More information about the cfe-commits
mailing list