summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/instrument_coverage.main.InstrumentCoverage.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
commitef24de24a82fe681581cc130f342363c47c0969a (patch)
tree0d494f7e1a38b95c92426f58fe6eaa877303a86c /tests/mir-opt/instrument_coverage.main.InstrumentCoverage.diff
parentReleasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz
rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/mir-opt/instrument_coverage.main.InstrumentCoverage.diff17
1 files changed, 12 insertions, 5 deletions
diff --git a/tests/mir-opt/instrument_coverage.main.InstrumentCoverage.diff b/tests/mir-opt/instrument_coverage.main.InstrumentCoverage.diff
index e17c6ddc5..14b4833a5 100644
--- a/tests/mir-opt/instrument_coverage.main.InstrumentCoverage.diff
+++ b/tests/mir-opt/instrument_coverage.main.InstrumentCoverage.diff
@@ -7,13 +7,21 @@
let mut _2: bool;
let mut _3: !;
++ coverage ExpressionId(0) => Expression { lhs: Counter(0), op: Add, rhs: Counter(1) };
++ coverage ExpressionId(1) => Expression { lhs: Expression(0), op: Subtract, rhs: Counter(1) };
++ coverage Counter(0) => /the/src/instrument_coverage.rs:12:1 - 12:11;
++ coverage Expression(0) => /the/src/instrument_coverage.rs:13:5 - 14:17;
++ coverage Expression(1) => /the/src/instrument_coverage.rs:15:13 - 15:18;
++ coverage Expression(1) => /the/src/instrument_coverage.rs:18:1 - 18:2;
++ coverage Counter(1) => /the/src/instrument_coverage.rs:16:10 - 16:11;
++
bb0: {
-+ Coverage::Counter(0) for /the/src/instrument_coverage.rs:11:1 - 11:11;
++ Coverage::CounterIncrement(0);
goto -> bb1;
}
bb1: {
-+ Coverage::Expression(0) = Counter(0) + Counter(1) for /the/src/instrument_coverage.rs:12:5 - 13:17;
++ Coverage::ExpressionUsed(0);
falseUnwind -> [real: bb2, unwind: bb6];
}
@@ -27,15 +35,14 @@
}
bb4: {
-+ Coverage::Expression(2) = Expression(1) + Zero for /the/src/instrument_coverage.rs:17:1 - 17:2;
-+ Coverage::Expression(1) = Expression(0) - Counter(1) for /the/src/instrument_coverage.rs:14:13 - 14:18;
++ Coverage::ExpressionUsed(1);
_0 = const ();
StorageDead(_2);
return;
}
bb5: {
-+ Coverage::Counter(1) for /the/src/instrument_coverage.rs:15:10 - 15:11;
++ Coverage::CounterIncrement(1);
_1 = const ();
StorageDead(_2);
goto -> bb1;