[compiler-rt] r314100 - [mips][compiler-rt] Disable sem_init_glibc.cc for MIPS64.

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 06:25:34 PDT 2017


Author: sdardis
Date: Mon Sep 25 06:25:34 2017
New Revision: 314100

URL: http://llvm.org/viewvc/llvm-project?rev=314100&view=rev
Log:
[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.

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc?rev=314100&r1=314099&r2=314100&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc Mon Sep 25 06:25:34 2017
@@ -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 <features.h>
 #include <assert.h>
 #include <semaphore.h>




More information about the llvm-commits mailing list