Changeset 4600903 in rtems-tools


Ignore:
Timestamp:
Aug 26, 2017, 8:15:57 AM (22 months ago)
Author:
Cillian O'Donnell <cpodonnell8@…>
Branches:
master
Children:
f9a4b2c
Parents:
6a4859e
git-author:
Cillian O'Donnell <cpodonnell8@…> (08/26/17 08:15:57)
git-committer:
Chris Johns <chrisj@…> (08/29/17 08:06:17)
Message:

covoar/CoverageReaderQEMU.cc: Remove trace block matching check.

This removes the 'Trace block inconsistent with coverage map' check as it was
deemed to be too restrictive and not neccessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/covoar/CoverageReaderQEMU.cc

    r6a4859e r4600903  
    139139        // Determine if additional branch information is available.
    140140        if ( (entry->op & branchInfo) != 0 ) {
    141           uint32_t  offset_e, offset_a;
    142141          uint32_t  a = entry->pc + entry->size - 1;
    143           if ((aCoverageMap->determineOffset( a, &offset_a ) != true)   ||
    144              (aCoverageMap->determineOffset( entry->pc, &offset_e ) != true))
    145           {
    146             fprintf(
    147               stderr,
    148               "*** Trace block is inconsistent with coverage map\n"
    149               "*** Trace block (0x%08x - 0x%08x) for %d bytes\n"
    150               "*** Coverage map XXX \n",
    151               entry->pc,
    152               a,
    153               entry->size
    154             );
    155           } else {
    156142            while (!aCoverageMap->isStartOfInstruction(a))
    157143              a--;
     
    161147              aCoverageMap->setWasNotTaken( a );
    162148            }
    163           }
    164149        }
    165150      }
Note: See TracChangeset for help on using the changeset viewer.