summaryrefslogtreecommitdiffstats
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
commit2890105eab08ef55b624642000e5225fb7a46e0a (patch)
tree122e86d03f908d9728f0a1eee47737eb9d0be076
parent6ccc1c342a1922f6808fb0035dafd41e65500445 (diff)
downloadbcm5719-llvm-2890105eab08ef55b624642000e5225fb7a46e0a.tar.gz
bcm5719-llvm-2890105eab08ef55b624642000e5225fb7a46e0a.zip
[tsan] Disable user_malloc test which fails glibc 2.24
llvm-svn: 313069
-rw-r--r--compiler-rt/test/tsan/Linux/user_malloc.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/test/tsan/Linux/user_malloc.cc b/compiler-rt/test/tsan/Linux/user_malloc.cc
index 6d51a9dd7d9..b470e6c543f 100644
--- a/compiler-rt/test/tsan/Linux/user_malloc.cc
+++ b/compiler-rt/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.
OpenPOWER on IntegriCloud