rust/library
Rich Kadel e0dc8dec27 Completes support for coverage in external crates
The prior PR corrected for errors encountered when trying to generate
the coverage map on source code inlined from external crates (including
macros and generics) by avoiding adding external DefIds to the coverage
map.

This made it possible to generate a coverage report including external
crates, but the external crate coverage was incomplete (did not include
coverage for the DefIds that were eliminated.

The root issue was that the coverage map was converting Span locations
to source file and locations, using the SourceMap for the current crate,
and this would not work for spans from external crates (compliled with a
different SourceMap).

The solution was to convert the Spans to filename and location during
MIR generation instead, so precompiled external crates would already
have the correct source code locations embedded in their MIR, when
imported into another crate.
2020-08-04 11:06:54 -07:00
..
alloc Auto merge of #74605 - rust-lang:vec-leak, r=Amanieu 2020-08-01 22:29:30 +00:00
backtrace@4083a90168 std: Switch from libbacktrace to gimli 2020-07-28 16:34:01 -07:00
core Completes support for coverage in external crates 2020-08-04 11:06:54 -07:00
panic_abort
panic_unwind
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Auto merge of #74926 - Manishearth:rename-lint, r=jyn514 2020-07-31 02:20:47 +00:00
stdarch@311d56cd91 Update stdarch submodule 2020-07-28 09:41:09 -07:00
term
test
unwind