Altera_Forum
Honored Contributor
12 years agoUse of gcov to test code coverage
Does anybody know how to setup gcov for testing the code coverage? I was able to install the Eclipse gcov plugin and built the project with profiling enabled using "-ftest-coverage -fprofile-arcs" options. However, it is not generating any gcov data files as describe in the documentation (http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/gcov-data-files.html#gcov-data-files). I appreciate any help.