diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2018-05-10 08:16:23 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2018-05-10 08:16:23 +0000 |
| commit | 327f5f3a92093d195b61ad8df9d3e9581829e005 (patch) | |
| tree | 2a569e6c86fe8f653661a5dca5486f98806deb0c | |
| parent | 864ef70eb0ca186e0f24c993a8b01e39691ebe21 (diff) | |
| download | bcm5719-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.cc | 2 |
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. |

