This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Need to gcov shared library without building main executable program
- From: Warren Ferguson <zapfiddler at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 3 Sep 2013 11:22:16 -0400
- Subject: Need to gcov shared library without building main executable program
- Authentication-results: sourceware.org; auth=none
Is there a way for gcov to provide coverage analysis of a shared
library without building the main() program that uses the shared
library?
I have external users of the library that have their own executable
programs that use the library and I need to test code coverage with
those programs but I do not have access to their source code.
Surely somebody else has encountered this problem with gcov.
- Warren Ferguson