pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc LLVM 4.0.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/e280671253cb
branches: trunk
changeset: 359791:e280671253cb
user: adam <adam%pkgsrc.org@localhost>
date: Fri Mar 17 22:38:17 2017 +0000
description:
LLVM 4.0.0:
The minimum compiler version required for building LLVM has been raised to 4.8 for GCC and 2015 for Visual Studio.
The C API functions LLVMAddFunctionAttr, LLVMGetFunctionAttr, LLVMRemoveFunctionAttr, LLVMAddAttribute, LLVMRemoveAttribute, LLVMGetAttribute, LLVMAddInstrAttribute and LLVMRemoveInstrAttribute have
been removed.
The C API enum LLVMAttribute has been deleted.
The definition and uses of LLVM_ATRIBUTE_UNUSED_RESULT in the LLVM source were replaced with LLVM_NODISCARD, which matches the C++17 [[nodiscard]] semantics rather than gcc?s
__attribute__((warn_unused_result)).
The Timer related APIs now expect a Name and Description. When upgrading code the previously used names should become descriptions and a short name in the style of a programming language identifier
should be added.
LLVM now handles invariant.group across different basic blocks, which makes it possible to devirtualize virtual calls inside loops.
The aggressive dead code elimination phase (?adce?) now removes branches which do not effect program behavior. Loops are retained by default since they may be infinite but these can also be removed
with LLVM option -adce-remove-loops when the loop body otherwise has no live operations.
The llvm-cov tool can now export coverage data as json. Its html output mode has also improved.
diffstat:
devel/lldb/Makefile | 20 +-
devel/lldb/PLIST | 26 +-
devel/lldb/PLIST.Darwin | 5 +-
devel/lldb/distinfo | 25 +-
devel/lldb/patches/patch-scripts_Python_finishSwigPythonLLDB.py | 12 +-
devel/lldb/patches/patch-source_Utility_CMakeLists.txt | 8 +-
devel/lldb/patches/patch-tools_lldb-mi_MICmnBase.cpp | 18 +-
devel/lldb/patches/patch-tools_lldb-mi_MICmnBase.h | 20 +-
devel/lldb/patches/patch-tools_lldb-mi_MIDriver.cpp | 20 +-
devel/lldb/patches/patch-tools_lldb-mi_MIUtilParse.h | 14 -
devel/lldb/patches/patch-tools_lldb-mi_MIUtilString.cpp | 18 +-
devel/lldb/patches/patch-tools_lldb-mi_MIUtilString.h | 20 +-
devel/polly/Makefile | 4 +-
devel/polly/PLIST | 6 +-
devel/polly/distinfo | 14 +-
devel/polly/patches/patch-CMakeLists.txt | 117 ++++---
devel/polly/patches/patch-lib_External_isl_configure | 10 +-
lang/clang/Makefile | 7 +-
lang/clang/Makefile.common | 4 +-
lang/clang/PLIST | 21 +-
lang/clang/distinfo | 10 +-
lang/libLLVM/Makefile | 4 +-
lang/libLLVM/PLIST | 152 +++++++--
lang/libLLVM/distinfo | 22 +-
lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake | 47 +-
lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt | 6 +-
lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake | 18 +-
lang/libLLVM/patches/patch-include_llvm_Support_Host.h | 12 +-
lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp | 16 +-
lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt | 6 +-
lang/libunwind/Makefile | 4 +-
lang/libunwind/PLIST | 3 +-
lang/libunwind/distinfo | 10 +-
lang/llvm/Makefile | 8 +-
lang/llvm/PLIST | 159 +++++++--
lang/llvm/distinfo | 14 +-
lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake | 7 +-
lang/llvm/patches/patch-include_llvm_Support_Host.h | 12 +-
38 files changed, 539 insertions(+), 360 deletions(-)
diffs (truncated from 2505 to 300 lines):
diff -r dfc1d6be738c -r e280671253cb devel/lldb/Makefile
--- a/devel/lldb/Makefile Fri Mar 17 22:12:31 2017 +0000
+++ b/devel/lldb/Makefile Fri Mar 17 22:38:17 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2017/01/05 11:54:32 adam Exp $
+# $NetBSD: Makefile,v 1.7 2017/03/17 22:38:17 adam Exp $
-DISTNAME= lldb-3.9.1.src
+DISTNAME= lldb-4.0.0.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
@@ -131,17 +131,17 @@
post-extract:
${RUN} mkdir -p ${WRKDIR}/build
-.include "../../mk/readline.buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
+.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"
-DEPENDS+= clang-${PKGVERSION_NOREV}{,nb*}:../../lang/clang
-.include "../../lang/clang/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../lang/python/extension.mk"
-.include "../../devel/swig/buildlink3.mk"
-.include "../../devel/libatomic_ops/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r dfc1d6be738c -r e280671253cb devel/lldb/PLIST
--- a/devel/lldb/PLIST Fri Mar 17 22:12:31 2017 +0000
+++ b/devel/lldb/PLIST Fri Mar 17 22:38:17 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/01/05 11:54:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/03/17 22:38:17 adam Exp $
bin/lldb
bin/${PKGNAME}
bin/lldb-argdumper
@@ -48,6 +48,7 @@
include/lldb/API/SBSourceManager.h
include/lldb/API/SBStream.h
include/lldb/API/SBStringList.h
+include/lldb/API/SBStructuredData.h
include/lldb/API/SBSymbol.h
include/lldb/API/SBSymbolContext.h
include/lldb/API/SBSymbolContextList.h
@@ -101,10 +102,7 @@
include/lldb/Core/ClangForward.h
include/lldb/Core/Communication.h
include/lldb/Core/Connection.h
-include/lldb/Core/ConnectionMachPort.h
-include/lldb/Core/ConnectionSharedMemory.h
include/lldb/Core/ConstString.h
-include/lldb/Core/CxaDemangle.h
include/lldb/Core/DataBuffer.h
include/lldb/Core/DataBufferHeap.h
include/lldb/Core/DataBufferMemoryMap.h
@@ -217,7 +215,6 @@
include/lldb/Expression/REPL.h
include/lldb/Expression/UserExpression.h
include/lldb/Expression/UtilityFunction.h
-include/lldb/Host/Condition.h
include/lldb/Host/Config.h
include/lldb/Host/ConnectionFileDescriptor.h
include/lldb/Host/Debug.h
@@ -244,10 +241,10 @@
include/lldb/Host/MainLoop.h
include/lldb/Host/MainLoopBase.h
include/lldb/Host/MonitoringProcessLauncher.h
-include/lldb/Host/Mutex.h
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
@@ -259,12 +256,9 @@
include/lldb/Host/ThisThread.h
include/lldb/Host/ThreadLauncher.h
include/lldb/Host/Time.h
-include/lldb/Host/TimeValue.h
include/lldb/Host/XML.h
-include/lldb/Host/android/Android.h
include/lldb/Host/android/Config.h
include/lldb/Host/android/HostInfoAndroid.h
-include/lldb/Host/android/ProcessLauncherAndroid.h
include/lldb/Host/common/GetOptInc.h
include/lldb/Host/common/NativeBreakpoint.h
include/lldb/Host/common/NativeBreakpointList.h
@@ -283,7 +277,7 @@
include/lldb/Host/linux/Config.h
include/lldb/Host/linux/HostInfoLinux.h
include/lldb/Host/linux/HostThreadLinux.h
-include/lldb/Host/linux/Personality.h
+include/lldb/Host/linux/ProcessLauncherLinux.h
include/lldb/Host/linux/Ptrace.h
include/lldb/Host/linux/Uio.h
include/lldb/Host/macosx/Config.h
@@ -311,9 +305,9 @@
include/lldb/Host/windows/HostThreadWindows.h
include/lldb/Host/windows/LockFileWindows.h
include/lldb/Host/windows/PipeWindows.h
+include/lldb/Host/windows/PosixApi.h
include/lldb/Host/windows/ProcessLauncherWindows.h
include/lldb/Host/windows/editlinewin.h
-include/lldb/Host/windows/win32.h
include/lldb/Host/windows/windows.h
include/lldb/Initialization/SystemInitializer.h
include/lldb/Initialization/SystemInitializerCommon.h
@@ -386,6 +380,7 @@
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
@@ -437,6 +432,7 @@
include/lldb/Target/StackFrameList.h
include/lldb/Target/StackID.h
include/lldb/Target/StopInfo.h
+include/lldb/Target/StructuredDataPlugin.h
include/lldb/Target/SystemRuntime.h
include/lldb/Target/Target.h
include/lldb/Target/TargetList.h
@@ -447,6 +443,7 @@
include/lldb/Target/ThreadPlanBase.h
include/lldb/Target/ThreadPlanCallFunction.h
include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
+include/lldb/Target/ThreadPlanCallOnFunctionExit.h
include/lldb/Target/ThreadPlanCallUserExpression.h
include/lldb/Target/ThreadPlanPython.h
include/lldb/Target/ThreadPlanRunToAddress.h
@@ -478,11 +475,13 @@
include/lldb/Utility/Range.h
include/lldb/Utility/RegisterNumber.h
include/lldb/Utility/SafeMachO.h
+include/lldb/Utility/SelectHelper.h
include/lldb/Utility/SharedCluster.h
include/lldb/Utility/SharingPtr.h
include/lldb/Utility/StringExtractor.h
include/lldb/Utility/StringLexer.h
include/lldb/Utility/TaskPool.h
+include/lldb/Utility/Timeout.h
include/lldb/Utility/Utils.h
include/lldb/Utility/regcclass.h
include/lldb/Utility/regcname.h
@@ -502,6 +501,7 @@
include/lldb/lldb-types.h
include/lldb/lldb-versioning.h
lib/liblldb.so
+${PLIST.posix}lib/liblldb.so.4
lib/liblldb.so.${PKGVERSION}
lib/liblldbBase.a
lib/liblldbBreakpoint.a
@@ -548,6 +548,7 @@
lib/liblldbPluginLanguageRuntimeGo.a
lib/liblldbPluginLanguageRuntimeJava.a
lib/liblldbPluginMemoryHistoryASan.a
+lib/liblldbPluginOCamlLanguage.a
lib/liblldbPluginOSGo.a
lib/liblldbPluginOSPython.a
lib/liblldbPluginObjCLanguage.a
@@ -571,10 +572,12 @@
lib/liblldbPluginProcessGDBRemote.a
lib/liblldbPluginProcessMachCore.a
${PLIST.posix}lib/liblldbPluginProcessPOSIX.a
+lib/liblldbPluginProcessMinidump.a
lib/liblldbPluginProcessUtility.a
lib/liblldbPluginRenderScriptRuntime.a
lib/liblldbPluginScriptInterpreterNone.a
lib/liblldbPluginScriptInterpreterPython.a
+lib/liblldbPluginStructuredDataDarwinLog.a
lib/liblldbPluginSymbolFileDWARF.a
lib/liblldbPluginSymbolFilePDB.a
lib/liblldbPluginSymbolFileSymtab.a
@@ -596,6 +599,7 @@
${PYSITELIB}/lldb/formatters/cpp/gnu_libstdcpp.py
${PYSITELIB}/lldb/formatters/cpp/libcxx.py
${PYSITELIB}/lldb/formatters/metrics.py
+${PYSITELIB}/lldb/formatters/synth.py
${PYSITELIB}/lldb/lldb-argdumper
${PYSITELIB}/lldb/runtime/__init__.py
${PYSITELIB}/lldb/utils/__init__.py
diff -r dfc1d6be738c -r e280671253cb devel/lldb/PLIST.Darwin
--- a/devel/lldb/PLIST.Darwin Fri Mar 17 22:12:31 2017 +0000
+++ b/devel/lldb/PLIST.Darwin Fri Mar 17 22:38:17 2017 +0000
@@ -1,10 +1,9 @@
-$NetBSD: PLIST.Darwin,v 1.1 2017/01/05 11:54:32 adam Exp $
+@comment $NetBSD: PLIST.Darwin,v 1.2 2017/03/17 22:38:17 adam Exp $
+bin/darwin-debug
bin/debugserver
-bin/lldb-launcher
lib/liblldbPluginDynamicLoaderDarwinKernel.a
lib/liblldbPluginProcessMacOSXKernel.a
lib/liblldbPluginSymbolVendorMacOSX.a
-${PYSITELIB}/lldb/darwin-debug
${PYSITELIB}/lldb/diagnose/__init__.py
${PYSITELIB}/lldb/diagnose/diagnose_nsstring.py
${PYSITELIB}/lldb/diagnose/diagnose_unwind.py
diff -r dfc1d6be738c -r e280671253cb devel/lldb/distinfo
--- a/devel/lldb/distinfo Fri Mar 17 22:12:31 2017 +0000
+++ b/devel/lldb/distinfo Fri Mar 17 22:38:17 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2017/01/05 11:54:32 adam Exp $
+$NetBSD: distinfo,v 1.5 2017/03/17 22:38:17 adam Exp $
-SHA1 (lldb-3.9.1.src.tar.xz) = f6da59c9ed570c4c7091c25f0abe59aba0e29de3
-RMD160 (lldb-3.9.1.src.tar.xz) = ccf20f4099bca5b02aea9173e863d1b2cfa6b72c
-SHA512 (lldb-3.9.1.src.tar.xz) = e2957a1da60284595b21c205b07fa3db5c474bfad1935ab8e1bc832f30af497e9eb709efeb703591ef62e7dd73a28d22fc21398097a232c8a729946d72eb5df7
-Size (lldb-3.9.1.src.tar.xz) = 13750816 bytes
+SHA1 (lldb-4.0.0.src.tar.xz) = da78ed1453a5e62ff058bebf0cd91c8f51ec5504
+RMD160 (lldb-4.0.0.src.tar.xz) = a4f8d036901ae17ca0959dc4cd1064bbbbaa05af
+SHA512 (lldb-4.0.0.src.tar.xz) = 931e8c6e74b66c4ac1c56c9d067309a319aa9a9f4c72d4ed9703be3decefeb8730084ad8c3581e4e31d61cdd4074518d2ed72bacce1e689e087b2f62ad4bb2e8
+Size (lldb-4.0.0.src.tar.xz) = 19122324 bytes
SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 8f7d06a4b3a1e996af9af4affd650291c4f01fe5
SHA1 (patch-include_lldb_Utility_regcclass.h) = 9ed649e8deb5924feaf82a6e675f5c596367b3d6
SHA1 (patch-include_lldb_Utility_regcname.h) = b67145f0437d3c09adc33a925d49267cd9ba4fd7
@@ -11,17 +11,16 @@
SHA1 (patch-include_lldb_Utility_regex2.h) = 822a47b1221368ec5442bfbdbc20fe4e370c1a6b
SHA1 (patch-include_lldb_Utility_regex__impl.h) = 4d99669a756bd662ae28abc8cefe6e1538ef84b6
SHA1 (patch-include_lldb_Utility_regutils.h) = ea36409f8cd05dcf9b81144cbc136abc5fc3a190
-SHA1 (patch-scripts_Python_finishSwigPythonLLDB.py) = fc0723771d886f0f174f25d91dac85376376af79
+SHA1 (patch-scripts_Python_finishSwigPythonLLDB.py) = 512819d31de6280ccb143ed2fe5a37ecf58265ea
SHA1 (patch-scripts_Python_modules_readline_readline.cpp) = 4a030226c47cf7d54ebc727e92e278c163e48bf5
-SHA1 (patch-source_Utility_CMakeLists.txt) = 5b10fe94d76135d8d5ba31862066841394dd45c1
+SHA1 (patch-source_Utility_CMakeLists.txt) = 8cfb4acae81e10fb69d5c520ea7b40c0a42ed64e
SHA1 (patch-source_Utility_regcomp.c) = bd315000773bab38b6fe6d119420afbcb5b83a59
SHA1 (patch-source_Utility_regerror.c) = 6bbf8dc3f12e64515d166a475452f3f08d849ad3
SHA1 (patch-source_Utility_regexec.c) = 6e523b4d00d74fb51d5971d415fd3d0a8323461b
SHA1 (patch-source_Utility_regfree.c) = a3033a951c2773b5fd1209ee2a60be2e042970ee
SHA1 (patch-source_Utility_regstrlcpy.c) = 284dc5d06d88e243fb91a1225008319b282d6fdc
-SHA1 (patch-tools_lldb-mi_MICmnBase.cpp) = c673fa0c89c509a3c6acad1d5b154396cacb9bb2
-SHA1 (patch-tools_lldb-mi_MICmnBase.h) = 07355c151ee67a71da95056b15d9efee7b033de3
-SHA1 (patch-tools_lldb-mi_MIDriver.cpp) = 14c529a92d37a4a83221013e49b6ed18ef404e3b
-SHA1 (patch-tools_lldb-mi_MIUtilParse.h) = cbd524e70c10cee25e44f1befe594a7198b008b9
-SHA1 (patch-tools_lldb-mi_MIUtilString.cpp) = fb6266ce614eec8a4836fd02a34d5a2ea94c7480
-SHA1 (patch-tools_lldb-mi_MIUtilString.h) = 34419e7f3bfccb6f669ae3075a5a27dd1064d202
+SHA1 (patch-tools_lldb-mi_MICmnBase.cpp) = 32284de30fd5e24ac2a8ca9f58004eab1ed21e60
+SHA1 (patch-tools_lldb-mi_MICmnBase.h) = 079e84091086d77dad3dbf7f232592b1ff80b8f6
+SHA1 (patch-tools_lldb-mi_MIDriver.cpp) = 8ce865888f1f9e3338a7af1fb65050d724e97773
+SHA1 (patch-tools_lldb-mi_MIUtilString.cpp) = 030554c65661c5d2b3a21637bab0746c23345dac
+SHA1 (patch-tools_lldb-mi_MIUtilString.h) = 44e6e22fa521de9bbb92833fdc9c80f1cd7e22bd
diff -r dfc1d6be738c -r e280671253cb devel/lldb/patches/patch-scripts_Python_finishSwigPythonLLDB.py
--- a/devel/lldb/patches/patch-scripts_Python_finishSwigPythonLLDB.py Fri Mar 17 22:12:31 2017 +0000
+++ b/devel/lldb/patches/patch-scripts_Python_finishSwigPythonLLDB.py Fri Mar 17 22:38:17 2017 +0000
@@ -1,17 +1,15 @@
-$NetBSD: patch-scripts_Python_finishSwigPythonLLDB.py,v 1.2 2016/07/27 09:17:42 wiz Exp $
+$NetBSD: patch-scripts_Python_finishSwigPythonLLDB.py,v 1.3 2017/03/17 22:38:17 adam Exp $
Don't conflict with lang/py-six.
---- scripts/Python/finishSwigPythonLLDB.py.orig 2016-05-19 21:02:17.000000000 +0000
+--- scripts/Python/finishSwigPythonLLDB.py.orig 2016-10-27 22:51:41.000000000 +0000
+++ scripts/Python/finishSwigPythonLLDB.py
-@@ -749,8 +749,8 @@ def main(vDictArgs):
- if bOk:
- bOk, strMsg = create_symlinks(vDictArgs, strFrameworkPythonDir, strLldbLibDir)
+@@ -821,8 +821,6 @@ def main(vDictArgs):
+ bOk, strMsg = create_symlinks(
+ vDictArgs, strFrameworkPythonDir, strLldbLibDir)
- if bOk:
- bOk, strMsg = copy_six(vDictArgs, strFrameworkPythonDir)
-+ # if bOk:
-+ # bOk, strMsg = copy_six(vDictArgs, strFrameworkPythonDir)
if bOk:
bOk, strMsg = copy_lldbpy_file_to_lldb_pkg_dir(vDictArgs,
diff -r dfc1d6be738c -r e280671253cb devel/lldb/patches/patch-source_Utility_CMakeLists.txt
--- a/devel/lldb/patches/patch-source_Utility_CMakeLists.txt Fri Mar 17 22:12:31 2017 +0000
+++ b/devel/lldb/patches/patch-source_Utility_CMakeLists.txt Fri Mar 17 22:38:17 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-source_Utility_CMakeLists.txt,v 1.1 2016/03/28 13:13:55 kamil Exp $
+$NetBSD: patch-source_Utility_CMakeLists.txt,v 1.2 2017/03/17 22:38:17 adam Exp $
---- source/Utility/CMakeLists.txt.orig 2015-12-06 02:57:30.000000000 +0000
+--- source/Utility/CMakeLists.txt.orig 2016-11-03 09:29:56.000000000 +0000
+++ source/Utility/CMakeLists.txt
-@@ -17,4 +17,9 @@ add_lldb_library(lldbUtility
+@@ -16,4 +16,9 @@ add_lldb_library(lldbUtility
+ StringLexer.cpp
TaskPool.cpp
- TimeSpecTimeout.cpp
UriParser.cpp
+ regcomp.c
+ regerror.c
diff -r dfc1d6be738c -r e280671253cb devel/lldb/patches/patch-tools_lldb-mi_MICmnBase.cpp
--- a/devel/lldb/patches/patch-tools_lldb-mi_MICmnBase.cpp Fri Mar 17 22:12:31 2017 +0000
+++ b/devel/lldb/patches/patch-tools_lldb-mi_MICmnBase.cpp Fri Mar 17 22:38:17 2017 +0000
Home |
Main Index |
Thread Index |
Old Index