pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compiler-rt-git: Add NetBSD sugar in asan_errors.cc



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Jul 4 21:50:29 2017 +0200
Changeset:	2ea1c5bb812a4c2c7ce67b11f8e698a12311ffa5

Modified Files:
	compiler-rt-git/distinfo
Added Files:
	compiler-rt-git/patches/patch-lib_asan_asan__errors.cc

Log Message:
compiler-rt-git: Add NetBSD sugar in asan_errors.cc

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=2ea1c5bb812a4c2c7ce67b11f8e698a12311ffa5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 compiler-rt-git/distinfo                               |  1 +
 compiler-rt-git/patches/patch-lib_asan_asan__errors.cc | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/compiler-rt-git/distinfo b/compiler-rt-git/distinfo
index a30000b32d..550a69a393 100644
--- a/compiler-rt-git/distinfo
+++ b/compiler-rt-git/distinfo
@@ -13,6 +13,7 @@ SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
 SHA1 (patch-cmake_config-ix.cmake) = 0558457785a6069a28eb6c3525bc9f545bbc59cb
+SHA1 (patch-lib_asan_asan__errors.cc) = ce47b52abdfcb1696d98ec7440e5166fc5444574
 SHA1 (patch-lib_asan_asan__interceptors.cc) = 9786a54c62e081c7194efa26139f8539ad1e8c41
 SHA1 (patch-lib_asan_asan__interceptors.h) = 520419376759f2991c6f74f4c2a5ef62851d7838
 SHA1 (patch-lib_asan_asan__linux.cc) = 31dd5c3978d64ccc28c8af037a967c2360d71cff
diff --git a/compiler-rt-git/patches/patch-lib_asan_asan__errors.cc b/compiler-rt-git/patches/patch-lib_asan_asan__errors.cc
new file mode 100644
index 0000000000..b150d1b715
--- /dev/null
+++ b/compiler-rt-git/patches/patch-lib_asan_asan__errors.cc
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- lib/asan/asan_errors.cc.orig	2017-07-03 15:33:06.000000000 +0000
++++ lib/asan/asan_errors.cc
+@@ -59,7 +59,7 @@ static void MaybeDumpRegisters(void *con
+ }
+ 
+ static void MaybeReportNonExecRegion(uptr pc) {
+-#if SANITIZER_FREEBSD || SANITIZER_LINUX
++#if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD
+   MemoryMappingLayout proc_maps(/*cache_enabled*/ true);
+   uptr start, end, protection;
+   while (proc_maps.Next(&start, &end, nullptr, nullptr, 0, &protection)) {


Home | Main Index | Thread Index | Old Index