[Bug gcov-profile/94928] Doc comments in gcov-io.h do not show cwd and unexec blocks in the Notes file format

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 7 11:17:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94928

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Myron Walker from comment #14)
> There are three types of files used to create a code coverage report. 
> Notes, Data, and Source.  It is likely that each type of file might have its
> own prefix GCOV_SRC_PREFIX, GCOV_NOTES_PREFIX and GCOC_DATA_PREFIX

How difficult would it be to arrange all 3 types together? I mean x.gcda y.gcno
files should be in a same folder. With source files, it's more difficult as
they can be compiled in a prefixed directory, but e.g. system header files are
not prepended with a prefix, right?

The easiest approach seem to me copying .gcda and .gcno files into
corresponding location in source file directory.


More information about the Gcc-bugs mailing list