[compiler-rt] r313069 - [tsan] Disable user_malloc test which fails glibc 2.24

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 13:03:39 PDT 2017


Author: vitalybuka
Date: Tue Sep 12 13:03:39 2017
New Revision: 313069

URL: http://llvm.org/viewvc/llvm-project?rev=313069&view=rev
Log:
[tsan] Disable user_malloc test which fails glibc 2.24

Modified:
    compiler-rt/trunk/test/tsan/Linux/user_malloc.cc

Modified: compiler-rt/trunk/test/tsan/Linux/user_malloc.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/Linux/user_malloc.cc?rev=313069&r1=313068&r2=313069&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/Linux/user_malloc.cc (original)
+++ compiler-rt/trunk/test/tsan/Linux/user_malloc.cc Tue Sep 12 13:03:39 2017
@@ -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.




More information about the llvm-commits mailing list