pkgsrc-WIP-changes archive

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

clang-netbsd: Enable Memory sanitizer for NetBSD/x86_64



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Nov 9 21:20:21 2017 +0100
Changeset:	7e85a3e3b7a21cfe305f54c9efc77c4737c0c901

Modified Files:
	clang-netbsd/distinfo
	clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp

Log Message:
clang-netbsd: Enable Memory sanitizer for NetBSD/x86_64

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=7e85a3e3b7a21cfe305f54c9efc77c4737c0c901

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

diffstat:
 clang-netbsd/distinfo                                       | 2 +-
 clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs:
diff --git a/clang-netbsd/distinfo b/clang-netbsd/distinfo
index 094003c660..29702364cf 100644
--- a/clang-netbsd/distinfo
+++ b/clang-netbsd/distinfo
@@ -3,6 +3,6 @@ $NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
 SHA1 (patch-lib_Basic_Targets_OSTargets.h) = 6af7531d9cdc39037d8b0fb0c734cfba75922fc7
 SHA1 (patch-lib_Driver_ToolChains_CommonArgs.cpp) = 0319867c1a10db204d9ad6aa2a9d495503ee9395
 SHA1 (patch-lib_Driver_ToolChains_Gnu.cpp) = 241c603172fffe6bc8ef3a3733bd3f42c19abbf1
-SHA1 (patch-lib_Driver_ToolChains_NetBSD.cpp) = f32c7b3787d7239a525e4fa58c57894f111c8494
+SHA1 (patch-lib_Driver_ToolChains_NetBSD.cpp) = f549fbcfaebc4e161f27879ba4a415ed41de95a0
 SHA1 (patch-test_Sema_128bitfloat.cpp) = cc11582dd9495b603a22ef73609ab04f65324da2
 SHA1 (patch-tools_clang-format_CMakeLists.txt) = f119d2a94cbfb8c00a285d1aa7789ed26f8309cf
diff --git a/clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp b/clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp
index f960602271..ba358dc257 100644
--- a/clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp
+++ b/clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp
@@ -1,10 +1,12 @@
 $NetBSD$
 
---- lib/Driver/ToolChains/NetBSD.cpp.orig	2017-08-29 00:48:11.000000000 +0000
+--- lib/Driver/ToolChains/NetBSD.cpp.orig	2017-10-17 16:48:56.000000000 +0000
 +++ lib/Driver/ToolChains/NetBSD.cpp
-@@ -431,6 +431,7 @@ SanitizerMask NetBSD::getSupportedSaniti
+@@ -430,7 +430,9 @@ SanitizerMask NetBSD::getSupportedSaniti
+   if (IsX86_64) {
      Res |= SanitizerKind::Fuzzer;
      Res |= SanitizerKind::FuzzerNoLink;
++    Res |= SanitizerKind::Memory;
      Res |= SanitizerKind::Thread;
 +    Res |= SanitizerKind::KernelAddress;
    }


Home | Main Index | Thread Index | Old Index