Module rustc_middle::mir::coverage

source ·
Expand description

Metadata from source code coverage analysis and instrumentation.


  • ID of a coverage counter. Values ascend from 0.
  • ID of a coverage-counter expression. Values ascend from 0.
  • MappedExpressionIndex values ascend from zero, and are recalculated indexes based on their array position in the LLVM coverage map “Expressions” array, which is assembled during the “mapgen” process. They cannot be computed algorithmically, from the other newtype_indexs.