diff options
author | Sean Eveson <eveson.sean@gmail.com> | 2017-09-28 10:07:30 +0000 |
---|---|---|
committer | Sean Eveson <eveson.sean@gmail.com> | 2017-09-28 10:07:30 +0000 |
commit | fa8ef35e786b59d2916a7358c30c1489a7d79b19 (patch) | |
tree | 36c1109197a1708c03e6e76b48428228c468e223 /llvm/tools/llvm-cov/SourceCoverageViewHTML.h | |
parent | 89d2be0702e1e57bfe514b050bdbd743c3e8731f (diff) | |
download | llvm-fa8ef35e786b59d2916a7358c30c1489a7d79b19.zip llvm-fa8ef35e786b59d2916a7358c30c1489a7d79b19.tar.gz llvm-fa8ef35e786b59d2916a7358c30c1489a7d79b19.tar.bz2 |
[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: 314396
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.h')
-rw-r--r-- | llvm/tools/llvm-cov/SourceCoverageViewHTML.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageViewHTML.h b/llvm/tools/llvm-cov/SourceCoverageViewHTML.h index 8cb7356..e11111a 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) {} |