summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
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/Process/Utility/HistoryThread.cpp
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/Process/Utility/HistoryThread.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/HistoryThread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/HistoryThread.cpp b/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
index bb8d312fdac..521136295fd 100644
--- a/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
+++ b/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
@@ -34,7 +34,8 @@ HistoryThread::HistoryThread (lldb_private::Process &process,
m_extended_unwind_token (LLDB_INVALID_ADDRESS),
m_queue_name (),
m_thread_name (),
- m_originating_unique_thread_id (tid)
+ m_originating_unique_thread_id (tid),
+ m_queue_id (LLDB_INVALID_QUEUE_ID)
{
m_unwinder_ap.reset (new HistoryUnwind (*this, pcs, stop_id, stop_id_is_valid));
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_OBJECT));
OpenPOWER on IntegriCloud