summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/SourceCoverageView.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-09-09 01:32:55 +0000
committerVedant Kumar <vsk@apple.com>2016-09-09 01:32:55 +0000
commita59334da6baf812ac6e8b2e140a2ac2599654479 (patch)
tree051d7cc872520aab5e89b233b0c4e0cf7ef24d10 /llvm/tools/llvm-cov/SourceCoverageView.h
parentaae0ba70604be5e0e1a70c05c80dde8a7590f85b (diff)
downloadbcm5719-llvm-a59334da6baf812ac6e8b2e140a2ac2599654479.tar.gz
bcm5719-llvm-a59334da6baf812ac6e8b2e140a2ac2599654479.zip
[llvm-cov] Emit a summary in the report directory's index
llvm-cov writes out an index file in '-output-dir' mode, albeit not a very informative one. Try to fix that by using the CoverageReport API to include some basic summary information in the index file. llvm-svn: 281011
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.h')
-rw-r--r--llvm/tools/llvm-cov/SourceCoverageView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageView.h b/llvm/tools/llvm-cov/SourceCoverageView.h
index 3f58937d414..b1bbff8e804 100644
--- a/llvm/tools/llvm-cov/SourceCoverageView.h
+++ b/llvm/tools/llvm-cov/SourceCoverageView.h
@@ -142,7 +142,8 @@ public:
virtual void closeViewFile(OwnedStream OS) = 0;
/// \brief Create an index which lists reports for the given source files.
- virtual Error createIndexFile(ArrayRef<StringRef> SourceFiles) = 0;
+ virtual Error createIndexFile(ArrayRef<StringRef> SourceFiles,
+ const coverage::CoverageMapping &Coverage) = 0;
/// @}
};
OpenPOWER on IntegriCloud