summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-10-27 16:10:10 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-10-27 16:10:10 -0400
commitdfa11ddba5a62e36cf0c9d47140d2329a5df497d (patch)
tree7aead7f87298e9c111ed0d10f14e360fec8840d8 /tapsets.cxx
parent7584f16292bc4557b3f7e3f9dcbc5dbe07bab562 (diff)
downloadsystemtap-steved-dfa11ddba5a62e36cf0c9d47140d2329a5df497d.tar.gz
systemtap-steved-dfa11ddba5a62e36cf0c9d47140d2329a5df497d.tar.xz
systemtap-steved-dfa11ddba5a62e36cf0c9d47140d2329a5df497d.zip
PR6871: weaken prologue searching assertions
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index ea216abf..8b871ac7 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1383,8 +1383,14 @@ struct dwflpp
}
}
if (!entrypc_srcline)
- throw semantic_error ("missing entrypc dwarf line record for function '"
- + it->name + "'");
+ {
+ if (sess.verbose > 2)
+ clog << "missing entrypc dwarf line record for function '"
+ << it->name << "'\n";
+ // This is probably an inlined function. We'll end up using
+ // its lowpc as a probe address.
+ continue;
+ }
if (sess.verbose>2)
clog << "prologue searching function '" << it->name << "'"