gcov: do not ICE on NULL string in JSON export.
authorMartin Liska <mliska@suse.cz>
Tue, 27 Nov 2018 16:30:27 +0000 (17:30 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 27 Nov 2018 16:30:27 +0000 (16:30 +0000)
commit0ffa4bc2c5bcda57245cba94579ee3e1152830e2
treef44d8491ef53419afe655160def7f8c05dc7c89d
parentbc65bad27f066e2b91380071d65a8f6c6745c2a2
gcov: do not ICE on NULL string in JSON export.

2018-11-27  Martin Liska  <mliska@suse.cz>

* gcov.c (generate_results): Append current_working_directory
only when exists.

From-SVN: r266521
gcc/ChangeLog
gcc/gcov.c