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/SourceCoverageViewText.h | |
parent | 89d2be0702e1e57bfe514b050bdbd743c3e8731f (diff) | |
download | bcm5719-llvm-fa8ef35e786b59d2916a7358c30c1489a7d79b19.tar.gz bcm5719-llvm-fa8ef35e786b59d2916a7358c30c1489a7d79b19.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: 314396
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 c3f20de9297..3a04070d1ac 100644 --- a/llvm/tools/llvm-cov/SourceCoverageViewText.h +++ b/llvm/tools/llvm-cov/SourceCoverageViewText.h @@ -27,7 +27,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; CoveragePrinterText(const CoverageViewOptions &Opts) : CoveragePrinter(Opts) {} |