Add support for loading multiple coverage readers into a CoverageMapping
instance. This should make it easier to prepare coverage reports for
multiple binaries.
This should make it possible to substantially simplify D25086.
Paths
| Differential D25535
[Coverage] Support loading multiple files into a CoverageMapping ClosedPublic Authored by vsk on Oct 12 2016, 3:41 PM.
Details Summary Add support for loading multiple coverage readers into a CoverageMapping This should make it possible to substantially simplify D25086.
Diff Detail Event TimelineComment Actions Thanks for working on this!
This revision is now accepted and ready to land.Oct 13 2016, 10:43 AM Closed by commit rL284251: [Coverage] Support loading multiple binaries into a CoverageMapping (authored by vedantk). · Explain WhyOct 14 2016, 10:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 74451 include/llvm/ProfileData/Coverage/CoverageMapping.h
lib/ProfileData/Coverage/CoverageMapping.cpp
unittests/ProfileData/CoverageMappingTest.cpp
|
I noticed that you have a bunch CoverageMappingTest renaming changes in this patch. Do you think it would be better to do the rename in a separate commit before this patch? So get rid of MaybeSparseCoverageMappingTest and make CoverageMappingTest a bool parameter test, and then in the second commit make CoverageMappingTest a std::pair<bool, bool> test? You don't have to split this patch, just the commits.