[llvm] [Coverage] Rework Decision/Expansion/Branch (PR #78969)
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 14:08:39 PST 2024
================
@@ -580,6 +583,72 @@ static unsigned getMaxBitmapSize(const CounterMappingContext &Ctx,
return MaxBitmapID + (SizeInBits / CHAR_BIT);
}
+struct DecisionRow {
+ const CounterMappingRegion *DecisionRegion;
+ LineColPair DecisionStartLoc;
+ LineColPair DecisionEndLoc;
+
+ SmallVector<const CounterMappingRegion *, 6> Branches;
----------------
chapuni wrote:
I didn't mention `6` since it will be enhanced in the future. I will remove `6` for now rather than adding explanations.
https://github.com/llvm/llvm-project/pull/78969
More information about the llvm-commits
mailing list