summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-11-06 00:04:44 +0000
committerJason Molenda <jmolenda@apple.com>2013-11-06 00:04:44 +0000
commit5dd4916f63f9820244d9fdd8d4bdd0f884f0e766 (patch)
treed80234e1dc1c4414a27f8b35b8474a184f00b985 /lldb/scripts/Python
parent7e77a294dc420cbf16cefa5775bbf1070991f582 (diff)
downloadbcm5719-llvm-5dd4916f63f9820244d9fdd8d4bdd0f884f0e766.tar.gz
bcm5719-llvm-5dd4916f63f9820244d9fdd8d4bdd0f884f0e766.zip
Add a new GetThreadOriginExtendedBacktrace method to the
SystemRuntime and SBThread classes. <rdar://problem/15314369> llvm-svn: 194111
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/interface/SBThread.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i
index 4f678b6353c..3337c8d7848 100644
--- a/lldb/scripts/Python/interface/SBThread.i
+++ b/lldb/scripts/Python/interface/SBThread.i
@@ -240,6 +240,19 @@ public:
bool
operator != (const lldb::SBThread &rhs) const;
+ %feature("autodoc","
+ Given an argument of str to specify the type of thread-origin extended
+ backtrace to retrieve, query whether the origin of this thread is
+ available. An SBThread is retured; SBThread.IsValid will return true
+ if an extended backtrace was available. The returned SBThread is not
+ a part of the SBProcess' thread list and it cannot be manipulated like
+ normal threads -- you cannot step or resume it, for instance -- it is
+ intended to used primarily for generating a backtrace. You may request
+ the returned thread's own thread origin in turn.
+ ") GetThreadOriginExtendedBacktrace;
+ lldb::SBThread
+ GetThreadOriginExtendedBacktrace (const char *type);
+
%pythoncode %{
class frames_access(object):
'''A helper object that will lazily hand out frames for a thread when supplied an index.'''
OpenPOWER on IntegriCloud