pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc llvm: updated to 5.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee08e15ba0b1
branches:  trunk
changeset: 372289:ee08e15ba0b1
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Dec 01 19:22:12 2017 +0000

description:
llvm: updated to 5.0.0

5.0.0:
Non-comprehensive list of changes in this release
* LLVM?s WeakVH has been renamed to WeakTrackingVH and a new WeakVH has been introduced. The new WeakVH nulls itself out on deletion, but does not track values across RAUW.
* A new library named BinaryFormat has been created which holds a collection of code which previously lived in Support. This includes the file_magic structure and identify_magic functions, as well as 
all the structure and type definitions for DWARF, ELF, COFF, WASM, and MachO file formats.
* The tool llvm-pdbdump has been renamed llvm-pdbutil to better reflect its nature as a general purpose PDB manipulation / diagnostics tool that does more than just dumping contents.
* The BBVectorize pass has been removed. It was fully replaced and no longer used back in 2014 but we didn?t get around to removing it. Now it is gone. The SLP vectorizer is the suggested non-loop 
vectorization pass.
* A new tool opt-viewer.py has been added to visualize optimization remarks in HTML. The tool processes the YAML files produced by clang with the -fsave-optimization-record option.
* A new CMake macro LLVM_REVERSE_ITERATION has been added. If enabled, all supported unordered LLVM containers would be iterated in reverse order. This is useful for uncovering non-determinism caused 
by iteration of unordered containers. Currently, it supports reverse iteration of SmallPtrSet and DenseMap.
* A new tool llvm-dlltool has been added to create short import libraries from GNU style definition files. The tool utilizes the PE COFF SPEC Import Library Format and PE COFF Auxiliary Weak 
Externals Format to achieve compatibility with LLD and MSVC LINK.

diffstat:

 devel/lldb/Makefile                                                                        |    9 +-
 devel/lldb/PLIST                                                                           |  113 ++--
 devel/lldb/PLIST.Darwin                                                                    |    3 +-
 devel/lldb/distinfo                                                                        |   13 +-
 devel/lldb/patches/patch-scripts_Python_finishSwigPythonLLDB.py                            |   15 -
 devel/lldb/patches/patch-source_Host_netbsd_Host.cpp                                       |   12 -
 devel/lldb/patches/patch-source_Host_netbsd_HostThreadNetBSD.cpp                           |   12 -
 devel/polly/Makefile                                                                       |    7 +-
 devel/polly/PLIST                                                                          |   82 +++-
 devel/polly/distinfo                                                                       |   14 +-
 devel/polly/patches/patch-CMakeLists.txt                                                   |  223 +--------
 devel/polly/patches/patch-lib_External_isl_configure                                       |   12 +-
 lang/clang/Makefile.common                                                                 |    5 +-
 lang/clang/PLIST                                                                           |   35 +-
 lang/clang/distinfo                                                                        |   10 +-
 lang/libLLVM/Makefile                                                                      |    6 +-
 lang/libLLVM/PLIST                                                                         |  231 ++++++--
 lang/libLLVM/distinfo                                                                      |   18 +-
 lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake                                     |   21 +-
 lang/libLLVM/patches/patch-include_llvm_Support_Host.h                                     |   26 -
 lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc                                    |   16 -
 lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp                               |   16 +-
 lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt                                 |   22 +-
 lang/libunwind/Makefile                                                                    |    4 +-
 lang/libunwind/distinfo                                                                    |   10 +-
 lang/llvm/Makefile                                                                         |   14 +-
 lang/llvm/PLIST                                                                            |  246 ++++++---
 lang/llvm/distinfo                                                                         |   18 +-
 lang/llvm/patches/patch-cmake_config-ix.cmake                                              |    6 +-
 lang/llvm/patches/patch-include_llvm_Support_Host.h                                        |   26 -
 lang/llvm/patches/patch-lib_Support_Unix_Path.inc                                          |   26 -
 lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt                                    |   22 +-
 lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port-arch.h |   15 -
 lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port.h      |   15 -
 34 files changed, 615 insertions(+), 708 deletions(-)

diffs (truncated from 2906 to 300 lines):

diff -r abebdb3630d7 -r ee08e15ba0b1 devel/lldb/Makefile
--- a/devel/lldb/Makefile       Fri Dec 01 12:10:40 2017 +0000
+++ b/devel/lldb/Makefile       Fri Dec 01 19:22:12 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2017/07/16 16:10:05 adam Exp $
+# $NetBSD: Makefile,v 1.13 2017/12/01 19:22:12 adam Exp $
 
-DISTNAME=      lldb-4.0.1.src
+DISTNAME=      lldb-5.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
@@ -11,6 +11,8 @@
 COMMENT=       Next generation, high-performance debugger
 LICENSE=       modified-bsd
 
+DEPENDS+=      llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
+DEPENDS+=      clang-${PKGVERSION_NOREV}{,nb*}:../../lang/clang
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
 CONFIGURE_DIRS=                ${WRKDIR}/build
@@ -31,6 +33,7 @@
 CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${CC:Q}
 CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
 CMAKE_ARGS+=   -DHAVE_CXX_ATOMICS64_WITHOUT_LIB=ON
+CMAKE_ARGS+=   -DLLDB_CODESIGN_IDENTITY=""
 CMAKE_ARGS+=   -DLLDB_USE_SYSTEM_SIX:BOOL=TRUE
 
 CHECK_PORTABILITY_SKIP=        utils/buildit/build_llvm
@@ -81,9 +84,7 @@
 .include "../../devel/libatomic_ops/buildlink3.mk"
 .include "../../devel/swig/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-DEPENDS+=      clang-${PKGVERSION_NOREV}{,nb*}:../../lang/clang
 .include "../../lang/clang/buildlink3.mk"
-DEPENDS+=      llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
 .include "../../lang/llvm/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../lang/python/tool.mk"
diff -r abebdb3630d7 -r ee08e15ba0b1 devel/lldb/PLIST
--- a/devel/lldb/PLIST  Fri Dec 01 12:10:40 2017 +0000
+++ b/devel/lldb/PLIST  Fri Dec 01 19:22:12 2017 +0000
@@ -1,11 +1,8 @@
-@comment $NetBSD: PLIST,v 1.6 2017/05/09 12:49:56 kamil Exp $
+@comment $NetBSD: PLIST,v 1.7 2017/12/01 19:22:12 adam Exp $
 bin/lldb
-bin/${PKGNAME}
 bin/lldb-argdumper
 bin/lldb-mi
-bin/lldb-mi-${PKGVERSION}
 bin/lldb-server
-bin/lldb-server-${PKGVERSION}
 include/lldb/API/LLDB.h
 include/lldb/API/SBAddress.h
 include/lldb/API/SBAttachInfo.h
@@ -56,6 +53,8 @@
 include/lldb/API/SBThread.h
 include/lldb/API/SBThreadCollection.h
 include/lldb/API/SBThreadPlan.h
+include/lldb/API/SBTrace.h
+include/lldb/API/SBTraceOptions.h
 include/lldb/API/SBType.h
 include/lldb/API/SBTypeCategory.h
 include/lldb/API/SBTypeEnumMember.h
@@ -97,34 +96,21 @@
 include/lldb/Core/AddressResolverFileLine.h
 include/lldb/Core/AddressResolverName.h
 include/lldb/Core/ArchSpec.h
-include/lldb/Core/Baton.h
 include/lldb/Core/Broadcaster.h
 include/lldb/Core/ClangForward.h
 include/lldb/Core/Communication.h
-include/lldb/Core/Connection.h
-include/lldb/Core/ConstString.h
-include/lldb/Core/DataBuffer.h
-include/lldb/Core/DataBufferHeap.h
-include/lldb/Core/DataBufferMemoryMap.h
-include/lldb/Core/DataEncoder.h
-include/lldb/Core/DataExtractor.h
 include/lldb/Core/Debugger.h
 include/lldb/Core/Disassembler.h
+include/lldb/Core/DumpDataExtractor.h
 include/lldb/Core/EmulateInstruction.h
-include/lldb/Core/Error.h
 include/lldb/Core/Event.h
-include/lldb/Core/FastDemangle.h
 include/lldb/Core/FileLineResolver.h
 include/lldb/Core/FileSpecList.h
-include/lldb/Core/Flags.h
 include/lldb/Core/FormatEntity.h
-include/lldb/Core/History.h
 include/lldb/Core/IOHandler.h
 include/lldb/Core/IOStreamMacros.h
 include/lldb/Core/Listener.h
 include/lldb/Core/LoadedModuleInfoList.h
-include/lldb/Core/Log.h
-include/lldb/Core/Logging.h
 include/lldb/Core/Mangled.h
 include/lldb/Core/MappedHash.h
 include/lldb/Core/Module.h
@@ -136,34 +122,23 @@
 include/lldb/Core/PluginManager.h
 include/lldb/Core/RangeMap.h
 include/lldb/Core/RegisterValue.h
-include/lldb/Core/RegularExpression.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/Stream.h
 include/lldb/Core/StreamAsynchronousIO.h
 include/lldb/Core/StreamBuffer.h
-include/lldb/Core/StreamCallback.h
 include/lldb/Core/StreamFile.h
-include/lldb/Core/StreamGDBRemote.h
-include/lldb/Core/StreamString.h
-include/lldb/Core/StreamTee.h
-include/lldb/Core/StringList.h
-include/lldb/Core/StructuredData.h
+include/lldb/Core/StructuredDataImpl.h
 include/lldb/Core/ThreadSafeDenseMap.h
 include/lldb/Core/ThreadSafeDenseSet.h
 include/lldb/Core/ThreadSafeSTLMap.h
 include/lldb/Core/ThreadSafeSTLVector.h
 include/lldb/Core/ThreadSafeValue.h
-include/lldb/Core/Timer.h
-include/lldb/Core/UUID.h
 include/lldb/Core/UniqueCStringMap.h
-include/lldb/Core/UserID.h
 include/lldb/Core/UserSettingsController.h
-include/lldb/Core/VMRange.h
 include/lldb/Core/Value.h
 include/lldb/Core/ValueObject.h
 include/lldb/Core/ValueObjectCast.h
@@ -219,10 +194,8 @@
 include/lldb/Host/ConnectionFileDescriptor.h
 include/lldb/Host/Debug.h
 include/lldb/Host/Editline.h
-include/lldb/Host/Endian.h
 include/lldb/Host/File.h
 include/lldb/Host/FileCache.h
-include/lldb/Host/FileSpec.h
 include/lldb/Host/FileSystem.h
 include/lldb/Host/Host.h
 include/lldb/Host/HostGetOpt.h
@@ -235,7 +208,6 @@
 include/lldb/Host/HostNativeThreadForward.h
 include/lldb/Host/HostProcess.h
 include/lldb/Host/HostThread.h
-include/lldb/Host/IOObject.h
 include/lldb/Host/LockFile.h
 include/lldb/Host/LockFileBase.h
 include/lldb/Host/MainLoop.h
@@ -248,46 +220,36 @@
 include/lldb/Host/Predicate.h
 include/lldb/Host/ProcessLauncher.h
 include/lldb/Host/ProcessRunLock.h
+include/lldb/Host/PseudoTerminal.h
 include/lldb/Host/Socket.h
 include/lldb/Host/SocketAddress.h
 include/lldb/Host/StringConvert.h
 include/lldb/Host/Symbols.h
 include/lldb/Host/Terminal.h
-include/lldb/Host/ThisThread.h
 include/lldb/Host/ThreadLauncher.h
 include/lldb/Host/Time.h
 include/lldb/Host/XML.h
-include/lldb/Host/android/Config.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/NativeRegisterContextRegisterInfo.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/Config.h
 include/lldb/Host/freebsd/HostInfoFreeBSD.h
-include/lldb/Host/freebsd/HostThreadFreeBSD.h
 include/lldb/Host/linux/AbstractSocket.h
-include/lldb/Host/linux/Config.h
 include/lldb/Host/linux/HostInfoLinux.h
-include/lldb/Host/linux/HostThreadLinux.h
-include/lldb/Host/linux/ProcessLauncherLinux.h
 include/lldb/Host/linux/Ptrace.h
+include/lldb/Host/linux/Support.h
 include/lldb/Host/linux/Uio.h
-include/lldb/Host/macosx/Config.h
 include/lldb/Host/macosx/HostInfoMacOSX.h
 include/lldb/Host/macosx/HostThreadMacOSX.h
-include/lldb/Host/mingw/Config.h
-include/lldb/Host/msvc/Config.h
-include/lldb/Host/netbsd/Config.h
 include/lldb/Host/netbsd/HostInfoNetBSD.h
-include/lldb/Host/netbsd/HostThreadNetBSD.h
+include/lldb/Host/openbsd/HostInfoOpenBSD.h
 include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
 include/lldb/Host/posix/DomainSocket.h
 include/lldb/Host/posix/Fcntl.h
@@ -295,9 +257,8 @@
 include/lldb/Host/posix/HostProcessPosix.h
 include/lldb/Host/posix/HostThreadPosix.h
 include/lldb/Host/posix/LockFilePosix.h
-include/lldb/Host/posix/MainLoopPosix.h
 include/lldb/Host/posix/PipePosix.h
-include/lldb/Host/posix/ProcessLauncherPosix.h
+include/lldb/Host/posix/ProcessLauncherPosixFork.h
 include/lldb/Host/windows/AutoHandle.h
 include/lldb/Host/windows/ConnectionGenericFileWindows.h
 include/lldb/Host/windows/HostInfoWindows.h
@@ -414,6 +375,7 @@
 include/lldb/Target/Memory.h
 include/lldb/Target/MemoryHistory.h
 include/lldb/Target/MemoryRegionInfo.h
+include/lldb/Target/ModuleCache.h
 include/lldb/Target/ObjCLanguageRuntime.h
 include/lldb/Target/OperatingSystem.h
 include/lldb/Target/PathMappingList.h
@@ -421,11 +383,13 @@
 include/lldb/Target/Process.h
 include/lldb/Target/ProcessInfo.h
 include/lldb/Target/ProcessLaunchInfo.h
+include/lldb/Target/ProcessStructReader.h
 include/lldb/Target/Queue.h
 include/lldb/Target/QueueItem.h
 include/lldb/Target/QueueList.h
 include/lldb/Target/RegisterCheckpoint.h
 include/lldb/Target/RegisterContext.h
+include/lldb/Target/RegisterNumber.h
 include/lldb/Target/SectionLoadHistory.h
 include/lldb/Target/SectionLoadList.h
 include/lldb/Target/StackFrame.h
@@ -462,27 +426,54 @@
 include/lldb/Target/Unwind.h
 include/lldb/Target/UnwindAssembly.h
 include/lldb/Utility/AnsiTerminal.h
+include/lldb/Utility/Baton.h
 include/lldb/Utility/CleanUp.h
-include/lldb/Utility/ConvertEnum.h
+include/lldb/Utility/Connection.h
+include/lldb/Utility/ConstString.h
+include/lldb/Utility/DataBuffer.h
+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/FastDemangle.h
+include/lldb/Utility/FileSpec.h
+include/lldb/Utility/Flags.h
+include/lldb/Utility/History.h
+include/lldb/Utility/IOObject.h
 include/lldb/Utility/Iterable.h
 include/lldb/Utility/JSON.h
 include/lldb/Utility/LLDBAssert.h
+include/lldb/Utility/Log.h
+include/lldb/Utility/Logging.h
 include/lldb/Utility/NameMatches.h
-include/lldb/Utility/PriorityPointerPair.h
-include/lldb/Utility/ProcessStructReader.h
-include/lldb/Utility/PseudoTerminal.h
 include/lldb/Utility/Range.h
-include/lldb/Utility/RegisterNumber.h
+include/lldb/Utility/RegularExpression.h
 include/lldb/Utility/SafeMachO.h
 include/lldb/Utility/SelectHelper.h
 include/lldb/Utility/SharedCluster.h
 include/lldb/Utility/SharingPtr.h
+include/lldb/Utility/Status.h
+include/lldb/Utility/Stream.h
+include/lldb/Utility/StreamCallback.h
+include/lldb/Utility/StreamGDBRemote.h
+include/lldb/Utility/StreamString.h
+include/lldb/Utility/StreamTee.h
 include/lldb/Utility/StringExtractor.h
 include/lldb/Utility/StringLexer.h
+include/lldb/Utility/StringList.h
+include/lldb/Utility/StructuredData.h
 include/lldb/Utility/TaskPool.h
+include/lldb/Utility/TildeExpressionResolver.h
 include/lldb/Utility/Timeout.h
-include/lldb/Utility/Utils.h
+include/lldb/Utility/Timer.h
+include/lldb/Utility/TraceOptions.h
+include/lldb/Utility/UUID.h
+include/lldb/Utility/UriParser.h
+include/lldb/Utility/UserID.h
+include/lldb/Utility/VASPrintf.h
+include/lldb/Utility/VMRange.h
 include/lldb/lldb-defines.h
 include/lldb/lldb-enumerations.h
 include/lldb/lldb-forward.h
@@ -496,8 +487,8 @@



Home | Main Index | Thread Index | Old Index