Open
Description
Coverage requires the spans for the FnSig
and hir::Body
.
It also uses the hir::Body
to compute a function hash, required by LLVM intrinsic instrprof.coverage
.
According to this code review comment:
MIR strives to be a self-contained IR which means that operations on it should only use the information in MIR
Consider improving MIR to provide the information needed, to avoid going back to HIR for it.