Print working directory to gcov files (PR gcov-profile/84846).
authorMartin Liska <mliska@suse.cz>
Fri, 18 May 2018 12:46:32 +0000 (14:46 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 18 May 2018 12:46:32 +0000 (12:46 +0000)
commitc74bd3fba3572d5825fcc7fabfd136b22c7981ad
treeeacb67111d71264764a92e34f26db84357547c4b
parentbec3ee81e3c60bc4e8001871ede2b0b07ff417f1
Print working directory to gcov files (PR gcov-profile/84846).

2018-05-18  Martin Liska  <mliska@suse.cz>

PR gcov-profile/84846
* coverage.c (coverage_init): Write PWD to .gcno file.
* doc/gcov.texi: Document how working directory is printed.
* gcov-dump.c (dump_gcov_file): Print PWD.
* gcov.c (output_intermediate_file): Likewise.
(read_graph_file): Read PWD string.
(output_lines): Print PWD.

From-SVN: r260359
gcc/ChangeLog
gcc/coverage.c
gcc/doc/gcov.texi
gcc/gcov-dump.c
gcc/gcov.c