Top "Gcov" questions

gcov is a code coverage tool for GCC

Where are the gcov symbols?

I'm trying to compile a simple app with gcov and getting the following link errors: gcc AllTests.o CuTestTest.o …

gcc profile gcov
How to resolve __gcov_init undefined reference issue when linking

I now work on C code coverage study and encountered following issue, GCC version 4.4.6: Added compiler flag CFLAGS = --coverage and …

linker undefined-reference gcov
Is there a way to focus lcov code coverage reports to just one or two directories?

I recently started using lcov to visualize my code coverage. It's a great tool. One thing I'm noticing is that …

code-coverage gcov lcov
gcov not generating gcda files

I tried to run gcov with -fprofile-arcs & -ftest-coverage and nothing for linking. It was giving this error:- hidden …

gcc gcov
C++ Using gcov and lcov problem?

I am using ubuntu 10.1, g++ compiler. I trying to use gcov and lcov for my C++ project. I manage to …

c++ gcov lcov
gcov on larger projects (static libraries, ...)

I'm working on larger project which has the following directory layout: Source MyA aa.cpp ab.cpp ac.cpp MyB …

unit-testing gcc build-process code-coverage gcov
LCOV/GCOV branch coverage with C++ producing branches all over the place

We are using LCOV/GCOV to produce test coverage of our projects. Recently we tried to enable branch-coverage additionally. But …

c++ code-coverage gcov lcov
gcov: producing .gcda output from shared library?

Is it possible to produce gcov data files (.gcda files) by running an executable linked to a shared library built …

c++ gcc code-coverage automake gcov
gcov out of memory / mismatched version?

Just trying to get gcov up and running, getting the following error: $ gcov src/main.c -o build build/main.…

c code-coverage clang gcov
gcov: cannot open graph file

I am trying to use gcov. I have this simple file a.c: int main() { return 0; } So I do gcc …

c macos gcov