summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
diff options
context:
space:
mode:
authorTodd Fiala <tfiala@google.com>2014-02-01 00:48:34 +0000
committerTodd Fiala <tfiala@google.com>2014-02-01 00:48:34 +0000
commit31cb474e2d0dea9eb4298b6cbfe5887bbde7e3cf (patch)
treeccfb5d10950f628a68fe1dacc2f8d9cf4a6d41d1 /lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
parentc5326ca9bb107a309a886481b5e3cd1a5c3dd28e (diff)
downloadbcm5719-llvm-31cb474e2d0dea9eb4298b6cbfe5887bbde7e3cf.tar.gz
bcm5719-llvm-31cb474e2d0dea9eb4298b6cbfe5887bbde7e3cf.zip
Fix for failure to unwind Linux stack frames with call in final position.
Fixes http://llvm.org/bugs/show_bug.cgi?id=18656. Note this exposes a failure on Linux of TestInferiorAssert.test_inferior_asserting_disassemble, similar to how it fails on FreeBSD. I'll file a bug for this next. We're now getting another frame beyond where we used to prior to this fix, so the fix is exposing failures in previosly not-reachable frames. Much thanks to Jason Molenda, who had much to do with helping figure out where unwinding was breaking. llvm-svn: 200600
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
index 368cd656edb..14797874262 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
@@ -167,6 +167,10 @@ private:
void
UnwindLogMsgVerbose (const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
+ bool
+ IsUnwindPlanValidForCurrentPC(lldb::UnwindPlanSP unwind_plan_sp, int &valid_pc_offset);
+
+
lldb_private::Thread& m_thread;
///
OpenPOWER on IntegriCloud