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

--- Comment #3 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
The problem we have is that there's a directory containing gcno files and
multiple directories containing gcda files (one for each test suite execution).

gcov expects the gcda and gcno files to be in the same directory, so we
currently create symlinks to the gcno files in the gcda directories.

Example situation:
gcno_dir/main.gcno
gcda_dir_1/main.gcda
gcda_dir_2/main.gcda

If I run `gcov gcda_dir_1/main.gcda -o gcno_dir/`, gcov says:
gcno/main.gcda:cannot open data file, assuming not executed

Reply via email to