summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcin Koscielnicki <koriakin@0x04.net>2016-04-25 22:25:49 +0000
committerMarcin Koscielnicki <koriakin@0x04.net>2016-04-25 22:25:49 +0000
commit499e62c45ec2c67ecdc5440aa45cadc0402e93f1 (patch)
tree1b5165bc60b73c038c447f4ab1ea109d716a599b /test
parentbbe3712e298cd62b38de49be24cb715aa3a114a1 (diff)
[MSan] Use COMMON_INTERCEPTOR_ENTER in libdl interceptors.
This fixes fails in test/msan/dlerror.cc - when real dlerror calls strcmp, our strcmp interceptor now skips poison checking, since it's called in interceptor context. Strictly speaking, only the dlerror change is necessary to fix the fail, but let's also change the other two just in case. Differential Revision: http://reviews.llvm.org/D19499 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@267486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/msan/dlerror.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/msan/dlerror.cc b/test/msan/dlerror.cc
index 85dd1ad92..d5510b65c 100644
--- a/test/msan/dlerror.cc
+++ b/test/msan/dlerror.cc
@@ -1,9 +1,4 @@
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
-//
-// AArch64, MIPS64 shows fails with uninitialized bytes in __interceptor_strcmp from
-// dlfcn/dlerror.c:107 (glibc).
-// XFAIL: aarch64
-// XFAIL: mips64
#include <assert.h>
#include <dlfcn.h>