Opened on Dec 2, 2020 at 9:38:15 AM
Last modified on Dec 2, 2020 at 10:24:27 AM
#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)
Change History (2)
Changed on Dec 2, 2020 at 9:54:29 AM by Sebastian Huber
Attachment: | 0001-gcov-Add-fprofile-info-section-support.patch added |
---|
comment:1 Changed on Dec 2, 2020 at 10:24:27 AM by Sebastian Huber <sebastian.huber@…>
Note: See
TracTickets for help on using
tickets.
In 1d9f5d0/rtems-source-builder: