summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-11 12:21:06 +0200
committerGitHub <noreply@github.com>2024-10-11 12:21:06 +0200
commitc319be2c707c4061d23c2b4e1f04ae6fe6e5b531 (patch)
treeb2777c7486d0cdc2bccb2426b571842fa7e4ab5a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent007d635ff6fdc0ac5353046b0682036a08613854 (diff)
parent599f95ecc26fb68cccbf79780dd1825a4cf73eb0 (diff)
downloadrust-c319be2c707c4061d23c2b4e1f04ae6fe6e5b531.tar.gz
rust-c319be2c707c4061d23c2b4e1f04ae6fe6e5b531.zip
Rollup merge of #131476 - Zalathar:highest-counter, r=jieyouxu
coverage: Include the highest counter ID seen in `.cov-map` dumps

When making changes that have a large impact on coverage counter creation, this makes it easier to see whether the number of physical counters has changed.

(The highest counter ID seen in coverage maps is not necessarily the same as the number of physical counters actually used by the instrumented code, but it's the best approximation we can get from looking only at the coverage maps, and it should be reasonably accurate in most cases.)

Extracted from #131398, since I'm still considering whether to make those changes as-is, whereas this PR is useful and good on its own.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions