Why do I get "has arcs from exit block" messages when running gcov?

Viewed 699

I am running gcov to measure coverage but I get "has arcs from exit block" message for each of the functions I use in the c code. Is there any problem with this message? Should I ignore them?

2 Answers

I got this issue recently, and wanted to add a piece of information in addition to @tutejszy 's answer

If you are cross-compiling your code (or using a toolchain that is not the default installed one), you will need to use this particular toolchain gcov.

And if you want to use lcov on just created gcov objects, you will need to specify the path of the toolchain gcov using option --gcov-tool <path to gcov> when running lcov

Related