diff options
| author | Ed Maste <emaste@freebsd.org> | 2016-05-13 17:01:59 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2016-05-13 17:01:59 +0000 |
| commit | 718e2968f85c6c2b0d62faa1a3a022da79dac54b (patch) | |
| tree | 03e3447bc141157da58197948c8c8ce32de4168f /lldb | |
| parent | f28beac4196167b0ca6184625bece102b0589b03 (diff) | |
| download | bcm5719-llvm-718e2968f85c6c2b0d62faa1a3a022da79dac54b.tar.gz bcm5719-llvm-718e2968f85c6c2b0d62faa1a3a022da79dac54b.zip | |
Disable HostThread::Cancel assertion on FreeBSD
It is still used by ProcessMonitor::StopMonitoringChildProcess and
ProcessMonitor::StopOpThread.
llvm-svn: 269434
Diffstat (limited to 'lldb')
| -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 |

