summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/freebsd/ThisThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/freebsd/ThisThread.cpp')
-rw-r--r--lldb/source/Host/freebsd/ThisThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/freebsd/ThisThread.cpp b/lldb/source/Host/freebsd/ThisThread.cpp
index a9f805885e8..fb25847be24 100644
--- a/lldb/source/Host/freebsd/ThisThread.cpp
+++ b/lldb/source/Host/freebsd/ThisThread.cpp
@@ -20,7 +20,7 @@ using namespace lldb_private;
void
ThisThread::SetName(llvm::StringRef name)
{
- HostNativeThread::SetName(::pthread_self(), name);
+ ::pthread_set_name_np(::pthread_self(), name.data());
}
void
OpenPOWER on IntegriCloud