1 //===-- HostThreadLinux.h ---------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef lldb_Host_linux_HostThreadLinux_h_
11 #define lldb_Host_linux_HostThreadLinux_h_
13 #include "lldb/Host/posix/HostThreadPosix.h"
15 #include "llvm/ADT/SmallString.h"
16 #include "llvm/ADT/StringRef.h"
18 namespace lldb_private {
20 class HostThreadLinux : public HostThreadPosix {
23 HostThreadLinux(lldb::thread_t thread);
25 static void SetName(lldb::thread_t thread, llvm::StringRef name);
26 static void GetName(lldb::thread_t thread, llvm::SmallVectorImpl<char> &name);