================
@@ -569,16 +577,26 @@ struct CounterCoverageMappingBuilder
 
   /// Return a counter for the subtraction of \c RHS from \c LHS
   Counter subtractCounters(Counter LHS, Counter RHS, bool Simplify = true) {
+    if (llvm::EnableSingleByteCoverage)
+      assert(
+          0 &&
+          "cannot subtract counters when single byte coverage mode is 
enabled");
----------------
gulfemsavrun wrote:

Thanks for the suggestion. Done!

https://github.com/llvm/llvm-project/pull/75425
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to