Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12604 Discussions

Use of gcov to test code coverage

Altera_Forum
Honored Contributor II
1,448 Views

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.

0 Kudos
0 Replies
Reply