diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-27 22:23:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 22:23:25 +0100 |
| commit | adf9b5fcd1de43eaf0a779e10612caee8b47bede (patch) | |
| tree | 289ba0f5d1eeb373af710778bf4b2eaf27b4e2b0 /compiler/rustc_codegen_gcc | |
| parent | af1ca153d4aed5ffe22445273aa388a8d3f8f4ae (diff) | |
| parent | 2748009aade554a31dd4ea3312cf7a8314f6105d (diff) | |
| download | rust-adf9b5fcd1de43eaf0a779e10612caee8b47bede.tar.gz rust-adf9b5fcd1de43eaf0a779e10612caee8b47bede.zip | |
Rollup merge of #133418 - Zalathar:spans, r=jieyouxu
coverage: Store coverage source regions as `Span` until codegen Historically, coverage spans were converted into line/column coordinates during the MIR instrumentation pass. This PR moves that conversion step into codegen, so that coverage spans spend most of their time stored as `Span` instead. In addition to being conceptually nicer, this also reduces the size of coverage mappings in MIR, because `Span` is smaller than 4x u32. --- There should be no changes to coverage output.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
