diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-07-16 12:32:33 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-07-16 12:32:33 +0000 |
commit | 1ee0d4f7f358d4b598fb22c696c1c50816adc622 (patch) | |
tree | 811bf2064ed94c3d519def474f932c09a45b9af6 /lldb/source/Target/Thread.cpp | |
parent | 50729ad717ab4bf1d3cf002d5ecb28286acdd89d (diff) | |
download | bcm5719-llvm-1ee0d4f7f358d4b598fb22c696c1c50816adc622.tar.gz bcm5719-llvm-1ee0d4f7f358d4b598fb22c696c1c50816adc622.zip |
Fix constructor initialization order. Patch by Bill Lynch.
llvm-svn: 108524
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 40ea4df14a5..fe9f7f55676 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -36,9 +36,9 @@ using namespace lldb_private; Thread::Thread (Process &process, lldb::tid_t tid) : UserID (tid), + m_process (process), m_index_id (process.GetNextThreadIndexID ()), m_reg_context_sp (), - m_process (process), m_state (eStateUnloaded), m_plan_stack (), m_immediate_plan_stack(), @@ -90,8 +90,8 @@ Thread::SetResumeState (StateType state) Thread::StopInfo::StopInfo(Thread *thread) : m_reason (eStopReasonInvalid), - m_description (), m_thread (thread), + m_description (), m_details () { m_description[0] = '\0'; |