[all-commits] [llvm/llvm-project] e92eea: [llvm-cov] don't include all source files when pro...

ZequanWu via All-commits all-commits at lists.llvm.org
Fri Oct 23 19:32:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e92eeaf3c21923151cf86c706e396b613145f142
      https://github.com/llvm/llvm-project/commit/e92eeaf3c21923151cf86c706e396b613145f142
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2020-10-23 (Fri, 23 Oct 2020)

  Changed paths:
    M llvm/test/tools/llvm-cov/native_separators.c
    M llvm/test/tools/llvm-cov/sources-specified.test
    M llvm/test/tools/llvm-cov/universal_bin_wrapping_archives.test
    M llvm/test/tools/llvm-cov/warnings.h
    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