diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-09-25 13:25:34 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-09-25 13:25:34 +0000 |
commit | 46f5df1a20fc6b07c8e90ce903645f01ffe06d33 (patch) | |
tree | 77b7ffbf3fe0f7b442d534547610b78e4687d1c1 /compiler-rt | |
parent | 19d6ce9d8e2e587d4b5ef2b7b63b36203c5d66e8 (diff) | |
download | bcm5719-llvm-46f5df1a20fc6b07c8e90ce903645f01ffe06d33.tar.gz bcm5719-llvm-46f5df1a20fc6b07c8e90ce903645f01ffe06d33.zip |
[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
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 523ac98117f..d623ccabb5b 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 <features.h> #include <assert.h> #include <semaphore.h> |