summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-04-25 00:01:15 +0000
committerJason Molenda <jmolenda@apple.com>2014-04-25 00:01:15 +0000
commitb9ffa98cab65ecb1e66a194bb9641735ef8e7eb2 (patch)
tree7b08a842255de003f00d2be36defedfa72537ef1 /lldb/scripts/Python/interface
parent5ad11841f7fe4ae35165e34fb5574f2e4e8499ed (diff)
downloadbcm5719-llvm-b9ffa98cab65ecb1e66a194bb9641735ef8e7eb2.tar.gz
bcm5719-llvm-b9ffa98cab65ecb1e66a194bb9641735ef8e7eb2.zip
Add a new SBThread::GetQueue() method to get the queue that is
currently associated with a given thread, on relevant targets. Change the queue detection code to verify that the queues associated with all live threads are included in the list. <rdar://problem/16411314> llvm-svn: 207160
Diffstat (limited to 'lldb/scripts/Python/interface')
-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 f2517366160..ecf0475dec1 100644
--- a/lldb/scripts/Python/interface/SBThread.i
+++ b/lldb/scripts/Python/interface/SBThread.i
@@ -165,6 +165,19 @@ public:
lldb::queue_id_t
GetQueueID() const;
+ %feature("autodoc", "
+ Return the SBQueue for this thread. If this thread is not currently associated
+ with a libdispatch queue, the SBQueue object's IsValid() method will return false.
+ If this SBThread is actually a HistoryThread, we may be able to provide QueueID
+ and QueueName, but not provide an SBQueue. Those individual attributes may have
+ been saved for the HistoryThread without enough information to reconstitute the
+ entire SBQueue at that time.
+ This method takes no arguments, returns an SBQueue.
+ ") GetQueue;
+
+ lldb::SBQueue
+ GetQueue () const;
+
void
StepOver (lldb::RunMode stop_other_threads = lldb::eOnlyDuringStepping);
OpenPOWER on IntegriCloud