about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-29 20:12:36 +0200
committerGitHub <noreply@github.com>2024-05-29 20:12:36 +0200
commit6ef3dd0d383438770aed1faf37d3f15792aaa7aa (patch)
tree7b67cd1516d28928cb24e6937e476483318ea809 /compiler/rustc_codegen_llvm
parente4ec56a796c71417579319442701dd16bba75d91 (diff)
parent268b9a74e38595c5ee71d7bb9152ee1a3bbf9242 (diff)
downloadrust-6ef3dd0d383438770aed1faf37d3f15792aaa7aa.tar.gz
rust-6ef3dd0d383438770aed1faf37d3f15792aaa7aa.zip
Rollup merge of #125719 - Zalathar:run-coverage, r=jieyouxu
Extract coverage-specific code out of `compiletest::runtest`

I had been vaguely intending to do this for a while, but seeing #89475 on the compiletest dashboard inspired me to actually go and do it.

This moves a few hundred lines of coverage-specific code out of the main module, making navigation a bit easier. There is still a small amount of coverage-specific logic in broader functions in that module, since it can't easily be moved.

This is just cut-and-paste plus fixing visibility and imports, so no functional changes.

I also removed the unit test for anonymizing line numbers in MC/DC reports, as foreshadowed by the comment I wrote when adding it. That functionality is now adequately exercised by the actual snapshot tests for MC/DC coverage.

(Removing the test now avoids the need to move it, or to make the function it calls visible.)
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions