diff options
| author | bors <bors@rust-lang.org> | 2023-08-17 05:33:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-17 05:33:42 +0000 |
| commit | aa864a7622f32bafddb22257087478b12e535911 (patch) | |
| tree | 3d8c1385e1aec605ab0c42d521285045fcf905b3 /compiler/rustc_codegen_llvm/src | |
| parent | c5833f1956bea474034ffec5ab2c75f343548038 (diff) | |
| parent | bfb16545a3bbb602756710000acac3ac8acd5186 (diff) | |
| download | rust-aa864a7622f32bafddb22257087478b12e535911.tar.gz rust-aa864a7622f32bafddb22257087478b12e535911.zip | |
Auto merge of #114875 - Zalathar:line-numbers, r=ozkanonur
coverage: Anonymize line numbers in `run-coverage` test snapshots LLVM's coverage reporter always prints line numbers in its coverage reports. For testing purposes this is slightly inconvenient, because it means that adding or removing a line in a test file causes all subsequent lines in the snapshot to change. That makes it harder to see the actually meaningful changes in the re-blessed snapshot. --- This change fixes that by adding another normalization pass that replaces all line numbers in the coverage reports with `LL`, which is similar to what UI tests tell the compiler to do when emitting line numbers in error messages.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
