summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-11-19 05:44:41 +0000
committerJason Molenda <jmolenda@apple.com>2013-11-19 05:44:41 +0000
commita6e9130d5243beccb72b68eee7c62b439dd5f32f (patch)
tree17533c76be47b5d32fb76af0ab3c43f450d993f8 /lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
parent1f54e805f25c7381e2dbf0d2065f4c1af8ba095a (diff)
downloadbcm5719-llvm-a6e9130d5243beccb72b68eee7c62b439dd5f32f.tar.gz
bcm5719-llvm-a6e9130d5243beccb72b68eee7c62b439dd5f32f.zip
Add logging for the SB API which creates extended
threads. Take a stab at fixing the too-soon freeing of the extended backtrace thread list in Process. <rdar://problem/15496603> llvm-svn: 195104
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h')
-rw-r--r--lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
index 24029d78996..c472bee8572 100644
--- a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
+++ b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
@@ -126,7 +126,7 @@ private:
GetThreadCreatorItem (lldb::ThreadSP thread);
lldb::tid_t
- GetNewThreadUniquethreadID (lldb::ThreadSP original_thread_sp);
+ GetNewThreadUniqueThreadID (lldb::ThreadSP original_thread_sp);
void
SetNewThreadThreadName (lldb::ThreadSP original_thread_sp, lldb::ThreadSP new_extended_thread_sp);
@@ -137,6 +137,9 @@ private:
void
SetNewThreadExtendedBacktraceToken (lldb::ThreadSP original_thread_sp, lldb::ThreadSP new_extended_thread_sp);
+ void
+ SetNewThreadQueueID (lldb::ThreadSP original_thread_sp, lldb::ThreadSP new_extended_thread_sp);
+
struct ldi_queue_offsets {
uint16_t next;
uint16_t prev;
@@ -158,6 +161,7 @@ private:
uint16_t pthread_id;
uint16_t enqueueing_thread_dispatch_queue_t;
uint16_t enqueueing_thread_dispatch_block_ptr;
+ uint16_t queue_id_from_thread_info;
};
struct ldi_header {
OpenPOWER on IntegriCloud