gcov
code coverage
Make sure gcc --version
matches compatible version against gcov --version
.
Makefile
I'm still uncomfortable that I need to cp main.cpp ...
So the gcno
and other stuff does not really have the source info. In a huge codebase with subdirs and inter linkage, the safest I see is to merely use the current directory as output dirs for gcov.
Last updated
Was this helpful?