diff options
author | Han Ming Ong <hanming@apple.com> | 2013-01-08 22:10:01 +0000 |
---|---|---|
committer | Han Ming Ong <hanming@apple.com> | 2013-01-08 22:10:01 +0000 |
commit | c2c423eac245b1de21758c306365a0b7ff72e687 (patch) | |
tree | d9c3a7a95fc4a22eb65eabe162922971f875fb25 /lldb/source/Target/Thread.cpp | |
parent | 5277120dd0d6d326046b08e3b58a27137a202077 (diff) | |
download | bcm5719-llvm-c2c423eac245b1de21758c306365a0b7ff72e687.tar.gz bcm5719-llvm-c2c423eac245b1de21758c306365a0b7ff72e687.zip |
<rdar://problem/12976225>
Checking in the support for doing index ids reservation when given a thread id.
llvm-svn: 171904
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 4750a4dc910..3137cf56413 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -243,7 +243,7 @@ Thread::Thread (Process &process, lldb::tid_t tid) : Broadcaster(&process.GetTarget().GetDebugger(), Thread::GetStaticBroadcasterClass().AsCString()), m_process_wp (process.shared_from_this()), m_actual_stop_info_sp (), - m_index_id (process.GetNextThreadIndexID ()), + m_index_id (process.GetNextThreadIndexID(tid)), m_reg_context_sp (), m_state (eStateUnloaded), m_state_mutex (Mutex::eMutexTypeRecursive), @@ -258,7 +258,6 @@ Thread::Thread (Process &process, lldb::tid_t tid) : m_unwinder_ap (), m_destroy_called (false), m_thread_stop_reason_stop_id (0) - { LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_OBJECT)); if (log) |