diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-12-20 14:34:31 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-12-20 14:34:31 -0500 |
commit | 48390b53f76b1497b5ce1408f3fb83c6581f9ecf (patch) | |
tree | 64d96e9f479e6c25fcc6702b69b2417083876bb9 /dwflpp.cxx | |
parent | 028e1bde11b9644d1ac62f0a1a2188cf8def234a (diff) | |
download | systemtap-steved-48390b53f76b1497b5ce1408f3fb83c6581f9ecf.tar.gz systemtap-steved-48390b53f76b1497b5ce1408f3fb83c6581f9ecf.tar.xz systemtap-steved-48390b53f76b1497b5ce1408f3fb83c6581f9ecf.zip |
dwarf probes: skip inlined instances with null (buggy) entrypc
* dwflpp.cxx (resolve_prologue_endings): Skip entrypc=0.
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r-- | dwflpp.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1282,6 +1282,16 @@ dwflpp::resolve_prologue_endings (func_info_map_t & funcs) continue; } + if (entrypc == 0) + { + if (sess.verbose > 2) + clog << "null entrypc dwarf line record for function '" + << it->name << "'\n"; + // This is probably an inlined function. We'll skip this instance; + // it is messed up. + continue; + } + if (sess.verbose>2) clog << "prologue searching function '" << it->name << "'" << " 0x" << hex << entrypc << "-0x" << highpc << dec |