pkgsrc-WIP-changes archive

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

clang-netbsd: Sync PLIST and add kasan for NetBSD/amd64



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Oct 2 15:16:00 2017 +0200
Changeset:	17d1050623ea7d7ed82ce23b4791054d05a9a19a

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

Log Message:
clang-netbsd: Sync PLIST and add kasan for NetBSD/amd64

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=17d1050623ea7d7ed82ce23b4791054d05a9a19a

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

diffstat:
 clang-netbsd/PLIST                                          |  8 ++++++++
 clang-netbsd/distinfo                                       |  1 +
 clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp | 12 ++++++++++++
 3 files changed, 21 insertions(+)

diffs:
diff --git a/clang-netbsd/PLIST b/clang-netbsd/PLIST
index e843abdfc7..0c616f49b0 100644
--- a/clang-netbsd/PLIST
+++ b/clang-netbsd/PLIST
@@ -8,6 +8,7 @@ bin/clang-cpp
 bin/clang-format
 bin/clang-import-test
 bin/clang-offload-bundler
+bin/clang-refactor
 bin/clang-rename
 include/clang-c/BuildSystem.h
 include/clang-c/CXCompilationDatabase.h
@@ -196,6 +197,7 @@ include/clang/Basic/DiagnosticAnalysisKinds.inc
 include/clang/Basic/DiagnosticCategories.h
 include/clang/Basic/DiagnosticCommentKinds.inc
 include/clang/Basic/DiagnosticCommonKinds.inc
+include/clang/Basic/DiagnosticCrossTUKinds.inc
 include/clang/Basic/DiagnosticDriverKinds.inc
 include/clang/Basic/DiagnosticError.h
 include/clang/Basic/DiagnosticFrontendKinds.inc
@@ -236,6 +238,7 @@ include/clang/Basic/PlistSupport.h
 include/clang/Basic/PragmaKinds.h
 include/clang/Basic/PrettyStackTrace.h
 include/clang/Basic/SanitizerBlacklist.h
+include/clang/Basic/SanitizerSpecialCaseList.h
 include/clang/Basic/Sanitizers.def
 include/clang/Basic/Sanitizers.h
 include/clang/Basic/SourceLocation.h
@@ -268,6 +271,8 @@ include/clang/CodeGen/ModuleBuilder.h
 include/clang/CodeGen/ObjectFilePCHContainerOperations.h
 include/clang/CodeGen/SwiftCallingConv.h
 include/clang/Config/config.h
+include/clang/CrossTU/CrossTUDiagnostic.h
+include/clang/CrossTU/CrossTranslationUnit.h
 include/clang/Driver/Action.h
 include/clang/Driver/Compilation.h
 include/clang/Driver/Distro.h
@@ -502,6 +507,8 @@ include/clang/Tooling/Refactoring.h
 include/clang/Tooling/Refactoring/ASTSelection.h
 include/clang/Tooling/Refactoring/AtomicChange.h
 include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
+include/clang/Tooling/Refactoring/RefactoringAction.h
+include/clang/Tooling/Refactoring/RefactoringActionRegistry.def
 include/clang/Tooling/Refactoring/RefactoringActionRule.h
 include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h
 include/clang/Tooling/Refactoring/RefactoringActionRuleRequirementsInternal.h
@@ -627,6 +634,7 @@ lib/libclangASTMatchers.a
 lib/libclangAnalysis.a
 lib/libclangBasic.a
 lib/libclangCodeGen.a
+lib/libclangCrossTU.a
 lib/libclangDriver.a
 lib/libclangDynamicASTMatchers.a
 lib/libclangEdit.a
diff --git a/clang-netbsd/distinfo b/clang-netbsd/distinfo
index 02c98503b7..094003c660 100644
--- a/clang-netbsd/distinfo
+++ b/clang-netbsd/distinfo
@@ -3,5 +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-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
new file mode 100644
index 0000000000..f960602271
--- /dev/null
+++ b/clang-netbsd/patches/patch-lib_Driver_ToolChains_NetBSD.cpp
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- lib/Driver/ToolChains/NetBSD.cpp.orig	2017-08-29 00:48:11.000000000 +0000
++++ lib/Driver/ToolChains/NetBSD.cpp
+@@ -431,6 +431,7 @@ SanitizerMask NetBSD::getSupportedSaniti
+     Res |= SanitizerKind::Fuzzer;
+     Res |= SanitizerKind::FuzzerNoLink;
+     Res |= SanitizerKind::Thread;
++    Res |= SanitizerKind::KernelAddress;
+   }
+   return Res;
+ }


Home | Main Index | Thread Index | Old Index