[compiler-rt] r235704 - [Msan] XFAIL the ftime.cc test on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Fri Apr 24 00:54:38 PDT 2015


Author: vkutuzov
Date: Fri Apr 24 02:54:38 2015
New Revision: 235704

URL: http://llvm.org/viewvc/llvm-project?rev=235704&view=rev
Log:
[Msan] XFAIL the ftime.cc test on FreeBSD
Differential Revision: http://reviews.llvm.org/D9222

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
    compiler-rt/trunk/test/msan/ftime.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h?rev=235704&r1=235703&r2=235704&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h Fri Apr 24 02:54:38 2015
@@ -227,7 +227,7 @@
 #define SANITIZER_INTERCEPT_CAPGET SI_LINUX_NOT_ANDROID
 #define SANITIZER_INTERCEPT_AEABI_MEM SI_LINUX && defined(__arm__)
 #define SANITIZER_INTERCEPT___BZERO SI_MAC
-#define SANITIZER_INTERCEPT_FTIME SI_NOT_WINDOWS
+#define SANITIZER_INTERCEPT_FTIME !SI_FREEBSD && SI_NOT_WINDOWS
 #define SANITIZER_INTERCEPT_XDR SI_LINUX_NOT_ANDROID
 #define SANITIZER_INTERCEPT_TSEARCH SI_LINUX_NOT_ANDROID || SI_MAC
 #define SANITIZER_INTERCEPT_LIBIO_INTERNALS SI_LINUX_NOT_ANDROID

Modified: compiler-rt/trunk/test/msan/ftime.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/ftime.cc?rev=235704&r1=235703&r2=235704&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/ftime.cc (original)
+++ compiler-rt/trunk/test/msan/ftime.cc Fri Apr 24 02:54:38 2015
@@ -1,5 +1,8 @@
 // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
 
+// ftime() is deprecated on FreeBSD.
+// XFAIL: freebsd
+
 #include <assert.h>
 #include <sys/timeb.h>
 





More information about the llvm-commits mailing list