diff options
author | Zachary Turner <zturner@google.com> | 2017-03-04 01:31:06 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-04 01:31:06 +0000 |
commit | ed96be99fa780edd51876f769b74252bfb2d8b1b (patch) | |
tree | ae9113a6f3f450d182cbc38ccbcb1337b07ca37d /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | 2325bb34c1ce78849925eb43213116e5a74e8041 (diff) | |
download | bcm5719-llvm-ed96be99fa780edd51876f769b74252bfb2d8b1b.tar.gz bcm5719-llvm-ed96be99fa780edd51876f769b74252bfb2d8b1b.zip |
Delete LLDB's code for getting / setting thread name.
This is now functionality in LLVM, and all callers have
already been updated to use the LLVM functions.
llvm-svn: 296946
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 9559df90b3e..27d077e7e6d 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -72,7 +72,7 @@ void GDBRemoteCommunication::History::AddPacket(char packet_char, m_packets[idx].type = type; m_packets[idx].bytes_transmitted = bytes_transmitted; m_packets[idx].packet_idx = m_total_packet_count; - m_packets[idx].tid = Host::GetCurrentThreadID(); + m_packets[idx].tid = llvm::get_threadid(); } } @@ -87,7 +87,7 @@ void GDBRemoteCommunication::History::AddPacket(const std::string &src, m_packets[idx].type = type; m_packets[idx].bytes_transmitted = bytes_transmitted; m_packets[idx].packet_idx = m_total_packet_count; - m_packets[idx].tid = Host::GetCurrentThreadID(); + m_packets[idx].tid = llvm::get_threadid(); } } |