From dfa11ddba5a62e36cf0c9d47140d2329a5df497d Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 27 Oct 2008 16:10:10 -0400 Subject: [PATCH] PR6871: weaken prologue searching assertions --- tapsets.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tapsets.cxx b/tapsets.cxx index ea216abf1..8b871ac7d 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 << "'" -- 2.43.5