diff options
author | Bernd Edlinger <edlinger@gcc.gnu.org> | 2017-06-05 19:27:30 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2017-06-05 19:27:30 +0000 |
commit | 676519f7138e4ab3938fe4427c3515ca37fe7976 (patch) | |
tree | 7e870093fa932a90587c27490e54116a476f9c85 /gcc/profile.c | |
parent | 7b95ed64c90de3f9e8a2eb47f8ddd9a8344e559b (diff) | |
download | gcc-676519f7138e4ab3938fe4427c3515ca37fe7976.zip gcc-676519f7138e4ab3938fe4427c3515ca37fe7976.tar.gz gcc-676519f7138e4ab3938fe4427c3515ca37fe7976.tar.bz2 |
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/profile.c')
-rw-r--r-- | gcc/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index aca5c67..219fa8a 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -976,7 +976,7 @@ output_location (char const *file_name, int line, { prev_file_name = file_name; gcov_write_unsigned (0); - gcov_write_string (prev_file_name); + gcov_write_filename (prev_file_name); } if (line_differs) { |