summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
diff options
context:
space:
mode:
authorSean Eveson <eveson.sean@gmail.com>2017-09-27 15:37:40 +0000
committerSean Eveson <eveson.sean@gmail.com>2017-09-27 15:37:40 +0000
commit51b817479b056424cf315472b668fcaa3106edf4 (patch)
tree20ed46367647cbe7b02cac1afa7411043077ab5d /llvm/tools/llvm-cov/SourceCoverageViewHTML.h
parent37de9718d062fd866a6dc7787f14869692b882dd (diff)
downloadbcm5719-llvm-51b817479b056424cf315472b668fcaa3106edf4.tar.gz
bcm5719-llvm-51b817479b056424cf315472b668fcaa3106edf4.zip
[llvm-cov] Create directory structure when filtering using -name*= options
Before this change using any of the -name*= command line options with an output directory would result in a single file (functions.txt/functions.html) containing the coverage for those specific functions. Now you get the same directory structure as when not using any -name*= options. Differential Revision: https://reviews.llvm.org/D38280 llvm-svn: 314310
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.h')
-rw-r--r--llvm/tools/llvm-cov/SourceCoverageViewHTML.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageViewHTML.h b/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
index 8cb73567a2e..e11111a5ad2 100644
--- a/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
+++ b/llvm/tools/llvm-cov/SourceCoverageViewHTML.h
@@ -29,7 +29,8 @@ public:
void closeViewFile(OwnedStream OS) override;
Error createIndexFile(ArrayRef<std::string> SourceFiles,
- const coverage::CoverageMapping &Coverage) override;
+ const coverage::CoverageMapping &Coverage,
+ const CoverageFilter &Filters) override;
CoveragePrinterHTML(const CoverageViewOptions &Opts)
: CoveragePrinter(Opts) {}
OpenPOWER on IntegriCloud