[sanitizer] Attempt to fix strace_test.cc on ppc64le
authorVitaly Buka <vitalybuka@google.com>
Thu, 10 May 2018 08:16:23 +0000 (08:16 +0000)
committerVitaly Buka <vitalybuka@google.com>
Thu, 10 May 2018 08:16:23 +0000 (08:16 +0000)
llvm-svn: 331964

compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc

index 0276235..a6d555e 100644 (file)
@@ -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.