aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/cond_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/cond_cancel.c')
-rw-r--r--test/tsan/cond_cancel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tsan/cond_cancel.c b/test/tsan/cond_cancel.c
index ddfb745174f6..fb6a66136b8a 100644
--- a/test/tsan/cond_cancel.c
+++ b/test/tsan/cond_cancel.c
@@ -1,6 +1,14 @@
// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
// CHECK-NOT: WARNING
// CHECK: OK
+// This test is failing on powerpc64 (VMA=44). After calling pthread_cancel,
+// the Thread-specific data destructors are not called, so the destructor
+// "thread_finalize" (defined in tsan_interceptors.cc) can not set the status
+// of the thread to "ThreadStatusFinished" failing a check in "SetJoined"
+// (defined in sanitizer_thread_registry.cc). It might seem a bug on glibc,
+// however the same version GLIBC-2.17 will not make fail the test on
+// powerpc64 BE (VMA=46)
+// XFAIL: powerpc64-unknown-linux-gnu
#include "test.h"