Commit 8cf4f94
committed
coverage: Add
This new nightly-only flag can be used to toggle fine-grained flags that
control the details of coverage instrumentation.
Currently the only supported flag value is `branch`, which is a placeholder for
upcoming support for branch coverage. Other flag values can be added in the
future, to prototype proposed new behaviour, or to enable special non-default
behaviour.-Zcoverage-options for fine control of coverage instrumentation1 parent fb5cddc commit 8cf4f94
File tree
6 files changed
+72
-11
lines changed- compiler/rustc_session/src
- src/doc/rustc/src
- tests/ui/instrument-coverage
6 files changed
+72
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
146 | 159 | | |
147 | 160 | | |
148 | 161 | | |
| |||
3168 | 3181 | | |
3169 | 3182 | | |
3170 | 3183 | | |
3171 | | - | |
3172 | | - | |
3173 | | - | |
3174 | | - | |
3175 | | - | |
3176 | | - | |
| 3184 | + | |
| 3185 | + | |
| 3186 | + | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
3177 | 3190 | | |
3178 | 3191 | | |
3179 | 3192 | | |
| |||
3243 | 3256 | | |
3244 | 3257 | | |
3245 | 3258 | | |
| 3259 | + | |
3246 | 3260 | | |
3247 | 3261 | | |
3248 | 3262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| |||
938 | 939 | | |
939 | 940 | | |
940 | 941 | | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
941 | 960 | | |
942 | 961 | | |
943 | 962 | | |
| |||
1440 | 1459 | | |
1441 | 1460 | | |
1442 | 1461 | | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
1448 | 1465 | | |
1449 | 1466 | | |
1450 | 1467 | | |
| |||
1566 | 1583 | | |
1567 | 1584 | | |
1568 | 1585 | | |
| 1586 | + | |
| 1587 | + | |
1569 | 1588 | | |
1570 | 1589 | | |
1571 | 1590 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
349 | 357 | | |
350 | 358 | | |
351 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments