forked from OSchip/llvm-project
[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. llvm-svn: 294001
This commit is contained in:
parent
a994185757
commit
490c508b1d
|
@ -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 <features.h>
|
||||
#include <assert.h>
|
||||
#include <semaphore.h>
|
||||
|
|
Loading…
Reference in New Issue