Ping... I attached a rebased patch file, with the doc changes and merge conflicts with trunk of today fixed, but otherwise identical. Thanks Bernd. On 04/21/17 22:26, Bernd Edlinger wrote: > > > On 04/21/17 21:50, Joseph Myers wrote: >> On Fri, 21 Apr 2017, Bernd Edlinger wrote: >> >>> So I would like to add a -fprofile-abs-path option that >>> forces absolute path names in gcno files, which allows gcov >>> to get the true canonicalized source name. >> >> I don't see any actual documentation of this option in the patch (you add >> it to the summary list of options, and mention it in text under the >> documentation of --coverage, but don't have any actual @item >> -fprofile-abs-path / @opindex fprofile-abs-path paragraph with text >> describing what the option does). >> > > Ah yes, thanks. > > So I'll add one more sentence to invoke.texi: > > @@ -10696,6 +10713,12 @@ > generate test coverage data. Coverage data matches the source files > more closely if you do not optimize. > > +@item -fprofile-abs-path > +@opindex fprofile-abs-path > +Automatically convert relative source file names to absolute path names > +in the @file{.gcno} files. This allows @command{gcov} to find the correct > +sources in projects with multiple directories. > + > @item -fprofile-dir=@var{path} > @opindex fprofile-dir > > > > > Bernd.