diff options
author | Vedant Kumar <vsk@apple.com> | 2016-09-09 01:32:55 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-09-09 01:32:55 +0000 |
commit | a59334da6baf812ac6e8b2e140a2ac2599654479 (patch) | |
tree | 051d7cc872520aab5e89b233b0c4e0cf7ef24d10 /llvm/tools/llvm-cov/SourceCoverageViewText.h | |
parent | aae0ba70604be5e0e1a70c05c80dde8a7590f85b (diff) | |
download | bcm5719-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/SourceCoverageViewText.h')
-rw-r--r-- | llvm/tools/llvm-cov/SourceCoverageViewText.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageViewText.h b/llvm/tools/llvm-cov/SourceCoverageViewText.h index fe2642a2b45..6fd35f5f286 100644 --- a/llvm/tools/llvm-cov/SourceCoverageViewText.h +++ b/llvm/tools/llvm-cov/SourceCoverageViewText.h @@ -26,7 +26,8 @@ public: void closeViewFile(OwnedStream OS) override; - Error createIndexFile(ArrayRef<StringRef> SourceFiles) override; + Error createIndexFile(ArrayRef<StringRef> SourceFiles, + const coverage::CoverageMapping &Coverage) override; CoveragePrinterText(const CoverageViewOptions &Opts) : CoveragePrinter(Opts) {} |