Files
rust/compiler/rustc_codegen_llvm/src
Rich Kadel 888d0b4c96 Derived Eq no longer shows uncovered
The Eq trait has a special hidden function. MIR `InstrumentCoverage`
would add this function to the coverage map, but it is never called, so
the `Eq` trait would always appear uncovered.

Fixes: #83601

The fix required creating a new function attribute `no_coverage` to mark
functions that should be ignored by `InstrumentCoverage` and the
coverage `mapgen` (during codegen).

While testing, I also noticed two other issues:

* spanview debug file output ICEd on a function with no body. The
workaround for this is included in this PR.
* `assert_*!()` macro coverage can appear covered if followed by another
`assert_*!()` macro. Normally they appear uncovered. I submitted a new
Issue #84561, and added a coverage test to demonstrate this issue.
2021-04-27 11:11:56 -07:00
..
2021-02-17 11:25:55 +01:00
2021-04-08 08:03:18 -07:00
2021-04-03 00:37:49 +03:00
2021-02-14 09:45:35 +11:00
2021-01-23 17:19:49 -05:00
2021-03-26 09:32:31 -07:00
2021-02-25 04:21:12 +03:00
2020-08-30 18:45:07 +03:00