The sancov runtime for the (Fuchsia) Zircon kernel delivers results
in the standard format, but as the full array of possible samples
with 0 in uncovered slots. That runtime delivers "live" data and
has no final "export" pass to compactify out the uncovered slots,
and it seems silly to require another offline tool just for that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
https://fuchsia-review.googlesource.com/c/fuchsia/+/295508 has the runtime implementation that motivated this.
llvm/tools/sancov/sancov.cpp | ||
---|---|---|
265 ↗ | (On Diff #206142) | The erase(0) logic should probably be moved here. |