From 46f5df1a20fc6b07c8e90ce903645f01ffe06d33 Mon Sep 17 00:00:00 2001 From: Simon Dardis Date: Mon, 25 Sep 2017 13:25:34 +0000 Subject: [PATCH] [mips][compiler-rt] Disable sem_init_glibc.cc for MIPS64. This test can't pass on MIPS64 due to the lack of versioned interceptors for asan and company. The interceptors bind to the earlier version of sem_init rather than the latest version. For MIPS64el this causes an accidental pass while MIPS64 big endian fails due reading back a different 32bit word to what sem_init wrote when the test is corrected to use 64bit atomics. llvm-svn: 314100 --- .../test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc b/compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc index 523ac98117f4..d623ccabb5b5 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc +++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc @@ -1,7 +1,7 @@ // RUN: %clangxx -O0 -g %s -lutil -o %t && %run %t // This test depends on the glibc layout of struct sem_t and checks that we // don't leave sem_t::private uninitialized. -// UNSUPPORTED: android, lsan-x86, ubsan +// UNSUPPORTED: android, lsan-x86, ubsan, target-is-mips64, target-is-mips64el #include #include #include