summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.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/Target/Process.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/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 950df69152f..9c2b7f50b32 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1593,9 +1593,10 @@ Process::UpdateThreadListIfNeeded ()
m_thread_list_real.Update(real_thread_list);
m_thread_list.Update (new_thread_list);
m_thread_list.SetStopID (stop_id);
+
+ // Clear any extended threads that we may have accumulated previously
+ m_extended_thread_list.Clear();
}
- // Clear any extended threads that we may have accumulated previously
- m_extended_thread_list.Clear();
}
}
}
OpenPOWER on IntegriCloud