about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-21 10:08:16 +0200
committerGitHub <noreply@github.com>2023-10-21 10:08:16 +0200
commitad574d9799beea4c79cec3c6ac69f5950d13ee32 (patch)
treeb1b3f3d3177307b92d3df8b160a8549ee434835b /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent3fd7175db4aa7480ba349ad7e5ea23138d38bed0 (diff)
parentff02d9200ca36be1b8db857c286312f2a52d40f6 (diff)
downloadrust-ad574d9799beea4c79cec3c6ac69f5950d13ee32.tar.gz
rust-ad574d9799beea4c79cec3c6ac69f5950d13ee32.zip
Rollup merge of #116917 - Zalathar:injection, r=cjgillot
coverage: Simplify the injection of coverage statements

This is a follow-up to #116046 that I left out of that PR because I didn't want to make it any larger.

After the various changes we've made to how coverage data is stored and transferred, the old code structure for injecting coverage statements into MIR is built around a lot of constraints that don't exist any more. We can simplify it by replacing it with a handful of loops over the BCB node/edge counters and the BCB spans.

---

`@rustbot` label +A-code-coverage
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions