about summary refs log tree commit diff
path: root/tests/coverage/issue-85461.cov-map
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-10-08 13:13:05 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-10-11 21:04:37 +1100
commit599f95ecc26fb68cccbf79780dd1825a4cf73eb0 (patch)
treece4a2c66912ac798355db676724e3bb8957726f7 /tests/coverage/issue-85461.cov-map
parentce697f919d88b143d70312c0e7f3952fcb9869db (diff)
downloadrust-599f95ecc26fb68cccbf79780dd1825a4cf73eb0.tar.gz
rust-599f95ecc26fb68cccbf79780dd1825a4cf73eb0.zip
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.)
Diffstat (limited to 'tests/coverage/issue-85461.cov-map')
-rw-r--r--tests/coverage/issue-85461.cov-map1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/coverage/issue-85461.cov-map b/tests/coverage/issue-85461.cov-map
index d1c449b9a35..349bc2cab80 100644
--- a/tests/coverage/issue-85461.cov-map
+++ b/tests/coverage/issue-85461.cov-map
@@ -5,4 +5,5 @@ Number of files: 1
 Number of expressions: 0
 Number of file 0 mappings: 1
 - Code(Counter(0)) at (prev + 8, 1) to (start + 3, 2)
+Highest counter ID seen: c0