diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
commit | 14f1b3e8826ce43b978db93a62d1166055db5394 (patch) | |
tree | 0a00ad8d3498783fe0193f3b656bca17c4c8697d /source/Host/macosx/ThisThread.cpp | |
parent | 4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff) |
Notes
Diffstat (limited to 'source/Host/macosx/ThisThread.cpp')
-rw-r--r-- | source/Host/macosx/ThisThread.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/source/Host/macosx/ThisThread.cpp b/source/Host/macosx/ThisThread.cpp index 6f1c88f67309f..5244ba0141210 100644 --- a/source/Host/macosx/ThisThread.cpp +++ b/source/Host/macosx/ThisThread.cpp @@ -9,21 +9,17 @@ #include "lldb/Host/ThisThread.h" -#include <pthread.h> #include "llvm/ADT/SmallVector.h" +#include <pthread.h> using namespace lldb_private; -void -ThisThread::SetName(llvm::StringRef name) -{ -#if defined (__APPLE__) - ::pthread_setname_np(name.str().c_str()); +void ThisThread::SetName(llvm::StringRef name) { +#if defined(__APPLE__) + ::pthread_setname_np(name.str().c_str()); #endif } -void -ThisThread::GetName(llvm::SmallVectorImpl<char> &name) -{ - // FIXME - implement this. +void ThisThread::GetName(llvm::SmallVectorImpl<char> &name) { + // FIXME - implement this. } |