This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r248894 - in /trunk/gcc: common.opt coverage.c ...
- From: edlinger at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 05 Jun 2017 19:27:30 -0000
- Subject: r248894 - in /trunk/gcc: common.opt coverage.c ...
Author: edlinger
Date: Mon Jun 5 19:27:30 2017
New Revision: 248894
URL: https://gcc.gnu.org/viewcvs?rev=248894&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.misc-tests/gcov-1a.c
Modified:
trunk/gcc/common.opt
trunk/gcc/coverage.c
trunk/gcc/doc/invoke.texi
trunk/gcc/gcov-io.c
trunk/gcc/gcov-io.h
trunk/gcc/profile.c