I am using gcov to get code coverage for my program written in C++, I am able to do it without any problem when i don't have a directory structure, for my program I am a directory structure as below
Yes, if you want to profile an object file, then you need to compile that object with " -fprofile-arcs -ftest-coverage", regardless of whether you link directly to that object, or put it in a static library and then link to the library.
You should keep your .da files. And you should probably run "gcov" with -p and -l.
'Hope that helps
|All times are GMT -5. The time now is 03:36 AM.|