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. 323970
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Thu Feb 1 16:30:27 2018 +0100
Changeset: 3ee585a71d907478765d260dd8f594c43e57c2f5
Modified Files:
compiler-rt-netbsd/Makefile
compiler-rt-netbsd/distinfo
compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc
compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
Log Message:
compiler-rt-netbsd: Update to SVN r. 323970
Rebase local patches.
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=3ee585a71d907478765d260dd8f594c43e57c2f5
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/distinfo | 30 +++++++++++-----------
.../patches/patch-cmake_config-ix.cmake | 6 ++---
...atch-include_sanitizer_netbsd__syscall__hooks.h | 2 +-
.../patches/patch-lib_msan_msan__interceptors.cc | 18 ++++++-------
...zer__common_sanitizer__common__interceptors.inc | 23 +++++++++--------
...mmon_sanitizer__netbsd__interceptors__ioctl.inc | 2 +-
...nitizer__common_sanitizer__netbsd__syscalls.inc | 2 +-
...zer__common_sanitizer__platform__interceptors.h | 7 ++---
.../patches/patch-lib_scudo_scudo__platform.h | 2 +-
.../patch-lib_tsan_rtl_tsan__interceptors.cc | 2 +-
...sanitizer__common_TestCases_NetBSD_kvm__open.cc | 2 +-
...izer__common_TestCases_NetBSD_kvm__openfiles.cc | 2 +-
...t_sanitizer__common_TestCases_NetBSD_strlcat.cc | 2 +-
...t_sanitizer__common_TestCases_NetBSD_strlcpy.cc | 2 +-
.../patch-utils_generate__netbsd__ioctls.awk | 2 +-
.../patch-utils_generate__netbsd__syscalls.awk | 2 +-
17 files changed, 55 insertions(+), 53 deletions(-)
diffs:
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
index 3581243caa..ebf5ddfc8e 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= 323273
+SVN_REVISION.compiler-rt= 323970
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://compiler-rt.llvm.org/
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index 00e9847322..cdde7a096a 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -1,34 +1,34 @@
$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-SHA1 (patch-cmake_config-ix.cmake) = 11195c8254c84d5972a2ffee8a9e66758ab7105b
+SHA1 (patch-cmake_config-ix.cmake) = 1881ac65316095939645d0253f8d1f35972ba065
SHA1 (patch-include_CMakeLists.txt) = b6f2713b7e5337aed542442936b6f747efe0a607
-SHA1 (patch-include_sanitizer_netbsd__syscall__hooks.h) = e12bd2e70f18edefd94d663a0e7f8600e6d943c1
+SHA1 (patch-include_sanitizer_netbsd__syscall__hooks.h) = 848fa15bd0bb19231d9cf277e0fe4ca443083225
SHA1 (patch-lib_asan_asan__interceptors.cc) = ea4005ce02775060ff52af76d568c450892067b5
SHA1 (patch-lib_esan_esan__interceptors.cpp) = a7103ca053e92a810c87c593262bb386f3d02606
SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = 1f3f096aa7768f24223c6c3c884eb624f52be738
SHA1 (patch-lib_hwasan_hwasan__interceptors.cc) = c49ab3759728bbd3e27580a3d0d3e2db0bceb2a6
-SHA1 (patch-lib_msan_msan__interceptors.cc) = aacd9da9f5fc62e0f7cfe9ad9bcf90ceeb267630
+SHA1 (patch-lib_msan_msan__interceptors.cc) = acc5b6e9cf61835961e6bd9bf3b552873f1369a7
SHA1 (patch-lib_msan_msan__linux.cc) = d75d7587071a9e7a3f6a08a3008af55319e62cab
SHA1 (patch-lib_sanitizer__common_CMakeLists.txt) = fcbf2987ccab5258fe760aef6ef47bd97e0e0b2c
-SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = e34b612f992bfa7327c281f8f2bc24b4301dfeac
+SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 50188155fe400bc5df1cdc97d65987ce52f9c064
SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors__ioctl.inc) = 231f519a0564aa69d746a7f0bbee1b1aeed927a7
SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 2ff74de8be0825ca4162969cb2ed367654934a17
SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = b1057f01ae2f03498613eb1a02501c8a65d16fed
-SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc) = 980f3e535861c84e958d6ee27362583f911ca7d0
-SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc) = b2d0940dbae8932226012abb9b52dff22895435c
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = b3c08becdfe284fd598991103eb10b88d20b3481
+SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc) = 3f27d4fb721600f27b77416fe087aab9991b0061
+SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc) = e47a27274c7a4f4ab02ef89e1e458cce84b0562e
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = dae6fa7eded4445eeab1c77f87f47c156f19b293
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = c8c96414670ca41c1fe191dd49921eb0b9c0fc15
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h) = 270ab357a4e8379540a9dbe890c10fe0901e2aaf
SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__freebsd.cc) = 7e0deaeeada33bd13575251e5d8fb4a0ee4c53e8
-SHA1 (patch-lib_scudo_scudo__platform.h) = d44bd094136dd0381db87344fbbcad1dcfd44dc1
-SHA1 (patch-lib_tsan_rtl_tsan__interceptors.cc) = 4fbaa64e3f8d28cdbab6783c296dfd31cecb45a5
+SHA1 (patch-lib_scudo_scudo__platform.h) = 0947104d03ff14646a2f94ec753ab8fbda8a7db3
+SHA1 (patch-lib_tsan_rtl_tsan__interceptors.cc) = 7fcb6539030cc092ef81fe44c1f1618e26c89972
SHA1 (patch-test_asan_lit.cfg) = becbc3c8c9cfd589e1dcbf1014dd4655f952c144
SHA1 (patch-test_lsan_lit.common.cfg) = 10dc251f80efb96d015a22c740dc20b1843b9a11
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc) = 484d51d5a7b8de82c3d456d532b64e9cc123d071
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc) = 762756543a9d22f650393cc8d8bd194800cc55b5
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc) = 3ff5426a83769d16585f647a52fa1f287874d60c
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc) = 6698947f15bfa7569b45cc3bbc20fa7c0b02dc40
SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_paccept.cc) = 10f1f6617bc2a07cfbdad708d4ced3a7df7ca077
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc) = 0176891f52780999c0d7fd5e17a9c93eb9c1e5ac
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc) = f6af94edd6b12edff269b7d104cdb8b0b85a92b5
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc) = d6155a9acca46674d904171aec1df45c31d7f5e3
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc) = 3866ef35091eb17a04adfcc5fe0a1093527876d0
SHA1 (patch-test_scudo_lit.cfg) = 111a66513b994534bb0d69d214b7e0cb4e2b8eb8
-SHA1 (patch-utils_generate__netbsd__ioctls.awk) = 8b120b217929cf4284466d0da32d32017215bade
-SHA1 (patch-utils_generate__netbsd__syscalls.awk) = 4150c76b3361780016a5f08dbfd83b55e647340d
+SHA1 (patch-utils_generate__netbsd__ioctls.awk) = a4b03782f817b3552f2f761b7215fb90c1df7bc1
+SHA1 (patch-utils_generate__netbsd__syscalls.awk) = 66a3ae5b0541b4a63d3baa4519c1f509b63d3f4f
diff --git a/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake b/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
index 09d96aab77..2fcf9c26d8 100644
--- a/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
+++ b/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
@@ -1,6 +1,6 @@
$NetBSD$
---- cmake/config-ix.cmake.orig 2018-01-15 06:00:16.000000000 +0000
+--- cmake/config-ix.cmake.orig 2018-02-01 15:29:10.537983195 +0000
+++ cmake/config-ix.cmake
@@ -542,7 +542,7 @@ else()
endif()
@@ -15,8 +15,8 @@ $NetBSD$
endif()
if (COMPILER_RT_HAS_SANITIZER_COMMON AND SCUDO_SUPPORTED_ARCH AND
-- OS_NAME MATCHES "Linux|Android")
-+ OS_NAME MATCHES "Linux|Android|NetBSD")
+- OS_NAME MATCHES "Linux|Android|Fuchsia")
++ OS_NAME MATCHES "Linux|Android|Fuchsia|NetBSD")
set(COMPILER_RT_HAS_SCUDO TRUE)
else()
set(COMPILER_RT_HAS_SCUDO FALSE)
diff --git a/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h b/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
index a60186960d..d1d5242a7a 100644
--- a/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
+++ b/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
@@ -1,6 +1,6 @@
$NetBSD$
---- include/sanitizer/netbsd_syscall_hooks.h.orig 2018-01-25 11:26:34.530656579 +0000
+--- include/sanitizer/netbsd_syscall_hooks.h.orig 2018-02-01 15:29:51.348619384 +0000
+++ include/sanitizer/netbsd_syscall_hooks.h
@@ -0,0 +1,4730 @@
+//===-- netbsd_syscall_hooks.h --------------------------------------------===//
diff --git a/compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc b/compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
index 88bd28ce22..1cbba08948 100644
--- a/compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/msan/msan_interceptors.cc.orig 2018-01-08 15:33:13.000000000 +0000
+--- lib/msan/msan_interceptors.cc.orig 2018-02-01 15:29:09.912774535 +0000
+++ lib/msan/msan_interceptors.cc
@@ -33,11 +33,13 @@
#include "sanitizer_common/sanitizer_libc.h"
@@ -16,7 +16,7 @@ $NetBSD$
#endif
#include <stdarg.h>
-@@ -523,6 +525,7 @@ INTERCEPTOR(SIZE_T, __strxfrm_l, char *d
+@@ -514,6 +516,7 @@ INTERCEPTOR(SIZE_T, __strxfrm_l, char *d
#define INTERCEPTOR_STRFTIME_BODY(char_type, ret_type, func, s, ...) \
ENSURE_MSAN_INITED(); \
@@ -24,7 +24,7 @@ $NetBSD$
ret_type res = REAL(func)(s, __VA_ARGS__); \
if (s) __msan_unpoison(s, sizeof(char_type) * (res + 1)); \
return res;
-@@ -788,6 +791,7 @@ INTERCEPTOR(int, socketpair, int domain,
+@@ -779,6 +782,7 @@ INTERCEPTOR(int, socketpair, int domain,
INTERCEPTOR(char *, fgets, char *s, int size, void *stream) {
ENSURE_MSAN_INITED();
@@ -32,7 +32,7 @@ $NetBSD$
char *res = REAL(fgets)(s, size, stream);
if (res)
__msan_unpoison(s, REAL(strlen)(s) + 1);
-@@ -1137,6 +1141,18 @@ INTERCEPTOR(int, pthread_join, void *th,
+@@ -1128,6 +1132,18 @@ INTERCEPTOR(int, pthread_join, void *th,
extern char *tzname[2];
@@ -51,7 +51,7 @@ $NetBSD$
INTERCEPTOR(void, tzset, int fake) {
ENSURE_MSAN_INITED();
REAL(tzset)(fake);
-@@ -1146,29 +1162,85 @@ INTERCEPTOR(void, tzset, int fake) {
+@@ -1137,29 +1153,85 @@ INTERCEPTOR(void, tzset, int fake) {
__msan_unpoison(tzname[1], REAL(strlen)(tzname[1]) + 1);
return;
}
@@ -140,7 +140,7 @@ $NetBSD$
}
static void BeforeFork() {
-@@ -1322,6 +1394,11 @@ int OnExit() {
+@@ -1313,6 +1385,11 @@ int OnExit() {
__msan_unpoison(to + size, 1); \
} while (false)
@@ -152,7 +152,7 @@ $NetBSD$
#include "sanitizer_common/sanitizer_platform_interceptors.h"
#include "sanitizer_common/sanitizer_common_interceptors.inc"
-@@ -1401,6 +1478,7 @@ static uptr signal_impl(int signo, uptr
+@@ -1392,6 +1469,7 @@ static uptr signal_impl(int signo, uptr
} while (false)
#define COMMON_SYSCALL_POST_WRITE_RANGE(p, s) __msan_unpoison(p, s)
#include "sanitizer_common/sanitizer_common_syscalls.inc"
@@ -160,7 +160,7 @@ $NetBSD$
struct dlinfo {
char *dli_fname;
-@@ -1566,6 +1644,9 @@ namespace __msan {
+@@ -1557,6 +1635,9 @@ namespace __msan {
void InitializeInterceptors() {
static int inited = 0;
CHECK_EQ(inited, 0);
@@ -170,7 +170,7 @@ $NetBSD$
InitializeCommonInterceptors();
InitializeSignalInterceptors();
-@@ -1682,6 +1763,7 @@ void InitializeInterceptors() {
+@@ -1672,6 +1753,7 @@ void InitializeInterceptors() {
INTERCEPT_FUNCTION(pthread_join);
INTERCEPT_FUNCTION(tzset);
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
index 2fbd9d5af9..0294e9e770 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig 2018-01-23 23:09:21.000000000 +0000
+--- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig 2018-02-01 15:29:10.523078240 +0000
+++ lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -36,6 +36,7 @@
// COMMON_INTERCEPTOR_MEMCPY_IMPL
@@ -132,7 +132,7 @@ $NetBSD$
INTERCEPTOR(int, ioctl, int d, unsigned long request, ...) {
// We need a frame pointer, because we call into ioctl_common_[pre|post] which
// can trigger a report and we need to be able to unwind through this
-@@ -3188,7 +3213,14 @@ INTERCEPTOR(char *, setlocale, int categ
+@@ -3189,7 +3214,14 @@ INTERCEPTOR(char *, setlocale, int categ
if (locale)
COMMON_INTERCEPTOR_READ_RANGE(ctx, locale, REAL(strlen)(locale) + 1);
char *res = REAL(setlocale)(category, locale);
@@ -148,7 +148,7 @@ $NetBSD$
return res;
}
-@@ -6275,6 +6307,22 @@ INTERCEPTOR(int, stat, const char *path,
+@@ -6276,6 +6308,22 @@ INTERCEPTOR(int, stat, const char *path,
#define INIT_STAT
#endif
@@ -171,8 +171,8 @@ $NetBSD$
#if SANITIZER_INTERCEPT___XSTAT
INTERCEPTOR(int, __xstat, int version, const char *path, void *buf) {
void *ctx;
-@@ -6631,6 +6679,937 @@ INTERCEPTOR(int, getgroupmembership, con
- #define INIT_GETGROUPLIST
+@@ -6724,6 +6772,937 @@ INTERCEPTOR(int, open_by_handle_at, int
+ #define INIT_OPEN_BY_HANDLE_AT
#endif
+#if SANITIZER_INTERCEPT_KVM
@@ -1109,7 +1109,7 @@ $NetBSD$
static void InitializeCommonInterceptors() {
static u64 metadata_mem[sizeof(MetadataHashMap) / sizeof(u64) + 1];
interceptor_metadata_map = new((void *)&metadata_mem) MetadataHashMap();
-@@ -6833,6 +7812,7 @@ static void InitializeCommonInterceptors
+@@ -6926,6 +7905,7 @@ static void InitializeCommonInterceptors
INIT_SEND_SENDTO;
INIT_STAT;
INIT_EVENTFD_READ_WRITE;
@@ -1117,10 +1117,11 @@ $NetBSD$
INIT___XSTAT;
INIT___XSTAT64;
INIT___LXSTAT;
-@@ -6851,6 +7831,18 @@ static void InitializeCommonInterceptors
- INIT_ACCESS;
- INIT_FACCESSAT;
+@@ -6946,7 +7926,18 @@ static void InitializeCommonInterceptors
INIT_GETGROUPLIST;
+ INIT_READLINK;
+ INIT_READLINKAT;
+-
+ INIT_KVM;
+ INIT_DEVNAME;
+ INIT_SYSCTL;
@@ -1133,6 +1134,6 @@ $NetBSD$
+ INIT_FTS;
+ INIT_STRMODE;
+ INIT_REGEX;
+ INIT_NAME_TO_HANDLE_AT;
+ INIT_OPEN_BY_HANDLE_AT;
- #if SANITIZER_NETBSD
- COMMON_INTERCEPT_FUNCTION(__libc_mutex_lock);
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
index d61d5bcaa7..336013cc3c 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc.orig 2018-01-25 11:26:34.535850674 +0000
+--- lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc.orig 2018-02-01 15:29:51.351827181 +0000
+++ lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc
@@ -0,0 +1,1490 @@
+//===-- sanitizer_common_interceptors_ioctl.inc -----------------*- C++ -*-===//
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
index 68da156973..7604fa2e54 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_netbsd_syscalls.inc.orig 2018-01-25 11:26:34.536678017 +0000
+--- lib/sanitizer_common/sanitizer_netbsd_syscalls.inc.orig 2018-02-01 15:29:51.352848626 +0000
+++ lib/sanitizer_common/sanitizer_netbsd_syscalls.inc
@@ -0,0 +1,3793 @@
+//===-- sanitizer_common_syscalls.inc ---------------------------*- C++ -*-===//
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
index 5882a9f87b..e6398cccd2 100644
--- 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
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig 2018-01-23 23:09:21.000000000 +0000
+--- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig 2018-02-01 15:29:10.523528668 +0000
+++ lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -406,6 +406,7 @@
@@ -10,7 +10,7 @@ $NetBSD$
#define SANITIZER_INTERCEPT___XSTAT (!SANITIZER_INTERCEPT_STAT && SI_POSIX)
#define SANITIZER_INTERCEPT___XSTAT64 SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT___LXSTAT SANITIZER_INTERCEPT___XSTAT
-@@ -441,5 +442,17 @@
+@@ -441,6 +442,18 @@
#define SANITIZER_INTERCEPT_ACCESS SI_NETBSD
#define SANITIZER_INTERCEPT_FACCESSAT SI_NETBSD
#define SANITIZER_INTERCEPT_GETGROUPLIST SI_NETBSD
@@ -27,4 +27,5 @@ $NetBSD$
+#define SANITIZER_INTERCEPT_STRMODE SI_NETBSD
+#define SANITIZER_INTERCEPT_REGEX SI_NETBSD
- #endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H
+ #define SANITIZER_INTERCEPT_NAME_TO_HANDLE_AT SI_LINUX_NOT_ANDROID
+ #define SANITIZER_INTERCEPT_OPEN_BY_HANDLE_AT SI_LINUX_NOT_ANDROID
diff --git a/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h b/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
index c00fb146fe..d6bdb98830 100644
--- a/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
+++ b/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/scudo/scudo_platform.h.orig 2018-01-18 12:26:38.000000000 +0000
+--- lib/scudo/scudo_platform.h.orig 2018-02-01 15:29:09.691677108 +0000
+++ lib/scudo/scudo_platform.h
@@ -17,7 +17,7 @@
diff --git a/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc b/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
index bb8e2a03ae..e112c2ac8f 100644
--- a/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/tsan/rtl/tsan_interceptors.cc.orig 2017-12-08 18:27:50.000000000 +0000
+--- lib/tsan/rtl/tsan_interceptors.cc.orig 2018-02-01 15:29:09.002365645 +0000
+++ lib/tsan/rtl/tsan_interceptors.cc
@@ -2426,7 +2426,7 @@ struct ScopedSyscall {
}
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
index aef91cd215..6c85e66a0a 100644
--- a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- test/sanitizer_common/TestCases/NetBSD/kvm_open.cc.orig 2018-01-25 11:26:34.539043562 +0000
+--- test/sanitizer_common/TestCases/NetBSD/kvm_open.cc.orig 2018-02-01 15:29:51.354841594 +0000
+++ test/sanitizer_common/TestCases/NetBSD/kvm_open.cc
@@ -0,0 +1,13 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
index c1130099c1..7813d2f67a 100644
--- a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc.orig 2018-01-25 11:26:34.539155045 +0000
+--- test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc.orig 2018-02-01 15:29:51.354918710 +0000
+++ test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc
@@ -0,0 +1,13 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc
index bc0acc9036..70616a5d69 100644
--- a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- test/sanitizer_common/TestCases/NetBSD/strlcat.cc.orig 2018-01-25 11:26:34.539381178 +0000
+--- test/sanitizer_common/TestCases/NetBSD/strlcat.cc.orig 2018-02-01 15:29:51.355067933 +0000
+++ test/sanitizer_common/TestCases/NetBSD/strlcat.cc
@@ -0,0 +1,56 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc
index 8be9e58c89..2e25864344 100644
--- a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- test/sanitizer_common/TestCases/NetBSD/strlcpy.cc.orig 2018-01-25 11:26:34.539492473 +0000
+--- test/sanitizer_common/TestCases/NetBSD/strlcpy.cc.orig 2018-02-01 15:29:51.355142208 +0000
+++ test/sanitizer_common/TestCases/NetBSD/strlcpy.cc
@@ -0,0 +1,56 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t
diff --git a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
index ff97c2a200..1df2d630b9 100644
--- a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
+++ b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
@@ -1,6 +1,6 @@
$NetBSD$
---- utils/generate_netbsd_ioctls.awk.orig 2018-01-25 11:26:34.539842526 +0000
+--- utils/generate_netbsd_ioctls.awk.orig 2018-02-01 15:29:51.355425192 +0000
+++ utils/generate_netbsd_ioctls.awk
@@ -0,0 +1,755 @@
+#!/usr/bin/awk -f
diff --git a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
index 079287200d..3123aaf82f 100644
--- a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
+++ b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
@@ -1,6 +1,6 @@
$NetBSD$
---- utils/generate_netbsd_syscalls.awk.orig 2018-01-25 11:26:34.540533741 +0000
+--- utils/generate_netbsd_syscalls.awk.orig 2018-02-01 15:29:51.356075595 +0000
+++ utils/generate_netbsd_syscalls.awk
@@ -0,0 +1,2989 @@
+#!/usr/bin/awk -f
Home |
Main Index |
Thread Index |
Old Index