[PATCH] D38280: [llvm-cov] Create HTML directory structure when filtering using -name*= options

Sean Eveson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 15:31:11 PDT 2017


seaneveson created this revision.

Before this change using any of the -name*= command line options with -format=html would result in a single file (functions.html) containing the coverage for those specific functions.

After this change you get the same directory structure you get when not using any -name*= options.

I think it would make sense to also change the text output, but I've left that for now as it wasn't mentioned in the email discussion.


https://reviews.llvm.org/D38280

Files:
  test/tools/llvm-cov/Inputs/dir-with-filtering.covmapping
  test/tools/llvm-cov/Inputs/dir-with-filtering.proftext
  test/tools/llvm-cov/Inputs/dir-with-filtering1.cpp
  test/tools/llvm-cov/Inputs/dir-with-filtering2.cpp
  test/tools/llvm-cov/dir-with-filtering.test
  tools/llvm-cov/CodeCoverage.cpp
  tools/llvm-cov/CoverageFilters.cpp
  tools/llvm-cov/CoverageFilters.h
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38280.116669.patch
Type: text/x-patch
Size: 19492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170926/7a3786d4/attachment-0001.bin>


More information about the llvm-commits mailing list