c - Must the main() executable program be compiled and linked with gcov options to use gcov on shared library -
is there way gcov provide coverage analysis of shared library without building main() program uses shared library?
i have external users of shared library have own executable programs use library , need test code coverage programs not have access source code.
surely else has encountered problem gcov.
the main() , shared library written in c. main() program have source code able use gcov fine execution trace of calls placed shared library.
i have not seen examples gcov used without compiling , linking main() program. never less asking question hope else has found work around solution.
a similar question has been posted on gcc-help.
- warren ferguson
Comments
Post a Comment