summaryrefslogtreecommitdiff
path: root/tester/covoar/ExecutableInfo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tester/covoar/ExecutableInfo.cc')
-rw-r--r--tester/covoar/ExecutableInfo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tester/covoar/ExecutableInfo.cc b/tester/covoar/ExecutableInfo.cc
index d93860b..c593e1d 100644
--- a/tester/covoar/ExecutableInfo.cc
+++ b/tester/covoar/ExecutableInfo.cc
@@ -47,7 +47,7 @@ namespace Coverage {
for (auto& func : cu.get_functions()) {
if (func.has_machine_code() && (!func.is_inlined() || func.is_external())) {
createCoverageMap (cu.name(), func.name(),
- func.pc_low(), func.pc_high());
+ func.pc_low(), func.pc_high() - 1);
}
}
}