[MC/DC] Make covmap tolerant of nested Decisions#125407
Conversation
…ingle/merge Conflicts: llvm/test/tools/llvm-cov/Inputs/showLineExecutionCounts.cpp
…v/binary' into users/chapuni/cov/single/refactor-base Conflicts: llvm/test/tools/llvm-cov/branch-macros.test llvm/test/tools/llvm-cov/showLineExecutionCounts.test
…ngle/condop' and 'users/chapuni/cov/single/if' into users/chapuni/cov/single/binop-base
…/cov/single/binop
Conflicts: clang/lib/CodeGen/CoverageMappingGen.cpp llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
…/single/nextcount' into users/chapuni/cov/single/base
…ingle/loop Conflicts: clang/test/CoverageMapping/single-byte-counters.cpp
…ingle/if Conflicts: clang/test/CoverageMapping/single-byte-counters.cpp
…gle/nextcount-base
…ingle/nextcount-base
Conflicts: llvm/test/tools/llvm-cov/branch-macros.test llvm/test/tools/llvm-cov/showLineExecutionCounts.test
…gle/binop Conflicts: llvm/test/tools/llvm-cov/Inputs/branch-c-general-single.yaml
…single/binop Conflicts: llvm/test/tools/llvm-cov/Inputs/branch-c-general-single.yaml
🐧 Linux x64 Test Results
Failed Tests(click on a test name to see its output) lldb-apilldb-api.lang/c/calling-conventions/TestCCallingConventions.pylldb-api.lang/cpp/thread_local/TestThreadLocal.pyIf these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/31122 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/25744 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/19483 Here is the relevant piece of the build log for the reference |
This reverts commit 8f690ec.
…" (llvm#181069) This reverts commit 8f690ec because it caused errors in collecting coverage.
CoverageMappingWriter reorders `Region`s by `endLoc DESC` to prioritize wider `Decision` with the same `startLoc`. In `llvm-cov`, tweak seeking Decisions by reversal order to find smaller Decision first. llvmorg-23-init-2321-g8f690ec7ffd8
…83073) Change(s): - Suppress range errors in CounterExpr
…83073) Change(s): - Suppress range errors in CounterExpr
CoverageMappingWriter reorders
Regions byendLoc DESCto prioritize widerDecisionwith the samestartLoc.In
llvm-cov, tweak seeking Decisions by reversal order to find smaller Decision first.