[Bug gcov-profile/83877] Make gcov accept a path to the gcda and a path to the gcno file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83877 --- Comment #4 from Martin Liška --- I see your use case but as mentioned I don't want to do gcov over complex about locations. Hope you can live with the symlink creation.
[Bug gcov-profile/83877] Make gcov accept a path to the gcda and a path to the gcno file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83877 --- Comment #3 from Marco Castelluccio --- 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
[Bug gcov-profile/83877] Make gcov accept a path to the gcda and a path to the gcno file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83877 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Martin Liška --- Well, note that gcov accepts multiple files. So it does not makes much sense to provide path to gcda files. But you can definitely use: $ gcov test.cpp -o myroot myroot/test.gcno:cannot open notes file That will start search starting from a specific folder.
[Bug gcov-profile/83877] Make gcov accept a path to the gcda and a path to the gcno file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83877 Martin Liška changed: What|Removed |Added Target Milestone|--- |9.0 Severity|normal |enhancement
[Bug gcov-profile/83877] Make gcov accept a path to the gcda and a path to the gcno file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83877 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2018-01-22 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Reasonable request, let me do it in next stage1.