diff options
Diffstat (limited to 'tester/covoar/ExecutableInfo.cc')
-rw-r--r-- | tester/covoar/ExecutableInfo.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tester/covoar/ExecutableInfo.cc b/tester/covoar/ExecutableInfo.cc index b75d0b5..fc368ce 100644 --- a/tester/covoar/ExecutableInfo.cc +++ b/tester/covoar/ExecutableInfo.cc @@ -71,6 +71,11 @@ namespace Coverage { } } + // We can't process a zero size function. + if (func.pc_high() == 0) { + continue; + } + createCoverageMap (cu.name(), func.name(), func.pc_low(), func.pc_high() - 1); } |