diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-30 18:25:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-30 18:25:34 +0200 |
| commit | b2aebc1b76dc2173aed72a9b1512e3b367f4b6f2 (patch) | |
| tree | 5a7888d91bf6d288efdf6c74aabdbbecb6a8cd29 /compiler/rustc_codegen_gcc | |
| parent | 7a43417c36b35ff91dc826654435f3c6e5d31595 (diff) | |
| parent | 6c3314905574651fa2e004173187bd5d202f0df1 (diff) | |
| download | rust-b2aebc1b76dc2173aed72a9b1512e3b367f4b6f2.tar.gz rust-b2aebc1b76dc2173aed72a9b1512e3b367f4b6f2.zip | |
Rollup merge of #127157 - Zalathar:unexpand, r=cjgillot
coverage: Avoid getting extra unexpansion info when we don't need it Several callers of `unexpand_into_body_span_with_visible_macro` would immediately discard the additional macro-related information, which is wasteful. We can avoid this by having them instead call a simpler method that just returns the span they care about. This PR also moves the relevant functions out of `coverage::spans::from_mir` and into a new submodule `coverage::unexpand`, so that calling them from `coverage::mappings` is less awkward. There should be no actual changes to coverage-instrumentation output, as demonstrated by the absence of test updates.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
