#4196 assigned enhancement

Improve gcov support provided by GCC for RTEMS

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: tool/gcc Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

If we want to use gcov in RTEMS to get code coverage in all system states, then we need some tweaks in GCC:

https://gcc.gnu.org/pipermail/gcc/2020-November/234164.html

The linker set based gcov information registration is already included in GCC:

https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fprofile-info-section

There is a discussion about how the gcov information can be transferred from the embedded system to the host:

https://gcc.gnu.org/pipermail/gcc-patches/2020-November/559342.html

The GCC integration needs to wait for the GCC 12 development start.

Attachments (1)

0001-gcov-Add-fprofile-info-section-support.patch (7.2 KB) - added by Sebastian Huber on Dec 2, 2020 at 9:54:29 AM.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Dec 2, 2020 at 10:24:27 AM by Sebastian Huber <sebastian.huber@…>

In 1d9f5d0/rtems-source-builder:

6: Add support for gcov info section

Update #4196.

Note: See TracTickets for help on using tickets.