summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ExecutableInfo.cc
diff options
context:
space:
mode:
authorHermann Felbinger <hermann19829@gmail.com>2017-08-26 09:15:53 +0100
committerChris Johns <chrisj@rtems.org>2017-08-29 18:05:51 +1000
commitcb018bcdff30e4582b4a6b348dc0fb7776a92b58 (patch)
treebeb9c3176298a73997ee2b1d8b54692f9e6b188b /tester/covoar/ExecutableInfo.cc
parentcovoar: Fix buffer overflow and fix br tag in html report. (diff)
downloadrtems-tools-cb018bcdff30e4582b4a6b348dc0fb7776a92b58.tar.bz2
covoar: Add information to improve diagnostics.
Diffstat (limited to 'tester/covoar/ExecutableInfo.cc')
-rw-r--r--tester/covoar/ExecutableInfo.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tester/covoar/ExecutableInfo.cc b/tester/covoar/ExecutableInfo.cc
index 0a7eac3..d71c435 100644
--- a/tester/covoar/ExecutableInfo.cc
+++ b/tester/covoar/ExecutableInfo.cc
@@ -89,6 +89,7 @@ namespace Coverage {
}
CoverageMapBase* ExecutableInfo::createCoverageMap (
+ const std::string& fileName,
const std::string& symbolName,
uint32_t lowAddress,
uint32_t highAddress
@@ -99,7 +100,7 @@ namespace Coverage {
itr = coverageMaps.find( symbolName );
if ( itr == coverageMaps.end() ) {
- theMap = new CoverageMap( lowAddress, highAddress );
+ theMap = new CoverageMap( fileName, lowAddress, highAddress );
coverageMaps[ symbolName ] = theMap;
} else {
theMap = itr->second;