summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorBernd Edlinger <edlinger@gcc.gnu.org>2017-06-05 19:27:30 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2017-06-05 19:27:30 +0000
commit676519f7138e4ab3938fe4427c3515ca37fe7976 (patch)
tree7e870093fa932a90587c27490e54116a476f9c85 /gcc/common.opt
parent7b95ed64c90de3f9e8a2eb47f8ddd9a8344e559b (diff)
downloadgcc-676519f7138e4ab3938fe4427c3515ca37fe7976.tar.gz
invoke.texi: Document the -fprofile-abs-path option.
2017-06-05 Bernd Edlinger <bernd.edlinger@hotmail.de> * doc/invoke.texi: Document the -fprofile-abs-path option. * common.opt (fprofile-abs-path): New option. * gcov-io.h (gcov_write_filename): Declare. * gcov-io.c (gcov_write_filename): New function. * coverage.c (coverage_begin_function): Use gcov_write_filename. * profile.c (output_location): Likewise. gcc/testsuite: 2017-06-05 Bernd Edlinger <bernd.edlinger@hotmail.de> * gcc.misc-tests/gcov-1a.c: New test. From-SVN: r248894
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 13305558d2d..0a10511d468 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1969,6 +1969,10 @@ fprofile
Common Report Var(profile_flag)
Enable basic program profiling code.
+fprofile-abs-path
+Common Report Var(profile_abs_path_flag)
+Generate absolute source path names for gcov.
+
fprofile-arcs
Common Report Var(profile_arc_flag)
Insert arc-based program profiling code.