0
I read about gcov for the first time in the Tor documentation, what it says:
'-' before a line means
that the compiler generated no code for that line. '######' means that the
line was never reached. Lines with numbers were called that number of times.
There is not exactly a Tor test suite and, from the above description, it seems that gcov tests line coverage during compilation.
Other references I found on the gcov imply that it is used to detect which lines were hit during the run (either during normal use or by a test suite). But they don’t make that very clear. What, after all, is the function of gcov?
I understood the difference between what is possible between coverage check on Runtime vs statically, but which of the two does gcov?
– agentofuser