rust/src/tools/coverage-dump
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
..
src Step all bootstrap cfgs forward 2024-02-08 07:44:34 -05:00
Cargo.toml Add tool src/tools/coverage-dump for use by some new coverage tests 2023-09-05 11:11:48 +10:00
README.md Add tool src/tools/coverage-dump for use by some new coverage tests 2023-09-05 11:11:48 +10:00

This tool extracts coverage mapping information from an LLVM IR assembly file (.ll), and prints it in a more human-readable form that can be used for snapshot tests.

The output format is mostly arbitrary, so it's OK to change the output as long as any affected tests are also re-blessed. However, the output should be consistent across different executions on different platforms, so avoid printing any information that is platform-specific or non-deterministic.