From 676519f7138e4ab3938fe4427c3515ca37fe7976 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Mon, 5 Jun 2017 19:27:30 +0000 Subject: invoke.texi: Document the -fprofile-abs-path option. 2017-06-05 Bernd Edlinger * 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 * gcc.misc-tests/gcov-1a.c: New test. From-SVN: r248894 --- gcc/common.opt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/common.opt') 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. -- cgit v1.2.1