diff options
Diffstat (limited to 'lldb/source/Host/posix/HostThreadPosix.cpp')
-rw-r--r-- | lldb/source/Host/posix/HostThreadPosix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Host/posix/HostThreadPosix.cpp b/lldb/source/Host/posix/HostThreadPosix.cpp index 3ac83ac07b1..f1a6d6f8314 100644 --- a/lldb/source/Host/posix/HostThreadPosix.cpp +++ b/lldb/source/Host/posix/HostThreadPosix.cpp @@ -56,7 +56,9 @@ HostThreadPosix::Cancel() if (IsJoinable()) { #ifndef __ANDROID__ +#ifndef __FreeBSD__ assert(false && "someone is calling HostThread::Cancel()"); +#endif int err = ::pthread_cancel(m_thread); error.SetError(err, eErrorTypePOSIX); #else |