Chris Johns commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/2#note_135008


The only difference is the addition of `-lgcov` library. The options used are:

```
--coverage -fprofile-info-section=.rtemsroset.gcov_info.content 
-fprofile-update=atomic
```

and to quote GCC `--coverage` is a synonym for <samp>`-fprofile-arcs`</samp> 
<samp>`-ftest-coverage`</samp> (when compiling) and <samp>`-lgcov`</samp> (when 
linking). Why not be consistent with the flags being used?

I am still considering what means. I did not know coverage like this was buried 
in the configuration options. 

How would a user know they have an instrumented RTEMS if we hide all the 
dependencies?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/2#note_135008
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to