diff options
author | Vitaly Buka <vitalybuka@google.com> | 2019-02-09 18:43:24 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2019-02-09 18:43:24 +0000 |
commit | 0cf421261c9961e2a167feeffaae93d3defa6e8f (patch) | |
tree | 4d2431a952fa0918d76ff41871a75693e30899ba | |
parent | 6e3256887f14fd4b946d37318ddaa37c799dcd17 (diff) | |
download | compiler-rt-0cf421261c9961e2a167feeffaae93d3defa6e8f.tar.gz |
[tsan] Remove debug logging and disable test on ppc64be
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@353623 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/tsan/thread_exit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/tsan/thread_exit.c b/test/tsan/thread_exit.c index 097ae9aed..0c7bdf7d5 100644 --- a/test/tsan/thread_exit.c +++ b/test/tsan/thread_exit.c @@ -1,21 +1,21 @@ -// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 -// | FileCheck %s +// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s + +// Crashes on powerpc64be +// XFAIL: target-is-powerpc64be + #include "test.h" int var; void *Thread(void *x) { - fprintf(stderr, "Thread\n"); pthread_exit(&var); return 0; } int main() { - fprintf(stderr, "MAIN\n"); pthread_t t; pthread_create(&t, 0, Thread, 0); void *retval = 0; - fprintf(stderr, "JOIN\n"); pthread_join(t, &retval); if (retval != &var) { fprintf(stderr, "Unexpected return value\n"); |