about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-17 05:33:42 +0000
committerbors <bors@rust-lang.org>2023-08-17 05:33:42 +0000
commitaa864a7622f32bafddb22257087478b12e535911 (patch)
tree3d8c1385e1aec605ab0c42d521285045fcf905b3 /compiler/rustc_llvm/llvm-wrapper
parentc5833f1956bea474034ffec5ab2c75f343548038 (diff)
parentbfb16545a3bbb602756710000acac3ac8acd5186 (diff)
downloadrust-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_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions