diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-17 03:58:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-17 03:58:46 +0200 |
| commit | 1a7fdc7d5dd53a51db679454df8709257fee395b (patch) | |
| tree | 0a5b21d3bd339764e21ce2d5bcd890805fac50ef /compiler/rustc_codegen_llvm/src | |
| parent | bde6bf2b07b61f7da92c211d2b4a897ea4620e1b (diff) | |
| parent | 2a3e17c6d5c49eeb770ade2fa660f98e9cce0ce0 (diff) | |
| download | rust-1a7fdc7d5dd53a51db679454df8709257fee395b.tar.gz rust-1a7fdc7d5dd53a51db679454df8709257fee395b.zip | |
Rollup merge of #130380 - Zalathar:counters, r=jieyouxu
coverage: Clarify some parts of coverage counter creation This is a series of semi-related changes that are trying to make the `counters` module easier to read, understand, and modify. For example, the existing code happens to avoid ever using the count for a `TerminatorKind::Yield` node as the count for its sole out-edge (since doing so would be incorrect), but doesn't do so explicitly, so seemingly-innocent changes can result in baffling test failures. This PR also takes the opportunity to simplify some debug-logging code that was making its surrounding code disproportionately hard to read. There should be no changes to the resulting coverage instrumentation/mappings, as demonstrated by the absence of changes to the coverage test suite.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
