[all-commits] [llvm/llvm-project] 6a9d0e: [llvm-cov] Prevent assertion failure in sumMCDCPairs

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Mon Jan 27 21:57:29 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a9d0e53ae04a60222c8e39d8ced3183aa30588a
      https://github.com/llvm/llvm-project/commit/6a9d0e53ae04a60222c8e39d8ced3183aa30588a
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M llvm/tools/llvm-cov/CoverageSummaryInfo.cpp

  Log Message:
  -----------
  [llvm-cov] Prevent assertion failure in sumMCDCPairs

Since #112694, MCDCRecord::isCondFolded() has returned true for
"partially folded" conditions. Besides,
isConditionIndependencePairCovered() returns true if the unfolded
condition is satisfied. This might break consistency
(CoveredPairs <= NumPairs).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list