Gcov support for dynamically loaded so files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi team,

I have some apps and test executable that dynamically link to some .so
files during runtime. These so files are built with the required code
coverage flags to produce gcno and gcda files.

The test executable which is enabled with code coverage flags works fine
and generates the gcda files. The apps are not enabled with code coverage
flags and belong to some other team. But it is a testing requirement to
validate this app and generate code coverage for our shared libs during
manual testing. How can i force gcda files generation in this case? I tried
preloading the libs with the app process launch but they only generate gcda
files with zero coverage for the so files.

Any help or pointers would be appreciated.


Thanks,
Shweta



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux