coverage: Remove unhelpful code for handling multiple files per function
Functions currently can't have mappings in multiple files, and if that ever changes (e.g. to properly support expansion regions), this code will need to be completely overhauled anyway.
This commit is contained in:
parent
3f9c54caf0
commit
996bdabc2a
11 changed files with 96 additions and 108 deletions
|
@ -7,12 +7,13 @@
|
|||
let mut _2: bool;
|
||||
let mut _3: !;
|
||||
|
||||
+ coverage body span: $DIR/instrument_coverage.rs:10:11: 16:2 (#0)
|
||||
+ coverage ExpressionId(0) => Expression { lhs: Counter(0), op: Add, rhs: Counter(1) };
|
||||
+ coverage Code(Counter(0)) => $DIR/instrument_coverage.rs:10:1 - 10:11;
|
||||
+ coverage Code(Expression(0)) => $DIR/instrument_coverage.rs:12:12 - 12:17;
|
||||
+ coverage Code(Counter(0)) => $DIR/instrument_coverage.rs:13:13 - 13:18;
|
||||
+ coverage Code(Counter(1)) => $DIR/instrument_coverage.rs:14:10 - 14:11;
|
||||
+ coverage Code(Counter(0)) => $DIR/instrument_coverage.rs:16:1 - 16:2;
|
||||
+ coverage Code(Counter(0)) => 10:1 - 10:11;
|
||||
+ coverage Code(Expression(0)) => 12:12 - 12:17;
|
||||
+ coverage Code(Counter(0)) => 13:13 - 13:18;
|
||||
+ coverage Code(Counter(1)) => 14:10 - 14:11;
|
||||
+ coverage Code(Counter(0)) => 16:1 - 16:2;
|
||||
+
|
||||
bb0: {
|
||||
+ Coverage::CounterIncrement(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue