[all-commits] [llvm/llvm-project] 896bce: [MC/DC][Coverage] Add assertions into emitSourceRe...
NAKAMURA Takumi via All-commits
all-commits at lists.llvm.org
Wed May 22 21:57:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 896bceb9537ecd906668fdd2bcb0310b32174917
https://github.com/llvm/llvm-project/commit/896bceb9537ecd906668fdd2bcb0310b32174917
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
A clang/test/CoverageMapping/mcdc-scratch-space.c
Log Message:
-----------
[MC/DC][Coverage] Add assertions into emitSourceRegions() (#89572)
`emitSourceRegions()` has bugs to emit malformed MC/DC coverage
mappings. They were detected in `llvm-cov` as the crash.
Detect inconsistencies earlier in `clang` with assertions.
* mcdc-scratch-space.c covers #87000.
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