We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194d1a6 commit c12c0c5Copy full SHA for c12c0c5
lldb/source/Host/posix/HostThreadPosix.cpp
@@ -43,7 +43,7 @@ Status HostThreadPosix::Cancel() {
43
if (IsJoinable()) {
44
#ifndef __ANDROID__
45
#ifndef __FreeBSD__
46
- assert(false && "someone is calling HostThread::Cancel()");
+ llvm_unreachable("someone is calling HostThread::Cancel()");
47
#endif
48
int err = ::pthread_cancel(m_thread);
49
error.SetError(err, eErrorTypePOSIX);
0 commit comments