OSDN Git Service

[llvm-cov] Create directory structure when filtering using -name*= options
authorSean Eveson <eveson.sean@gmail.com>
Wed, 27 Sep 2017 15:37:40 +0000 (15:37 +0000)
committerSean Eveson <eveson.sean@gmail.com>
Wed, 27 Sep 2017 15:37:40 +0000 (15:37 +0000)
commita7bf6677ff7978f5c604400e4e3c12ed667183fd
tree2007aa96b8a0c2812e1fc7e2e56cb1b8f5586e05
parent4bac65ed04734a6b4c4ea3edc30e9d3b1ffa9342
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314310 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
test/tools/llvm-cov/Inputs/dir-with-filtering.covmapping [new file with mode: 0644]
test/tools/llvm-cov/Inputs/dir-with-filtering.proftext [new file with mode: 0644]
test/tools/llvm-cov/Inputs/dir-with-filtering1.cpp [new file with mode: 0644]
test/tools/llvm-cov/Inputs/dir-with-filtering2.cpp [new file with mode: 0644]
test/tools/llvm-cov/dir-with-filtering.test [new file with mode: 0644]
test/tools/llvm-cov/showLineExecutionCounts.cpp
test/tools/llvm-cov/showTemplateInstantiations.cpp
test/tools/llvm-cov/style.test
tools/llvm-cov/CodeCoverage.cpp
tools/llvm-cov/CoverageReport.cpp
tools/llvm-cov/CoverageReport.h
tools/llvm-cov/SourceCoverageView.cpp
tools/llvm-cov/SourceCoverageView.h
tools/llvm-cov/SourceCoverageViewHTML.cpp
tools/llvm-cov/SourceCoverageViewHTML.h
tools/llvm-cov/SourceCoverageViewText.cpp
tools/llvm-cov/SourceCoverageViewText.h