[PATCH] D20803: Displaying coverage information for all source files present in a directory

Chakshu Grover via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 05:50:56 PDT 2016


chakshugrover updated this revision to Diff 64673.
chakshugrover added a comment.

DumpInputFileList is handled in commandLineParser itself. I make an early exit from show and report subcommands if this option is enabled ( hence the need of bool DumpFileNames in class CodeCoverageTool ). I skip the recursive directory traversal if -filename-equivalence is turned on as I believe that option is meant for a completely different purpose ( Treat source files (not directories) as equivalent to paths in the coverage data even when only the file names match )


https://reviews.llvm.org/D20803

Files:
  test/tools/llvm-cov/cov_dir.cpp
  tools/llvm-cov/CodeCoverage.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20803.64673.patch
Type: text/x-patch
Size: 3796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160720/4ba9e405/attachment-0001.bin>


More information about the llvm-commits mailing list