rust/compiler/rustc_mir/src/util
Rich Kadel c45ee4bb29 Coverage tests for remaining TerminatorKinds and async, improve Assert
Tested and validate results for panic unwind, panic abort, assert!()
macro, TerminatorKind::Assert (for example, numeric overflow), and
async/await.

Implemented a previous documented idea to change Assert handling to be
the same as FalseUnwind and Goto, so it doesn't get its own
BasicCoverageBlock anymore. This changed a couple of coverage regions,
but I validated those changes are not any worse than the prior results,
and probably help assure some consistency (even if some people might
disagree with how the code region is consistently computed).

Fixed issue with async/await. AggregateKind::Generator needs to be
handled like AggregateKind::Closure; coverage span for the outer async
function should not "cover" the async body, which is actually executed
in a separate "closure" MIR.
2020-12-03 09:50:09 -08:00
..
aggregate.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
alignment.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
borrowck_errors.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
collect_writes.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
elaborate_drops.rs Use SmallVec in SwitchTargets 2020-10-11 01:14:12 +02:00
find_self_call.rs Note when a a move/borrow error is caused by a deref coercion 2020-09-10 20:56:20 -04:00
generic_graphviz.rs Coverage tests for remaining TerminatorKinds and async, improve Assert 2020-12-03 09:50:09 -08:00
graphviz.rs Rust coverage before splitting instrument_coverage.rs 2020-11-05 18:24:12 -08:00
mod.rs Adds coverage graphviz 2020-11-05 18:24:14 -08:00
patch.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
pretty.rs Introduce TypeVisitor::BreakTy 2020-11-14 20:25:27 +01:00
spanview.rs Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
storage.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00