diff options
author | Martin Liska <mliska@suse.cz> | 2018-11-12 22:01:38 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-11-12 21:01:38 +0000 |
commit | e18240ffe2b48af6e77018e5f4e797c4b57cae72 (patch) | |
tree | 47b3de5539d55bde0524f303bd78eed461e6601e /gcc/config.gcc | |
parent | e375da43d77a3b54185f26c6f474e3482185e7e4 (diff) | |
download | gcc-e18240ffe2b48af6e77018e5f4e797c4b57cae72.zip gcc-e18240ffe2b48af6e77018e5f4e797c4b57cae72.tar.gz gcc-e18240ffe2b48af6e77018e5f4e797c4b57cae72.tar.bz2 |
Instrument only selected files (PR gcov-profile/87442).
2018-11-12 Martin Liska <mliska@suse.cz>
PR gcov-profile/87442
* common.opt: Add -fprofile-filter-files and -fprofile-exclude-files
options.
* doc/invoke.texi: Document them.
* tree-profile.c (parse_profile_filter): New.
(parse_profile_file_filtering): Likewise.
(release_profile_file_filtering): Likewise.
(include_source_file_for_profile): Likewise.
(tree_profiling): Filter source files based on the
newly added options.
2018-11-12 Martin Liska <mliska@suse.cz>
PR gcov-profile/87442
* gcc.dg/profile-filtering-1.c: New test.
* gcc.dg/profile-filtering-2.c: New test.
From-SVN: r266037
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions