From 7ef564f927b3e66667155108bd2d12e7b23e5311 Mon Sep 17 00:00:00 2001 From: Maxim Ostapenko Date: Fri, 3 Feb 2017 11:57:26 +0000 Subject: [lsan] Disable sem_init_glibc.cc testcase for LSan x86. This test relies on sanitizer common interceptor to pick the oldest version of sem_init function from Glibc. But LSan actually doesn't intercept sem_init, thus the new implementation is called that causes test failure. Disable it for LSan x86, the proper fix would require to check Glibc version at runtime and adjust GET_SEM_VALUE(V) accordingly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@294001 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc') diff --git a/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc b/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc index ff1ddc432..92557b759 100644 --- a/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc +++ b/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 +// UNSUPPORTED: android, lsan-x86 #include #include #include -- cgit v1.2.3