[llvm-branch-commits] [clang] [llvm] [Coverage] Make additional counters available for BranchRegion. NFC. (PR #112730)

Jessica Paquette via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 19 21:35:08 PST 2024


================
@@ -638,6 +638,10 @@ static unsigned getMaxCounterID(const CounterMappingContext &Ctx,
   unsigned MaxCounterID = 0;
   for (const auto &Region : Record.MappingRegions) {
     MaxCounterID = std::max(MaxCounterID, Ctx.getMaxCounterID(Region.Count));
+    if (Region.Kind == CounterMappingRegion::BranchRegion ||
----------------
ornata wrote:

OK cool

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


More information about the llvm-branch-commits mailing list