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/gcov-io.h | |
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/gcov-io.h')
-rw-r--r-- | gcc/gcov-io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index 1c8ee8f..584c3a2 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -387,6 +387,7 @@ GCOV_LINKAGE void gcov_write_unsigned (gcov_unsigned_t) ATTRIBUTE_HIDDEN; /* Available only in compiler */ GCOV_LINKAGE unsigned gcov_histo_index (gcov_type value); GCOV_LINKAGE void gcov_write_string (const char *); +GCOV_LINKAGE void gcov_write_filename (const char *); GCOV_LINKAGE gcov_position_t gcov_write_tag (gcov_unsigned_t); GCOV_LINKAGE void gcov_write_length (gcov_position_t /*position*/); #endif |