gcov compiler and gcov options

Joel Sherrill joel at rtems.org
Wed May 23 14:04:56 UTC 2018


Hi

I created a simple native example to see what options work for gcov
and sub-expressions. Hopefully I got the simple method and
test main right.

"make clean all" will compile, execute, and run gcov.

Edit the Makefile to change arguments.

Edit program.c to change test cases.

Three test cases for 100% coverage. Comment some out to
see the impact.

Hopefully we can see what we need to do or the limits.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180523/7d85f510/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coverage-test.tar.bz2
Type: application/octet-stream
Size: 907 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180523/7d85f510/attachment.obj>


More information about the devel mailing list