How defines RTEMS_COVERAGE?
Joel Sherrill
joel at rtems.org
Wed Jul 14 12:25:49 UTC 2021
On Wed, Jul 14, 2021, 7:15 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> Hello,
>
> I had a bit of time to work on the gcov support for RTEMS:
>
> https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575122.html
>
> I tried to add an RTEMS_COVERAGE build option to enable gcov. Then I
> noticed that such a define is already used in RTEMS:
>
> testsuites/sptests/spcoverage/init.c: #if defined(RTEMS_COVERAGE)
>
> Who provides this define?
>
I have no idea what this does. The covoar reports require no special
defines. The most you might do is use -Os to make the analysis easier since
the code is easier to follow when optimising for size.
What does that test even do?
--joel
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210714/69c6454d/attachment.html>
More information about the devel
mailing list