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. 346352
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Nov 7 22:00:09 2018 +0100
Changeset: bd22f7ddd2f5c7d29cfe1af4692a82ff4ab1c55c
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__libcdep.cc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
Log Message:
compiler-rt-netbsd: Update to SVN r. 346352
Merged patches:
[PATCH] D54051: Split remquol() from INIT_REMQUO
[PATCH] D54054: Split lgammal() from INIT_LGAMMAL
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bd22f7ddd2f5c7d29cfe1af4692a82ff4ab1c55c
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 | 8 +--
...zer__common_sanitizer__common__interceptors.inc | 78 +---------------------
...b_sanitizer__common_sanitizer__internal__defs.h | 2 +-
..._sanitizer__common_sanitizer__linux__libcdep.cc | 6 +-
...zer__common_sanitizer__platform__interceptors.h | 14 +---
6 files changed, 14 insertions(+), 96 deletions(-)
diffs:
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
index b7b8ae2dd9..6da41b934a 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= 346222
+SVN_REVISION.compiler-rt= 346352
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 15f13e82ab..9bb340d98c 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -4,10 +4,10 @@ SHA1 (patch-lib_asan_asan__posix.cc) = be7e47c252e30184639f7ed1c98c75a8667fd261
SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = 2a81399dddc19de5bd51e77ef52b8b5cd61b7dc4
SHA1 (patch-lib_msan_msan__interceptors.cc) = a5098beb0035b34239c39ee517a554b2b84458d1
SHA1 (patch-lib_msan_msan__linux.cc) = b5df0f4f5930d7c1681b1ad867c893d01d6e5cf7
-SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 56499f43d0c8f318cbbcaa74c3d6240b1996e9b7
-SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 9d66da7ddda773f8eddd97b54e93fb78421e3fdb
-SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = 58a1dea6a852a4de20f23cd90900c387fe555dce
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = fe524f686bf0af26dc44759717585248d6de2171
+SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 9b231748b4e1f97dc9b96d5f9dd4106fee4883cb
+SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 845a516a43bbaa82b2522c395965fd8f64e09bdb
+SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = ac9d74a30cc9621bebab135e10077fc20415218a
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = 7c08be2280466995e8ba8ff42e804c11ff2f4b82
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = 9e4e6625f756f248650f1f17d30b3e0bd6b7559e
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h) = eb112d60396d34a25ed4d150bf5282bc4265f738
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc) = 7c16ba866352f3a695a544094ca46f0f561c43c5
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 49a21c95f4..02d58631b8 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-11-02 21:28:35.000000000 +0000
+--- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig 2018-11-07 20:58:31.924162314 +0000
+++ lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -77,6 +77,11 @@
#define ctime __ctime50
@@ -70,68 +70,7 @@ $NetBSD$
void *ctx;
COMMON_INTERCEPTOR_ENTER(ctx, statvfs, path, buf);
if (path) COMMON_INTERCEPTOR_READ_RANGE(ctx, path, REAL(strlen)(path) + 1);
-@@ -4836,6 +4854,14 @@ INTERCEPTOR(float, remquof, float x, flo
- if (quo) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, quo, sizeof(*quo));
- return res;
- }
-+#define INIT_REMQUO \
-+ COMMON_INTERCEPT_FUNCTION(remquo); \
-+ COMMON_INTERCEPT_FUNCTION(remquof);
-+#else
-+#define INIT_REMQUO
-+#endif
-+
-+#if SANITIZER_INTERCEPT_REMQUOL
- INTERCEPTOR(long double, remquol, long double x, long double y, int *quo) {
- void *ctx;
- COMMON_INTERCEPTOR_ENTER(ctx, remquol, x, y, quo);
-@@ -4846,12 +4872,10 @@ INTERCEPTOR(long double, remquol, long d
- if (quo) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, quo, sizeof(*quo));
- return res;
- }
--#define INIT_REMQUO \
-- COMMON_INTERCEPT_FUNCTION(remquo); \
-- COMMON_INTERCEPT_FUNCTION(remquof); \
-+#define INIT_REMQUOL \
- COMMON_INTERCEPT_FUNCTION_LDBL(remquol);
- #else
--#define INIT_REMQUO
-+#define INIT_REMQUOL
- #endif
-
- #if SANITIZER_INTERCEPT_LGAMMA
-@@ -4870,6 +4894,14 @@ INTERCEPTOR(float, lgammaf, float x) {
- COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &signgam, sizeof(signgam));
- return res;
- }
-+#define INIT_LGAMMA \
-+ COMMON_INTERCEPT_FUNCTION(lgamma); \
-+ COMMON_INTERCEPT_FUNCTION(lgammaf);
-+#else
-+#define INIT_LGAMMA
-+#endif
-+
-+#if SANITIZER_INTERCEPT_LGAMMAL
- INTERCEPTOR(long double, lgammal, long double x) {
- void *ctx;
- COMMON_INTERCEPTOR_ENTER(ctx, lgammal, x);
-@@ -4877,12 +4909,10 @@ INTERCEPTOR(long double, lgammal, long d
- COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &signgam, sizeof(signgam));
- return res;
- }
--#define INIT_LGAMMA \
-- COMMON_INTERCEPT_FUNCTION(lgamma); \
-- COMMON_INTERCEPT_FUNCTION(lgammaf); \
-- COMMON_INTERCEPT_FUNCTION_LDBL(lgammal);
-+#define INIT_LGAMMAL \
-+ COMMON_INTERCEPT_FUNCTION(lgammal);
- #else
--#define INIT_LGAMMA
-+#define INIT_LGAMMAL
- #endif
-
- #if SANITIZER_INTERCEPT_LGAMMA_R
-@@ -7252,6 +7282,1588 @@ INTERCEPTOR(struct __sanitizer_netent *,
+@@ -7264,6 +7282,1588 @@ INTERCEPTOR(struct __sanitizer_netent *,
#define INIT_NETENT
#endif
@@ -1720,22 +1659,11 @@ $NetBSD$
static void InitializeCommonInterceptors() {
static u64 metadata_mem[sizeof(MetadataHashMap) / sizeof(u64) + 1];
interceptor_metadata_map = new((void *)&metadata_mem) MetadataHashMap();
-@@ -7427,7 +9039,9 @@ static void InitializeCommonInterceptors
- INIT_PTHREAD_GETNAME_NP;
- INIT_SINCOS;
- INIT_REMQUO;
-+ INIT_REMQUOL;
- INIT_LGAMMA;
-+ INIT_LGAMMAL;
- INIT_LGAMMA_R;
- INIT_LGAMMAL_R;
- INIT_DRAND48_R;
-@@ -7503,6 +9117,30 @@ static void InitializeCommonInterceptors
+@@ -7517,6 +9117,29 @@ static void InitializeCommonInterceptors
INIT_TTYENT;
INIT_PROTOENT;
INIT_NETENT;
+ INIT_SYSCTL;
-+ INIT_ATOF;
+ INIT_FTS;
+ INIT_REGEX;
+ INIT_STRTONUM;
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 5e1f2e993a..a3158acb4c 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,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_internal_defs.h.orig 2018-11-06 11:10:14.873745534 +0000
+--- lib/sanitizer_common/sanitizer_internal_defs.h.orig 2018-11-06 11:10:14.000000000 +0000
+++ lib/sanitizer_common/sanitizer_internal_defs.h
@@ -197,7 +197,9 @@ typedef u64 tid_t;
// This header should NOT include any other headers to avoid portability issues.
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
index c82d03f94d..8b879b910f 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
@@ -1,9 +1,9 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_linux_libcdep.cc.orig 2018-10-30 08:42:08.000000000 +0000
+--- lib/sanitizer_common/sanitizer_linux_libcdep.cc.orig 2018-11-07 20:58:31.926766835 +0000
+++ lib/sanitizer_common/sanitizer_linux_libcdep.cc
-@@ -25,6 +25,7 @@
- #include "sanitizer_freebsd.h"
+@@ -26,6 +26,7 @@
+ #include "sanitizer_getauxval.h"
#include "sanitizer_linux.h"
#include "sanitizer_placement_new.h"
+#include "sanitizer_posix.h"
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 1577f864ad..a1f8c7fdc0 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,18 +1,8 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig 2018-11-02 21:28:35.000000000 +0000
+--- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig 2018-11-07 20:58:31.925226974 +0000
+++ lib/sanitizer_common/sanitizer_platform_interceptors.h
-@@ -360,7 +360,9 @@
- #define SANITIZER_INTERCEPT_TEMPNAM SI_POSIX
- #define SANITIZER_INTERCEPT_SINCOS SI_LINUX || SI_SOLARIS
- #define SANITIZER_INTERCEPT_REMQUO SI_POSIX
-+#define SANITIZER_INTERCEPT_REMQUOL (SI_POSIX && !SI_NETBSD)
- #define SANITIZER_INTERCEPT_LGAMMA SI_POSIX
-+#define SANITIZER_INTERCEPT_LGAMMAL (SI_POSIX && !SI_NETBSD)
- #define SANITIZER_INTERCEPT_LGAMMA_R (SI_FREEBSD || SI_LINUX || SI_SOLARIS)
- #define SANITIZER_INTERCEPT_LGAMMAL_R SI_LINUX_NOT_ANDROID || SI_SOLARIS
- #define SANITIZER_INTERCEPT_DRAND48_R SI_LINUX_NOT_ANDROID
-@@ -515,4 +517,28 @@
+@@ -517,4 +517,28 @@
#define SANITIZER_INTERCEPT_PROTOENT SI_NETBSD
#define SANITIZER_INTERCEPT_NETENT SI_NETBSD
Home |
Main Index |
Thread Index |
Old Index