summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-02-05 05:44:54 +0000
committerJason Molenda <jmolenda@apple.com>2014-02-05 05:44:54 +0000
commit2fd83355a837da553efe170439c054d3c70a68ee (patch)
tree40c46e628fc4560d92a166e9abfc14c0b289371e /lldb/source/Target/Process.cpp
parent7ca1d180559f3f5ceef45387cfeaa70a82280602 (diff)
downloadbcm5719-llvm-2fd83355a837da553efe170439c054d3c70a68ee.tar.gz
bcm5719-llvm-2fd83355a837da553efe170439c054d3c70a68ee.zip
Change the Mac OS X SystemRuntime plugin from using the placeholder
libldi library to collect extended backtrace information; switch to the libBacktraceRecording library and its APIs. Complete the work of adding QueueItems to Queues and allow for the QueueItems to be interrogated about their extended backtraces in turn. There's still cleanup and documentation to do on this code but the code is functional and I it's a good time to get the work-in-progress checked in. <rdar://problem/15314027> llvm-svn: 200822
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index a18eab0f265..68d95a9eeba 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1020,9 +1020,7 @@ Process::Process(Target &target, Listener &listener) :
m_mod_id (),
m_process_unique_id(0),
m_thread_index_id (0),
- m_queue_index_id (0),
m_thread_id_to_index_id_map (),
- m_queue_id_to_index_id_map (),
m_exit_status (-1),
m_exit_string (),
m_thread_mutex (Mutex::eMutexTypeRecursive),
@@ -1699,39 +1697,6 @@ Process::AssignIndexIDToThread(uint64_t thread_id)
return result;
}
-bool
-Process::HasAssignedIndexIDToQueue(queue_id_t queue_id)
-{
- std::map<uint64_t, uint32_t>::iterator iterator = m_queue_id_to_index_id_map.find(queue_id);
- if (iterator == m_queue_id_to_index_id_map.end())
- {
- return false;
- }
- else
- {
- return true;
- }
-}
-
-uint32_t
-Process::AssignIndexIDToQueue(queue_id_t queue_id)
-{
- uint32_t result = 0;
- std::map<uint64_t, uint32_t>::iterator iterator = m_queue_id_to_index_id_map.find(queue_id);
- if (iterator == m_queue_id_to_index_id_map.end())
- {
- result = ++m_queue_index_id;
- m_queue_id_to_index_id_map[queue_id] = result;
- }
- else
- {
- result = iterator->second;
- }
-
- return result;
-}
-
-
StateType
Process::GetState()
{
OpenPOWER on IntegriCloud