summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-07-08 02:12:05 +0000
committerJim Ingham <jingham@apple.com>2016-07-08 02:12:05 +0000
commit4ac8e93a4e45d89f8416d48d21712e6393b1093b (patch)
tree7e819cd5477c3a15f4c22f2d1c6cf3d6380162d1 /lldb/scripts/interface
parent0160063aeb3197be08b3e52a4adfb692ce6f3e57 (diff)
downloadbcm5719-llvm-4ac8e93a4e45d89f8416d48d21712e6393b1093b.tar.gz
bcm5719-llvm-4ac8e93a4e45d89f8416d48d21712e6393b1093b.zip
Add an API to unwind from a hand-called expression.
This is just an SB API way of doing "thread return -x". <rdar://problem/27110360> llvm-svn: 274822
Diffstat (limited to 'lldb/scripts/interface')
-rw-r--r--lldb/scripts/interface/SBThread.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBThread.i b/lldb/scripts/interface/SBThread.i
index 3dcb8484f02..082805f42fd 100644
--- a/lldb/scripts/interface/SBThread.i
+++ b/lldb/scripts/interface/SBThread.i
@@ -259,6 +259,14 @@ public:
SBError
ReturnFromFrame (SBFrame &frame, SBValue &return_value);
+ %feature("autodoc", "
+ Unwind the stack frames from the innermost expression evaluation.
+ This API is equivalent to 'thread return -x'.
+ ") UnwindInnermostExpression;
+
+ SBError
+ UnwindInnermostExpression();
+
%feature("docstring", "
//--------------------------------------------------------------------------
/// LLDB currently supports process centric debugging which means when any
OpenPOWER on IntegriCloud