This is an archive of the discontinued LLVM Phabricator instance.

[sancov] introducing symbolized coverage files (.symcov)
ClosedPublic

Authored by aizatsky on Sep 26 2016, 5:06 PM.

Details

Summary

Answering any meaningful questions about .sancov files requires
accessing symbol information from the corresponding binary.

This change introduces a separate intermediate data structure and
format: symbolized coverage. It contains all symbol information that
is required to answer common queries:

  • merging
  • coverd/uncovered files and functions
  • line status.

Also removing the html report functionality from sancov: generated
HTML files are too huge, and a different approach is required.
Maintaining this half-working approach in the C++ is painful.

Diff Detail

Event Timeline

aizatsky updated this revision to Diff 72587.Sep 26 2016, 5:06 PM
aizatsky retitled this revision from to [WIP][sancov] introducing symbolized coverage files (.symcov).
aizatsky updated this object.
aizatsky updated this revision to Diff 72755.Sep 27 2016, 8:05 PM

first pass of cleanup.

aizatsky updated this revision to Diff 72861.Sep 28 2016, 10:47 AM

final round of cleanup.

aizatsky retitled this revision from [WIP][sancov] introducing symbolized coverage files (.symcov) to [sancov] introducing symbolized coverage files (.symcov).Sep 28 2016, 10:48 AM
This revision was automatically updated to reflect the committed changes.
test/tools/sancov/Inputs/test-linux_x86_64.1.symcov