summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2018-05-10 08:16:23 +0000
committerVitaly Buka <vitalybuka@google.com>2018-05-10 08:16:23 +0000
commit327f5f3a92093d195b61ad8df9d3e9581829e005 (patch)
tree2a569e6c86fe8f653661a5dca5486f98806deb0c
parent864ef70eb0ca186e0f24c993a8b01e39691ebe21 (diff)
downloadbcm5719-llvm-327f5f3a92093d195b61ad8df9d3e9581829e005.tar.gz
bcm5719-llvm-327f5f3a92093d195b61ad8df9d3e9581829e005.zip
[sanitizer] Attempt to fix strace_test.cc on ppc64le
llvm-svn: 331964
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
index 02762350362..a6d555e8045 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
@@ -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.
OpenPOWER on IntegriCloud