[clang] [llvm] `llvm-cov` assertion failure when handling MC/DC that involves macros (PR #80098)

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 21:37:46 PST 2024


================
@@ -1973,6 +1981,8 @@ struct CounterCoverageMappingBuilder
   void VisitBinLAnd(const BinaryOperator *E) {
     bool IsRootNode = MCDCBuilder.isIdle();
 
+    MCDCDebugCounter++;
----------------
chapuni wrote:

I didn't understand the strategy to assign it.

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


More information about the cfe-commits mailing list