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

Chris Johns chrisj at rtems.org
Sun Jun 24 04:54:10 UTC 2018


On 24/06/2018 12:35, Chris Johns wrote:
> On 23/06/2018 05:10, Vijay Kumar Banerjee wrote:
>> I'm running rtems-test with the following command 
>>
>> $HOME/development/rtems/test/rtems-tools/tester/rtems-test \
>> --rtems-tools=$HOME/development/rtems/5 --log=coverage_analysis.log \
>> --no-clean --coverage=score --rtems-bsp=leon3-qemu-cov \
>> /home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/testsuites/samples
>>
>> I'm getting this error
>>
>> ---------
>> error: coverage: covoar failure:: -11
> 

I am seeing this as well on FreeBSD. Running lldb I am seeing:

Process 40657 stopped
* thread #1, stop reason = signal SIGSEGV: invalid address (fault address: 0x4)
    frame #0: covoar`dwarf_global_formref(at=0x0000000000000004,
return_offset=0x00007fffffffc6d8, error=0x00007fffffffbea8) at dwarf_form.c:142
   139          int ret;
   140          Dwarf_Debug dbg;
   141
-> 142          dbg = at != NULL ? at->at_die->die_dbg : NULL;
   143
   144          if (at == NULL || return_offset == NULL) {
   145                  DWARF_SET_ERROR(dbg, error, DW_DLE_ARGUMENT);

Something is wrong in the toolkit DWARF loading of functions.

Chris



More information about the devel mailing list