[clang] [Coverage] Introduce `getBranchCounterPair()`. NFC. (PR #112702)

Jessica Paquette via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 20:22:54 PST 2024


================
@@ -2221,27 +2249,27 @@ struct CounterCoverageMappingBuilder
     extendRegion(E->getRHS());
     propagateCounts(getRegionCounter(E), E->getRHS());
 
+    if (llvm::EnableSingleByteCoverage)
----------------
ornata wrote:

I think that in the future, it would be really useful to add debug output to this code. It is becoming quite complex, with all of the types of coverage...

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


More information about the cfe-commits mailing list