]> granicus.if.org Git - llvm/commit
[llvm-cov] Read in function names for filtering from a text file.
authorSean Eveson <eveson.sean@gmail.com>
Thu, 31 Aug 2017 09:11:31 +0000 (09:11 +0000)
committerSean Eveson <eveson.sean@gmail.com>
Thu, 31 Aug 2017 09:11:31 +0000 (09:11 +0000)
commit10edef110eb78f7b4b302ed2c2138dbeeb3d3685
treea44beb84705c13800012de0f8d7d5c6c3fd345da
parentb5552f8b90553b0a51897beb32e5a4a6aa765245
[llvm-cov] Read in function names for filtering from a text file.

Summary: Add a -name-whitelist option, which behaves in the same way as -name, but it reads in multiple function names from the given input file(s).

Reviewers: vsk

Reviewed By: vsk

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D37111

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312227 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CommandGuide/llvm-cov.rst
test/tools/llvm-cov/Inputs/name_whitelist.covmapping [new file with mode: 0644]
test/tools/llvm-cov/Inputs/name_whitelist.cpp [new file with mode: 0644]
test/tools/llvm-cov/Inputs/name_whitelist.proftext [new file with mode: 0644]
test/tools/llvm-cov/Inputs/whitelist1.txt [new file with mode: 0644]
test/tools/llvm-cov/Inputs/whitelist2.txt [new file with mode: 0644]
test/tools/llvm-cov/name_whitelist.test [new file with mode: 0644]
tools/llvm-cov/CodeCoverage.cpp
tools/llvm-cov/CoverageFilters.cpp
tools/llvm-cov/CoverageFilters.h