diff options
author | Sean Eveson <eveson.sean@gmail.com> | 2017-08-31 09:11:31 +0000 |
---|---|---|
committer | Sean Eveson <eveson.sean@gmail.com> | 2017-08-31 09:11:31 +0000 |
commit | e15300ecf534eef3832c7e9591f3ea01f099bbbd (patch) | |
tree | 3a577eaa50f9059985532678862582f3e86eff81 /llvm/docs/CommandGuide | |
parent | b036757f3df427b5b198b5f83fe05825637ead48 (diff) | |
download | bcm5719-llvm-e15300ecf534eef3832c7e9591f3ea01f099bbbd.tar.gz bcm5719-llvm-e15300ecf534eef3832c7e9591f3ea01f099bbbd.zip |
[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
llvm-svn: 312227
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-cov.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst index 082f5103751..4b5860a4e6a 100644 --- a/llvm/docs/CommandGuide/llvm-cov.rst +++ b/llvm/docs/CommandGuide/llvm-cov.rst @@ -235,6 +235,12 @@ OPTIONS Show code coverage only for functions with the given name. +.. option:: -name-whitelist=<FILE> + + Show code coverage only for functions listed in the given file. Each line in + the file should start with `whitelist_fun:`, immediately followed by the name + of the function to accept. This name can be a wildcard expression. + .. option:: -name-regex=<PATTERN> Show code coverage only for functions that match the given regular expression. |