aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorCalixte Denizet <cdenizet@mozilla.com>2018-11-12 09:12:27 +0000
committerCalixte Denizet <cdenizet@mozilla.com>2018-11-12 09:12:27 +0000
commitcedcc73d932f7092842e0c80e1321f6ae6b0ee63 (patch)
treea16927cc001d539e96535df3ccf0d81ce1854b60 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentc6fabeac11b909f2c9f05a78c820e691a5bd693c (diff)
downloadllvm-cedcc73d932f7092842e0c80e1321f6ae6b0ee63.zip
llvm-cedcc73d932f7092842e0c80e1321f6ae6b0ee63.tar.gz
llvm-cedcc73d932f7092842e0c80e1321f6ae6b0ee63.tar.bz2
[Clang] Add options -fprofile-filter-files and -fprofile-exclude-files to filter the files to instrument with gcov
Summary: These options are taking regex separated by colons to filter files. - if both are empty then all files are instrumented - if -fprofile-filter-files is empty then all the filenames matching any of the regex from exclude are not instrumented - if -fprofile-exclude-files is empty then all the filenames matching any of the regex from filter are instrumented - if both aren't empty then all the filenames which match any of the regex in filter and which don't match all the regex in filter are instrumented - this patch is a follow-up of https://reviews.llvm.org/D52033 Reviewers: marco-c, vsk Reviewed By: marco-c, vsk Subscribers: cfe-commits, sylvestre.ledru Differential Revision: https://reviews.llvm.org/D52034 llvm-svn: 346642
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions