pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiler-rt-netbsd: Update to SVN r. 308221
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Jul 18 13:41:10 2017 +0200
Changeset: 8f814434025fbff3336a4822ee05e875e018d0a9
Modified Files:
compiler-rt-netbsd/Makefile
compiler-rt-netbsd/PLIST
compiler-rt-netbsd/distinfo
Removed Files:
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform.h
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
Log Message:
compiler-rt-netbsd: Update to SVN r. 308221
Drop merged patches.
Temporarily disable sanitizers.
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8f814434025fbff3336a4822ee05e875e018d0a9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
compiler-rt-netbsd/Makefile | 2 +-
compiler-rt-netbsd/PLIST | 36 ---
compiler-rt-netbsd/distinfo | 2 -
...tch-lib_sanitizer__common_sanitizer__platform.h | 38 ----
...zer__common_sanitizer__platform__interceptors.h | 251 ---------------------
5 files changed, 1 insertion(+), 328 deletions(-)
diffs:
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
index c3467b87c5..4079e27529 100644
--- a/compiler-rt-netbsd/Makefile
+++ b/compiler-rt-netbsd/Makefile
@@ -5,7 +5,7 @@ CATEGORIES= lang devel
SVN_REPOSITORIES= compiler-rt
SVN_REPO.compiler-rt= http://llvm.org/svn/llvm-project/compiler-rt/trunk
-SVN_REVISION.compiler-rt= 308147
+SVN_REVISION.compiler-rt= 308221
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://compiler-rt.llvm.org/
diff --git a/compiler-rt-netbsd/PLIST b/compiler-rt-netbsd/PLIST
index 54358e0667..59786d1440 100644
--- a/compiler-rt-netbsd/PLIST
+++ b/compiler-rt-netbsd/PLIST
@@ -1,5 +1,4 @@
@comment $NetBSD$
-lib/clang/${PKGVERSION}/asan_blacklist.txt
lib/clang/${PKGVERSION}/include/sanitizer/allocator_interface.h
lib/clang/${PKGVERSION}/include/sanitizer/asan_interface.h
lib/clang/${PKGVERSION}/include/sanitizer/common_interface_defs.h
@@ -13,44 +12,9 @@ lib/clang/${PKGVERSION}/include/sanitizer/tsan_interface.h
lib/clang/${PKGVERSION}/include/sanitizer/tsan_interface_atomic.h
lib/clang/${PKGVERSION}/include/xray/xray_interface.h
lib/clang/${PKGVERSION}/include/xray/xray_log_interface.h
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-i386.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-preinit-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-preinit-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-x86_64.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan_cxx-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan_cxx-x86_64.a.syms
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.builtins-i386.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.builtins-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.dd-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.dyndd-x86_64.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.msan-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.msan-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.msan_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.msan_cxx-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.profile-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.profile-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.safestack-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.safestack-x86_64.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats-i386.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats-x86_64.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats_client-i386.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats_client-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan_cxx-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-i386.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-x86_64.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-i386.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-x86_64.so
-lib/clang/${PKGVERSION}/msan_blacklist.txt
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index 370ecfadc2..bd88c07a52 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -22,8 +22,6 @@ SHA1 (patch-lib_sanitizer__common_sanitizer__libignore.cc) = 6f5d8730af229ae6ba9
SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = f2a8938cf1162a4c820f17f5b28879cdbc01cba0
SHA1 (patch-lib_sanitizer__common_sanitizer__linux.h) = b3177dc169208b1b3e0c951fe3fd9c07e82fff49
SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = 1a937daa428db0a9b41293794e491599ac1e8699
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform.h) = 85de2f512fc1386f21e2d20bde66c78731f2d55f
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = f402a33b98e1a657c780f587003b942afa98a96e
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc) = 36a89517584891a1a50536a681a5d42e99ef904d
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h) = 5a5d7bf3dc0bb74fecc7f94d7cd84e0c54ea4343
SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps.h) = 2f58ff97566505a5f2027bf29322c66930c444f2
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform.h
deleted file mode 100644
index 240fe9bd18..0000000000
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform.h
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD$
-
---- lib/sanitizer_common/sanitizer_platform.h.orig 2017-07-04 05:53:23.000000000 +0000
-+++ lib/sanitizer_common/sanitizer_platform.h
-@@ -13,8 +13,8 @@
- #ifndef SANITIZER_PLATFORM_H
- #define SANITIZER_PLATFORM_H
-
--#if !defined(__linux__) && !defined(__FreeBSD__) && \
-- !defined(__APPLE__) && !defined(_WIN32)
-+#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && \
-+ !defined(__APPLE__) && !defined(_WIN32)
- # error "This operating system is not supported"
- #endif
-
-@@ -30,6 +30,12 @@
- # define SANITIZER_FREEBSD 0
- #endif
-
-+#if defined(__NetBSD__)
-+#define SANITIZER_NETBSD 1
-+#else
-+#define SANITIZER_NETBSD 0
-+#endif
-+
- #if defined(__APPLE__)
- # define SANITIZER_MAC 1
- # include <TargetConditionals.h>
-@@ -79,7 +85,8 @@
- # define SANITIZER_ANDROID 0
- #endif
-
--#define SANITIZER_POSIX (SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_MAC)
-+#define SANITIZER_POSIX \
-+ (SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD || SANITIZER_MAC)
-
- #if __LP64__ || defined(_WIN64)
- # define SANITIZER_WORDSIZE 64
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
deleted file mode 100644
index 5180a5164d..0000000000
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
+++ /dev/null
@@ -1,251 +0,0 @@
-$NetBSD$
-
---- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig 2017-07-07 06:32:45.000000000 +0000
-+++ lib/sanitizer_common/sanitizer_platform_interceptors.h
-@@ -49,6 +49,12 @@
- # define SI_FREEBSD 0
- #endif
-
-+#if SANITIZER_NETBSD
-+#define SI_NETBSD 1
-+#else
-+#define SI_NETBSD 0
-+#endif
-+
- #if SANITIZER_LINUX
- # define SI_LINUX 1
- #else
-@@ -111,7 +117,7 @@
- #define SANITIZER_INTERCEPT_MEMMEM \
- SI_NOT_WINDOWS && !SI_MAC_DEPLOYMENT_BELOW_10_7
- #define SANITIZER_INTERCEPT_MEMCHR 1
--#define SANITIZER_INTERCEPT_MEMRCHR SI_FREEBSD || SI_LINUX
-+#define SANITIZER_INTERCEPT_MEMRCHR SI_FREEBSD || SI_LINUX || SI_NETBSD
-
- #define SANITIZER_INTERCEPT_READ SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_PREAD SI_NOT_WINDOWS
-@@ -127,7 +133,8 @@
- #define SANITIZER_INTERCEPT_READV SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_WRITEV SI_NOT_WINDOWS
-
--#define SANITIZER_INTERCEPT_PREADV SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+#define SANITIZER_INTERCEPT_PREADV \
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PWRITEV SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PREADV64 SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PWRITEV64 SI_LINUX_NOT_ANDROID
-@@ -142,7 +149,7 @@
-
- #ifndef SANITIZER_INTERCEPT_PRINTF
- # define SANITIZER_INTERCEPT_PRINTF SI_NOT_WINDOWS
--# define SANITIZER_INTERCEPT_PRINTF_L SI_FREEBSD
-+#define SANITIZER_INTERCEPT_PRINTF_L SI_FREEBSD || SI_NETBSD
- # define SANITIZER_INTERCEPT_ISOC99_PRINTF SI_LINUX_NOT_ANDROID
- #endif
-
-@@ -151,13 +158,14 @@
-
- #define SANITIZER_INTERCEPT_GETPWNAM_AND_FRIENDS SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_GETPWNAM_R_AND_FRIENDS \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_GETPWENT \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_FGETPWENT SI_LINUX_NOT_ANDROID
--#define SANITIZER_INTERCEPT_GETPWENT_R SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+#define SANITIZER_INTERCEPT_GETPWENT_R \
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SETPWENT SI_MAC || SI_LINUX_NOT_ANDROID
--#define SANITIZER_INTERCEPT_CLOCK_GETTIME SI_FREEBSD || SI_LINUX
-+#define SANITIZER_INTERCEPT_CLOCK_GETTIME SI_FREEBSD || SI_NETBSD || SI_LINUX
- #define SANITIZER_INTERCEPT_GETITIMER SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_TIME SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_GLOB SI_LINUX_NOT_ANDROID
-@@ -200,41 +208,43 @@
- #define SANITIZER_INTERCEPT_MBSNRTOWCS SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_WCSTOMBS SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_WCSNRTOMBS \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_WCRTOMB \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_TCGETATTR SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_REALPATH SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_CANONICALIZE_FILE_NAME SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_CONFSTR \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SCHED_GETAFFINITY SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SCHED_GETPARAM SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_STRERROR SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_STRERROR_R SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_XPG_STRERROR_R SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SCANDIR \
-- SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SCANDIR64 SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_GETGROUPS SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_POLL SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_PPOLL SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_WORDEXP \
-- SI_FREEBSD || (SI_MAC && !SI_IOS) || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || (SI_MAC && !SI_IOS) || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SIGWAIT SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_SIGWAITINFO SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SIGTIMEDWAIT SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SIGSETOPS \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SIGPENDING SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_SIGPROCMASK SI_NOT_WINDOWS
--#define SANITIZER_INTERCEPT_BACKTRACE SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+#define SANITIZER_INTERCEPT_BACKTRACE \
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_GETMNTENT SI_LINUX
- #define SANITIZER_INTERCEPT_GETMNTENT_R SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_STATFS SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_STATFS64 \
- (SI_MAC && !SI_IOS) || SI_LINUX_NOT_ANDROID
--#define SANITIZER_INTERCEPT_STATVFS SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+#define SANITIZER_INTERCEPT_STATVFS \
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_STATVFS64 SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_INITGROUPS SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_ETHER_NTOA_ATON SI_NOT_WINDOWS
-@@ -242,18 +252,19 @@
- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_ETHER_R SI_FREEBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_SHMCTL \
-- ((SI_FREEBSD || SI_LINUX_NOT_ANDROID) && SANITIZER_WORDSIZE == 64)
-+ SI_NETBSD || \
-+ ((SI_FREEBSD || SI_LINUX_NOT_ANDROID) && SANITIZER_WORDSIZE == 64)
- #define SANITIZER_INTERCEPT_RANDOM_R SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PTHREAD_ATTR_GET SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_PTHREAD_ATTR_GETINHERITSCHED \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PTHREAD_ATTR_GETAFFINITY_NP SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPSHARED SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETTYPE SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPROTOCOL \
-- SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_MAC || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPRIOCEILING \
-- SI_MAC || SI_LINUX_NOT_ANDROID
-+ SI_MAC || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST_NP SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETPSHARED SI_NOT_WINDOWS
-@@ -272,29 +283,31 @@
- #define SANITIZER_INTERCEPT_LGAMMAL_R SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_DRAND48_R SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_RAND_R \
-- SI_FREEBSD || SI_MAC || SI_LINUX_NOT_ANDROID
--#define SANITIZER_INTERCEPT_ICONV SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_MAC || SI_LINUX_NOT_ANDROID
-+#define SANITIZER_INTERCEPT_ICONV \
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_TIMES SI_NOT_WINDOWS
-
- // FIXME: getline seems to be available on OSX 10.7
--#define SANITIZER_INTERCEPT_GETLINE SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+#define SANITIZER_INTERCEPT_GETLINE \
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
-
--#define SANITIZER_INTERCEPT__EXIT SI_LINUX || SI_FREEBSD || SI_MAC
-+#define SANITIZER_INTERCEPT__EXIT SI_LINUX || SI_FREEBSD || SI_NETBSD || SI_MAC
-
- #define SANITIZER_INTERCEPT_PHTREAD_MUTEX SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_PTHREAD_SETNAME_NP \
-- SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
-
- #define SANITIZER_INTERCEPT_TLS_GET_ADDR \
-- SI_FREEBSD || SI_LINUX_NOT_ANDROID
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID
-
- #define SANITIZER_INTERCEPT_LISTXATTR SI_LINUX
- #define SANITIZER_INTERCEPT_GETXATTR SI_LINUX
- #define SANITIZER_INTERCEPT_GETRESID SI_LINUX
- #define SANITIZER_INTERCEPT_GETIFADDRS \
-- SI_FREEBSD || SI_LINUX_NOT_ANDROID || SI_MAC
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID || SI_MAC
- #define SANITIZER_INTERCEPT_IF_INDEXTONAME \
-- SI_FREEBSD || SI_LINUX_NOT_ANDROID || SI_MAC
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID || SI_MAC
- #define SANITIZER_INTERCEPT_CAPGET SI_LINUX_NOT_ANDROID
- #if SI_LINUX && defined(__arm__)
- #define SANITIZER_INTERCEPT_AEABI_MEM 1
-@@ -302,32 +315,33 @@
- #define SANITIZER_INTERCEPT_AEABI_MEM 0
- #endif
- #define SANITIZER_INTERCEPT___BZERO SI_MAC
--#define SANITIZER_INTERCEPT_FTIME !SI_FREEBSD && SI_NOT_WINDOWS
-+#define SANITIZER_INTERCEPT_FTIME !SI_FREEBSD && !SI_NETBSD && SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_XDR SI_LINUX_NOT_ANDROID
--#define SANITIZER_INTERCEPT_TSEARCH SI_LINUX_NOT_ANDROID || SI_MAC
-+#define SANITIZER_INTERCEPT_TSEARCH SI_LINUX_NOT_ANDROID || SI_MAC || SI_NETBSD
- #define SANITIZER_INTERCEPT_LIBIO_INTERNALS SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_FOPEN SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_FOPEN64 SI_LINUX_NOT_ANDROID
--#define SANITIZER_INTERCEPT_OPEN_MEMSTREAM SI_LINUX_NOT_ANDROID
-+#define SANITIZER_INTERCEPT_OPEN_MEMSTREAM SI_LINUX_NOT_ANDROID || SI_NETBSD
- #define SANITIZER_INTERCEPT_OBSTACK SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT_FFLUSH SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_FCLOSE SI_NOT_WINDOWS
-
- #ifndef SANITIZER_INTERCEPT_DLOPEN_DLCLOSE
- #define SANITIZER_INTERCEPT_DLOPEN_DLCLOSE \
-- SI_FREEBSD || SI_LINUX_NOT_ANDROID || SI_MAC
-+ SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID || SI_MAC
- #endif
-
--#define SANITIZER_INTERCEPT_GETPASS SI_LINUX_NOT_ANDROID || SI_MAC
-+#define SANITIZER_INTERCEPT_GETPASS SI_LINUX_NOT_ANDROID || SI_MAC || SI_NETBSD
- #define SANITIZER_INTERCEPT_TIMERFD SI_LINUX_NOT_ANDROID
-
- #define SANITIZER_INTERCEPT_MLOCKX SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_FOPENCOOKIE SI_LINUX_NOT_ANDROID
--#define SANITIZER_INTERCEPT_SEM SI_LINUX || SI_FREEBSD
-+#define SANITIZER_INTERCEPT_SEM SI_LINUX || SI_FREEBSD || SI_NETBSD
- #define SANITIZER_INTERCEPT_PTHREAD_SETCANCEL SI_NOT_WINDOWS
--#define SANITIZER_INTERCEPT_MINCORE SI_LINUX
-+#define SANITIZER_INTERCEPT_MINCORE SI_LINUX || SI_NETBSD
- #define SANITIZER_INTERCEPT_PROCESS_VM_READV SI_LINUX
--#define SANITIZER_INTERCEPT_CTERMID SI_LINUX || SI_MAC || SI_FREEBSD
-+#define SANITIZER_INTERCEPT_CTERMID \
-+ SI_LINUX || SI_MAC || SI_FREEBSD || SI_NETBSD
- #define SANITIZER_INTERCEPT_CTERMID_R SI_MAC || SI_FREEBSD
-
- #define SANITIZER_INTERCEPTOR_HOOKS SI_LINUX || SI_MAC || SI_WINDOWS
-@@ -335,7 +349,8 @@
- #define SANITIZER_INTERCEPT_SEND_SENDTO SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT_EVENTFD_READ_WRITE SI_LINUX
-
--#define SANITIZER_INTERCEPT_STAT (SI_FREEBSD || SI_MAC || SI_ANDROID)
-+#define SANITIZER_INTERCEPT_STAT \
-+ (SI_FREEBSD || SI_MAC || SI_ANDROID || SI_NETBSD)
- #define SANITIZER_INTERCEPT___XSTAT !SANITIZER_INTERCEPT_STAT && SI_NOT_WINDOWS
- #define SANITIZER_INTERCEPT___XSTAT64 SI_LINUX_NOT_ANDROID
- #define SANITIZER_INTERCEPT___LXSTAT SANITIZER_INTERCEPT___XSTAT
-@@ -345,12 +360,13 @@
- #define SANITIZER_INTERCEPT_UTMPX SI_LINUX_NOT_ANDROID || SI_MAC || SI_FREEBSD
-
- #define SANITIZER_INTERCEPT_GETLOADAVG \
-- SI_LINUX_NOT_ANDROID || SI_MAC || SI_FREEBSD
-+ SI_LINUX_NOT_ANDROID || SI_MAC || SI_FREEBSD || SI_NETBSD
-
--#define SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO (!SI_FREEBSD && !SI_MAC)
--#define SANITIZER_INTERCEPT_MEMALIGN (!SI_FREEBSD && !SI_MAC)
--#define SANITIZER_INTERCEPT_PVALLOC (!SI_FREEBSD && !SI_MAC)
--#define SANITIZER_INTERCEPT_CFREE (!SI_FREEBSD && !SI_MAC)
-+#define SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO \
-+ (!SI_FREEBSD && !SI_MAC && !SI_NETBSD)
-+#define SANITIZER_INTERCEPT_MEMALIGN (!SI_FREEBSD && !SI_MAC && !SI_NETBSD)
-+#define SANITIZER_INTERCEPT_PVALLOC (!SI_FREEBSD && !SI_MAC && !SI_NETBSD)
-+#define SANITIZER_INTERCEPT_CFREE (!SI_FREEBSD && !SI_MAC && !SI_NETBSD)
- #define SANITIZER_INTERCEPT_ALIGNED_ALLOC (!SI_MAC)
- #define SANITIZER_INTERCEPT_MALLOC_USABLE_SIZE (!SI_MAC)
- #define SANITIZER_INTERCEPT_MCHECK_MPROBE SI_LINUX_NOT_ANDROID
Home |
Main Index |
Thread Index |
Old Index