diff options
author | Alex White <alex.white@oarcorp.com> | 2021-02-24 16:53:43 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-03-30 13:15:58 -0500 |
commit | e5c985eba0822b9c1356c85617ea687cfdac379b (patch) | |
tree | cc12abe5b8fb9acf3027b10e19d89aaa032be124 /tester/covoar/CoverageMapBase.h | |
parent | tester: Add coverage variants for a few BSPs (diff) | |
download | rtems-tools-e5c985eba0822b9c1356c85617ea687cfdac379b.tar.bz2 |
covoar: Fix NOP execution marking
Some NOP instructions were not being marked as executed because they
are located at the end of uncovered ranges. This has been fixed.
Diffstat (limited to 'tester/covoar/CoverageMapBase.h')
-rw-r--r-- | tester/covoar/CoverageMapBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tester/covoar/CoverageMapBase.h b/tester/covoar/CoverageMapBase.h index 6ad76d3..a58c696 100644 --- a/tester/covoar/CoverageMapBase.h +++ b/tester/covoar/CoverageMapBase.h @@ -156,6 +156,8 @@ namespace Coverage { */ int32_t getFirstLowAddress() const; + uint32_t getLowAddressOfRange( size_t index ) const; + /*! * This method returns true and sets the address range if * the address falls with the bounds of an address range @@ -177,6 +179,8 @@ namespace Coverage { */ uint32_t getSize() const; + uint32_t getSizeOfRange( size_t index ) const; + /*! * This method returns the address of the beginning of the * instruction that contains the specified address. |