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 | 349b880d896d1502cf86e6bae8d374ddb3059cab (patch) | |
tree | ea153e1066855a2491aa85e408044e633a261c0a /lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | |
parent | 9345b67866d7f48810e4998ade5727b3cf98fae2 (diff) | |
download | compiler-rt-349b880d896d1502cf86e6bae8d374ddb3059cab.tar.gz |
[sanitizer] Attempt to fix strace_test.cc on ppc64le
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc index 027623503..a6d555e80 100644 --- a/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc +++ b/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. |