[PATCH] coverage : Add support to run coverage in supported bsp without extra options

Chris Johns chrisj at rtems.org
Tue Jun 19 03:34:14 UTC 2018


On 19/06/2018 13:24, Chris Johns wrote:
> INFO: DesiredSymbols::createCoverageMap - Attempt to create unified coverage
> maps for _Workspace_Allocate_or_fatal_error with different sizes
> (/opt/work/chris/rtems/kernel/bsps/leon3/sparc-rtems5/c/leon3/testsuites/samples/capture.exe/80!=
> /opt/work/chris/rtems/kernel/bsps/leon3/sparc-rtems5/c/leon3/testsuites/samples/base_sp.exe/60)

>From the DWARF info I see:

capture.exe:
 dwarf::function: _Workspace_Allocate_or_fatal_error \
  pc_low = 0x40015e04 pc_high = 0x40015e40

base_sp.exe:
 dwarf::function: _Workspace_Allocate_or_fatal_error \
  pc_low = 0x4000c070 pc_high = 0x4000c0ac

which is 60 bytes for both so the capture.exe size of 80 is wrong. Moving covoar
over to DWARF will improve this issue.

Chris


More information about the devel mailing list