summaryrefslogtreecommitdiffstats
path: root/clang/docs/ReleaseNotes.rst
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/docs/ReleaseNotes.rst
parentc6fabeac11b909f2c9f05a78c820e691a5bd693c (diff)
downloadbcm5719-llvm-cedcc73d932f7092842e0c80e1321f6ae6b0ee63.tar.gz
bcm5719-llvm-cedcc73d932f7092842e0c80e1321f6ae6b0ee63.zip
[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/docs/ReleaseNotes.rst')
-rw-r--r--clang/docs/ReleaseNotes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 09f656815d4..72b043f28d0 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -64,6 +64,12 @@ Non-comprehensive list of changes in this release
New Compiler Flags
------------------
+- ``-fprofile-filter-files=[regexes]`` and ``-fprofile-exclude-files=[regexes]``.
+
+ Clang has now options to filter or exclude some files when
+ instrumenting for gcov-based profiling.
+ See the :doc:`UsersManual` for details.
+
- ...
Deprecated Compiler Flags
OpenPOWER on IntegriCloud