[PATCH] coverage : Add support to run coverage in supported bsp without extra options
Vijay Kumar Banerjee
vijaykumar9597 at gmail.com
Sun Jun 24 08:21:26 UTC 2018
On 24 June 2018 at 11:11, Chris Johns <chrisj at rtems.org> wrote:
> On 24/06/2018 14:54, Chris Johns wrote:
> > 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.
> >
>
> I have pushed a fix on master. Please update.
>
> after pulling the fix from master, it's working fine. I can see proper
reports.
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180624/555fd27a/attachment-0002.html>
More information about the devel
mailing list