pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiler-netbsd: Enable msan on NetBSD
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Thu Jun 29 03:20:40 2017 +0200
Changeset: 1871d0d757f5cb0ef534c16d7764a003d704ef93
Modified Files:
clang-netbsd/distinfo
clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp
Log Message:
compiler-netbsd: Enable msan on NetBSD
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=1871d0d757f5cb0ef534c16d7764a003d704ef93
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 | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diffs:
diff --git a/clang-netbsd/distinfo b/clang-netbsd/distinfo
index 0569b18bbb..fa2f2576c3 100644
--- a/clang-netbsd/distinfo
+++ b/clang-netbsd/distinfo
@@ -15,7 +15,7 @@ Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
SHA1 (patch-lib_Basic_Targets.cpp) = 7b2e13a71f2b09c3f7336f21371637d3e39e4043
SHA1 (patch-lib_Driver_ToolChains_CommonArgs.cpp) = 9454e8f55ae3445bceabb4f33f80c86a616aeb60
SHA1 (patch-lib_Driver_ToolChains_Gnu.cpp) = 241c603172fffe6bc8ef3a3733bd3f42c19abbf1
-SHA1 (patch-lib_Driver_ToolChains_NetBSD.cpp) = 7a45ff6e566467a30d4f0d48683141b9485eaa0e
+SHA1 (patch-lib_Driver_ToolChains_NetBSD.cpp) = b126befb17c6c9c4794cf124adffcb2d069f4498
SHA1 (patch-lib_Driver_ToolChains_NetBSD.h) = 965f5c1a64461bbd3ea446148796e2dbddc2c9ca
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 d93cea1178..532d10a5de 100644
--- a/clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp
+++ b/clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/Driver/ToolChains/NetBSD.cpp.orig 2017-06-19 16:00:32.334614385 +0000
+--- lib/Driver/ToolChains/NetBSD.cpp.orig 2017-03-18 00:58:03.000000000 +0000
+++ lib/Driver/ToolChains/NetBSD.cpp
@@ -15,6 +15,7 @@
#include "clang/Driver/Compilation.h"
@@ -27,7 +27,7 @@ $NetBSD$
if (Args.hasArg(options::OPT_pthread))
CmdArgs.push_back("-lpthread");
CmdArgs.push_back("-lc");
-@@ -410,3 +414,16 @@ void NetBSD::addLibStdCxxIncludePaths(co
+@@ -410,3 +414,17 @@ void NetBSD::addLibStdCxxIncludePaths(co
addLibStdCXXIncludePaths(getDriver().SysRoot, "/usr/include/g++", "", "", "",
"", DriverArgs, CC1Args);
}
@@ -41,6 +41,7 @@ $NetBSD$
+ Res |= SanitizerKind::Leak;
+ Res |= SanitizerKind::Thread;
+ Res |= SanitizerKind::SafeStack;
++ Res |= SanitizerKind::Memory;
+ }
+ return Res;
+}
Home |
Main Index |
Thread Index |
Old Index