Support variables in expansion of -fprofile-generate option (PR gcov-profile/47618).
commit945d4d552136fab13ae9dde427127fde61a8fbe3
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2018 12:10:22 +0000 (5 12:10 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2018 12:10:22 +0000 (5 12:10 +0000)
treed088d0aa4d340c24d5eedc905d9cd05b01c035ba
parent5bdbfdb315e5958a4a4269affddb679189539770
Support variables in expansion of -fprofile-generate option (PR gcov-profile/47618).

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

PR gcov-profile/47618
* doc/invoke.texi: Document how -fprofile-dir format
        is extended.
2018-06-05  Martin Liska  <mliska@suse.cz>

PR gcov-profile/47618
* libgcov-driver-system.c (replace_filename_variables): New
        function.
(gcov_exit_open_gcda_file): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261199 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/invoke.texi
libgcc/ChangeLog
libgcc/libgcov-driver-system.c