[compiler-rt] r331964 - [sanitizer] Attempt to fix strace_test.cc on ppc64le
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu May 10 01:16:23 PDT 2018
Author: vitalybuka
Date: Thu May 10 01:16:23 2018
New Revision: 331964
URL: http://llvm.org/viewvc/llvm-project?rev=331964&view=rev
Log:
[sanitizer] Attempt to fix strace_test.cc on ppc64le
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc?rev=331964&r1=331963&r2=331964&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc Thu May 10 01:16:23 2018
@@ -228,7 +228,7 @@ bool ThreadSuspender::SuspendAllThreads(
if (SuspendThread(tid))
retry = true;
} while (retry);
- return true;
+ return suspended_threads_list_.ThreadCount();
}
// Pointer to the ThreadSuspender instance for use in signal handler.
More information about the llvm-commits
mailing list