summaryrefslogtreecommitdiff
path: root/test/tsan
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-09-12 20:03:39 +0000
committerVitaly Buka <vitalybuka@google.com>2017-09-12 20:03:39 +0000
commit45735bcdc31ea2cb1e56eea5dd84189139c78eef (patch)
treee333c91514eb2de047a9078af733f75d639bbf26 /test/tsan
parent9765720e33a1165d932d2a08690ad8ac8df0af3e (diff)
[tsan] Disable user_malloc test which fails glibc 2.24
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r--test/tsan/Linux/user_malloc.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tsan/Linux/user_malloc.cc b/test/tsan/Linux/user_malloc.cc
index 6d51a9dd7..b470e6c54 100644
--- a/test/tsan/Linux/user_malloc.cc
+++ b/test/tsan/Linux/user_malloc.cc
@@ -1,5 +1,12 @@
// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
+
// UNSUPPORTED: powerpc64le
+
+// FIXME: Remove the test or find how to fix this.
+// On some distributions, probably with newer glibc, tsan initialization calls
+// dlsym which then calls malloc and crashes because of tsan is not initialized.
+// UNSUPPORTED: linux
+
#include <stdio.h>
// Defined by tsan.