With 12.2 rel1, we are compiling the code with "-fprofile-arcs -ftest-coverage" to collect code coverage, but linker fails to link with error message "Undefined reference to __gcov_exit". By dumping libgcov, there is no __gcov_exit function in the lib at all. Seems this is different from previous version. Is there a new approach to collect code coverage by 12.2 rel1?
Guess this is the right approach to collect coverage on an embedded system.