This is an archive of the discontinued LLVM Phabricator instance.

[sancov] correct object files handling.
ClosedPublic

Authored by aizatsky on Feb 11 2016, 1:39 PM.

Details

Summary

Multi-dso programs result in multiple coverage files dumped of the form '<module_name>.<pid>.sancov'. When analyzing these coverage files it is important to use correct corresponding object file.

This change removes the "-obj" sancov flag and lets user specify object file names alongside coverage files. Sancov tool would match them using <module_name> part of coverage file and short file name of the object file.

Corresponding changes:
compiler-rt: http://reviews.llvm.org/D17171
docs: http://reviews.llvm.org/D17175

Diff Detail

Repository
rL LLVM

Event Timeline

aizatsky updated this revision to Diff 47722.Feb 11 2016, 1:39 PM
aizatsky retitled this revision from to [WIP] [sancov] reworked object files..
aizatsky updated this object.
aizatsky updated this revision to Diff 47730.Feb 11 2016, 2:33 PM
  • first cleanup round.
aizatsky updated this revision to Diff 47733.Feb 11 2016, 2:46 PM

modules toc.

aizatsky updated this revision to Diff 47739.Feb 11 2016, 3:23 PM

second cleanup round.

aizatsky retitled this revision from [WIP] [sancov] reworked object files. to [sancov] correct object files handling..Feb 11 2016, 4:05 PM
aizatsky updated this object.
aizatsky added reviewers: kcc, samsonov.
aizatsky added a subscriber: llvm-commits.
kcc accepted this revision.Feb 11 2016, 4:18 PM
kcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 11 2016, 4:18 PM
This revision was automatically updated to reflect the committed changes.