This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]