pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jun  2 08:35:56 UTC 2019

Modified Files:
        pkgsrc/devel/lldb: Makefile PLIST PLIST.Darwin buildlink3.mk distinfo
        pkgsrc/devel/lldb/patches: patch-cmake_modules_LLDBStandalone.cmake
            patch-source_API_CMakeLists.txt
        pkgsrc/devel/polly: Makefile buildlink3.mk distinfo
        pkgsrc/lang/compiler-rt: Makefile PLIST.Darwin PLIST.NetBSD
            buildlink3.mk distinfo
        pkgsrc/lang/compiler-rt/patches: patch-cmake_config-ix.cmake
        pkgsrc/lang/libunwind: Makefile buildlink3.mk distinfo
        pkgsrc/lang/llvm: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/lang/llvm/patches: patch-cmake_config-ix.cmake
            patch-cmake_modules_HandleLLVMOptions.cmake
            patch-tools_llvm-shlib_CMakeLists.txt
Removed Files:
        pkgsrc/lang/compiler-rt/patches:
            patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc
            patch-lib_tsan_CMakeLists.txt

Log Message:
llvm: updated to 8.0.0

8.0.0:
Non-comprehensive list of changes in this release
* The llvm-cov tool can now export lcov trace files using the -format=lcov option of the export command.
* The add_llvm_loadable_module CMake macro has been removed. The add_llvm_library macro with the MODULE argument now provides the same functionality. See Writing an LLVM Pass.
* For MinGW, references to data variables that might need to be imported from a dll are accessed via a stub, to allow the linker to convert it to a dllimport if needed.
* Added support for labels as offsets in .reloc directive.
* Support for precise identification of X86 instructions with memory operands, by using debug information. This supports profile-driven cache prefetching. It is enabled with the 
-x86-discriminate-memops LLVM Flag.
* Support for profile-driven software cache prefetching on X86. This is part of a larger system, consisting of: an offline cache prefetches recommender, AutoFDO tooling, and LLVM. In this system, a 
binary compiled with -x86-discriminate-memops is run under the observation of the recommender. The recommender identifies certain memory access instructions by their binary file address, and 
recommends a prefetch of a specific type (NTA, T0, etc) be performed at a specified fixed offset from such an instruction’s memory operand. Next, this information needs to be converted to the AutoFDO 
syntax and the resulting profile may be passed back to the compiler with the LLVM flag -prefetch-hints-file, together with the exact same set of compilation parameters used for the original binary. 
More information is available in the RFC.
* Windows support for libFuzzer (x86_64).


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/lldb/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/lldb/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/lldb/PLIST.Darwin
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/lldb/buildlink3.mk
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/lldb/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/polly/Makefile \
    pkgsrc/devel/polly/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/polly/buildlink3.mk
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/compiler-rt/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/compiler-rt/PLIST.Darwin
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/compiler-rt/PLIST.NetBSD \
    pkgsrc/lang/compiler-rt/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/compiler-rt/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/lang/compiler-rt/patches/patch-cmake_config-ix.cmake
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc \
    pkgsrc/lang/compiler-rt/patches/patch-lib_tsan_CMakeLists.txt
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/libunwind/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/libunwind/buildlink3.mk
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/libunwind/distinfo
cvs rdiff -u -r1.38 -r1.39 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/llvm/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/llvm/buildlink3.mk
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/llvm/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt

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

Modified files:

Index: pkgsrc/devel/lldb/Makefile
diff -u pkgsrc/devel/lldb/Makefile:1.20 pkgsrc/devel/lldb/Makefile:1.21
--- pkgsrc/devel/lldb/Makefile:1.20     Thu Apr 25 07:32:48 2019
+++ pkgsrc/devel/lldb/Makefile  Sun Jun  2 08:35:55 2019
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2019/04/25 07:32:48 maya Exp $
+# $NetBSD: Makefile,v 1.21 2019/06/02 08:35:55 adam Exp $
 
-DISTNAME=      lldb-7.0.1.src
+DISTNAME=      lldb-8.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   1
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/devel/lldb/PLIST
diff -u pkgsrc/devel/lldb/PLIST:1.9 pkgsrc/devel/lldb/PLIST:1.10
--- pkgsrc/devel/lldb/PLIST:1.9 Sun Dec  9 20:04:39 2018
+++ pkgsrc/devel/lldb/PLIST     Sun Jun  2 08:35:55 2019
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.9 2018/12/09 20:04:39 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/06/02 08:35:55 adam Exp $
 bin/lldb
 bin/lldb-argdumper
 bin/lldb-mi
 bin/lldb-server
 bin/lldb-test
+bin/lldb-vscode
 include/lldb/API/LLDB.h
 include/lldb/API/SBAddress.h
 include/lldb/API/SBAttachInfo.h
@@ -29,6 +30,7 @@ include/lldb/API/SBFileSpecList.h
 include/lldb/API/SBFrame.h
 include/lldb/API/SBFunction.h
 include/lldb/API/SBHostOS.h
+include/lldb/API/SBInitializerOptions.h
 include/lldb/API/SBInstruction.h
 include/lldb/API/SBInstructionList.h
 include/lldb/API/SBLanguageRuntime.h
@@ -85,6 +87,7 @@ include/lldb/Breakpoint/BreakpointResolv
 include/lldb/Breakpoint/BreakpointResolverFileLine.h
 include/lldb/Breakpoint/BreakpointResolverFileRegex.h
 include/lldb/Breakpoint/BreakpointResolverName.h
+include/lldb/Breakpoint/BreakpointResolverScripted.h
 include/lldb/Breakpoint/BreakpointSite.h
 include/lldb/Breakpoint/BreakpointSiteList.h
 include/lldb/Breakpoint/Stoppoint.h
@@ -99,7 +102,6 @@ include/lldb/Core/AddressResolver.h
 include/lldb/Core/AddressResolverFileLine.h
 include/lldb/Core/AddressResolverName.h
 include/lldb/Core/Architecture.h
-include/lldb/Core/Broadcaster.h
 include/lldb/Core/ClangForward.h
 include/lldb/Core/Communication.h
 include/lldb/Core/Debugger.h
@@ -107,13 +109,12 @@ include/lldb/Core/Disassembler.h
 include/lldb/Core/DumpDataExtractor.h
 include/lldb/Core/DumpRegisterValue.h
 include/lldb/Core/EmulateInstruction.h
-include/lldb/Core/Event.h
 include/lldb/Core/FileLineResolver.h
 include/lldb/Core/FileSpecList.h
 include/lldb/Core/FormatEntity.h
+include/lldb/Core/Highlighter.h
 include/lldb/Core/IOHandler.h
 include/lldb/Core/IOStreamMacros.h
-include/lldb/Core/Listener.h
 include/lldb/Core/LoadedModuleInfoList.h
 include/lldb/Core/Mangled.h
 include/lldb/Core/MappedHash.h
@@ -125,13 +126,11 @@ include/lldb/Core/Opcode.h
 include/lldb/Core/PluginInterface.h
 include/lldb/Core/PluginManager.h
 include/lldb/Core/RangeMap.h
-include/lldb/Core/RegisterValue.h
+include/lldb/Core/RichManglingContext.h
 include/lldb/Core/STLUtils.h
-include/lldb/Core/Scalar.h
 include/lldb/Core/SearchFilter.h
 include/lldb/Core/Section.h
 include/lldb/Core/SourceManager.h
-include/lldb/Core/State.h
 include/lldb/Core/StreamAsynchronousIO.h
 include/lldb/Core/StreamBuffer.h
 include/lldb/Core/StreamFile.h
@@ -221,10 +220,10 @@ include/lldb/Host/OptionParser.h
 include/lldb/Host/Pipe.h
 include/lldb/Host/PipeBase.h
 include/lldb/Host/PosixApi.h
-include/lldb/Host/Predicate.h
 include/lldb/Host/ProcessLauncher.h
 include/lldb/Host/ProcessRunLock.h
 include/lldb/Host/PseudoTerminal.h
+include/lldb/Host/SafeMachO.h
 include/lldb/Host/Socket.h
 include/lldb/Host/SocketAddress.h
 include/lldb/Host/StringConvert.h
@@ -236,13 +235,11 @@ include/lldb/Host/Time.h
 include/lldb/Host/XML.h
 include/lldb/Host/android/HostInfoAndroid.h
 include/lldb/Host/common/GetOptInc.h
-include/lldb/Host/common/NativeBreakpoint.h
 include/lldb/Host/common/NativeBreakpointList.h
 include/lldb/Host/common/NativeProcessProtocol.h
 include/lldb/Host/common/NativeRegisterContext.h
 include/lldb/Host/common/NativeThreadProtocol.h
 include/lldb/Host/common/NativeWatchpointList.h
-include/lldb/Host/common/SoftwareBreakpoint.h
 include/lldb/Host/common/TCPSocket.h
 include/lldb/Host/common/UDPSocket.h
 include/lldb/Host/freebsd/HostInfoFreeBSD.h
@@ -342,11 +339,8 @@ include/lldb/Symbol/DeclVendor.h
 include/lldb/Symbol/Declaration.h
 include/lldb/Symbol/FuncUnwinders.h
 include/lldb/Symbol/Function.h
-include/lldb/Symbol/GoASTContext.h
-include/lldb/Symbol/JavaASTContext.h
 include/lldb/Symbol/LineEntry.h
 include/lldb/Symbol/LineTable.h
-include/lldb/Symbol/OCamlASTContext.h
 include/lldb/Symbol/ObjectContainer.h
 include/lldb/Symbol/ObjectFile.h
 include/lldb/Symbol/Symbol.h
@@ -399,6 +393,7 @@ include/lldb/Target/SectionLoadHistory.h
 include/lldb/Target/SectionLoadList.h
 include/lldb/Target/StackFrame.h
 include/lldb/Target/StackFrameList.h
+include/lldb/Target/StackFrameRecognizer.h
 include/lldb/Target/StackID.h
 include/lldb/Target/StopInfo.h
 include/lldb/Target/StructuredDataPlugin.h
@@ -434,6 +429,7 @@ include/lldb/Utility/AnsiTerminal.h
 include/lldb/Utility/ArchSpec.h
 include/lldb/Utility/Args.h
 include/lldb/Utility/Baton.h
+include/lldb/Utility/Broadcaster.h
 include/lldb/Utility/CleanUp.h
 include/lldb/Utility/CompletionRequest.h
 include/lldb/Utility/Connection.h
@@ -443,25 +439,28 @@ include/lldb/Utility/DataBufferHeap.h
 include/lldb/Utility/DataBufferLLVM.h
 include/lldb/Utility/DataEncoder.h
 include/lldb/Utility/DataExtractor.h
-include/lldb/Utility/Either.h
 include/lldb/Utility/Endian.h
 include/lldb/Utility/Environment.h
-include/lldb/Utility/FastDemangle.h
+include/lldb/Utility/Event.h
 include/lldb/Utility/FileSpec.h
 include/lldb/Utility/Flags.h
 include/lldb/Utility/IOObject.h
 include/lldb/Utility/Iterable.h
 include/lldb/Utility/JSON.h
 include/lldb/Utility/LLDBAssert.h
+include/lldb/Utility/Listener.h
 include/lldb/Utility/Log.h
 include/lldb/Utility/Logging.h
 include/lldb/Utility/NameMatches.h
-include/lldb/Utility/Range.h
+include/lldb/Utility/Predicate.h
+include/lldb/Utility/RegisterValue.h
 include/lldb/Utility/RegularExpression.h
-include/lldb/Utility/SafeMachO.h
+include/lldb/Utility/Reproducer.h
+include/lldb/Utility/Scalar.h
 include/lldb/Utility/SelectHelper.h
 include/lldb/Utility/SharedCluster.h
 include/lldb/Utility/SharingPtr.h
+include/lldb/Utility/State.h
 include/lldb/Utility/Status.h
 include/lldb/Utility/Stream.h
 include/lldb/Utility/StreamCallback.h
@@ -496,7 +495,7 @@ include/lldb/lldb-types.h
 include/lldb/lldb-versioning.h
 lib/liblldb.so
 lib/liblldb.so.${PKGVERSION}
-${PLIST.posix}lib/liblldb.so.7
+${PLIST.posix}lib/liblldb.so.8
 lib/liblldbBase.a
 lib/liblldbBreakpoint.a
 lib/liblldbCommands.a
@@ -521,9 +520,11 @@ lib/liblldbPluginABISysV_s390x.a
 lib/liblldbPluginABISysV_x86_64.a
 lib/liblldbPluginAppleObjCRuntime.a
 lib/liblldbPluginArchitectureArm.a
+lib/liblldbPluginArchitectureMips.a
 lib/liblldbPluginArchitecturePPC64.a
 lib/liblldbPluginCPlusPlusLanguage.a
 lib/liblldbPluginCXXItaniumABI.a
+lib/liblldbPluginClangCommon.a
 lib/liblldbPluginDisassemblerLLVM.a
 lib/liblldbPluginDynamicLoaderDarwinKernel.a
 lib/liblldbPluginDynamicLoaderHexagonDYLD.a
@@ -532,8 +533,6 @@ lib/liblldbPluginDynamicLoaderPosixDYLD.
 lib/liblldbPluginDynamicLoaderStatic.a
 lib/liblldbPluginDynamicLoaderWindowsDYLD.a
 lib/liblldbPluginExpressionParserClang.a
-lib/liblldbPluginExpressionParserGo.a
-lib/liblldbPluginGoLanguage.a
 lib/liblldbPluginInstructionARM.a
 lib/liblldbPluginInstructionARM64.a
 lib/liblldbPluginInstructionMIPS.a
@@ -544,17 +543,13 @@ lib/liblldbPluginInstrumentationRuntimeM
 lib/liblldbPluginInstrumentationRuntimeTSan.a
 lib/liblldbPluginInstrumentationRuntimeUBSan.a
 lib/liblldbPluginJITLoaderGDB.a
-lib/liblldbPluginJavaLanguage.a
-lib/liblldbPluginLanguageRuntimeGo.a
-lib/liblldbPluginLanguageRuntimeJava.a
 lib/liblldbPluginMemoryHistoryASan.a
-lib/liblldbPluginOCamlLanguage.a
-lib/liblldbPluginOSGo.a
 lib/liblldbPluginOSPython.a
 lib/liblldbPluginObjCLanguage.a
 lib/liblldbPluginObjCPlusPlusLanguage.a
 lib/liblldbPluginObjectContainerBSDArchive.a
 lib/liblldbPluginObjectContainerMachOArchive.a
+lib/liblldbPluginObjectFileBreakpad.a
 lib/liblldbPluginObjectFileELF.a
 lib/liblldbPluginObjectFileJIT.a
 lib/liblldbPluginObjectFileMachO.a
@@ -580,7 +575,9 @@ lib/liblldbPluginRenderScriptRuntime.a
 lib/liblldbPluginScriptInterpreterNone.a
 lib/liblldbPluginScriptInterpreterPython.a
 lib/liblldbPluginStructuredDataDarwinLog.a
+lib/liblldbPluginSymbolFileBreakpad.a
 lib/liblldbPluginSymbolFileDWARF.a
+lib/liblldbPluginSymbolFileNativePDB.a
 lib/liblldbPluginSymbolFilePDB.a
 lib/liblldbPluginSymbolFileSymtab.a
 lib/liblldbPluginSymbolVendorELF.a
@@ -590,6 +587,7 @@ lib/liblldbPluginUnwindAssemblyX86.a
 lib/liblldbSymbol.a
 lib/liblldbTarget.a
 lib/liblldbUtility.a
+lib/liblldbUtilityHelpers.a
 ${PYSITELIB}/lldb/__init__.py
 ${PYSITELIB}/lldb/_lldb.so
 ${PYSITELIB}/lldb/embedded_interpreter.py

Index: pkgsrc/devel/lldb/PLIST.Darwin
diff -u pkgsrc/devel/lldb/PLIST.Darwin:1.4 pkgsrc/devel/lldb/PLIST.Darwin:1.5
--- pkgsrc/devel/lldb/PLIST.Darwin:1.4  Sun Dec 23 00:11:40 2018
+++ pkgsrc/devel/lldb/PLIST.Darwin      Sun Jun  2 08:35:55 2019
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST.Darwin,v 1.4 2018/12/23 00:11:40 adam Exp $
+@comment $NetBSD: PLIST.Darwin,v 1.5 2019/06/02 08:35:55 adam Exp $
 bin/darwin-debug
+bin/debugserver
 lib/liblldbHostMacOSXObjCXX.a
 lib/liblldbPluginDynamicLoaderDarwinKernel.a
 lib/liblldbPluginPlatformMacOSXObjCXX.a

Index: pkgsrc/devel/lldb/buildlink3.mk
diff -u pkgsrc/devel/lldb/buildlink3.mk:1.5 pkgsrc/devel/lldb/buildlink3.mk:1.6
--- pkgsrc/devel/lldb/buildlink3.mk:1.5 Sun Dec  9 20:04:39 2018
+++ pkgsrc/devel/lldb/buildlink3.mk     Sun Jun  2 08:35:55 2019
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.5 2018/12/09 20:04:39 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2019/06/02 08:35:55 adam Exp $
 
 BUILDLINK_TREE+=       lldb
 
 .if !defined(LLDB_BUILDLINK3_MK)
 LLDB_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.lldb+=   lldb>=7.0.0
+BUILDLINK_API_DEPENDS.lldb+=   lldb>=8.0.0
 BUILDLINK_PKGSRCDIR.lldb?=     ../../devel/lldb
 
 .include "../../devel/zlib/buildlink3.mk"

Index: pkgsrc/devel/lldb/distinfo
diff -u pkgsrc/devel/lldb/distinfo:1.14 pkgsrc/devel/lldb/distinfo:1.15
--- pkgsrc/devel/lldb/distinfo:1.14     Sun Dec 23 00:11:40 2018
+++ pkgsrc/devel/lldb/distinfo  Sun Jun  2 08:35:55 2019
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.14 2018/12/23 00:11:40 adam Exp $
+$NetBSD: distinfo,v 1.15 2019/06/02 08:35:55 adam Exp $
 
-SHA1 (lldb-7.0.1.src.tar.xz) = 6286b90b2762404baee55a69a2a7e9ed0fce58a2
-RMD160 (lldb-7.0.1.src.tar.xz) = cc74fa4a201d6541cc918caee9abd683c18189b5
-SHA512 (lldb-7.0.1.src.tar.xz) = 7e98c3148ac34b42404e5aaaff91728d19e9062110a333f0bc7a62ec324fbb6d033ea44b56e144dc1e94febb2107cfb33c71bb3602c2168a6270dd807a2cc5ff
-Size (lldb-7.0.1.src.tar.xz) = 19384628 bytes
-SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 8f7d06a4b3a1e996af9af4affd650291c4f01fe5
+SHA1 (lldb-8.0.0.src.tar.xz) = ca188f74b4896cd243ed1c3797d27c3371185146
+RMD160 (lldb-8.0.0.src.tar.xz) = 8f48d590075479cd131874855a951450ac5a4c72
+SHA512 (lldb-8.0.0.src.tar.xz) = 5192d6d6d1759db28569de929ba8db2a80283000f1bf8453d9cf172ac85574c8eacc13f9fe64ecabea0533bfc49c0f58ea8fb29b1f4d88c065d905d553f2e60c
+Size (lldb-8.0.0.src.tar.xz) = 19602332 bytes
+SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 7d079e2fc74f7419a833c79ec39c51c18792443f
 SHA1 (patch-scripts_Python_modules_readline_readline.cpp) = 4a030226c47cf7d54ebc727e92e278c163e48bf5
-SHA1 (patch-source_API_CMakeLists.txt) = 5e78d7cc8a669cb4c5ece2479894bb18ca3cf282
+SHA1 (patch-source_API_CMakeLists.txt) = 47213a9f674c8afc03a0baecb26ef7bb0cb68925
 SHA1 (patch-source_Host_CMakeLists.txt) = 5c7ae7b896aa110fe7ab21ed3616350e0958bc2a

Index: pkgsrc/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake
diff -u pkgsrc/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake:1.2 pkgsrc/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake:1.3
--- pkgsrc/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake:1.2      Mon Nov 14 20:15:33 2016
+++ pkgsrc/devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake  Sun Jun  2 08:35:55 2019
@@ -1,10 +1,10 @@
-$NetBSD: patch-cmake_modules_LLDBStandalone.cmake,v 1.2 2016/11/14 20:15:33 ryoon Exp $
+$NetBSD: patch-cmake_modules_LLDBStandalone.cmake,v 1.3 2019/06/02 08:35:55 adam Exp $
 
---- cmake/modules/LLDBStandalone.cmake.orig    2016-07-15 22:46:15.000000000 +0000
+--- cmake/modules/LLDBStandalone.cmake.orig    2019-01-29 14:23:34.000000000 +0000
 +++ cmake/modules/LLDBStandalone.cmake
-@@ -86,7 +86,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
- 
+@@ -85,7 +85,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
    include(AddLLVM)
+   include(TableGen)
    include(HandleLLVMOptions)
 -  include(CheckAtomic)
  

Index: pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt
diff -u pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt:1.1 pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt:1.2
--- pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt:1.1       Sun Dec 23 00:14:08 2018
+++ pkgsrc/devel/lldb/patches/patch-source_API_CMakeLists.txt   Sun Jun  2 08:35:55 2019
@@ -1,14 +1,14 @@
-$NetBSD: patch-source_API_CMakeLists.txt,v 1.1 2018/12/23 00:14:08 adam Exp $
+$NetBSD: patch-source_API_CMakeLists.txt,v 1.2 2019/06/02 08:35:55 adam Exp $
 
 Fix finding libxml2's includes.
 
---- source/API/CMakeLists.txt.orig     2018-12-22 21:06:11.000000000 +0000
+--- source/API/CMakeLists.txt.orig     2019-01-04 12:47:02.000000000 +0000
 +++ source/API/CMakeLists.txt
-@@ -4,6 +4,10 @@ endif()
+@@ -9,6 +9,10 @@ if(NOT LLDB_DISABLE_PYTHON)
+   set(lldb_python_wrapper ${lldb_scripts_dir}/LLDBWrapPython.cpp)
+ endif()
  
- get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS)
- 
-+if (LIBXML2_FOUND)
++if(LIBXML2_FOUND)
 +  include_directories(SYSTEM ${LIBXML2_INCLUDE_DIR})
 +endif()
 +

Index: pkgsrc/devel/polly/Makefile
diff -u pkgsrc/devel/polly/Makefile:1.12 pkgsrc/devel/polly/Makefile:1.13
--- pkgsrc/devel/polly/Makefile:1.12    Sun Dec 23 00:11:40 2018
+++ pkgsrc/devel/polly/Makefile Sun Jun  2 08:35:55 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2018/12/23 00:11:40 adam Exp $
+# $NetBSD: Makefile,v 1.13 2019/06/02 08:35:55 adam Exp $
 
-DISTNAME=      polly-7.0.1.src
+DISTNAME=      polly-8.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
Index: pkgsrc/devel/polly/distinfo
diff -u pkgsrc/devel/polly/distinfo:1.12 pkgsrc/devel/polly/distinfo:1.13
--- pkgsrc/devel/polly/distinfo:1.12    Sun Dec 23 00:11:40 2018
+++ pkgsrc/devel/polly/distinfo Sun Jun  2 08:35:55 2019
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2018/12/23 00:11:40 adam Exp $
+$NetBSD: distinfo,v 1.13 2019/06/02 08:35:55 adam Exp $
 
-SHA1 (polly-7.0.1.src.tar.xz) = 7c750261090168a4a219ab823cfbe76f0938850f
-RMD160 (polly-7.0.1.src.tar.xz) = f1968870c6069bdc22b660eac4a1de4ca580cddd
-SHA512 (polly-7.0.1.src.tar.xz) = 3cfdbf6109f25319a7389ab2530b5cd5b884c02ca9d28d390be2ceed9d0ed155d66812662b123b36bbec0627ce90e8e38956bc3b2be915e7c05ee5355deadd73
-Size (polly-7.0.1.src.tar.xz) = 8755168 bytes
+SHA1 (polly-8.0.0.src.tar.xz) = ca34b2be7c362844db089f0114af11333c2ebfcb
+RMD160 (polly-8.0.0.src.tar.xz) = ed2a61a4cf5431792b0b02d31cc973bdb0fcb676
+SHA512 (polly-8.0.0.src.tar.xz) = f16bc2303467fdd2ec84f7953c18d9123b95ec7882d9e9a419179421ef52f17ad93a58edff58d20251bac09dbf2bf22a996bf18e3d8bf21d5b603ff9f4d80508
+Size (polly-8.0.0.src.tar.xz) = 8706068 bytes
 SHA1 (patch-CMakeLists.txt) = 8138e11f858f23e0069c8fa0c07eff2b7aaf8c43
 SHA1 (patch-lib_External_isl_configure) = 97c83ab1d2f83e60ab39b41cf055c18074167e66

Index: pkgsrc/devel/polly/buildlink3.mk
diff -u pkgsrc/devel/polly/buildlink3.mk:1.4 pkgsrc/devel/polly/buildlink3.mk:1.5
--- pkgsrc/devel/polly/buildlink3.mk:1.4        Sun Dec  9 20:04:39 2018
+++ pkgsrc/devel/polly/buildlink3.mk    Sun Jun  2 08:35:55 2019
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.4 2018/12/09 20:04:39 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2019/06/02 08:35:55 adam Exp $
 
 BUILDLINK_TREE+=       polly
 
 .if !defined(POLLY_BUILDLINK3_MK)
 POLLY_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.polly+=  polly>=7.0.0
+BUILDLINK_API_DEPENDS.polly+=  polly>=8.0.0
 BUILDLINK_PKGSRCDIR.polly?=    ../../devel/polly
 
 .include "../../lang/llvm/buildlink3.mk"

Index: pkgsrc/lang/compiler-rt/Makefile
diff -u pkgsrc/lang/compiler-rt/Makefile:1.9 pkgsrc/lang/compiler-rt/Makefile:1.10
--- pkgsrc/lang/compiler-rt/Makefile:1.9        Thu Apr 25 07:33:02 2019
+++ pkgsrc/lang/compiler-rt/Makefile    Sun Jun  2 08:35:56 2019
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2019/04/25 07:33:02 maya Exp $
+# $NetBSD: Makefile,v 1.10 2019/06/02 08:35:56 adam Exp $
 
-DISTNAME=      compiler-rt-7.0.1.src
-PKGREVISION=   2
+DISTNAME=      compiler-rt-8.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/

Index: pkgsrc/lang/compiler-rt/PLIST.Darwin
diff -u pkgsrc/lang/compiler-rt/PLIST.Darwin:1.2 pkgsrc/lang/compiler-rt/PLIST.Darwin:1.3
--- pkgsrc/lang/compiler-rt/PLIST.Darwin:1.2    Thu Jan 31 06:55:37 2019
+++ pkgsrc/lang/compiler-rt/PLIST.Darwin        Sun Jun  2 08:35:56 2019
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST.Darwin,v 1.2 2019/01/31 06:55:37 adam Exp $
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.10.4.a
+@comment $NetBSD: PLIST.Darwin,v 1.3 2019/06/02 08:35:56 adam Exp $
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan_osx_dynamic.dylib
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.cc_kext.a
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.fuzzer_no_main_osx.a
@@ -7,7 +6,6 @@ lib/clang/${PKGVERSION}/lib/${COMPILER_R
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.lsan_osx_dynamic.dylib
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.osx.a
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.profile_osx.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.safestack_osx.a
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats_client_osx.a
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats_osx_dynamic.dylib
 lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan_osx_dynamic.dylib

Index: pkgsrc/lang/compiler-rt/PLIST.NetBSD
diff -u pkgsrc/lang/compiler-rt/PLIST.NetBSD:1.1 pkgsrc/lang/compiler-rt/PLIST.NetBSD:1.2
--- pkgsrc/lang/compiler-rt/PLIST.NetBSD:1.1    Sun Dec  9 20:04:40 2018
+++ pkgsrc/lang/compiler-rt/PLIST.NetBSD        Sun Jun  2 08:35:56 2019
@@ -1,36 +1,36 @@
-@comment $NetBSD: PLIST.NetBSD,v 1.1 2018/12/09 20:04:40 adam Exp $
-lib/clang/${PKGVERSION}/lib/libclang_rt.asan-preinit-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.asan-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.asan-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.asan-${MACHINE_ARCH}.so
-lib/clang/${PKGVERSION}/lib/libclang_rt.asan_cxx-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.asan_cxx-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.builtins-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.dd-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.dyndd-${MACHINE_ARCH}.so
-lib/clang/${PKGVERSION}/lib/libclang_rt.fuzzer-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.fuzzer_no_main-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.lsan-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.msan-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.msan-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.msan_cxx-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.msan_cxx-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.safestack-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.stats-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.stats_client-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.tsan-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.tsan-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.tsan_cxx-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.tsan_cxx-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_minimal-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_minimal-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_minimal-${MACHINE_ARCH}.so
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_standalone-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_standalone-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_standalone-${MACHINE_ARCH}.so
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_standalone_cxx-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.ubsan_standalone_cxx-${MACHINE_ARCH}.a.syms
-lib/clang/${PKGVERSION}/lib/libclang_rt.xray-basic-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.xray-fdr-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.xray-profiling-${MACHINE_ARCH}.a
-lib/clang/${PKGVERSION}/lib/libclang_rt.xray-${MACHINE_ARCH}.a
+@comment $NetBSD: PLIST.NetBSD,v 1.2 2019/06/02 08:35:56 adam Exp $
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.asan-preinit-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.asan-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.asan-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.asan-${MACHINE_ARCH}.so
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.asan_cxx-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.asan_cxx-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.builtins-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.dd-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.dyndd-${MACHINE_ARCH}.so
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.fuzzer-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.fuzzer_no_main-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.lsan-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.msan-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.msan-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.msan_cxx-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.msan_cxx-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.safestack-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.stats-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.stats_client-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.tsan-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.tsan-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.tsan_cxx-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.tsan_cxx-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_minimal-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_minimal-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_minimal-${MACHINE_ARCH}.so
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_standalone-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_standalone-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_standalone-${MACHINE_ARCH}.so
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_standalone_cxx-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.ubsan_standalone_cxx-${MACHINE_ARCH}.a.syms
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.xray-basic-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.xray-fdr-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.xray-profiling-${MACHINE_ARCH}.a
+lib/clang/${PKGVERSION}/lib/netbsd/libclang_rt.xray-${MACHINE_ARCH}.a
Index: pkgsrc/lang/compiler-rt/buildlink3.mk
diff -u pkgsrc/lang/compiler-rt/buildlink3.mk:1.1 pkgsrc/lang/compiler-rt/buildlink3.mk:1.2
--- pkgsrc/lang/compiler-rt/buildlink3.mk:1.1   Thu Aug  9 13:40:34 2018
+++ pkgsrc/lang/compiler-rt/buildlink3.mk       Sun Jun  2 08:35:56 2019
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2018/08/09 13:40:34 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2019/06/02 08:35:56 adam Exp $
 
 BUILDLINK_TREE+=       compiler-rt
 
 .if !defined(COMPILER_RT_BUILDLINK3_MK)
 COMPILER_RT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.compiler-rt+=    compiler-rt>=6.0.1
+BUILDLINK_API_DEPENDS.compiler-rt+=    compiler-rt>=8.0.0
 BUILDLINK_PKGSRCDIR.compiler-rt?=      ../../lang/compiler-rt
 
 .include "../../lang/llvm/buildlink3.mk"

Index: pkgsrc/lang/compiler-rt/distinfo
diff -u pkgsrc/lang/compiler-rt/distinfo:1.3 pkgsrc/lang/compiler-rt/distinfo:1.4
--- pkgsrc/lang/compiler-rt/distinfo:1.3        Sun Dec 23 00:11:39 2018
+++ pkgsrc/lang/compiler-rt/distinfo    Sun Jun  2 08:35:56 2019
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.3 2018/12/23 00:11:39 adam Exp $
+$NetBSD: distinfo,v 1.4 2019/06/02 08:35:56 adam Exp $
 
-SHA1 (compiler-rt-7.0.1.src.tar.xz) = 5ac063b474abe730b551477cdc02db789228f9c7
-RMD160 (compiler-rt-7.0.1.src.tar.xz) = ddc0a23cc2f05e44e0bf1b542688968a8126ee0d
-SHA512 (compiler-rt-7.0.1.src.tar.xz) = b94a2a1fb9a6d587cef59b04b951628747bb35bdbcb67de8825aad402a2ba875916a347eef7a9575ac27264e8372e2d67cd477fe2d750c0ed3ce7d67bbbc7dba
-Size (compiler-rt-7.0.1.src.tar.xz) = 1864520 bytes
-SHA1 (patch-cmake_config-ix.cmake) = 4d49d83015a2e88d79dfae54eedef400ef28702d
+SHA1 (compiler-rt-8.0.0.src.tar.xz) = 5af387779120bb2a9fad5d6fff1a3d6f4fa6c352
+RMD160 (compiler-rt-8.0.0.src.tar.xz) = f86ba4b009bef2c95727ced20ea44afef6650ae2
+SHA512 (compiler-rt-8.0.0.src.tar.xz) = fe9f69fe2269fa3d560ae97fdacd462f855fb0b7a5f647f5b8595206ff7febca6496725adc953de411a827c761e2b3ca11a2149f25707d6c62af0722b68ba913
+Size (compiler-rt-8.0.0.src.tar.xz) = 1903020 bytes
+SHA1 (patch-cmake_config-ix.cmake) = e950d8781f00638310b523b6933889a9d15611c5
 SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = 5acf50111dcbd8458c33453d32d597ea57be3880
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = 256e2613f222c69cd591c02071482e594af5d066
-SHA1 (patch-lib_tsan_CMakeLists.txt) = 6c05aa7b4adddc28364950b782a365ecebe1886a

Index: pkgsrc/lang/compiler-rt/patches/patch-cmake_config-ix.cmake
diff -u pkgsrc/lang/compiler-rt/patches/patch-cmake_config-ix.cmake:1.2 pkgsrc/lang/compiler-rt/patches/patch-cmake_config-ix.cmake:1.3
--- pkgsrc/lang/compiler-rt/patches/patch-cmake_config-ix.cmake:1.2     Sun Dec  9 20:04:40 2018
+++ pkgsrc/lang/compiler-rt/patches/patch-cmake_config-ix.cmake Sun Jun  2 08:35:56 2019
@@ -1,19 +1,19 @@
-$NetBSD: patch-cmake_config-ix.cmake,v 1.2 2018/12/09 20:04:40 adam Exp $
+$NetBSD: patch-cmake_config-ix.cmake,v 1.3 2019/06/02 08:35:56 adam Exp $
 
 Disable components that aren't ready for SunOS yet.
 
---- cmake/config-ix.cmake.orig 2018-07-25 03:01:35.000000000 +0000
+--- cmake/config-ix.cmake.orig 2019-01-25 22:55:41.000000000 +0000
 +++ cmake/config-ix.cmake
-@@ -500,7 +500,7 @@ set(COMPILER_RT_SANITIZERS_TO_BUILD all 
+@@ -529,7 +529,7 @@ set(COMPILER_RT_SANITIZERS_TO_BUILD all 
  list_replace(COMPILER_RT_SANITIZERS_TO_BUILD all "${ALL_SANITIZERS}")
  
  if (SANITIZER_COMMON_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND
 -    (OS_NAME MATCHES "Android|Darwin|Linux|FreeBSD|NetBSD|OpenBSD|Fuchsia|SunOS" OR
 +    (OS_NAME MATCHES "Android|Darwin|Linux|FreeBSD|NetBSD|OpenBSD|Fuchsia" OR
-     (OS_NAME MATCHES "Windows" AND (NOT MINGW AND NOT CYGWIN))))
+     (OS_NAME MATCHES "Windows" AND NOT CYGWIN AND
+         (NOT MINGW OR CMAKE_CXX_COMPILER_ID MATCHES "Clang"))))
    set(COMPILER_RT_HAS_SANITIZER_COMMON TRUE)
- else()
-@@ -520,7 +520,7 @@ else()
+@@ -550,7 +550,7 @@ else()
    set(COMPILER_RT_HAS_ASAN FALSE)
  endif()
  
@@ -22,16 +22,16 @@ Disable components that aren't ready for
    set(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME TRUE)
  else()
    set(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME FALSE)
-@@ -557,7 +557,7 @@ else()
+@@ -587,7 +587,7 @@ else()
  endif()
  
  if (PROFILE_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND
--    OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|Fuchsia|SunOS")
-+    OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|Fuchsia")
+-    OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|Fuchsia|SunOS|NetBSD")
++    OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|Fuchsia|NetBSD")
    set(COMPILER_RT_HAS_PROFILE TRUE)
  else()
    set(COMPILER_RT_HAS_PROFILE FALSE)
-@@ -571,7 +571,7 @@ else()
+@@ -601,7 +601,7 @@ else()
  endif()
  
  if (COMPILER_RT_HAS_SANITIZER_COMMON AND UBSAN_SUPPORTED_ARCH AND

Index: pkgsrc/lang/libunwind/Makefile
diff -u pkgsrc/lang/libunwind/Makefile:1.16 pkgsrc/lang/libunwind/Makefile:1.17
--- pkgsrc/lang/libunwind/Makefile:1.16 Sun Dec 23 00:11:39 2018
+++ pkgsrc/lang/libunwind/Makefile      Sun Jun  2 08:35:56 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2018/12/23 00:11:39 adam Exp $
+# $NetBSD: Makefile,v 1.17 2019/06/02 08:35:56 adam Exp $
 
-DISTNAME=      libunwind-7.0.1.src
+DISTNAME=      libunwind-8.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/

Index: pkgsrc/lang/libunwind/buildlink3.mk
diff -u pkgsrc/lang/libunwind/buildlink3.mk:1.5 pkgsrc/lang/libunwind/buildlink3.mk:1.6
--- pkgsrc/lang/libunwind/buildlink3.mk:1.5     Sun Dec  9 20:04:39 2018
+++ pkgsrc/lang/libunwind/buildlink3.mk Sun Jun  2 08:35:56 2019
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.5 2018/12/09 20:04:39 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2019/06/02 08:35:56 adam Exp $
 
 BUILDLINK_TREE+=       libunwind
 
 .if !defined(LIBUNWIND_BUILDLINK3_MK)
 LIBUNWIND_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libunwind+=      libunwind>=7.0.0
+BUILDLINK_API_DEPENDS.libunwind+=      libunwind>=8.0.0
 BUILDLINK_PKGSRCDIR.libunwind?=                ../../lang/libunwind
 
 .include "../../lang/llvm/buildlink3.mk"

Index: pkgsrc/lang/libunwind/distinfo
diff -u pkgsrc/lang/libunwind/distinfo:1.12 pkgsrc/lang/libunwind/distinfo:1.13
--- pkgsrc/lang/libunwind/distinfo:1.12 Sun Dec 23 00:11:39 2018
+++ pkgsrc/lang/libunwind/distinfo      Sun Jun  2 08:35:56 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2018/12/23 00:11:39 adam Exp $
+$NetBSD: distinfo,v 1.13 2019/06/02 08:35:56 adam Exp $
 
-SHA1 (libunwind-7.0.1.src.tar.xz) = 6f6e060026559f3d009cadddbd35a7c8839eda05
-RMD160 (libunwind-7.0.1.src.tar.xz) = 3e786a4838a7f1da9f52865c865b7a094277a64c
-SHA512 (libunwind-7.0.1.src.tar.xz) = e6203e77691c7039496da09e55d27a994a0e273ab0ef10df2f0b9345fead11d855413342a7ccc7b641c3f06053210a8822ba39e9f5b8624384bf1fa456deb969
-Size (libunwind-7.0.1.src.tar.xz) = 79784 bytes
+SHA1 (libunwind-8.0.0.src.tar.xz) = b34682d855c42ae77ada8e9b62af133386855412
+RMD160 (libunwind-8.0.0.src.tar.xz) = 071e95c05207e34b6569725d0d98de6a06cfba82
+SHA512 (libunwind-8.0.0.src.tar.xz) = 8c10e986b4123b6db9f010f053d9c67786fd739d0990146c481f7eaf69ae44fdbcb99dfad9b240b369c3f93be05dfeaf0bd977685360be94e2872ddb04019380
+Size (libunwind-8.0.0.src.tar.xz) = 86484 bytes

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.38 pkgsrc/lang/llvm/Makefile:1.39
--- pkgsrc/lang/llvm/Makefile:1.38      Thu Apr 25 07:33:02 2019
+++ pkgsrc/lang/llvm/Makefile   Sun Jun  2 08:35:55 2019
@@ -1,11 +1,13 @@
-# $NetBSD: Makefile,v 1.38 2019/04/25 07:33:02 maya Exp $
+# $NetBSD: Makefile,v 1.39 2019/06/02 08:35:55 adam Exp $
 #
 # when updating this, please also update:
 # devel/include-what-you-use
+# devel/lld
 # devel/lldb
 # devel/polly
 # lang/clang
 # lang/clang-static-analyzer
+# lang/clang-tools-extra
 # lang/compiler-rt
 # lang/libcxx
 # lang/libcxxabi
@@ -19,9 +21,8 @@
 # Always update all */buildlink3.mk to require the latest stable release
 # version in BUILDLINK_API_DEPENDS, as there is no backwards compatibility
 
-DISTNAME=      llvm-7.0.1.src
+DISTNAME=      llvm-8.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   2
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -44,6 +45,7 @@ CMAKE_ARGS+=  -DCMAKE_C_COMPILER=${CC:Q}
 CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
 CMAKE_ARGS+=   -DCMAKE_CXX_LINK_FLAGS=${LDFLAGS:Q}
 CMAKE_ARGS+=   -DLLVM_BUILD_LLVM_DYLIB=ON
+CMAKE_ARGS+=   -DLLVM_INCLUDE_BENCHMARKS=OFF
 CMAKE_ARGS+=   -DLLVM_INSTALL_UTILS=ON
 CMAKE_ARGS+=   -DLLVM_LINK_LLVM_DYLIB=ON
 

Index: pkgsrc/lang/llvm/PLIST
diff -u pkgsrc/lang/llvm/PLIST:1.10 pkgsrc/lang/llvm/PLIST:1.11
--- pkgsrc/lang/llvm/PLIST:1.10 Sun Jan 27 06:43:21 2019
+++ pkgsrc/lang/llvm/PLIST      Sun Jun  2 08:35:55 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2019/01/27 06:43:21 maya Exp $
+@comment $NetBSD: PLIST,v 1.11 2019/06/02 08:35:55 adam Exp $
 bin/FileCheck
 bin/bugpoint
 bin/count
@@ -18,11 +18,13 @@ bin/llvm-cov
 bin/llvm-cvtres
 bin/llvm-cxxdump
 bin/llvm-cxxfilt
+bin/llvm-cxxmap
 bin/llvm-diff
 bin/llvm-dis
 bin/llvm-dlltool
 bin/llvm-dwarfdump
 bin/llvm-dwp
+bin/llvm-elfabi
 bin/llvm-exegesis
 bin/llvm-extract
 bin/llvm-lib
@@ -70,6 +72,7 @@ include/llvm-c/DataTypes.h
 include/llvm-c/DebugInfo.h
 include/llvm-c/Disassembler.h
 include/llvm-c/DisassemblerTypes.h
+include/llvm-c/Error.h
 include/llvm-c/ErrorHandling.h
 include/llvm-c/ExecutionEngine.h
 include/llvm-c/IRReader.h
@@ -77,10 +80,13 @@ include/llvm-c/Initialization.h
 include/llvm-c/LinkTimeOptimizer.h
 include/llvm-c/Linker.h
 include/llvm-c/Object.h
+include/llvm-c/OptRemarks.h
 include/llvm-c/OrcBindings.h
 include/llvm-c/Support.h
 include/llvm-c/Target.h
 include/llvm-c/TargetMachine.h
+include/llvm-c/Transforms/AggressiveInstCombine.h
+include/llvm-c/Transforms/Coroutines.h
 include/llvm-c/Transforms/IPO.h
 include/llvm-c/Transforms/InstCombine.h
 include/llvm-c/Transforms/PassManagerBuilder.h
@@ -155,6 +161,7 @@ include/llvm/ADT/Triple.h
 include/llvm/ADT/Twine.h
 include/llvm/ADT/UniqueVector.h
 include/llvm/ADT/VariadicFunction.h
+include/llvm/ADT/bit.h
 include/llvm/ADT/edit_distance.h
 include/llvm/ADT/ilist.h
 include/llvm/ADT/ilist_base.h
@@ -195,10 +202,13 @@ include/llvm/Analysis/DominanceFrontier.
 include/llvm/Analysis/DominanceFrontierImpl.h
 include/llvm/Analysis/EHPersonalities.h
 include/llvm/Analysis/GlobalsModRef.h
+include/llvm/Analysis/GuardUtils.h
+include/llvm/Analysis/IVDescriptors.h
 include/llvm/Analysis/IVUsers.h
 include/llvm/Analysis/IndirectCallPromotionAnalysis.h
-include/llvm/Analysis/IndirectCallSiteVisitor.h
+include/llvm/Analysis/IndirectCallVisitor.h
 include/llvm/Analysis/InlineCost.h
+include/llvm/Analysis/InstructionPrecedenceTracking.h
 include/llvm/Analysis/InstructionSimplify.h
 include/llvm/Analysis/Interval.h
 include/llvm/Analysis/IntervalIterator.h
@@ -208,6 +218,7 @@ include/llvm/Analysis/LazyBlockFrequency
 include/llvm/Analysis/LazyBranchProbabilityInfo.h
 include/llvm/Analysis/LazyCallGraph.h
 include/llvm/Analysis/LazyValueInfo.h
+include/llvm/Analysis/LegacyDivergenceAnalysis.h
 include/llvm/Analysis/Lint.h
 include/llvm/Analysis/Loads.h
 include/llvm/Analysis/LoopAccessAnalysis.h
@@ -229,6 +240,7 @@ include/llvm/Analysis/ObjCARCAnalysisUti
 include/llvm/Analysis/ObjCARCInstKind.h
 include/llvm/Analysis/OptimizationRemarkEmitter.h
 include/llvm/Analysis/OrderedBasicBlock.h
+include/llvm/Analysis/OrderedInstructions.h
 include/llvm/Analysis/PHITransAddr.h
 include/llvm/Analysis/Passes.h
 include/llvm/Analysis/PhiValues.h
@@ -247,6 +259,8 @@ include/llvm/Analysis/ScalarEvolutionExp
 include/llvm/Analysis/ScalarEvolutionNormalization.h
 include/llvm/Analysis/ScopedNoAliasAA.h
 include/llvm/Analysis/SparsePropagation.h
+include/llvm/Analysis/StackSafetyAnalysis.h
+include/llvm/Analysis/SyncDependenceAnalysis.h
 include/llvm/Analysis/SyntheticCountsUtils.h
 include/llvm/Analysis/TargetFolder.h
 include/llvm/Analysis/TargetLibraryInfo.def
@@ -263,6 +277,7 @@ include/llvm/Analysis/ValueTracking.h
 include/llvm/Analysis/VectorUtils.h
 include/llvm/AsmParser/Parser.h
 include/llvm/AsmParser/SlotMapping.h
+include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
 include/llvm/BinaryFormat/COFF.h
 include/llvm/BinaryFormat/Dwarf.def
 include/llvm/BinaryFormat/Dwarf.h
@@ -276,6 +291,7 @@ include/llvm/BinaryFormat/ELFRelocs/AVR.
 include/llvm/BinaryFormat/ELFRelocs/BPF.def
 include/llvm/BinaryFormat/ELFRelocs/Hexagon.def
 include/llvm/BinaryFormat/ELFRelocs/Lanai.def
+include/llvm/BinaryFormat/ELFRelocs/MSP430.def
 include/llvm/BinaryFormat/ELFRelocs/Mips.def
 include/llvm/BinaryFormat/ELFRelocs/PowerPC.def
 include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
@@ -287,6 +303,11 @@ include/llvm/BinaryFormat/ELFRelocs/x86_
 include/llvm/BinaryFormat/MachO.def
 include/llvm/BinaryFormat/MachO.h
 include/llvm/BinaryFormat/Magic.h
+include/llvm/BinaryFormat/MsgPack.def
+include/llvm/BinaryFormat/MsgPack.h
+include/llvm/BinaryFormat/MsgPackReader.h
+include/llvm/BinaryFormat/MsgPackTypes.h
+include/llvm/BinaryFormat/MsgPackWriter.h
 include/llvm/BinaryFormat/Wasm.h
 include/llvm/BinaryFormat/WasmRelocs.def
 include/llvm/Bitcode/BitCodes.h
@@ -299,8 +320,10 @@ include/llvm/Bitcode/LLVMBitCodes.h
 include/llvm/CodeGen/AccelTable.h
 include/llvm/CodeGen/Analysis.h
 include/llvm/CodeGen/AsmPrinter.h
+include/llvm/CodeGen/AsmPrinterHandler.h
 include/llvm/CodeGen/AtomicExpandUtils.h
 include/llvm/CodeGen/BasicTTIImpl.h
+include/llvm/CodeGen/BuiltinGCs.h
 include/llvm/CodeGen/CalcSpillWeights.h
 include/llvm/CodeGen/CallingConvLower.h
 include/llvm/CodeGen/CommandFlags.inc
@@ -309,6 +332,8 @@ include/llvm/CodeGen/DAGCombine.h
 include/llvm/CodeGen/DFAPacketizer.h
 include/llvm/CodeGen/DIE.h
 include/llvm/CodeGen/DIEValue.def
+include/llvm/CodeGen/DbgEntityHistoryCalculator.h
+include/llvm/CodeGen/DebugHandlerBase.h
 include/llvm/CodeGen/DwarfStringPoolEntry.h
 include/llvm/CodeGen/EdgeBundles.h
 include/llvm/CodeGen/ExecutionDomainFix.h
@@ -319,12 +344,14 @@ include/llvm/CodeGen/FunctionLoweringInf
 include/llvm/CodeGen/GCMetadata.h
 include/llvm/CodeGen/GCMetadataPrinter.h
 include/llvm/CodeGen/GCStrategy.h
-include/llvm/CodeGen/GCs.h
+include/llvm/CodeGen/GlobalISel/CSEInfo.h
+include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h
 include/llvm/CodeGen/GlobalISel/CallLowering.h
 include/llvm/CodeGen/GlobalISel/Combiner.h
 include/llvm/CodeGen/GlobalISel/CombinerHelper.h
 include/llvm/CodeGen/GlobalISel/CombinerInfo.h
 include/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h
+include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
 include/llvm/CodeGen/GlobalISel/GISelWorkList.h
 include/llvm/CodeGen/GlobalISel/IRTranslator.h
 include/llvm/CodeGen/GlobalISel/InstructionSelect.h
@@ -387,6 +414,7 @@ include/llvm/CodeGen/MachineOperand.h
 include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
 include/llvm/CodeGen/MachineOutliner.h
 include/llvm/CodeGen/MachinePassRegistry.h
+include/llvm/CodeGen/MachinePipeliner.h
 include/llvm/CodeGen/MachinePostDominators.h
 include/llvm/CodeGen/MachineRegionInfo.h
 include/llvm/CodeGen/MachineRegisterInfo.h
@@ -492,6 +520,7 @@ include/llvm/DebugInfo/CodeView/SymbolDe
 include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h
 include/llvm/DebugInfo/CodeView/SymbolDumper.h
 include/llvm/DebugInfo/CodeView/SymbolRecord.h
+include/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h
 include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h
 include/llvm/DebugInfo/CodeView/SymbolSerializer.h
 include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
@@ -504,6 +533,7 @@ include/llvm/DebugInfo/CodeView/TypeHash
 include/llvm/DebugInfo/CodeView/TypeIndex.h
 include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h
 include/llvm/DebugInfo/CodeView/TypeRecord.h
+include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
 include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
 include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
 include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h
@@ -550,6 +580,7 @@ include/llvm/DebugInfo/MSF/MappedBlockSt
 include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
 include/llvm/DebugInfo/PDB/DIA/DIADataStream.h
 include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumFrameData.h
 include/llvm/DebugInfo/PDB/DIA/DIAEnumInjectedSources.h
 include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h
 include/llvm/DebugInfo/PDB/DIA/DIAEnumSectionContribs.h
@@ -557,6 +588,7 @@ include/llvm/DebugInfo/PDB/DIA/DIAEnumSo
 include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h
 include/llvm/DebugInfo/PDB/DIA/DIAEnumTables.h
 include/llvm/DebugInfo/PDB/DIA/DIAError.h
+include/llvm/DebugInfo/PDB/DIA/DIAFrameData.h
 include/llvm/DebugInfo/PDB/DIA/DIAInjectedSource.h
 include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h
 include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h
@@ -569,6 +601,7 @@ include/llvm/DebugInfo/PDB/DIA/DIAUtils.
 include/llvm/DebugInfo/PDB/GenericError.h
 include/llvm/DebugInfo/PDB/IPDBDataStream.h
 include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
+include/llvm/DebugInfo/PDB/IPDBFrameData.h
 include/llvm/DebugInfo/PDB/IPDBInjectedSource.h
 include/llvm/DebugInfo/PDB/IPDBLineNumber.h
 include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
@@ -592,14 +625,22 @@ include/llvm/DebugInfo/PDB/Native/InfoSt
 include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h
 include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h
 include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h
-include/llvm/DebugInfo/PDB/Native/NativeBuiltinSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h
-include/llvm/DebugInfo/PDB/Native/NativeEnumSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
 include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeSession.h
+include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h
+include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h
 include/llvm/DebugInfo/PDB/Native/PDBFile.h
 include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
 include/llvm/DebugInfo/PDB/Native/PDBStringTable.h
@@ -608,6 +649,7 @@ include/llvm/DebugInfo/PDB/Native/Public
 include/llvm/DebugInfo/PDB/Native/RawConstants.h
 include/llvm/DebugInfo/PDB/Native/RawError.h
 include/llvm/DebugInfo/PDB/Native/RawTypes.h
+include/llvm/DebugInfo/PDB/Native/SymbolCache.h
 include/llvm/DebugInfo/PDB/Native/SymbolStream.h
 include/llvm/DebugInfo/PDB/Native/TpiHashing.h
 include/llvm/DebugInfo/PDB/Native/TpiStream.h
@@ -653,7 +695,13 @@ include/llvm/DebugInfo/PDB/UDTLayout.h
 include/llvm/DebugInfo/Symbolize/DIPrinter.h
 include/llvm/DebugInfo/Symbolize/SymbolizableModule.h
 include/llvm/DebugInfo/Symbolize/Symbolize.h
+include/llvm/Demangle/Compiler.h
 include/llvm/Demangle/Demangle.h
+include/llvm/Demangle/ItaniumDemangle.h
+include/llvm/Demangle/MicrosoftDemangle.h
+include/llvm/Demangle/MicrosoftDemangleNodes.h
+include/llvm/Demangle/StringView.h
+include/llvm/Demangle/Utility.h
 include/llvm/ExecutionEngine/ExecutionEngine.h
 include/llvm/ExecutionEngine/GenericValue.h
 include/llvm/ExecutionEngine/Interpreter.h
@@ -670,10 +718,12 @@ include/llvm/ExecutionEngine/Orc/GlobalM
 include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
 include/llvm/ExecutionEngine/Orc/IRTransformLayer.h
 include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
+include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
 include/llvm/ExecutionEngine/Orc/LLJIT.h
 include/llvm/ExecutionEngine/Orc/LambdaResolver.h
 include/llvm/ExecutionEngine/Orc/Layer.h
 include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
+include/llvm/ExecutionEngine/Orc/LazyReexports.h
 include/llvm/ExecutionEngine/Orc/Legacy.h
 include/llvm/ExecutionEngine/Orc/NullResolver.h
 include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
@@ -688,6 +738,7 @@ include/llvm/ExecutionEngine/Orc/RTDyldO
 include/llvm/ExecutionEngine/Orc/RawByteChannel.h
 include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
 include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
+include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
 include/llvm/ExecutionEngine/OrcMCJITReplacement.h
 include/llvm/ExecutionEngine/RTDyldMemoryManager.h
 include/llvm/ExecutionEngine/RuntimeDyld.h
@@ -707,6 +758,7 @@ include/llvm/IR/Attributes.td
 include/llvm/IR/AutoUpgrade.h
 include/llvm/IR/BasicBlock.h
 include/llvm/IR/CFG.h
+include/llvm/IR/CFGDiff.h
 include/llvm/IR/CallSite.h
 include/llvm/IR/CallingConv.h
 include/llvm/IR/Comdat.h
@@ -758,6 +810,7 @@ include/llvm/IR/IntrinsicsHexagon.td
 include/llvm/IR/IntrinsicsMips.td
 include/llvm/IR/IntrinsicsNVVM.td
 include/llvm/IR/IntrinsicsPowerPC.td
+include/llvm/IR/IntrinsicsRISCV.td
 include/llvm/IR/IntrinsicsSystemZ.td
 include/llvm/IR/IntrinsicsWebAssembly.td
 include/llvm/IR/IntrinsicsX86.td
@@ -778,8 +831,10 @@ include/llvm/IR/NoFolder.h
 include/llvm/IR/OperandTraits.h
 include/llvm/IR/Operator.h
 include/llvm/IR/OptBisect.h
+include/llvm/IR/PassInstrumentation.h
 include/llvm/IR/PassManager.h
 include/llvm/IR/PassManagerInternal.h
+include/llvm/IR/PassTimingInfo.h
 include/llvm/IR/PatternMatch.h
 include/llvm/IR/PredIteratorCache.h
 include/llvm/IR/ProfileSummary.h
@@ -789,7 +844,6 @@ include/llvm/IR/Statepoint.h
 include/llvm/IR/SymbolTableListTraits.h
 include/llvm/IR/TrackingMDRef.h
 include/llvm/IR/Type.h
-include/llvm/IR/TypeBuilder.h
 include/llvm/IR/TypeFinder.h
 include/llvm/IR/Use.h
 include/llvm/IR/UseListOrder.h
@@ -806,6 +860,7 @@ include/llvm/LTO/Caching.h
 include/llvm/LTO/Config.h
 include/llvm/LTO/LTO.h
 include/llvm/LTO/LTOBackend.h
+include/llvm/LTO/SummaryBasedOptimizations.h
 include/llvm/LTO/legacy/LTOCodeGenerator.h
 include/llvm/LTO/legacy/LTOModule.h
 include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
@@ -891,6 +946,25 @@ include/llvm/MC/MachineLocation.h
 include/llvm/MC/SectionKind.h
 include/llvm/MC/StringTableBuilder.h
 include/llvm/MC/SubtargetFeature.h
+include/llvm/MCA/Context.h
+include/llvm/MCA/HWEventListener.h
+include/llvm/MCA/HardwareUnits/HardwareUnit.h
+include/llvm/MCA/HardwareUnits/LSUnit.h
+include/llvm/MCA/HardwareUnits/RegisterFile.h
+include/llvm/MCA/HardwareUnits/ResourceManager.h
+include/llvm/MCA/HardwareUnits/RetireControlUnit.h
+include/llvm/MCA/HardwareUnits/Scheduler.h
+include/llvm/MCA/InstrBuilder.h
+include/llvm/MCA/Instruction.h
+include/llvm/MCA/Pipeline.h
+include/llvm/MCA/SourceMgr.h
+include/llvm/MCA/Stages/DispatchStage.h
+include/llvm/MCA/Stages/EntryStage.h
+include/llvm/MCA/Stages/ExecuteStage.h
+include/llvm/MCA/Stages/InstructionTables.h
+include/llvm/MCA/Stages/RetireStage.h
+include/llvm/MCA/Stages/Stage.h
+include/llvm/MCA/Support.h
 include/llvm/Object/Archive.h
 include/llvm/Object/ArchiveWriter.h
 include/llvm/Object/Binary.h
@@ -941,6 +1015,7 @@ include/llvm/PassRegistry.h
 include/llvm/PassSupport.h
 include/llvm/Passes/PassBuilder.h
 include/llvm/Passes/PassPlugin.h
+include/llvm/Passes/StandardInstrumentations.h
 include/llvm/ProfileData/Coverage/CoverageMapping.h
 include/llvm/ProfileData/Coverage/CoverageMappingReader.h
 include/llvm/ProfileData/Coverage/CoverageMappingWriter.h
@@ -954,12 +1029,14 @@ include/llvm/ProfileData/SampleProf.h
 include/llvm/ProfileData/SampleProfReader.h
 include/llvm/ProfileData/SampleProfWriter.h
 include/llvm/Support/AArch64TargetParser.def
+include/llvm/Support/AArch64TargetParser.h
 include/llvm/Support/AMDGPUMetadata.h
 include/llvm/Support/AMDHSAKernelDescriptor.h
 include/llvm/Support/ARMAttributeParser.h
 include/llvm/Support/ARMBuildAttributes.h
 include/llvm/Support/ARMEHABI.h
 include/llvm/Support/ARMTargetParser.def
+include/llvm/Support/ARMTargetParser.h
 include/llvm/Support/ARMWinEH.h
 include/llvm/Support/AlignOf.h
 include/llvm/Support/Allocator.h
@@ -976,7 +1053,9 @@ include/llvm/Support/BinaryStreamRef.h
 include/llvm/Support/BinaryStreamWriter.h
 include/llvm/Support/BlockFrequency.h
 include/llvm/Support/BranchProbability.h
+include/llvm/Support/BuryPointer.h
 include/llvm/Support/CBindingWrapping.h
+include/llvm/Support/CFGUpdate.h
 include/llvm/Support/COM.h
 include/llvm/Support/CachePruning.h
 include/llvm/Support/Capacity.h
@@ -1004,6 +1083,7 @@ include/llvm/Support/Errno.h
 include/llvm/Support/Error.h
 include/llvm/Support/ErrorHandling.h
 include/llvm/Support/ErrorOr.h
+include/llvm/Support/FileCheck.h
 include/llvm/Support/FileOutputBuffer.h
 include/llvm/Support/FileSystem.h
 include/llvm/Support/FileUtilities.h
@@ -1020,6 +1100,7 @@ include/llvm/Support/GlobPattern.h
 include/llvm/Support/GraphWriter.h
 include/llvm/Support/Host.h
 include/llvm/Support/InitLLVM.h
+include/llvm/Support/ItaniumManglingCanonicalizer.h
 include/llvm/Support/JSON.h
 include/llvm/Support/JamCRC.h
 include/llvm/Support/KnownBits.h
@@ -1030,6 +1111,7 @@ include/llvm/Support/Locale.h
 include/llvm/Support/LockFileManager.h
 include/llvm/Support/LowLevelTypeImpl.h
 include/llvm/Support/MD5.h
+include/llvm/Support/MSVCErrorWorkarounds.h
 include/llvm/Support/MachineValueType.h
 include/llvm/Support/ManagedStatic.h
 include/llvm/Support/MathExtras.h
@@ -1070,6 +1152,7 @@ include/llvm/Support/SpecialCaseList.h
 include/llvm/Support/StringPool.h
 include/llvm/Support/StringSaver.h
 include/llvm/Support/SwapByteOrder.h
+include/llvm/Support/SymbolRemappingReader.h
 include/llvm/Support/SystemUtils.h
 include/llvm/Support/TarWriter.h
 include/llvm/Support/TargetOpcodes.def
@@ -1091,6 +1174,7 @@ include/llvm/Support/UniqueLock.h
 include/llvm/Support/VCSRevision.h
 include/llvm/Support/Valgrind.h
 include/llvm/Support/VersionTuple.h
+include/llvm/Support/VirtualFileSystem.h
 include/llvm/Support/Watchdog.h
 include/llvm/Support/Win64EH.h
 include/llvm/Support/WindowsError.h
@@ -1127,10 +1211,13 @@ include/llvm/Target/TargetItinerary.td
 include/llvm/Target/TargetLoweringObjectFile.h
 include/llvm/Target/TargetMachine.h
 include/llvm/Target/TargetOptions.h
+include/llvm/Target/TargetPfmCounters.td
 include/llvm/Target/TargetSchedule.td
 include/llvm/Target/TargetSelectionDAG.td
 include/llvm/Testing/Support/Error.h
 include/llvm/Testing/Support/SupportHelpers.h
+include/llvm/TextAPI/ELF/ELFStub.h
+include/llvm/TextAPI/ELF/TBEHandler.h
 include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
 include/llvm/ToolDrivers/llvm-lib/LibDriver.h
 include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
@@ -1149,6 +1236,7 @@ include/llvm/Transforms/IPO/FunctionImpo
 include/llvm/Transforms/IPO/GlobalDCE.h
 include/llvm/Transforms/IPO/GlobalOpt.h
 include/llvm/Transforms/IPO/GlobalSplit.h
+include/llvm/Transforms/IPO/HotColdSplitting.h
 include/llvm/Transforms/IPO/InferFunctionAttrs.h
 include/llvm/Transforms/IPO/Inliner.h
 include/llvm/Transforms/IPO/Internalize.h
@@ -1166,9 +1254,12 @@ include/llvm/Transforms/InstCombine/Inst
 include/llvm/Transforms/Instrumentation.h
 include/llvm/Transforms/Instrumentation/BoundsChecking.h
 include/llvm/Transforms/Instrumentation/CGProfile.h
+include/llvm/Transforms/Instrumentation/ControlHeightReduction.h
 include/llvm/Transforms/Instrumentation/GCOVProfiler.h
 include/llvm/Transforms/Instrumentation/InstrProfiling.h
+include/llvm/Transforms/Instrumentation/MemorySanitizer.h
 include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
+include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
 include/llvm/Transforms/ObjCARC.h
 include/llvm/Transforms/Scalar.h
 include/llvm/Transforms/Scalar/ADCE.h
@@ -1209,6 +1300,7 @@ include/llvm/Transforms/Scalar/LoopUnrol
 include/llvm/Transforms/Scalar/LowerAtomic.h
 include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
 include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h
+include/llvm/Transforms/Scalar/MakeGuardsExplicit.h
 include/llvm/Transforms/Scalar/MemCpyOptimizer.h
 include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
 include/llvm/Transforms/Scalar/NaryReassociate.h
@@ -1218,12 +1310,14 @@ include/llvm/Transforms/Scalar/Reassocia
 include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h
 include/llvm/Transforms/Scalar/SCCP.h
 include/llvm/Transforms/Scalar/SROA.h
+include/llvm/Transforms/Scalar/Scalarizer.h
 include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
 include/llvm/Transforms/Scalar/SimplifyCFG.h
 include/llvm/Transforms/Scalar/Sink.h
 include/llvm/Transforms/Scalar/SpeculateAroundPHIs.h
 include/llvm/Transforms/Scalar/SpeculativeExecution.h
 include/llvm/Transforms/Scalar/TailRecursionElimination.h
+include/llvm/Transforms/Scalar/WarnMissedTransforms.h
 include/llvm/Transforms/Utils.h
 include/llvm/Transforms/Utils/ASanStackFrameLayout.h
 include/llvm/Transforms/Utils/AddDiscriminators.h
@@ -1232,6 +1326,7 @@ include/llvm/Transforms/Utils/BreakCriti
 include/llvm/Transforms/Utils/BuildLibCalls.h
 include/llvm/Transforms/Utils/BypassSlowDivision.h
 include/llvm/Transforms/Utils/CallPromotionUtils.h
+include/llvm/Transforms/Utils/CanonicalizeAliases.h
 include/llvm/Transforms/Utils/Cloning.h
 include/llvm/Transforms/Utils/CodeExtractor.h
 include/llvm/Transforms/Utils/CtorUtils.h
@@ -1241,6 +1336,7 @@ include/llvm/Transforms/Utils/Evaluator.
 include/llvm/Transforms/Utils/FunctionComparator.h
 include/llvm/Transforms/Utils/FunctionImportUtils.h
 include/llvm/Transforms/Utils/GlobalStatus.h
+include/llvm/Transforms/Utils/GuardUtils.h
 include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h
 include/llvm/Transforms/Utils/IntegerDivision.h
 include/llvm/Transforms/Utils/LCSSA.h
@@ -1255,7 +1351,6 @@ include/llvm/Transforms/Utils/LowerMemIn
 include/llvm/Transforms/Utils/Mem2Reg.h
 include/llvm/Transforms/Utils/ModuleUtils.h
 include/llvm/Transforms/Utils/NameAnonGlobals.h
-include/llvm/Transforms/Utils/OrderedInstructions.h
 include/llvm/Transforms/Utils/PredicateInfo.h
 include/llvm/Transforms/Utils/PromoteMemToReg.h
 include/llvm/Transforms/Utils/SSAUpdater.h
@@ -1271,6 +1366,7 @@ include/llvm/Transforms/Utils/UnrollLoop
 include/llvm/Transforms/Utils/VNCoercion.h
 include/llvm/Transforms/Utils/ValueMapper.h
 include/llvm/Transforms/Vectorize.h
+include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h
 include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
 include/llvm/Transforms/Vectorize/LoopVectorize.h
 include/llvm/Transforms/Vectorize/SLPVectorizer.h
@@ -1278,14 +1374,23 @@ include/llvm/WindowsManifest/WindowsMani
 include/llvm/WindowsResource/ResourceProcessor.h
 include/llvm/WindowsResource/ResourceScriptToken.h
 include/llvm/WindowsResource/ResourceScriptTokenList.h
+include/llvm/XRay/BlockIndexer.h
+include/llvm/XRay/BlockPrinter.h
+include/llvm/XRay/BlockVerifier.h
+include/llvm/XRay/FDRLogBuilder.h
+include/llvm/XRay/FDRRecordConsumer.h
+include/llvm/XRay/FDRRecordProducer.h
+include/llvm/XRay/FDRRecords.h
+include/llvm/XRay/FDRTraceExpander.h
+include/llvm/XRay/FDRTraceWriter.h
+include/llvm/XRay/FileHeaderReader.h
 include/llvm/XRay/Graph.h
 include/llvm/XRay/InstrumentationMap.h
+include/llvm/XRay/Profile.h
+include/llvm/XRay/RecordPrinter.h
 include/llvm/XRay/Trace.h
 include/llvm/XRay/XRayRecord.h
 include/llvm/XRay/YAMLXRayRecord.h
-lib/BugpointPasses.${SOEXT}
-lib/LLVMHello.${SOEXT}
-lib/TestPlugin.${SOEXT}
 lib/cmake/llvm/AddLLVM.cmake
 lib/cmake/llvm/AddLLVMDefinitions.cmake
 lib/cmake/llvm/AddOCaml.cmake
@@ -1314,7 +1419,7 @@ lib/cmake/llvm/LLVMProcessSources.cmake
 lib/cmake/llvm/TableGen.cmake
 lib/cmake/llvm/VersionFromVCS.cmake
 lib/libLLVM-${PKGVERSION}.${SOEXT}
-lib/libLLVM-7.${SOEXT}
+lib/libLLVM-8.${SOEXT}
 lib/libLLVM.${SOEXT}
 ${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a
 ${PLIST.AArch64}lib/libLLVMAArch64AsmPrinter.a
@@ -1373,23 +1478,26 @@ lib/libLLVMInstCombine.a
 lib/libLLVMInstrumentation.a
 lib/libLLVMInterpreter.a
 lib/libLLVMLTO.a
+${PLIST.Lanai}lib/libLLVMLanaiAsmParser.a
+${PLIST.Lanai}lib/libLLVMLanaiAsmPrinter.a
+${PLIST.Lanai}lib/libLLVMLanaiCodeGen.a
+${PLIST.Lanai}lib/libLLVMLanaiDesc.a
+${PLIST.Lanai}lib/libLLVMLanaiDisassembler.a
+${PLIST.Lanai}lib/libLLVMLanaiInfo.a
 lib/libLLVMLibDriver.a
 lib/libLLVMLineEditor.a
 lib/libLLVMLinker.a
 lib/libLLVMMC.a
+lib/libLLVMMCA.a
 lib/libLLVMMCDisassembler.a
 lib/libLLVMMCJIT.a
 lib/libLLVMMCParser.a
 lib/libLLVMMIRParser.a
-${PLIST.Lanai}lib/libLLVMLanaiAsmParser.a
-${PLIST.Lanai}lib/libLLVMLanaiAsmPrinter.a
-${PLIST.Lanai}lib/libLLVMLanaiCodeGen.a
-${PLIST.Lanai}lib/libLLVMLanaiDesc.a
-${PLIST.Lanai}lib/libLLVMLanaiDisassembler.a
-${PLIST.Lanai}lib/libLLVMLanaiInfo.a
+${PLIST.MSP430}lib/libLLVMMSP430AsmParser.a
 ${PLIST.MSP430}lib/libLLVMMSP430AsmPrinter.a
 ${PLIST.MSP430}lib/libLLVMMSP430CodeGen.a
 ${PLIST.MSP430}lib/libLLVMMSP430Desc.a
+${PLIST.MSP430}lib/libLLVMMSP430Disassembler.a
 ${PLIST.MSP430}lib/libLLVMMSP430Info.a
 ${PLIST.Mips}lib/libLLVMMipsAsmParser.a
 ${PLIST.Mips}lib/libLLVMMipsAsmPrinter.a
@@ -1404,6 +1512,7 @@ ${PLIST.NVPTX}lib/libLLVMNVPTXInfo.a
 lib/libLLVMObjCARCOpts.a
 lib/libLLVMObject.a
 lib/libLLVMObjectYAML.a
+lib/libLLVMOptRemarks.a
 lib/libLLVMOption.a
 lib/libLLVMOrcJIT.a
 lib/libLLVMPasses.a
@@ -1433,6 +1542,7 @@ ${PLIST.SystemZ}lib/libLLVMSystemZDisass
 ${PLIST.SystemZ}lib/libLLVMSystemZInfo.a
 lib/libLLVMTableGen.a
 lib/libLLVMTarget.a
+lib/libLLVMTextAPI.a
 lib/libLLVMTransformUtils.a
 lib/libLLVMVectorize.a
 lib/libLLVMWindowsManifest.a
@@ -1451,7 +1561,9 @@ ${PLIST.XCore}lib/libLLVMXCoreInfo.a
 lib/libLLVMXRay.a
 lib/libLLVMipo.a
 lib/libLTO.${SOEXT}
-${PLIST.notdylib}lib/libLTO.${SOEXT}.7
+${PLIST.notdylib}lib/libLTO.${SOEXT}.8
+lib/libOptRemarks.so
+${PLIST.notdylib}lib/libOptRemarks.${SOEXT}.8
 share/opt-viewer/opt-diff.py
 share/opt-viewer/opt-stats.py
 share/opt-viewer/opt-viewer.py

Index: pkgsrc/lang/llvm/buildlink3.mk
diff -u pkgsrc/lang/llvm/buildlink3.mk:1.7 pkgsrc/lang/llvm/buildlink3.mk:1.8
--- pkgsrc/lang/llvm/buildlink3.mk:1.7  Sun Dec  9 20:04:38 2018
+++ pkgsrc/lang/llvm/buildlink3.mk      Sun Jun  2 08:35:55 2019
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.7 2018/12/09 20:04:38 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2019/06/02 08:35:55 adam Exp $
 
 BUILDLINK_TREE+=       llvm
 
 .if !defined(LLVM_BUILDLINK3_MK)
 LLVM_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.llvm+=   llvm>=7.0.0
+BUILDLINK_API_DEPENDS.llvm+=   llvm>=8.0.0
 BUILDLINK_PKGSRCDIR.llvm?=     ../../lang/llvm
 
 LLVM_CONFIG_PATH?=             ${BUILDLINK_PREFIX.llvm}/bin/llvm-config

Index: pkgsrc/lang/llvm/distinfo
diff -u pkgsrc/lang/llvm/distinfo:1.19 pkgsrc/lang/llvm/distinfo:1.20
--- pkgsrc/lang/llvm/distinfo:1.19      Sun Dec 23 00:11:39 2018
+++ pkgsrc/lang/llvm/distinfo   Sun Jun  2 08:35:55 2019
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.19 2018/12/23 00:11:39 adam Exp $
+$NetBSD: distinfo,v 1.20 2019/06/02 08:35:55 adam Exp $
 
-SHA1 (llvm-7.0.1.src.tar.xz) = f97632fcc3186eb0d396492ef8acfc807648580f
-RMD160 (llvm-7.0.1.src.tar.xz) = dae96c6f85afb60e73564dc40d02171d01ffdb8f
-SHA512 (llvm-7.0.1.src.tar.xz) = ac43a3cb71a53deb55e3693653847cf20bf6f5d9056f224e6956c96d63bc59ebee9404f088eec9cabe65337b4607a905ef931354b373cf64e0004c6905a6b5df
-Size (llvm-7.0.1.src.tar.xz) = 28311056 bytes
+SHA1 (llvm-8.0.0.src.tar.xz) = 0689345d73911e24a07b24cc82dab4fb46b8c323
+RMD160 (llvm-8.0.0.src.tar.xz) = a0740d83ae981506ddb7cfd389cafc52b7f317b2
+SHA512 (llvm-8.0.0.src.tar.xz) = 1602343b451b964f5d8c2d6b0654d89384c80d45883498c5f0e2f4196168dd4a1ed2a4dadb752076020243df42ffe46cb31d82ffc145d8e5874163cbb9686a1f
+Size (llvm-8.0.0.src.tar.xz) = 30503732 bytes
 SHA1 (patch-CMakeLists.txt) = 78e2dab2bf73f7e466ca2788fe6444e39b4ebd80
-SHA1 (patch-cmake_config-ix.cmake) = a345420169e4066e22d28ca6ad10840e83ccfa76
+SHA1 (patch-cmake_config-ix.cmake) = 61967c51d724a76867e1c59f721d1ac0e4815023
 SHA1 (patch-cmake_modules_AddLLVM.cmake) = 31d4f47f03bef021a24d53147c1b66abd64e1d87
 SHA1 (patch-cmake_modules_CheckAtomic.cmake) = 51e4fdf3bc24b50fc4d4bfa1ec5ba6c82ef946b4
-SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b
+SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = e6cb9bed8bc3e3793824b65291fd18827b4ffa63
 SHA1 (patch-include_llvm-c_DataTypes.h) = 025c035e0e10871727391bd58936bd67b3e58244
 SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
-SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 45278d8acc6daa3d36a1a7b15e2e3b9a75a218e6
+SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 6c74713de3f953cbe323b3a83ca8e8d66f76f6e8

Index: pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake
diff -u pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake:1.3 pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake:1.4
--- pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake:1.3    Tue Aug  7 10:44:50 2018
+++ pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake        Sun Jun  2 08:35:55 2019
@@ -1,14 +1,14 @@
-$NetBSD: patch-cmake_config-ix.cmake,v 1.3 2018/08/07 10:44:50 adam Exp $
+$NetBSD: patch-cmake_config-ix.cmake,v 1.4 2019/06/02 08:35:55 adam Exp $
 
 Do not generate invalid llvm-config in pkgsrc.
 
---- cmake/config-ix.cmake.orig 2018-01-02 17:53:08.000000000 +0000
+--- cmake/config-ix.cmake.orig 2018-11-26 00:03:39.000000000 +0000
 +++ cmake/config-ix.cmake
-@@ -153,7 +153,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
+@@ -129,7 +129,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
      endif()
      if(LLVM_ENABLE_TERMINFO)
        set(HAVE_TERMINFO 0)
--      foreach(library tinfo terminfo curses ncurses ncursesw)
+-      foreach(library terminfo tinfo curses ncurses ncursesw)
 +      foreach(library terminfo curses ncurses ncursesw tinfo)
          string(TOUPPER ${library} library_suffix)
          check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})

Index: pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake
diff -u pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake:1.1 pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake:1.2
--- pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake:1.1    Sun Mar 19 19:01:48 2017
+++ pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake        Sun Jun  2 08:35:55 2019
@@ -1,14 +1,14 @@
-$NetBSD: patch-cmake_modules_HandleLLVMOptions.cmake,v 1.1 2017/03/19 19:01:48 adam Exp $
+$NetBSD: patch-cmake_modules_HandleLLVMOptions.cmake,v 1.2 2019/06/02 08:35:55 adam Exp $
 
 DragonflyBSD support
 
---- cmake/modules/HandleLLVMOptions.cmake.orig 2016-01-06 19:05:19.000000000 +0000
+--- cmake/modules/HandleLLVMOptions.cmake.orig 2018-12-19 18:01:42.000000000 +0000
 +++ cmake/modules/HandleLLVMOptions.cmake
-@@ -132,6 +132,7 @@ endif()
+@@ -137,6 +137,7 @@ endif()
  # Pass -Wl,-z,defs. This makes sure all symbols are defined. Otherwise a DSO
  # build might work on ELF but fail on MachO/COFF.
  if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR WIN32 OR CYGWIN OR
 +        ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly" OR
          ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
-         ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND
-    NOT LLVM_USE_SANITIZER)
+       ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" OR
+       ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly") AND

Index: pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt
diff -u pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.4 pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.5
--- pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.4  Sun Dec  9 20:04:38 2018
+++ pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt      Sun Jun  2 08:35:55 2019
@@ -1,33 +1,34 @@
-$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.4 2018/12/09 20:04:38 adam Exp $
+$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.5 2019/06/02 08:35:55 adam Exp $
 
 Use the Linux style linking everywhere except Darwin and SunOS.
 
---- tools/llvm-shlib/CMakeLists.txt.orig       2018-08-03 10:15:36.000000000 +0000
+--- tools/llvm-shlib/CMakeLists.txt.orig       2018-10-18 20:07:44.000000000 +0000
 +++ tools/llvm-shlib/CMakeLists.txt
-@@ -37,12 +37,11 @@ endif()
- add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
+@@ -42,13 +42,11 @@ if(LLVM_BUILD_LLVM_DYLIB)
+   add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
  
- list(REMOVE_DUPLICATES LIB_NAMES)
--if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU)
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")) # FIXME: It should be "GNU ld for elf"
-+if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
-+  set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
-+elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
-+  set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract)
-+else()
-   configure_file(
-   ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
-   ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
-@@ -53,8 +52,6 @@ if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Lin
-     # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
-     set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
+   list(REMOVE_DUPLICATES LIB_NAMES)
+-  if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU)
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "GNU")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")) # FIXME: It should be "GNU ld for elf"
++  if("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
++    set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract)
++  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
++    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
++  else()
+     configure_file(
+     ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
+     ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
+@@ -59,8 +57,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
+       # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
+       set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
+     endif()
+-  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
+-    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
    endif()
--elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
--  set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
- endif()
  
- target_link_libraries(LLVM PRIVATE ${LIB_NAMES})
+   target_link_libraries(LLVM PRIVATE ${LIB_NAMES})



Home | Main Index | Thread Index | Old Index