]> gcc.gnu.org Git - gcc.git/commit
Implement -fprofile-prefix-map.
authorMartin Liska <mliska@suse.cz>
Thu, 11 Nov 2021 15:42:23 +0000 (16:42 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 2 Dec 2021 13:13:09 +0000 (14:13 +0100)
commitcde87638bf5cf6aafffb590986b6a890da0ba06c
tree992cb983e1e788230e477b16112c83026c6d57f1
parent6f43a8a08053a871e785e2ebc80383e0849efb6f
Implement -fprofile-prefix-map.

PR gcov-profile/96092

gcc/ChangeLog:

* common.opt: New option.
* coverage.c (coverage_begin_function): Emit filename with
remap_profile_filename.
* doc/invoke.texi: Document the new option.
* file-prefix-map.c (add_profile_prefix_map): New.
(remap_profile_filename): Likewise.
* file-prefix-map.h (add_profile_prefix_map): Likewise.
(remap_profile_filename): Likewise.
* lto-opts.c (lto_write_options): Handle
OPT_fprofile_prefix_map_.
* opts-global.c (handle_common_deferred_options): Likewise.
* opts.c (common_handle_option): Likewise.
(gen_command_line_string): Likewise.
* profile.c (output_location): Emit filename with
remap_profile_filename.
gcc/common.opt
gcc/coverage.c
gcc/doc/invoke.texi
gcc/file-prefix-map.c
gcc/file-prefix-map.h
gcc/lto-opts.c
gcc/opts-global.c
gcc/opts.c
gcc/profile.c
This page took 0.057958 seconds and 5 git commands to generate.