This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Description
HTML coverage reports are confusingly sparse. While we will always expect some reporting noise for optimized targets, this is exacerbated by our use of Sancov instrumentation sites as the only source of binary coverage. This is because in general, the instrumented sites will not include blocks that are redundant. To recover such block, we would need something like a postdominator analysis of the CFG. Even if no blocks were pruned, we have the same problem for instructions within a block, which may include multiple source lines of code.
To fix this, we will only instrument based on our own CFG analysis. Then, when generating source coverage, we will "reinflate" blocks and look up source line coverage for every instruction in the block (not just the block entrypoint).
To enable this:
AB#42609819