rust/compiler/rustc_mir/src
Rich Kadel def932ca86 Combination of commits
Fixes multiple issue with counters, with simplification

  Includes a change to the implicit else span in ast_lowering, so coverage
  of the implicit else no longer spans the `then` block.

  Adds coverage for unused closures and async function bodies.

  Fixes: #78542

Adding unreachable regions for known MIR missing from coverage map

Cleaned up PR commits, and removed link-dead-code requirement and tests

  Coverage no longer depends on Issue #76038 (`-C link-dead-code` is
  no longer needed or enforced, so MSVC can use the same tests as
  Linux and MacOS now)

Restrict adding unreachable regions to covered files

  Improved the code that adds coverage for uncalled functions (with MIR
  but not-codegenned) to avoid generating coverage in files not already
  included in the files with covered functions.

Resolved last known issue requiring --emit llvm-ir workaround

  Fixed bugs in how unreachable code spans were added.
2020-12-03 09:50:10 -08:00
..
borrow_check Auto merge of #78801 - sexxi-goose:min_capture, r=nikomatsakis 2020-11-17 03:56:03 +00:00
const_eval move intrinsic to CTFE, add FIXME 2020-12-03 12:21:47 +05:30
dataflow compiler: fold by value 2020-11-16 22:34:57 +01:00
interpret move intrinsic to CTFE, add FIXME 2020-12-03 12:21:47 +05:30
monomorphize Remove ForeignMod struct. 2020-11-26 21:32:27 +01:00
transform Combination of commits 2020-12-03 09:50:10 -08:00
util Coverage tests for remaining TerminatorKinds and async, improve Assert 2020-12-03 09:50:09 -08:00
lib.rs TypeVisitor: use ControlFlow in rustc_{mir,privacy,traits,typeck} 2020-10-30 12:27:44 +01:00
shim.rs Support building clone shims for arrays with generic size 2020-11-21 00:00:00 +00:00