summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.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/SourceCoverageViewText.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/SourceCoverageViewText.h')
-rw-r--r--llvm/tools/llvm-cov/SourceCoverageViewText.h3
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) {}
OpenPOWER on IntegriCloud