We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ba219 commit 97015cbCopy full SHA for 97015cb
clang/lib/CodeGen/CoverageMappingGen.cpp
@@ -962,7 +962,8 @@ struct CounterCoverageMappingBuilder
962
963
// The old behavior of SingleByte is unaware of Branches.
964
if (llvm::EnableSingleByteCoverage) {
965
- assert(SkipCntForOld);
+ assert(SkipCntForOld &&
966
+ "SingleByte must provide SkipCntForOld as a fake Skipped count.");
967
return {ExecCnt, *SkipCntForOld};
968
}
969
0 commit comments