[all-commits] [llvm/llvm-project] cd3090: [llvm-cov] don't include all source files when pro...
ZequanWu via All-commits
all-commits at lists.llvm.org
Thu Oct 15 18:11:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cd3090819c4eac750339496c8b8d3c92f8a3950c
https://github.com/llvm/llvm-project/commit/cd3090819c4eac750339496c8b8d3c92f8a3950c
Author: Zequan Wu <zequanwu at google.com>
Date: 2020-10-15 (Thu, 15 Oct 2020)
Changed paths:
M llvm/test/tools/llvm-cov/sources-specified.test
M llvm/test/tools/llvm-cov/universal_bin_wrapping_archives.test
M llvm/tools/llvm-cov/CodeCoverage.cpp
Log Message:
-----------
[llvm-cov] don't include all source files when provided source files are filtered out
When all provided source files are filtered out either due to `--ignore-filename-regex` or not part of binary, don't generate coverage reults for all source files. Because if users want to generate coverage results for all source files, they don't even need to provid selected source files or `--ignore-filename-regex`.
Differential Revision: https://reviews.llvm.org/D89359
More information about the All-commits
mailing list