This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Can gcov handle a subject which contain multiple soure files?
- From: XiaoQu <xqu at cse dot unl dot edu>
- To: eswierk at cs dot stanford dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 20 Aug 2007 16:40:10 -0500
- Subject: Can gcov handle a subject which contain multiple soure files?
Hello there,
This is Xiao Qu from University of Nebraska - Lincoln. I am trying to
use "gcov" to get some coverage information of one subject.
This subject was compiled like:
gcc -c -fprofile-arcs -ftest-coverage f1.c f2.c f3.c f4.c
gcc -fprofile-arcs -ftest-coverage f1.o f2.o f3.o f4.o -o ff.exe
Then I ran a test case on ff.exe but no .gcda file was generated. I am
just wondering whether gcov could handle such case? How to do that?
Thank you very much!
Xiao