]>
Commit | Line | Data |
---|---|---|
fc512014 XL |
1 | <!DOCTYPE html> |
2 | <!-- | |
3 | ||
4 | Preview this file as rendered HTML from the github source at: | |
5 | https://htmlpreview.github.io/?https://github.com/rust-lang/rust/blob/master/src/test/run-make-fulldeps/coverage-spanview/expected_mir_dump.async/async.main.-------.InstrumentCoverage.0.html | |
6 | ||
7 | For revisions in Pull Requests (PR): | |
8 | * Replace "rust-lang" with the github PR author | |
9 | * Replace "master" with the PR branch name | |
10 | ||
11 | --> | |
12 | <html> | |
13 | <head> | |
14 | <title>async.main - Coverage Spans</title> | |
15 | <style> | |
16 | .line { | |
17 | counter-increment: line; | |
18 | } | |
19 | .line:before { | |
20 | content: counter(line) ": "; | |
21 | font-family: Menlo, Monaco, monospace; | |
22 | font-style: italic; | |
23 | width: 3.8em; | |
24 | display: inline-block; | |
25 | text-align: right; | |
26 | filter: opacity(50%); | |
27 | -webkit-user-select: none; | |
28 | } | |
29 | .code { | |
30 | color: #dddddd; | |
31 | background-color: #222222; | |
32 | font-family: Menlo, Monaco, monospace; | |
33 | line-height: 1.4em; | |
34 | border-bottom: 2px solid #222222; | |
35 | white-space: pre; | |
36 | display: inline-block; | |
37 | } | |
38 | .odd { | |
39 | background-color: #55bbff; | |
40 | color: #223311; | |
41 | } | |
42 | .even { | |
43 | background-color: #ee7756; | |
44 | color: #551133; | |
45 | } | |
46 | .code { | |
47 | --index: calc(var(--layer) - 1); | |
48 | padding-top: calc(var(--index) * 0.15em); | |
49 | filter: | |
50 | hue-rotate(calc(var(--index) * 25deg)) | |
51 | saturate(calc(100% - (var(--index) * 2%))) | |
52 | brightness(calc(100% - (var(--index) * 1.5%))); | |
53 | } | |
54 | .annotation { | |
55 | color: #4444ff; | |
56 | font-family: monospace; | |
57 | font-style: italic; | |
58 | display: none; | |
59 | -webkit-user-select: none; | |
60 | } | |
61 | body:active .annotation { | |
62 | /* requires holding mouse down anywhere on the page */ | |
63 | display: inline-block; | |
64 | } | |
65 | span:hover .annotation { | |
66 | /* requires hover over a span ONLY on its first line */ | |
67 | display: inline-block; | |
68 | } | |
69 | </style> | |
70 | </head> | |
71 | <body> | |
72 | <div class="code" style="counter-reset: line 92"><span class="line"><span><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
73 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
74 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 75 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
76 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
77 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
78 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
79 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
80 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
81 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
82 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
83 | 93:11-101:2: @12[2]: _0 = const () |
84 | 101:2-101:2: @13.Return: return"><span class="annotation">@0,1,2,3,4,5,6,7,8,9,10,11,12,13⦊</span>fn main() {</span></span> | |
85 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
86 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
87 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 88 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
89 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
90 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
91 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
92 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
93 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
94 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
95 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
96 | 93:11-101:2: @12[2]: _0 = const () |
97 | 101:2-101:2: @13.Return: return"> let _ = g(10);</span></span> | |
98 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
99 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
100 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 101 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
102 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
103 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
104 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
105 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
106 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
107 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
108 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
109 | 93:11-101:2: @12[2]: _0 = const () |
110 | 101:2-101:2: @13.Return: return"> let _ = h(9);</span></span> | |
111 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
112 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
113 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 114 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
115 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
116 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
117 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
118 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
119 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
120 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
121 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
122 | 93:11-101:2: @12[2]: _0 = const () |
123 | 101:2-101:2: @13.Return: return"> let mut future = Box::pin(i(8));</span></span> | |
124 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
125 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
126 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 127 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
128 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
129 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
130 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
131 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
132 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
133 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
134 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
135 | 93:11-101:2: @12[2]: _0 = const () |
136 | 101:2-101:2: @13.Return: return"> j(7);</span></span> | |
137 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
138 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
139 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 140 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
141 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
142 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
143 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
144 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
145 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
146 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
147 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
148 | 93:11-101:2: @12[2]: _0 = const () |
149 | 101:2-101:2: @13.Return: return"> l(6);</span></span> | |
150 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
151 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
152 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 153 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
154 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
155 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
156 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
157 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
158 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
159 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
160 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
161 | 93:11-101:2: @12[2]: _0 = const () |
162 | 101:2-101:2: @13.Return: return"> let _ = m(5);</span></span> | |
163 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
164 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
165 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 166 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
167 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
168 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
169 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
170 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
171 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
172 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
173 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
174 | 93:11-101:2: @12[2]: _0 = const () |
175 | 101:2-101:2: @13.Return: return"> executor::block_on(future.as_mut());</span></span> | |
176 | <span class="line"><span class="code even" style="--layer: 1" title="94:13-94:18: @0.Call: _1 = g(const 10_u8) -> [return: bb1, unwind: bb16] | |
177 | 95:13-95:17: @2.Call: _2 = h(const 9_usize) -> [return: bb3, unwind: bb16] | |
178 | 96:31-96:35: @4.Call: _4 = i(const 8_u8) -> [return: bb5, unwind: bb16] | |
6a06907d | 179 | 96:22-96:36: @5.Call: _3 = std::boxed::Box::<impl std::future::Future>::pin(move _4) -> [return: bb6, unwind: bb15] |
fc512014 XL |
180 | 96:9-96:19: @6[1]: FakeRead(ForLet, _3) |
181 | 97:5-97:9: @6.Call: _5 = j(const 7_u8) -> [return: bb7, unwind: bb14] | |
182 | 98:5-98:9: @7.Call: _6 = l(const 6_u8) -> [return: bb8, unwind: bb14] | |
183 | 99:13-99:17: @8.Call: _7 = m(const 5_u8) -> [return: bb9, unwind: bb14] | |
184 | 100:24-100:30: @10[4]: _10 = &mut _3 | |
6a06907d XL |
185 | 100:24-100:39: @10.Call: _9 = std::pin::Pin::<std::boxed::Box<impl std::future::Future>>::as_mut(move _10) -> [return: bb11, unwind: bb14] |
186 | 100:5-100:40: @11.Call: _8 = executor::block_on::<std::pin::Pin<&mut impl std::future::Future>>(move _9) -> [return: bb12, unwind: bb14] | |
fc512014 XL |
187 | 93:11-101:2: @12[2]: _0 = const () |
188 | 101:2-101:2: @13.Return: return">}<span class="annotation">⦉@0,1,2,3,4,5,6,7,8,9,10,11,12,13</span></span></span></span></div> | |
189 | </body> | |
190 | </html> |