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/Host/linux/ThisThread.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/Host/linux/ThisThread.cpp')
-rw-r--r-- | lldb/source/Host/linux/ThisThread.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lldb/source/Host/linux/ThisThread.cpp b/lldb/source/Host/linux/ThisThread.cpp deleted file mode 100644 index f65440b9d77..00000000000 --- a/lldb/source/Host/linux/ThisThread.cpp +++ /dev/null @@ -1,25 +0,0 @@ -//===-- ThisThread.cpp ------------------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "lldb/Host/ThisThread.h" -#include "lldb/Host/HostNativeThread.h" - -#include "llvm/ADT/SmallVector.h" - -#include <pthread.h> - -using namespace lldb_private; - -void ThisThread::SetName(llvm::StringRef name) { - HostNativeThread::SetName(::pthread_self(), name); -} - -void ThisThread::GetName(llvm::SmallVectorImpl<char> &name) { - HostNativeThread::GetName(::pthread_self(), name); -} |