summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/QueueItem.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-03-09 21:17:08 +0000
committerJason Molenda <jmolenda@apple.com>2014-03-09 21:17:08 +0000
commit37e9b5ab38208d27d30309a41bc1f0328ccb4afa (patch)
treec1462c856b8bf010b105e944145173b1c4e5dbb5 /lldb/source/Target/QueueItem.cpp
parentfe95dc95b5c16997f15d59d216734aecdce0bb44 (diff)
downloadbcm5719-llvm-37e9b5ab38208d27d30309a41bc1f0328ccb4afa.tar.gz
bcm5719-llvm-37e9b5ab38208d27d30309a41bc1f0328ccb4afa.zip
libBacktraceRecording __introspection_dispatch_queue_get_pending_items is
changing the data it returns; this change accepts either the old format or the new format. It doesn't yet benefit from the new format's additions - but I need to get this checked in so we aren't rev-locked. Also add a missing .i entry for SBQueue::GetNumRunningItems() missing from the last checkin. <rdar://problem/16272115> llvm-svn: 203421
Diffstat (limited to 'lldb/source/Target/QueueItem.cpp')
-rw-r--r--lldb/source/Target/QueueItem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Target/QueueItem.cpp b/lldb/source/Target/QueueItem.cpp
index afb5cd028d5..40d824bcf46 100644
--- a/lldb/source/Target/QueueItem.cpp
+++ b/lldb/source/Target/QueueItem.cpp
@@ -15,10 +15,11 @@
using namespace lldb;
using namespace lldb_private;
-QueueItem::QueueItem (QueueSP queue_sp) :
+QueueItem::QueueItem (QueueSP queue_sp, lldb::addr_t item_ref) :
m_queue_wp (),
m_kind (eQueueItemKindUnknown),
m_address (),
+ m_item_ref (item_ref),
m_item_that_enqueued_this_ref (LLDB_INVALID_ADDRESS),
m_enqueueing_thread_id (LLDB_INVALID_THREAD_ID),
m_enqueueing_queue_id (LLDB_INVALID_QUEUE_ID),
OpenPOWER on IntegriCloud