summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/Inputs/name_whitelist.cpp
diff options
context:
space:
mode:
authorSean Eveson <eveson.sean@gmail.com>2017-08-31 09:11:31 +0000
committerSean Eveson <eveson.sean@gmail.com>2017-08-31 09:11:31 +0000
commite15300ecf534eef3832c7e9591f3ea01f099bbbd (patch)
tree3a577eaa50f9059985532678862582f3e86eff81 /llvm/test/tools/llvm-cov/Inputs/name_whitelist.cpp
parentb036757f3df427b5b198b5f83fe05825637ead48 (diff)
downloadbcm5719-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/test/tools/llvm-cov/Inputs/name_whitelist.cpp')
-rw-r--r--llvm/test/tools/llvm-cov/Inputs/name_whitelist.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/Inputs/name_whitelist.cpp b/llvm/test/tools/llvm-cov/Inputs/name_whitelist.cpp
new file mode 100644
index 00000000000..dec10ea1fb6
--- /dev/null
+++ b/llvm/test/tools/llvm-cov/Inputs/name_whitelist.cpp
@@ -0,0 +1,18 @@
+int func1() {
+ return 1;
+}
+int func2() {
+ return 1;
+}
+int func3() {
+ return 1;
+}
+int func4() {
+ return 1;
+}
+int func5() {
+ return 1;
+}
+int func6() {
+ return 1;
+}
OpenPOWER on IntegriCloud