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. 326050
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Feb 25 11:49:10 2018 +0100
Changeset: 7784129459ec28763e10f026e382d8f2f830fe7e
Modified Files:
compiler-rt-netbsd/Makefile
compiler-rt-netbsd/distinfo
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.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
Log Message:
compiler-rt-netbsd: Update to SVN r. 326050
Patch merged upstream:
r326008 - Correct ctype(3) functions with NLS on NetBSD
https://reviews.llvm.org/D42020
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=7784129459ec28763e10f026e382d8f2f830fe7e
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 | 10 +++----
...zer__common_sanitizer__common__interceptors.inc | 32 ++--------------------
...b_sanitizer__common_sanitizer__internal__defs.h | 4 +--
...patch-lib_sanitizer__common_sanitizer__linux.cc | 2 +-
...sanitizer__common_TestCases_NetBSD_kvm__open.cc | 2 +-
...izer__common_TestCases_NetBSD_kvm__openfiles.cc | 2 +-
7 files changed, 14 insertions(+), 40 deletions(-)
diffs:
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
index 3ebf53b222..f794b851d7 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= 325599
+SVN_REVISION.compiler-rt= 326050
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 17b385ef5e..846d2760cd 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -4,9 +4,9 @@ SHA1 (patch-cmake_config-ix.cmake) = 720ede87150ae1ac59d8415c77644d917da9cd16
SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = 766b817c2ede73ca90d6e25a4b8330ed3d38b84b
SHA1 (patch-lib_msan_msan__interceptors.cc) = 0aa08e580841d2ff99e01de03ca903e13d5ea497
SHA1 (patch-lib_msan_msan__linux.cc) = 6fd2ada4a84d1e1cc47ec8f4e1f0608861c73c1a
-SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 2d2208691b0cb7002a963cb935f3b765ac5dac8c
-SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 307d786c6618a462ae2f2dfc004f91b0de8091c9
-SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = ca62ab5e28a66988c7877b2f3041ef45a4a44894
+SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 478b2b1eefc6fe917fe2de101b994eceb4fbef9b
+SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = c3b35c0a08bd11e440d472848a7a719c975f1259
+SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = a857a61e665b59d607f1d6e889625df417abc808
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = 785aaf50784742ab9a86f0a40cb63fcc6f7cf74d
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = 9336ec4a7e075155fe61c9005539f82af8ec46a8
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h) = 12593295cb2fa217b73b571855d6ceb32c39943d
@@ -14,6 +14,6 @@ SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__freebsd.cc) = c6459f21789
SHA1 (patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc) = e520ec1e0fefb3cf9fb1d872ebf81952599a6c49
SHA1 (patch-lib_scudo_scudo__platform.h) = 119d7ad8f8ca9d3e846dbdd7f805ca771e30e410
SHA1 (patch-test_lsan_lit.common.cfg) = b09b4ab3a97dc881b701a3583b0b126b8206cfe2
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc) = f40ea4714c64d9d376b6a56ef9bcba37aee0aaa2
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc) = 6a31721bff9ffa720ba95d85e058bc4f5dcf0aff
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc) = ac638c721551db152f9c2ca338c43eceea49a16a
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc) = d36b3e07c8af8f4f19e692a6fb0f50d74d81d589
SHA1 (patch-test_scudo_lit.cfg) = 35e4f0524a8fd26e90e5d968b73d75f277da3779
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 32f2b44767..2585c99e37 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-02-20 18:23:53.000000000 +0000
+--- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig 2018-02-25 10:48:27.591396903 +0000
+++ lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -76,6 +76,11 @@
#define ctime __ctime50
@@ -14,33 +14,7 @@ $NetBSD$
#define getitimer __getitimer50
#define getpwent __getpwent50
#define getpwnam __getpwnam50
-@@ -110,6 +115,9 @@
- #define times __times13
- #define wait3 __wait350
- #define wait4 __wait450
-+extern const unsigned short *_ctype_tab_;
-+extern const short *_toupper_tab_;
-+extern const short *_tolower_tab_;
- #endif
-
- // Platform-specific options.
-@@ -3192,7 +3200,14 @@ INTERCEPTOR(char *, setlocale, int categ
- if (locale)
- COMMON_INTERCEPTOR_READ_RANGE(ctx, locale, REAL(strlen)(locale) + 1);
- char *res = REAL(setlocale)(category, locale);
-- if (res) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, res, REAL(strlen)(res) + 1);
-+ if (res) {
-+ COMMON_INTERCEPTOR_WRITE_RANGE(ctx, res, REAL(strlen)(res) + 1);
-+#if SANITIZER_NETBSD
-+ COMMON_INTERCEPTOR_WRITE_RANGE(ctx, _ctype_tab_, 257 * sizeof(short));
-+ COMMON_INTERCEPTOR_WRITE_RANGE(ctx, _toupper_tab_, 257 * sizeof(short));
-+ COMMON_INTERCEPTOR_WRITE_RANGE(ctx, _tolower_tab_, 257 * sizeof(short));
-+#endif
-+ }
- return res;
- }
-
-@@ -6836,6 +6851,839 @@ INTERCEPTOR(void, strmode, u32 mode, cha
+@@ -6851,6 +6856,839 @@ INTERCEPTOR(void, strmode, u32 mode, cha
#define INIT_STRMODE
#endif
@@ -880,7 +854,7 @@ $NetBSD$
static void InitializeCommonInterceptors() {
static u64 metadata_mem[sizeof(MetadataHashMap) / sizeof(u64) + 1];
interceptor_metadata_map = new((void *)&metadata_mem) MetadataHashMap();
-@@ -7066,6 +7914,14 @@ static void InitializeCommonInterceptors
+@@ -7081,6 +7919,14 @@ static void InitializeCommonInterceptors
INIT_DEVNAME_R;
INIT_FGETLN;
INIT_STRMODE;
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
index 2292c83e69..98c6d4ab97 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
@@ -1,8 +1,8 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_internal_defs.h.orig 2018-02-15 16:00:57.000000000 +0000
+--- lib/sanitizer_common/sanitizer_internal_defs.h.orig 2018-02-25 10:48:27.594915438 +0000
+++ lib/sanitizer_common/sanitizer_internal_defs.h
-@@ -187,7 +187,9 @@ typedef uptr tid_t;
+@@ -189,7 +189,9 @@ typedef uptr tid_t;
// This header should NOT include any other headers to avoid portability issues.
// Common defs.
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
index 2093e7f531..11937607c0 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_linux.cc.orig 2018-02-19 18:40:37.000000000 +0000
+--- lib/sanitizer_common/sanitizer_linux.cc.orig 2018-02-25 10:48:27.592535426 +0000
+++ lib/sanitizer_common/sanitizer_linux.cc
@@ -89,6 +89,7 @@ extern char **environ; // provided by c
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 21099bb1e8..a606cbfca6 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-02-20 18:42:30.946892346 +0000
+--- test/sanitizer_common/TestCases/NetBSD/kvm_open.cc.orig 2018-02-25 10:48:36.913002888 +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 eb6dd83869..36f7fda732 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-02-20 18:42:30.946969881 +0000
+--- test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc.orig 2018-02-25 10:48:36.913081032 +0000
+++ test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc
@@ -0,0 +1,13 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t
Home |
Main Index |
Thread Index |
Old Index