[RTEMS Project] #4387: covoar marks taken/not taken incorrectly for AArch64

RTEMS trac trac at rtems.org
Fri Apr 16 18:11:01 UTC 2021


#4387: covoar marks taken/not taken incorrectly for AArch64
-------------------------+------------------------------
  Reporter:  Alex White  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  6.1
 Component:  tool        |    Version:  6
  Severity:  normal      |   Keywords:  coverage, covoar
Blocked By:              |   Blocking:
-------------------------+------------------------------
 The AArch64 annotated assembly produced by covoar reveals that branches
 that are never taken are marked "ALWAYS TAKEN" and branches that are
 always taken are marked "NEVER TAKEN".

 It appears that this is caused by incorrect return values in
 `TargetBase::qemuTakenBit()` and `TargetBase::qemuNotTakenBit()`. These
 methods should be overridden in `Target_aarch64` so that the return values
 are switched.

--
Ticket URL: <http://devel.rtems.org/ticket/4387>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list