oyvindln
5bd3d0e99d
Update miniz_oxide dependency of coverage_dump
2025-05-10 18:35:20 +02:00
Zalathar
c53a76743c
coverage-dump: Dump filenames instead of global file IDs (and bless)
2025-05-06 11:58:58 +10:00
Zalathar
041b2b2c98
coverage-dump: Make filenames available to covfun record dumping
...
Actually printing the filenames is deferred to a subsequent commit that will
simultaneously bless all affected tests.
2025-05-06 11:58:58 +10:00
Zalathar
f1b8cd433f
coverage-dump: Include filenames hash in covfun line data
2025-05-06 11:58:58 +10:00
Zalathar
bc3f0e326a
coverage-dump: Extract a common parser method for maybe-compressed bytes
2025-05-06 11:58:58 +10:00
Zalathar
89319f2e12
coverage-dump: Extract some common code to an llvm_utils submodule
2025-05-06 11:58:50 +10:00
Zalathar
a3d5562fcf
bootstrap: Add check/test/run steps for src/tools/coverage-dump
...
This also causes the coverage-dump unit tests to run in CI and `./x test` by
default.
2025-05-06 11:48:37 +10:00
bjorn3
1fcae03369
Rustfmt
2025-02-08 22:12:13 +00:00
Zalathar
599f95ecc2
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.)
2024-10-11 21:04:37 +11:00
Michael Goulet
c682aa162b
Reformat using the new identifier sorting from rustfmt
2024-09-22 19:11:29 -04:00
Nicholas Nethercote
84ac80f192
Reformat use declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Zalathar
9abfebdf1e
Add an alternate --demangle mode to coverage-dump
...
The coverage-dump tool already needs `rustc_demangle` for its own purposes, so
the amount of extra code needed for a demangle mode is very small.
2024-05-31 21:52:45 +10:00
zhuyunxing
1135cd3e78
Add MC/DC support to coverage test tools
2024-04-08 21:30:03 +10:00
Mark Rousskov
9a5034a20e
Step all bootstrap cfgs forward
...
This also takes care of other bootstrap-related changes.
2024-02-08 07:44:34 -05:00
Zalathar
1367104cb2
Add tool src/tools/coverage-dump for use by some new coverage tests
2023-09-05 11:11:48 +10:00