diff options
author | adam <adam> | 2017-03-17 22:38:17 +0000 |
---|---|---|
committer | adam <adam> | 2017-03-17 22:38:17 +0000 |
commit | a1e61860a86d8928b43c4bc250f5b088f1b8c4e5 (patch) | |
tree | 3b2ed547f668606f7f14e3f812890ed21effcdcd /lang | |
parent | dbac22ab0c82240669f3b4d5ccd96951d8410ac5 (diff) | |
download | pkgsrc-a1e61860a86d8928b43c4bc250f5b088f1b8c4e5.tar.gz |
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 (limited to 'lang')
-rw-r--r-- | lang/clang/Makefile | 7 | ||||
-rw-r--r-- | lang/clang/Makefile.common | 4 | ||||
-rw-r--r-- | lang/clang/PLIST | 21 | ||||
-rw-r--r-- | lang/clang/distinfo | 10 | ||||
-rw-r--r-- | lang/libLLVM/Makefile | 4 | ||||
-rw-r--r-- | lang/libLLVM/PLIST | 152 | ||||
-rw-r--r-- | lang/libLLVM/distinfo | 22 | ||||
-rw-r--r-- | lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake | 47 | ||||
-rw-r--r-- | lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt | 6 | ||||
-rw-r--r-- | lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake | 18 | ||||
-rw-r--r-- | lang/libLLVM/patches/patch-include_llvm_Support_Host.h | 12 | ||||
-rw-r--r-- | lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp | 16 | ||||
-rw-r--r-- | lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt | 6 | ||||
-rw-r--r-- | lang/libunwind/Makefile | 4 | ||||
-rw-r--r-- | lang/libunwind/PLIST | 3 | ||||
-rw-r--r-- | lang/libunwind/distinfo | 10 | ||||
-rw-r--r-- | lang/llvm/Makefile | 8 | ||||
-rw-r--r-- | lang/llvm/PLIST | 159 | ||||
-rw-r--r-- | lang/llvm/distinfo | 14 | ||||
-rw-r--r-- | lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake | 7 | ||||
-rw-r--r-- | lang/llvm/patches/patch-include_llvm_Support_Host.h | 12 |
21 files changed, 358 insertions, 184 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile index 6ad7cc79151..1cb588e9000 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2016/03/10 15:01:52 tnn Exp $ +# $NetBSD: Makefile,v 1.44 2017/03/17 22:38:17 adam Exp $ PKGNAME= ${DISTNAME:S/.src//:S/cfe/clang/} PYTHON_FOR_BUILD_ONLY= yes @@ -9,9 +9,4 @@ CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALYZER=OFF # We don't want to add a python runtime dependency for that. CHECK_INTERPRETER_SKIP+= share/clang/* -.PHONY: install-clang-cpp -post-install: install-clang-cpp -install-clang-cpp: - ${LN} -s clang ${DESTDIR}${PREFIX}/bin/clang-cpp - .include "../../lang/clang/Makefile.common" diff --git a/lang/clang/Makefile.common b/lang/clang/Makefile.common index 905579aabae..a403d830ca3 100644 --- a/lang/clang/Makefile.common +++ b/lang/clang/Makefile.common @@ -1,8 +1,8 @@ -# $NetBSD: Makefile.common,v 1.18 2017/01/16 17:26:47 brook Exp $ +# $NetBSD: Makefile.common,v 1.19 2017/03/17 22:38:17 adam Exp $ # used by lang/clang/Makefile # used by lang/clang-static-analyzer/Makefile -DISTNAME= cfe-3.9.1.src +DISTNAME= cfe-4.0.0.src CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tar.xz diff --git a/lang/clang/PLIST b/lang/clang/PLIST index 6202984f8b6..71e5588268c 100644 --- a/lang/clang/PLIST +++ b/lang/clang/PLIST @@ -1,11 +1,13 @@ -@comment $NetBSD: PLIST,v 1.20 2017/01/05 11:54:32 adam Exp $ +@comment $NetBSD: PLIST,v 1.21 2017/03/17 22:38:17 adam Exp $ bin/c-index-test bin/clang bin/clang++ -bin/clang-3.9 +bin/clang-4.0 bin/clang-cl bin/clang-cpp bin/clang-format +bin/clang-import-test +bin/clang-offload-bundler include/clang-c/BuildSystem.h include/clang-c/CXCompilationDatabase.h include/clang-c/CXErrorCode.h @@ -125,6 +127,7 @@ include/clang/Analysis/Analyses/Consumed.h include/clang/Analysis/Analyses/Dominators.h include/clang/Analysis/Analyses/FormatString.h include/clang/Analysis/Analyses/LiveVariables.h +include/clang/Analysis/Analyses/OSLog.h include/clang/Analysis/Analyses/PostOrderCFGView.h include/clang/Analysis/Analyses/PseudoConstantAnalysis.h include/clang/Analysis/Analyses/ReachableCode.h @@ -141,6 +144,7 @@ include/clang/Analysis/AnalysisDiagnostic.h include/clang/Analysis/CFG.h include/clang/Analysis/CFGStmtMap.h include/clang/Analysis/CallGraph.h +include/clang/Analysis/CloneDetection.h include/clang/Analysis/CodeInjector.h include/clang/Analysis/DomainSpecific/CocoaConventions.h include/clang/Analysis/DomainSpecific/ObjCNoReturn.h @@ -168,6 +172,7 @@ include/clang/Basic/BuiltinsPPC.def include/clang/Basic/BuiltinsSystemZ.def include/clang/Basic/BuiltinsWebAssembly.def include/clang/Basic/BuiltinsX86.def +include/clang/Basic/BuiltinsX86_64.def include/clang/Basic/BuiltinsXCore.def include/clang/Basic/CapturedStmt.h include/clang/Basic/CharInfo.h @@ -248,6 +253,7 @@ include/clang/CodeGen/SwiftCallingConv.h include/clang/Config/config.h include/clang/Driver/Action.h include/clang/Driver/Compilation.h +include/clang/Driver/Distro.h include/clang/Driver/Driver.h include/clang/Driver/DriverDiagnostic.h include/clang/Driver/Job.h @@ -399,6 +405,7 @@ include/clang/Serialization/SerializationDiagnostic.h include/clang/StaticAnalyzer/Checkers/Checkers.inc include/clang/StaticAnalyzer/Checkers/ClangCheckers.h include/clang/StaticAnalyzer/Checkers/LocalCheckers.h +include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h include/clang/StaticAnalyzer/Checkers/SValExplainer.h include/clang/StaticAnalyzer/Core/Analyses.def @@ -457,9 +464,11 @@ include/clang/Tooling/ArgumentsAdjusters.h include/clang/Tooling/CommonOptionsParser.h include/clang/Tooling/CompilationDatabase.h include/clang/Tooling/CompilationDatabasePluginRegistry.h +include/clang/Tooling/Core/Diagnostic.h include/clang/Tooling/Core/Lookup.h include/clang/Tooling/Core/QualTypeNames.h include/clang/Tooling/Core/Replacement.h +include/clang/Tooling/DiagnosticsYaml.h include/clang/Tooling/FileMatchTrie.h include/clang/Tooling/FixIt.h include/clang/Tooling/JSONCompilationDatabase.h @@ -467,7 +476,9 @@ include/clang/Tooling/Refactoring.h include/clang/Tooling/RefactoringCallbacks.h include/clang/Tooling/ReplacementsYaml.h include/clang/Tooling/Tooling.h +lib/clang/${PKGVERSION}/include/__clang_cuda_builtin_vars.h lib/clang/${PKGVERSION}/include/__clang_cuda_cmath.h +lib/clang/${PKGVERSION}/include/__clang_cuda_complex_builtins.h lib/clang/${PKGVERSION}/include/__clang_cuda_intrinsics.h lib/clang/${PKGVERSION}/include/__clang_cuda_math_forward_declares.h lib/clang/${PKGVERSION}/include/__clang_cuda_runtime_wrapper.h @@ -479,6 +490,7 @@ lib/clang/${PKGVERSION}/include/altivec.h lib/clang/${PKGVERSION}/include/ammintrin.h lib/clang/${PKGVERSION}/include/arm_acle.h lib/clang/${PKGVERSION}/include/arm_neon.h +lib/clang/${PKGVERSION}/include/armintr.h lib/clang/${PKGVERSION}/include/avx2intrin.h lib/clang/${PKGVERSION}/include/avx512bwintrin.h lib/clang/${PKGVERSION}/include/avx512cdintrin.h @@ -499,7 +511,9 @@ lib/clang/${PKGVERSION}/include/bmi2intrin.h lib/clang/${PKGVERSION}/include/bmiintrin.h lib/clang/${PKGVERSION}/include/clflushoptintrin.h lib/clang/${PKGVERSION}/include/cpuid.h -lib/clang/${PKGVERSION}/include/cuda_builtin_vars.h +lib/clang/${PKGVERSION}/include/cuda_wrappers/algorithm +lib/clang/${PKGVERSION}/include/cuda_wrappers/complex +lib/clang/${PKGVERSION}/include/cuda_wrappers/new lib/clang/${PKGVERSION}/include/emmintrin.h lib/clang/${PKGVERSION}/include/f16cintrin.h lib/clang/${PKGVERSION}/include/float.h @@ -559,6 +573,7 @@ lib/cmake/clang/ClangConfig.cmake lib/cmake/clang/ClangTargets-release.cmake lib/cmake/clang/ClangTargets.cmake lib/libclang.${SOEXT} +${PLIST.notdylib}lib/libclang.${SOEXT}.4 ${PLIST.notdylib}lib/libclang.${SOEXT}.${LLVM_MAJOR} lib/libclangAST.a lib/libclangASTMatchers.a diff --git a/lang/clang/distinfo b/lang/clang/distinfo index d471f6a0124..233dc1ca13d 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.46 2017/01/05 11:54:32 adam Exp $ +$NetBSD: distinfo,v 1.47 2017/03/17 22:38:17 adam Exp $ -SHA1 (cfe-3.9.1.src.tar.xz) = 95e4be54b70f32cf98a8de36821ea5495b84add8 -RMD160 (cfe-3.9.1.src.tar.xz) = 51930c2d55eacd44df28b49a84565771c94f418e -SHA512 (cfe-3.9.1.src.tar.xz) = 3f0eea194597e438bbe49ce9ef5fdced81459c21cbdd2653750b2fe02c55a0154d6a33a8cfd02e607b83314a8e35b2c300f944462120ab6de1d4139d85db56b8 -Size (cfe-3.9.1.src.tar.xz) = 10363080 bytes +SHA1 (cfe-4.0.0.src.tar.xz) = e2762800c93d9335781ea6a45af3f80845542ef5 +RMD160 (cfe-4.0.0.src.tar.xz) = aae742d32a18cd8660b0eabecfcf14139f2f4d4a +SHA512 (cfe-4.0.0.src.tar.xz) = a0d9972ec337a5c105fcbe7abc4076ba1e580f28908a3318f43bbfe59143f446ed5b78dad210f624145d7e5a3d56c15bfead78826c068422b60120fa1cfa482a +Size (cfe-4.0.0.src.tar.xz) = 10900916 bytes SHA1 (patch-tools_clang-format_CMakeLists.txt) = 4efc9c9f69caf7df1dd0db384eae644c606c5ca9 diff --git a/lang/libLLVM/Makefile b/lang/libLLVM/Makefile index 8245f9d4c4c..f34a5e1ea25 100644 --- a/lang/libLLVM/Makefile +++ b/lang/libLLVM/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.18 2017/01/16 21:56:35 brook Exp $ +# $NetBSD: Makefile,v 1.19 2017/03/17 22:38:18 adam Exp $ -DISTNAME= llvm-3.9.1.src +DISTNAME= llvm-4.0.0.src PKGNAME= ${DISTNAME:S/llvm/libLLVM/:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ diff --git a/lang/libLLVM/PLIST b/lang/libLLVM/PLIST index 2cd8b5708c5..93b592566e5 100644 --- a/lang/libLLVM/PLIST +++ b/lang/libLLVM/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2016/11/14 20:15:33 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.9 2017/03/17 22:38:18 adam Exp $ include/libLLVM/llvm-c/Analysis.h include/libLLVM/llvm-c/BitReader.h include/libLLVM/llvm-c/BitWriter.h @@ -24,9 +24,11 @@ include/libLLVM/llvm-c/lto.h include/libLLVM/llvm/ADT/APFloat.h include/libLLVM/llvm/ADT/APInt.h include/libLLVM/llvm/ADT/APSInt.h +include/libLLVM/llvm/ADT/AllocatorList.h include/libLLVM/llvm/ADT/ArrayRef.h include/libLLVM/llvm/ADT/BitVector.h include/libLLVM/llvm/ADT/BitmaskEnum.h +include/libLLVM/llvm/ADT/CachedHashString.h include/libLLVM/llvm/ADT/DAGDeltaAlgorithm.h include/libLLVM/llvm/ADT/DeltaAlgorithm.h include/libLLVM/llvm/ADT/DenseMap.h @@ -58,6 +60,7 @@ include/libLLVM/llvm/ADT/PriorityQueue.h include/libLLVM/llvm/ADT/PriorityWorklist.h include/libLLVM/llvm/ADT/SCCIterator.h include/libLLVM/llvm/ADT/STLExtras.h +include/libLLVM/llvm/ADT/ScopeExit.h include/libLLVM/llvm/ADT/ScopedHashTable.h include/libLLVM/llvm/ADT/Sequence.h include/libLLVM/llvm/ADT/SetOperations.h @@ -83,9 +86,14 @@ include/libLLVM/llvm/ADT/UniqueVector.h include/libLLVM/llvm/ADT/VariadicFunction.h include/libLLVM/llvm/ADT/edit_distance.h include/libLLVM/llvm/ADT/ilist.h +include/libLLVM/llvm/ADT/ilist_base.h +include/libLLVM/llvm/ADT/ilist_iterator.h include/libLLVM/llvm/ADT/ilist_node.h +include/libLLVM/llvm/ADT/ilist_node_base.h +include/libLLVM/llvm/ADT/ilist_node_options.h include/libLLVM/llvm/ADT/iterator.h include/libLLVM/llvm/ADT/iterator_range.h +include/libLLVM/llvm/ADT/simple_ilist.h include/libLLVM/llvm/Analysis/AliasAnalysis.h include/libLLVM/llvm/Analysis/AliasAnalysisEvaluator.h include/libLLVM/llvm/Analysis/AliasSetTracker.h @@ -124,16 +132,17 @@ include/libLLVM/llvm/Analysis/IntervalIterator.h include/libLLVM/llvm/Analysis/IntervalPartition.h include/libLLVM/llvm/Analysis/IteratedDominanceFrontier.h include/libLLVM/llvm/Analysis/LazyBlockFrequencyInfo.h +include/libLLVM/llvm/Analysis/LazyBranchProbabilityInfo.h include/libLLVM/llvm/Analysis/LazyCallGraph.h include/libLLVM/llvm/Analysis/LazyValueInfo.h include/libLLVM/llvm/Analysis/Lint.h include/libLLVM/llvm/Analysis/Loads.h include/libLLVM/llvm/Analysis/LoopAccessAnalysis.h +include/libLLVM/llvm/Analysis/LoopAnalysisManager.h include/libLLVM/llvm/Analysis/LoopInfo.h include/libLLVM/llvm/Analysis/LoopInfoImpl.h include/libLLVM/llvm/Analysis/LoopIterator.h include/libLLVM/llvm/Analysis/LoopPass.h -include/libLLVM/llvm/Analysis/LoopPassManager.h include/libLLVM/llvm/Analysis/LoopUnrollAnalyzer.h include/libLLVM/llvm/Analysis/MemoryBuiltins.h include/libLLVM/llvm/Analysis/MemoryDependenceAnalysis.h @@ -174,11 +183,12 @@ include/libLLVM/llvm/Analysis/VectorUtils.h include/libLLVM/llvm/AsmParser/Parser.h include/libLLVM/llvm/AsmParser/SlotMapping.h include/libLLVM/llvm/Bitcode/BitCodes.h +include/libLLVM/llvm/Bitcode/BitcodeReader.h +include/libLLVM/llvm/Bitcode/BitcodeWriter.h include/libLLVM/llvm/Bitcode/BitcodeWriterPass.h include/libLLVM/llvm/Bitcode/BitstreamReader.h include/libLLVM/llvm/Bitcode/BitstreamWriter.h include/libLLVM/llvm/Bitcode/LLVMBitCodes.h -include/libLLVM/llvm/Bitcode/ReaderWriter.h include/libLLVM/llvm/CodeGen/Analysis.h include/libLLVM/llvm/CodeGen/AsmPrinter.h include/libLLVM/llvm/CodeGen/AtomicExpandUtils.h @@ -202,11 +212,17 @@ include/libLLVM/llvm/CodeGen/GCs.h include/libLLVM/llvm/CodeGen/GlobalISel/CallLowering.h include/libLLVM/llvm/CodeGen/GlobalISel/GISelAccessor.h include/libLLVM/llvm/CodeGen/GlobalISel/IRTranslator.h +include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelect.h +include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelector.h +include/libLLVM/llvm/CodeGen/GlobalISel/Legalizer.h +include/libLLVM/llvm/CodeGen/GlobalISel/LegalizerHelper.h +include/libLLVM/llvm/CodeGen/GlobalISel/LegalizerInfo.h include/libLLVM/llvm/CodeGen/GlobalISel/MachineIRBuilder.h include/libLLVM/llvm/CodeGen/GlobalISel/RegBankSelect.h include/libLLVM/llvm/CodeGen/GlobalISel/RegisterBank.h include/libLLVM/llvm/CodeGen/GlobalISel/RegisterBankInfo.h include/libLLVM/llvm/CodeGen/GlobalISel/Types.h +include/libLLVM/llvm/CodeGen/GlobalISel/Utils.h include/libLLVM/llvm/CodeGen/ISDOpcodes.h include/libLLVM/llvm/CodeGen/IntrinsicLowering.h include/libLLVM/llvm/CodeGen/LatencyPriorityQueue.h @@ -221,6 +237,7 @@ include/libLLVM/llvm/CodeGen/LiveRangeEdit.h include/libLLVM/llvm/CodeGen/LiveRegMatrix.h include/libLLVM/llvm/CodeGen/LiveStackAnalysis.h include/libLLVM/llvm/CodeGen/LiveVariables.h +include/libLLVM/llvm/CodeGen/LowLevelType.h include/libLLVM/llvm/CodeGen/MIRParser/MIRParser.h include/libLLVM/llvm/CodeGen/MIRYamlMapping.h include/libLLVM/llvm/CodeGen/MachORelocation.h @@ -233,7 +250,6 @@ include/libLLVM/llvm/CodeGen/MachineDominanceFrontier.h include/libLLVM/llvm/CodeGen/MachineDominators.h include/libLLVM/llvm/CodeGen/MachineFrameInfo.h include/libLLVM/llvm/CodeGen/MachineFunction.h -include/libLLVM/llvm/CodeGen/MachineFunctionAnalysis.h include/libLLVM/llvm/CodeGen/MachineFunctionInitializer.h include/libLLVM/llvm/CodeGen/MachineFunctionPass.h include/libLLVM/llvm/CodeGen/MachineInstr.h @@ -299,42 +315,47 @@ include/libLLVM/llvm/Config/AsmParsers.def include/libLLVM/llvm/Config/AsmPrinters.def include/libLLVM/llvm/Config/Disassemblers.def include/libLLVM/llvm/Config/Targets.def +include/libLLVM/llvm/Config/abi-breaking.h include/libLLVM/llvm/Config/llvm-config.h -include/libLLVM/llvm/DebugInfo/CodeView/ByteStream.h +include/libLLVM/llvm/DebugInfo/CodeView/CVDebugRecord.h include/libLLVM/llvm/DebugInfo/CodeView/CVRecord.h include/libLLVM/llvm/DebugInfo/CodeView/CVSymbolTypes.def include/libLLVM/llvm/DebugInfo/CodeView/CVSymbolVisitor.h +include/libLLVM/llvm/DebugInfo/CodeView/CVTypeDumper.h include/libLLVM/llvm/DebugInfo/CodeView/CVTypeVisitor.h include/libLLVM/llvm/DebugInfo/CodeView/CodeView.h include/libLLVM/llvm/DebugInfo/CodeView/CodeViewError.h -include/libLLVM/llvm/DebugInfo/CodeView/CodeViewOStream.h +include/libLLVM/llvm/DebugInfo/CodeView/CodeViewRecordIO.h include/libLLVM/llvm/DebugInfo/CodeView/EnumTables.h -include/libLLVM/llvm/DebugInfo/CodeView/FieldListRecordBuilder.h include/libLLVM/llvm/DebugInfo/CodeView/FunctionId.h include/libLLVM/llvm/DebugInfo/CodeView/Line.h -include/libLLVM/llvm/DebugInfo/CodeView/ListRecordBuilder.h -include/libLLVM/llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h -include/libLLVM/llvm/DebugInfo/CodeView/MethodListRecordBuilder.h include/libLLVM/llvm/DebugInfo/CodeView/ModuleSubstream.h include/libLLVM/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h include/libLLVM/llvm/DebugInfo/CodeView/RecordSerialization.h -include/libLLVM/llvm/DebugInfo/CodeView/StreamArray.h -include/libLLVM/llvm/DebugInfo/CodeView/StreamInterface.h -include/libLLVM/llvm/DebugInfo/CodeView/StreamReader.h -include/libLLVM/llvm/DebugInfo/CodeView/StreamRef.h -include/libLLVM/llvm/DebugInfo/CodeView/StreamWriter.h +include/libLLVM/llvm/DebugInfo/CodeView/SymbolDeserializer.h include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumper.h include/libLLVM/llvm/DebugInfo/CodeView/SymbolRecord.h +include/libLLVM/llvm/DebugInfo/CodeView/SymbolRecordMapping.h +include/libLLVM/llvm/DebugInfo/CodeView/SymbolSerializer.h +include/libLLVM/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h +include/libLLVM/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h include/libLLVM/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h -include/libLLVM/llvm/DebugInfo/CodeView/TypeDumper.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeDatabase.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeDeserializer.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeDumpVisitor.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeDumperBase.h include/libLLVM/llvm/DebugInfo/CodeView/TypeIndex.h include/libLLVM/llvm/DebugInfo/CodeView/TypeRecord.h include/libLLVM/llvm/DebugInfo/CodeView/TypeRecordBuilder.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeRecordMapping.h include/libLLVM/llvm/DebugInfo/CodeView/TypeRecords.def +include/libLLVM/llvm/DebugInfo/CodeView/TypeSerializer.h include/libLLVM/llvm/DebugInfo/CodeView/TypeStreamMerger.h include/libLLVM/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h include/libLLVM/llvm/DebugInfo/CodeView/TypeTableBuilder.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h include/libLLVM/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h include/libLLVM/llvm/DebugInfo/DIContext.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h @@ -349,13 +370,29 @@ include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugLine.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugLoc.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugMacro.h +include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h +include/libLLVM/llvm/DebugInfo/DWARF/DWARFDie.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFFormValue.h +include/libLLVM/llvm/DebugInfo/DWARF/DWARFGdbIndex.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFRelocMap.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFSection.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFTypeUnit.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFUnit.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFUnitIndex.h +include/libLLVM/llvm/DebugInfo/MSF/ByteStream.h +include/libLLVM/llvm/DebugInfo/MSF/IMSFFile.h +include/libLLVM/llvm/DebugInfo/MSF/MSFBuilder.h +include/libLLVM/llvm/DebugInfo/MSF/MSFCommon.h +include/libLLVM/llvm/DebugInfo/MSF/MSFError.h +include/libLLVM/llvm/DebugInfo/MSF/MSFStreamLayout.h +include/libLLVM/llvm/DebugInfo/MSF/MappedBlockStream.h +include/libLLVM/llvm/DebugInfo/MSF/SequencedItemStream.h +include/libLLVM/llvm/DebugInfo/MSF/StreamArray.h +include/libLLVM/llvm/DebugInfo/MSF/StreamInterface.h +include/libLLVM/llvm/DebugInfo/MSF/StreamReader.h +include/libLLVM/llvm/DebugInfo/MSF/StreamRef.h +include/libLLVM/llvm/DebugInfo/MSF/StreamWriter.h include/libLLVM/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h include/libLLVM/llvm/DebugInfo/PDB/DIA/DIADataStream.h include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h @@ -414,20 +451,14 @@ include/libLLVM/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h include/libLLVM/llvm/DebugInfo/PDB/PDBTypes.h include/libLLVM/llvm/DebugInfo/PDB/Raw/DbiStream.h include/libLLVM/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/DirectoryStreamData.h include/libLLVM/llvm/DebugInfo/PDB/Raw/EnumTables.h +include/libLLVM/llvm/DebugInfo/PDB/Raw/GlobalsStream.h include/libLLVM/llvm/DebugInfo/PDB/Raw/Hash.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/IPDBFile.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/IPDBStreamData.h include/libLLVM/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/IndexedStreamData.h include/libLLVM/llvm/DebugInfo/PDB/Raw/InfoStream.h include/libLLVM/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h include/libLLVM/llvm/DebugInfo/PDB/Raw/ModInfo.h include/libLLVM/llvm/DebugInfo/PDB/Raw/ModStream.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/MsfBuilder.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/MsfCommon.h include/libLLVM/llvm/DebugInfo/PDB/Raw/NameHashTable.h include/libLLVM/llvm/DebugInfo/PDB/Raw/NameMap.h include/libLLVM/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h @@ -439,15 +470,18 @@ include/libLLVM/llvm/DebugInfo/PDB/Raw/RawError.h include/libLLVM/llvm/DebugInfo/PDB/Raw/RawSession.h include/libLLVM/llvm/DebugInfo/PDB/Raw/RawTypes.h include/libLLVM/llvm/DebugInfo/PDB/Raw/SymbolStream.h +include/libLLVM/llvm/DebugInfo/PDB/Raw/TpiHashing.h include/libLLVM/llvm/DebugInfo/PDB/Raw/TpiStream.h +include/libLLVM/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h include/libLLVM/llvm/DebugInfo/Symbolize/DIPrinter.h include/libLLVM/llvm/DebugInfo/Symbolize/SymbolizableModule.h include/libLLVM/llvm/DebugInfo/Symbolize/Symbolize.h +include/libLLVM/llvm/Demangle/Demangle.h include/libLLVM/llvm/ExecutionEngine/ExecutionEngine.h include/libLLVM/llvm/ExecutionEngine/GenericValue.h include/libLLVM/llvm/ExecutionEngine/Interpreter.h include/libLLVM/llvm/ExecutionEngine/JITEventListener.h -include/libLLVM/llvm/ExecutionEngine/JITSymbolFlags.h +include/libLLVM/llvm/ExecutionEngine/JITSymbol.h include/libLLVM/llvm/ExecutionEngine/MCJIT.h include/libLLVM/llvm/ExecutionEngine/OProfileWrapper.h include/libLLVM/llvm/ExecutionEngine/ObjectCache.h @@ -459,10 +493,8 @@ include/libLLVM/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/IRCompileLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/IRTransformLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/IndirectionUtils.h -include/libLLVM/llvm/ExecutionEngine/Orc/JITSymbol.h include/libLLVM/llvm/ExecutionEngine/Orc/LambdaResolver.h include/libLLVM/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h -include/libLLVM/llvm/ExecutionEngine/Orc/LogicalDylib.h include/libLLVM/llvm/ExecutionEngine/Orc/NullResolver.h include/libLLVM/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h @@ -471,8 +503,9 @@ include/libLLVM/llvm/ExecutionEngine/Orc/OrcError.h include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h -include/libLLVM/llvm/ExecutionEngine/Orc/RPCChannel.h +include/libLLVM/llvm/ExecutionEngine/Orc/RPCSerialization.h include/libLLVM/llvm/ExecutionEngine/Orc/RPCUtils.h +include/libLLVM/llvm/ExecutionEngine/Orc/RawByteChannel.h include/libLLVM/llvm/ExecutionEngine/OrcMCJITReplacement.h include/libLLVM/llvm/ExecutionEngine/RTDyldMemoryManager.h include/libLLVM/llvm/ExecutionEngine/RuntimeDyld.h @@ -480,8 +513,8 @@ include/libLLVM/llvm/ExecutionEngine/RuntimeDyldChecker.h include/libLLVM/llvm/ExecutionEngine/SectionMemoryManager.h include/libLLVM/llvm/IR/Argument.h include/libLLVM/llvm/IR/AssemblyAnnotationWriter.h +include/libLLVM/llvm/IR/Attributes.gen include/libLLVM/llvm/IR/Attributes.h -include/libLLVM/llvm/IR/Attributes.inc include/libLLVM/llvm/IR/Attributes.td include/libLLVM/llvm/IR/AutoUpgrade.h include/libLLVM/llvm/IR/BasicBlock.h @@ -548,6 +581,7 @@ include/libLLVM/llvm/IR/Metadata.h include/libLLVM/llvm/IR/Module.h include/libLLVM/llvm/IR/ModuleSlotTracker.h include/libLLVM/llvm/IR/ModuleSummaryIndex.h +include/libLLVM/llvm/IR/ModuleSummaryIndexYAML.h include/libLLVM/llvm/IR/NoFolder.h include/libLLVM/llvm/IR/OperandTraits.h include/libLLVM/llvm/IR/Operator.h @@ -574,7 +608,10 @@ include/libLLVM/llvm/IR/ValueSymbolTable.h include/libLLVM/llvm/IR/Verifier.h include/libLLVM/llvm/IRReader/IRReader.h include/libLLVM/llvm/InitializePasses.h +include/libLLVM/llvm/LTO/Caching.h +include/libLLVM/llvm/LTO/Config.h include/libLLVM/llvm/LTO/LTO.h +include/libLLVM/llvm/LTO/LTOBackend.h include/libLLVM/llvm/LTO/legacy/LTOCodeGenerator.h include/libLLVM/llvm/LTO/legacy/LTOModule.h include/libLLVM/llvm/LTO/legacy/ThinLTOCodeGenerator.h @@ -586,6 +623,7 @@ include/libLLVM/llvm/LinkAllPasses.h include/libLLVM/llvm/Linker/IRMover.h include/libLLVM/llvm/Linker/Linker.h include/libLLVM/llvm/MC/ConstantPools.h +include/libLLVM/llvm/MC/LaneBitmask.h include/libLLVM/llvm/MC/MCAsmBackend.h include/libLLVM/llvm/MC/MCAsmInfo.h include/libLLVM/llvm/MC/MCAsmInfoCOFF.h @@ -658,6 +696,7 @@ include/libLLVM/llvm/Object/ArchiveWriter.h include/libLLVM/llvm/Object/Binary.h include/libLLVM/llvm/Object/COFF.h include/libLLVM/llvm/Object/COFFImportFile.h +include/libLLVM/llvm/Object/Decompressor.h include/libLLVM/llvm/Object/ELF.h include/libLLVM/llvm/Object/ELFObjectFile.h include/libLLVM/llvm/Object/ELFTypes.h @@ -666,12 +705,15 @@ include/libLLVM/llvm/Object/IRObjectFile.h include/libLLVM/llvm/Object/MachO.h include/libLLVM/llvm/Object/MachOUniversal.h include/libLLVM/llvm/Object/ModuleSummaryIndexObjectFile.h +include/libLLVM/llvm/Object/ModuleSymbolTable.h include/libLLVM/llvm/Object/ObjectFile.h include/libLLVM/llvm/Object/RelocVisitor.h include/libLLVM/llvm/Object/StackMapParser.h include/libLLVM/llvm/Object/SymbolSize.h include/libLLVM/llvm/Object/SymbolicFile.h +include/libLLVM/llvm/Object/Wasm.h include/libLLVM/llvm/ObjectYAML/COFFYAML.h +include/libLLVM/llvm/ObjectYAML/DWARFYAML.h include/libLLVM/llvm/ObjectYAML/ELFYAML.h include/libLLVM/llvm/ObjectYAML/MachOYAML.h include/libLLVM/llvm/ObjectYAML/ObjectYAML.h @@ -717,6 +759,7 @@ include/libLLVM/llvm/Support/COM.h include/libLLVM/llvm/Support/CachePruning.h include/libLLVM/llvm/Support/Capacity.h include/libLLVM/llvm/Support/Casting.h +include/libLLVM/llvm/Support/Chrono.h include/libLLVM/llvm/Support/CodeGen.h include/libLLVM/llvm/Support/CodeGenCWrappers.h include/libLLVM/llvm/Support/CommandLine.h @@ -726,7 +769,6 @@ include/libLLVM/llvm/Support/ConvertUTF.h include/libLLVM/llvm/Support/CrashRecoveryContext.h include/libLLVM/llvm/Support/DOTGraphTraits.h include/libLLVM/llvm/Support/DataExtractor.h -include/libLLVM/llvm/Support/DataStream.h include/libLLVM/llvm/Support/DataTypes.h include/libLLVM/llvm/Support/Debug.h include/libLLVM/llvm/Support/Dwarf.def @@ -743,6 +785,7 @@ include/libLLVM/llvm/Support/ELFRelocs/Lanai.def include/libLLVM/llvm/Support/ELFRelocs/Mips.def include/libLLVM/llvm/Support/ELFRelocs/PowerPC.def include/libLLVM/llvm/Support/ELFRelocs/PowerPC64.def +include/libLLVM/llvm/Support/ELFRelocs/RISCV.def include/libLLVM/llvm/Support/ELFRelocs/Sparc.def include/libLLVM/llvm/Support/ELFRelocs/SystemZ.def include/libLLVM/llvm/Support/ELFRelocs/WebAssembly.def @@ -759,10 +802,16 @@ include/libLLVM/llvm/Support/FileOutputBuffer.h include/libLLVM/llvm/Support/FileSystem.h include/libLLVM/llvm/Support/FileUtilities.h include/libLLVM/llvm/Support/Format.h +include/libLLVM/llvm/Support/FormatAdapters.h +include/libLLVM/llvm/Support/FormatCommon.h +include/libLLVM/llvm/Support/FormatProviders.h +include/libLLVM/llvm/Support/FormatVariadic.h +include/libLLVM/llvm/Support/FormatVariadicDetails.h include/libLLVM/llvm/Support/FormattedStream.h include/libLLVM/llvm/Support/GCOV.h include/libLLVM/llvm/Support/GenericDomTree.h include/libLLVM/llvm/Support/GenericDomTreeConstruction.h +include/libLLVM/llvm/Support/GlobPattern.h include/libLLVM/llvm/Support/GraphWriter.h include/libLLVM/llvm/Support/Host.h include/libLLVM/llvm/Support/JamCRC.h @@ -778,10 +827,10 @@ include/libLLVM/llvm/Support/ManagedStatic.h include/libLLVM/llvm/Support/MathExtras.h include/libLLVM/llvm/Support/Memory.h include/libLLVM/llvm/Support/MemoryBuffer.h -include/libLLVM/llvm/Support/MemoryObject.h include/libLLVM/llvm/Support/MipsABIFlags.h include/libLLVM/llvm/Support/Mutex.h include/libLLVM/llvm/Support/MutexGuard.h +include/libLLVM/llvm/Support/NativeFormatting.h include/libLLVM/llvm/Support/OnDiskHashTable.h include/libLLVM/llvm/Support/Options.h include/libLLVM/llvm/Support/Path.h @@ -806,26 +855,27 @@ include/libLLVM/llvm/Support/Signals.h include/libLLVM/llvm/Support/Solaris.h include/libLLVM/llvm/Support/SourceMgr.h include/libLLVM/llvm/Support/SpecialCaseList.h -include/libLLVM/llvm/Support/StreamingMemoryObject.h include/libLLVM/llvm/Support/StringPool.h include/libLLVM/llvm/Support/StringSaver.h include/libLLVM/llvm/Support/SwapByteOrder.h include/libLLVM/llvm/Support/SystemUtils.h +include/libLLVM/llvm/Support/TarWriter.h include/libLLVM/llvm/Support/TargetParser.h include/libLLVM/llvm/Support/TargetRegistry.h include/libLLVM/llvm/Support/TargetSelect.h include/libLLVM/llvm/Support/ThreadLocal.h include/libLLVM/llvm/Support/ThreadPool.h include/libLLVM/llvm/Support/Threading.h -include/libLLVM/llvm/Support/TimeValue.h include/libLLVM/llvm/Support/Timer.h include/libLLVM/llvm/Support/ToolOutputFile.h include/libLLVM/llvm/Support/TrailingObjects.h +include/libLLVM/llvm/Support/TrigramIndex.h include/libLLVM/llvm/Support/TypeName.h include/libLLVM/llvm/Support/Unicode.h include/libLLVM/llvm/Support/UnicodeCharRanges.h include/libLLVM/llvm/Support/UniqueLock.h include/libLLVM/llvm/Support/Valgrind.h +include/libLLVM/llvm/Support/Wasm.h include/libLLVM/llvm/Support/Watchdog.h include/libLLVM/llvm/Support/Win64EH.h include/libLLVM/llvm/Support/WindowsError.h @@ -837,6 +887,7 @@ include/libLLVM/llvm/Support/raw_ostream.h include/libLLVM/llvm/Support/raw_sha1_ostream.h include/libLLVM/llvm/Support/thread.h include/libLLVM/llvm/Support/type_traits.h +include/libLLVM/llvm/Support/xxhash.h include/libLLVM/llvm/TableGen/Error.h include/libLLVM/llvm/TableGen/Main.h include/libLLVM/llvm/TableGen/Record.h @@ -851,6 +902,7 @@ include/libLLVM/llvm/Target/Target.td include/libLLVM/llvm/Target/TargetCallingConv.h include/libLLVM/llvm/Target/TargetCallingConv.td include/libLLVM/llvm/Target/TargetFrameLowering.h +include/libLLVM/llvm/Target/TargetGlobalISel.td include/libLLVM/llvm/Target/TargetInstrInfo.h include/libLLVM/llvm/Target/TargetIntrinsicInfo.h include/libLLVM/llvm/Target/TargetItinerary.td @@ -860,13 +912,14 @@ include/libLLVM/llvm/Target/TargetMachine.h include/libLLVM/llvm/Target/TargetOpcodes.def include/libLLVM/llvm/Target/TargetOpcodes.h include/libLLVM/llvm/Target/TargetOptions.h -include/libLLVM/llvm/Target/TargetRecip.h include/libLLVM/llvm/Target/TargetRegisterInfo.h include/libLLVM/llvm/Target/TargetSchedule.td include/libLLVM/llvm/Target/TargetSelectionDAG.td include/libLLVM/llvm/Target/TargetSubtargetInfo.h +include/libLLVM/llvm/Transforms/Coroutines.h include/libLLVM/llvm/Transforms/GCOVProfiler.h include/libLLVM/llvm/Transforms/IPO.h +include/libLLVM/llvm/Transforms/IPO/AlwaysInliner.h include/libLLVM/llvm/Transforms/IPO/ConstantMerge.h include/libLLVM/llvm/Transforms/IPO/CrossDSOCFI.h include/libLLVM/llvm/Transforms/IPO/DeadArgumentElimination.h @@ -876,8 +929,9 @@ include/libLLVM/llvm/Transforms/IPO/FunctionAttrs.h include/libLLVM/llvm/Transforms/IPO/FunctionImport.h include/libLLVM/llvm/Transforms/IPO/GlobalDCE.h include/libLLVM/llvm/Transforms/IPO/GlobalOpt.h +include/libLLVM/llvm/Transforms/IPO/GlobalSplit.h include/libLLVM/llvm/Transforms/IPO/InferFunctionAttrs.h -include/libLLVM/llvm/Transforms/IPO/InlinerPass.h +include/libLLVM/llvm/Transforms/IPO/Inliner.h include/libLLVM/llvm/Transforms/IPO/Internalize.h include/libLLVM/llvm/Transforms/IPO/LowerTypeTests.h include/libLLVM/llvm/Transforms/IPO/PartialInlining.h @@ -903,48 +957,66 @@ include/libLLVM/llvm/Transforms/Scalar/DeadStoreElimination.h include/libLLVM/llvm/Transforms/Scalar/EarlyCSE.h include/libLLVM/llvm/Transforms/Scalar/Float2Int.h include/libLLVM/llvm/Transforms/Scalar/GVN.h +include/libLLVM/llvm/Transforms/Scalar/GVNExpression.h include/libLLVM/llvm/Transforms/Scalar/GuardWidening.h +include/libLLVM/llvm/Transforms/Scalar/IVUsersPrinter.h include/libLLVM/llvm/Transforms/Scalar/IndVarSimplify.h include/libLLVM/llvm/Transforms/Scalar/JumpThreading.h include/libLLVM/llvm/Transforms/Scalar/LICM.h +include/libLLVM/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h +include/libLLVM/llvm/Transforms/Scalar/LoopDataPrefetch.h include/libLLVM/llvm/Transforms/Scalar/LoopDeletion.h include/libLLVM/llvm/Transforms/Scalar/LoopDistribute.h include/libLLVM/llvm/Transforms/Scalar/LoopIdiomRecognize.h include/libLLVM/llvm/Transforms/Scalar/LoopInstSimplify.h +include/libLLVM/llvm/Transforms/Scalar/LoopPassManager.h include/libLLVM/llvm/Transforms/Scalar/LoopRotation.h include/libLLVM/llvm/Transforms/Scalar/LoopSimplifyCFG.h +include/libLLVM/llvm/Transforms/Scalar/LoopStrengthReduce.h +include/libLLVM/llvm/Transforms/Scalar/LoopUnrollPass.h include/libLLVM/llvm/Transforms/Scalar/LowerAtomic.h include/libLLVM/llvm/Transforms/Scalar/LowerExpectIntrinsic.h +include/libLLVM/llvm/Transforms/Scalar/LowerGuardIntrinsic.h include/libLLVM/llvm/Transforms/Scalar/MemCpyOptimizer.h include/libLLVM/llvm/Transforms/Scalar/MergedLoadStoreMotion.h +include/libLLVM/llvm/Transforms/Scalar/NaryReassociate.h +include/libLLVM/llvm/Transforms/Scalar/NewGVN.h include/libLLVM/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h include/libLLVM/llvm/Transforms/Scalar/Reassociate.h include/libLLVM/llvm/Transforms/Scalar/SCCP.h include/libLLVM/llvm/Transforms/Scalar/SROA.h include/libLLVM/llvm/Transforms/Scalar/SimplifyCFG.h include/libLLVM/llvm/Transforms/Scalar/Sink.h +include/libLLVM/llvm/Transforms/Scalar/SpeculativeExecution.h include/libLLVM/llvm/Transforms/Scalar/TailRecursionElimination.h include/libLLVM/llvm/Transforms/Utils/ASanStackFrameLayout.h include/libLLVM/llvm/Transforms/Utils/AddDiscriminators.h include/libLLVM/llvm/Transforms/Utils/BasicBlockUtils.h +include/libLLVM/llvm/Transforms/Utils/BreakCriticalEdges.h include/libLLVM/llvm/Transforms/Utils/BuildLibCalls.h include/libLLVM/llvm/Transforms/Utils/BypassSlowDivision.h include/libLLVM/llvm/Transforms/Utils/Cloning.h include/libLLVM/llvm/Transforms/Utils/CmpInstAnalysis.h include/libLLVM/llvm/Transforms/Utils/CodeExtractor.h include/libLLVM/llvm/Transforms/Utils/CtorUtils.h +include/libLLVM/llvm/Transforms/Utils/EscapeEnumerator.h include/libLLVM/llvm/Transforms/Utils/Evaluator.h +include/libLLVM/llvm/Transforms/Utils/FunctionComparator.h include/libLLVM/llvm/Transforms/Utils/FunctionImportUtils.h include/libLLVM/llvm/Transforms/Utils/GlobalStatus.h +include/libLLVM/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h include/libLLVM/llvm/Transforms/Utils/IntegerDivision.h include/libLLVM/llvm/Transforms/Utils/LCSSA.h +include/libLLVM/llvm/Transforms/Utils/LibCallsShrinkWrap.h include/libLLVM/llvm/Transforms/Utils/Local.h include/libLLVM/llvm/Transforms/Utils/LoopSimplify.h include/libLLVM/llvm/Transforms/Utils/LoopUtils.h include/libLLVM/llvm/Transforms/Utils/LoopVersioning.h +include/libLLVM/llvm/Transforms/Utils/LowerInvoke.h include/libLLVM/llvm/Transforms/Utils/Mem2Reg.h include/libLLVM/llvm/Transforms/Utils/MemorySSA.h include/libLLVM/llvm/Transforms/Utils/ModuleUtils.h +include/libLLVM/llvm/Transforms/Utils/NameAnonGlobals.h include/libLLVM/llvm/Transforms/Utils/PromoteMemToReg.h include/libLLVM/llvm/Transforms/Utils/SSAUpdater.h include/libLLVM/llvm/Transforms/Utils/SSAUpdaterImpl.h @@ -962,13 +1034,25 @@ include/libLLVM/llvm/Transforms/Vectorize/LoopVectorize.h include/libLLVM/llvm/Transforms/Vectorize/SLPVectorizer.h ${PLIST.notdylib}lib/libLLVM/libLLVM-${LLVM_MAJOR_MINOR}.${SOEXT} ${PLIST.notdylib}lib/libLLVM/libLLVM-${PKGVERSION}.${SOEXT} +include/libLLVM/llvm/XRay/Trace.h +include/libLLVM/llvm/XRay/XRayRecord.h +include/libLLVM/llvm/XRay/YAMLXRayRecord.h lib/libLLVM/libLLVM.${SOEXT} +libexec/libLLVM/llvm-cat libexec/libLLVM/llvm-config +libexec/libLLVM/llvm-cxxfilt +libexec/libLLVM/llvm-lto2 +libexec/libLLVM/llvm-modextract +libexec/libLLVM/llvm-opt-report +libexec/libLLVM/llvm-strings +libexec/libLLVM/llvm-xray share/libLLVM/cmake/AddLLVM.cmake share/libLLVM/cmake/AddLLVMDefinitions.cmake share/libLLVM/cmake/AddOCaml.cmake share/libLLVM/cmake/AddSphinxTarget.cmake +share/libLLVM/cmake/CheckAtomic.cmake share/libLLVM/cmake/CheckCompilerVersion.cmake +share/libLLVM/cmake/CheckLinkerFlag.cmake share/libLLVM/cmake/ChooseMSVCCRT.cmake share/libLLVM/cmake/CrossCompile.cmake share/libLLVM/cmake/DetermineGCCCompatible.cmake diff --git a/lang/libLLVM/distinfo b/lang/libLLVM/distinfo index 44e26924ce3..6e0c310d0d1 100644 --- a/lang/libLLVM/distinfo +++ b/lang/libLLVM/distinfo @@ -1,15 +1,15 @@ -$NetBSD: distinfo,v 1.8 2017/03/09 12:45:56 jperkin Exp $ +$NetBSD: distinfo,v 1.9 2017/03/17 22:38:18 adam Exp $ -SHA1 (llvm-3.9.1.src.tar.xz) = ce801cf456b8dacd565ce8df8288b4d90e7317ff -RMD160 (llvm-3.9.1.src.tar.xz) = b0a3c68cfec83a2b4dad6922316b71c0dc25c40a -SHA512 (llvm-3.9.1.src.tar.xz) = 50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683 -Size (llvm-3.9.1.src.tar.xz) = 18130436 bytes +SHA1 (llvm-4.0.0.src.tar.xz) = aee4524e2407f9fe5afc6f70c753180b907011d0 +RMD160 (llvm-4.0.0.src.tar.xz) = 468ae2502ba523b35c5e8340724ddaa50b31ccb5 +SHA512 (llvm-4.0.0.src.tar.xz) = cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 +Size (llvm-4.0.0.src.tar.xz) = 21016340 bytes SHA1 (patch-CMakeLists.txt) = 770e0bc00a987430b6c6be7e4141f33e5be54a8f -SHA1 (patch-cmake_modules_AddLLVM.cmake) = 1fd7598a55eede8b1ef50556ab8d7277fe5b2f43 -SHA1 (patch-cmake_modules_CMakeLists.txt) = bf31e9d3914e2041a7d435390b63ad67282b272f +SHA1 (patch-cmake_modules_AddLLVM.cmake) = d9d9b8f9d33ddc3ef8ef55832aeed038500b6de8 +SHA1 (patch-cmake_modules_CMakeLists.txt) = 69514dafb36794eb6923a39ef219bdc7b09c37ee SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b -SHA1 (patch-cmake_modules_TableGen.cmake) = d548208577f45fbb6c8f7b43548c399cc63c7887 -SHA1 (patch-include_llvm_Support_Host.h) = ad6ac520f15bba96ab887c962fb717e22aaee7bf +SHA1 (patch-cmake_modules_TableGen.cmake) = 105aece4014c473a21ec6b427893239bbe881f89 +SHA1 (patch-include_llvm_Support_Host.h) = a4e19a72714084b211b0182c04ccc51bd606e150 SHA1 (patch-lib_Support_Unix_Program.inc) = 49f09e05858243ca57f14b1fdb2fec49c935dfeb -SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 44835bfcd2bddc16e0b93628fafb627889091f85 -SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 8faddae24e937ce0b60a7b6a69370c56b9ff7fe3 +SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 4988cd94074cb08dbb5a3606ea2376b42ae8c75f +SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 18e6ec7b8895e55ecdf93c9d4781e92052a6fcb1 diff --git a/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake b/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake index e3e46aac61b..a7be4502711 100644 --- a/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake +++ b/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake @@ -1,60 +1,53 @@ -$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.3 2016/11/14 20:15:33 ryoon Exp $ +$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.4 2017/03/17 22:38:18 adam Exp $ Disable library install rules. Handled manually. Make sure llvm-config goes in libexec/libLLVM to avoid conflict. Don't use non-portable -z discard-unused on SunOS. ---- cmake/modules/AddLLVM.cmake.orig 2016-07-10 02:43:47.000000000 +0000 +--- cmake/modules/AddLLVM.cmake.orig 2017-01-17 21:47:58.000000000 +0000 +++ cmake/modules/AddLLVM.cmake -@@ -174,9 +174,9 @@ function(add_link_opts target_name) +@@ -182,9 +182,6 @@ function(add_link_opts target_name) # ld64's implementation of -dead_strip breaks tools that use plugins. set_property(TARGET ${target_name} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-dead_strip") - elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") - set_property(TARGET ${target_name} APPEND_STRING PROPERTY - LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections") -+# elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") -+# set_property(TARGET ${target_name} APPEND_STRING PROPERTY -+# LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections") elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD) # Object files are compiled with -ffunction-data-sections. # Versions of bfd ld < 2.23.1 have a bug in --gc-sections that breaks -@@ -558,10 +558,12 @@ macro(add_llvm_library name) - set(install_type ARCHIVE) +@@ -591,10 +588,6 @@ macro(add_llvm_library name) + set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True) endif() -+ if (false) - install(TARGETS ${name} - EXPORT LLVMExports - ${install_type} DESTINATION ${install_dir} - COMPONENT ${name}) -+ endif() +- install(TARGETS ${name} +- ${export_to_llvmexports} +- ${install_type} DESTINATION ${install_dir} +- COMPONENT ${name}) if (NOT CMAKE_CONFIGURATION_TYPES) add_custom_target(install-${name} -@@ -592,10 +594,12 @@ macro(add_llvm_loadable_module name) - else() - set(dlldir "lib${LLVM_LIBDIR_SUFFIX}") +@@ -632,10 +625,6 @@ macro(add_llvm_loadable_module name) + set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True) endif() -+ if (false) - install(TARGETS ${name} - EXPORT LLVMExports - LIBRARY DESTINATION ${dlldir} - ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) -+ endif() + +- install(TARGETS ${name} +- ${export_to_llvmexports} +- LIBRARY DESTINATION ${dlldir} +- ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endif() set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name}) endif() -@@ -770,7 +774,7 @@ macro(add_llvm_tool name) - if( LLVM_BUILD_TOOLS ) +@@ -823,7 +812,7 @@ macro(add_llvm_tool name) + install(TARGETS ${name} - EXPORT LLVMExports + ${export_to_llvmexports} - RUNTIME DESTINATION ${LLVM_TOOLS_INSTALL_DIR} + RUNTIME DESTINATION libexec/libLLVM COMPONENT ${name}) if (NOT CMAKE_CONFIGURATION_TYPES) -@@ -811,7 +815,7 @@ macro(add_llvm_utility name) +@@ -864,7 +853,7 @@ macro(add_llvm_utility name) set_target_properties(${name} PROPERTIES FOLDER "Utils") if( LLVM_INSTALL_UTILS AND LLVM_BUILD_UTILS ) install (TARGETS ${name} diff --git a/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt b/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt index f0e83e12f97..e3dc3d02cad 100644 --- a/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt +++ b/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt @@ -1,12 +1,12 @@ -$NetBSD: patch-cmake_modules_CMakeLists.txt,v 1.2 2016/11/14 20:15:33 ryoon Exp $ +$NetBSD: patch-cmake_modules_CMakeLists.txt,v 1.3 2017/03/17 22:38:18 adam Exp $ Make sure cmake rules go in own directory to avoid conflicts. ---- cmake/modules/CMakeLists.txt.orig 2016-06-22 21:01:19.000000000 +0000 +--- cmake/modules/CMakeLists.txt.orig 2016-11-08 05:02:18.000000000 +0000 +++ cmake/modules/CMakeLists.txt @@ -1,4 +1,4 @@ -set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm) +set(LLVM_INSTALL_PACKAGE_DIR share/libLLVM/cmake) set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/${LLVM_INSTALL_PACKAGE_DIR}") - get_property(LLVM_EXPORTS GLOBAL PROPERTY LLVM_EXPORTS) + # First for users who use an installed LLVM, create the LLVMExports.cmake file. diff --git a/lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake b/lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake index fcb2e2eeaf0..91542a9c397 100644 --- a/lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake +++ b/lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake @@ -1,15 +1,15 @@ -$NetBSD: patch-cmake_modules_TableGen.cmake,v 1.2 2016/11/14 20:15:33 ryoon Exp $ +$NetBSD: patch-cmake_modules_TableGen.cmake,v 1.3 2017/03/17 22:38:18 adam Exp $ Disable install of llvm-tblgen, provided by lang/llvm. ---- cmake/modules/TableGen.cmake.orig 2016-06-08 21:19:26.000000000 +0000 +--- cmake/modules/TableGen.cmake.orig 2016-12-06 17:09:29.000000000 +0000 +++ cmake/modules/TableGen.cmake -@@ -138,7 +138,7 @@ macro(add_tablegen target project) - set_target_properties(${target} PROPERTIES LINK_FLAGS -Wl,--stack,16777216) - endif(CMAKE_SIZEOF_VOID_P MATCHES "8") - endif( MINGW ) +@@ -134,7 +134,7 @@ macro(add_tablegen target project) + endif() + endif() + - if (${project} STREQUAL LLVM AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY) + if (${project} STREQUAL LLVM AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND false) - install(TARGETS ${target} - EXPORT LLVMExports - RUNTIME DESTINATION ${LLVM_TOOLS_INSTALL_DIR}) + if(${target} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR + NOT LLVM_DISTRIBUTION_COMPONENTS) + set(export_to_llvmexports EXPORT LLVMExports) diff --git a/lang/libLLVM/patches/patch-include_llvm_Support_Host.h b/lang/libLLVM/patches/patch-include_llvm_Support_Host.h index fe847f628c9..c10ff6f1a0f 100644 --- a/lang/libLLVM/patches/patch-include_llvm_Support_Host.h +++ b/lang/libLLVM/patches/patch-include_llvm_Support_Host.h @@ -1,19 +1,18 @@ -$NetBSD: patch-include_llvm_Support_Host.h,v 1.2 2016/11/14 20:15:33 ryoon Exp $ +$NetBSD: patch-include_llvm_Support_Host.h,v 1.3 2017/03/17 22:38:18 adam Exp $ Fix lack of machine/endian.h on solaris http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225 ---- include/llvm/Support/Host.h.orig 2016-02-26 17:01:45.000000000 +0000 +--- include/llvm/Support/Host.h.orig 2016-10-13 17:43:20.000000000 +0000 +++ include/llvm/Support/Host.h -@@ -18,6 +18,20 @@ - - #if defined(__linux__) || defined(__GNU__) || defined(__HAIKU__) +@@ -20,6 +20,18 @@ #include <endian.h> + #elif defined(_AIX) + #include <sys/machine.h> +#elif defined(__sun) & defined(__SVR4) +# ifndef BYTE_ORDER +# define LITTLE_ENDIAN 1234 +# define BIG_ENDIAN 4321 -+# if defined(__sun) & defined(__SVR4) +# include <sys/isa_defs.h> +# ifdef _LITTLE_ENDIAN +# define BYTE_ORDER LITTLE_ENDIAN @@ -21,7 +20,6 @@ http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225 +# ifdef _BIG_ENDIAN +# define BYTE_ORDER BIG_ENDIAN +# endif -+# endif /* sun */ +# endif /* BYTE_ORDER */ #else #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32) diff --git a/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp b/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp index 89750748018..8d15a4228dc 100644 --- a/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp +++ b/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp @@ -1,12 +1,12 @@ -$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.2 2016/11/14 20:15:33 ryoon Exp $ +$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.3 2017/03/17 22:38:18 adam Exp $ -avoid conflict with lang/clang. +Avoid conflict with lang/clang. Use -lLLVM-3.8 instead of -lLLVM-3.8.0 so we don't break unnecessarily on patch updates. ---- tools/llvm-config/llvm-config.cpp.orig 2016-03-14 21:39:58.000000000 +0000 +--- tools/llvm-config/llvm-config.cpp.orig 2017-01-12 19:47:38.000000000 +0000 +++ tools/llvm-config/llvm-config.cpp -@@ -327,9 +327,9 @@ int main(int argc, char **argv) { +@@ -332,9 +332,9 @@ int main(int argc, char **argv) { ("-I" + ActiveIncludeDir + " " + "-I" + ActiveObjRoot + "/include"); } else { ActivePrefix = CurrentExecPrefix; @@ -15,10 +15,10 @@ on patch updates. ActiveBinDir = ActivePrefix + "/bin"; - ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX; + ActiveLibDir = "@PREFIX@/lib/libLLVM"; + ActiveCMakeDir = ActiveLibDir + "/cmake/llvm"; ActiveIncludeOption = "-I" + ActiveIncludeDir; } - -@@ -363,14 +363,14 @@ int main(int argc, char **argv) { +@@ -370,14 +370,14 @@ int main(int argc, char **argv) { StaticDir = ActiveLibDir; } else if (HostTriple.isOSDarwin()) { SharedExt = "dylib"; @@ -35,7 +35,7 @@ on patch updates. StaticExt = "a"; StaticDir = SharedDir = ActiveLibDir; StaticPrefix = SharedPrefix = "lib"; -@@ -383,7 +383,7 @@ int main(int argc, char **argv) { +@@ -390,7 +390,7 @@ int main(int argc, char **argv) { bool DyLibExists = false; const std::string DyLibName = @@ -44,7 +44,7 @@ on patch updates. // If LLVM_LINK_DYLIB is ON, the single shared library will be returned // for "--libs", etc, if they exist. This behaviour can be overridden with -@@ -474,7 +474,7 @@ int main(int argc, char **argv) { +@@ -491,7 +491,7 @@ int main(int argc, char **argv) { OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n'; } else if (Arg == "--ldflags") { OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L") diff --git a/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt b/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt index a5c8ce5c029..aa17cda1810 100644 --- a/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt +++ b/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt @@ -1,14 +1,14 @@ -$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.2 2017/03/09 12:45:56 jperkin Exp $ +$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.3 2017/03/17 22:38:18 adam Exp $ Use the Linux style linking everywhere except Darwin and SunOS. --- tools/llvm-shlib/CMakeLists.txt.orig 2016-05-26 04:35:35.000000000 +0000 +++ tools/llvm-shlib/CMakeLists.txt -@@ -39,11 +39,12 @@ endif() +@@ -37,11 +37,12 @@ endif() add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES}) list(REMOVE_DUPLICATES LIB_NAMES) --if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") # FIXME: It should be "GNU ld for elf" +-if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" OR MINGW) # FIXME: It should be "GNU ld for elf" - # GNU ld doesn't resolve symbols in the version script. - set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive) -elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") diff --git a/lang/libunwind/Makefile b/lang/libunwind/Makefile index 80a2af9544c..15c1af2b6f6 100644 --- a/lang/libunwind/Makefile +++ b/lang/libunwind/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2017/01/05 11:54:32 adam Exp $ +# $NetBSD: Makefile,v 1.5 2017/03/17 22:38:18 adam Exp $ -DISTNAME= libunwind-3.9.1.src +DISTNAME= libunwind-4.0.0.src PKGNAME= ${DISTNAME:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ diff --git a/lang/libunwind/PLIST b/lang/libunwind/PLIST index 647233219fc..dd53c19913f 100644 --- a/lang/libunwind/PLIST +++ b/lang/libunwind/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2016/03/28 12:56:03 kamil Exp $ +@comment $NetBSD: PLIST,v 1.2 2017/03/17 22:38:18 adam Exp $ include/__libunwind_config.h include/libunwind.h include/mach-o/compact_unwind_encoding.h include/unwind.h +lib/libunwind.a lib/libunwind.so lib/libunwind.so.1 lib/libunwind.so.1.0 diff --git a/lang/libunwind/distinfo b/lang/libunwind/distinfo index 4c8c0d77b9d..8d2197a0639 100644 --- a/lang/libunwind/distinfo +++ b/lang/libunwind/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2017/01/05 11:54:32 adam Exp $ +$NetBSD: distinfo,v 1.5 2017/03/17 22:38:18 adam Exp $ -SHA1 (libunwind-3.9.1.src.tar.xz) = 9291fe05c10ca43fb185ef81e10f7cc666d14b5c -RMD160 (libunwind-3.9.1.src.tar.xz) = cdebe5ab20d00a10802270521d453c7b336d6612 -SHA512 (libunwind-3.9.1.src.tar.xz) = a80f5d0660e209f5bf709316b5df2ca63b9f0db49f5f74dfe9c9e580c654f61a15acc071a739fdb84baf5ffa9420b92498f8560331173642d80f6b74e1e2afb7 -Size (libunwind-3.9.1.src.tar.xz) = 61788 bytes +SHA1 (libunwind-4.0.0.src.tar.xz) = 313764406612a9b57e244c1710e866c582af774e +RMD160 (libunwind-4.0.0.src.tar.xz) = 98ca1f8e5e5c4d925889a3f0171aa738864e0876 +SHA512 (libunwind-4.0.0.src.tar.xz) = c3c934b70830ef5496c9d24c469b702eb4408abd4fe4dd9e0832230b064dc78d23b02ed2a5ce9a099dea76c3d43cbf41d59c6cda189f990d5593c7d3cd5c79dd +Size (libunwind-4.0.0.src.tar.xz) = 63748 bytes diff --git a/lang/llvm/Makefile b/lang/llvm/Makefile index 5e1f5c4ceea..8fa0125d769 100644 --- a/lang/llvm/Makefile +++ b/lang/llvm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2017/01/16 21:56:35 brook Exp $ +# $NetBSD: Makefile,v 1.15 2017/03/17 22:38:17 adam Exp $ # # when updating this, please also update: # devel/include-what-you-use @@ -9,7 +9,7 @@ # lang/libLLVM # lang/libunwind -DISTNAME= llvm-3.9.1.src +DISTNAME= llvm-4.0.0.src PKGNAME= ${DISTNAME:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ @@ -25,7 +25,7 @@ USE_CMAKE= yes GCC_REQD+= 4.8 PYTHON_FOR_BUILD_ONLY= yes -CONFIGURE_DIRS= ${WRKDIR}/build +CONFIGURE_DIRS= ${WRKDIR}/build CMAKE_ARG_PATH= ${WRKSRC} CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release @@ -82,10 +82,12 @@ TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib .include "../../mk/bsd.prefs.mk" +PLIST_VARS+= notdylib .if ${_OPSYS_SHLIB_TYPE} == "dylib" SOEXT= dylib .else SOEXT= so +PLIST.notdylib= yes .endif PLIST_SUBST+= SOEXT=${SOEXT} diff --git a/lang/llvm/PLIST b/lang/llvm/PLIST index d8a6629dc39..2e46a5f7d60 100644 --- a/lang/llvm/PLIST +++ b/lang/llvm/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2016/11/14 20:15:32 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.4 2017/03/17 22:38:17 adam Exp $ bin/FileCheck bin/bugpoint bin/count @@ -10,9 +10,11 @@ bin/llvm-ar bin/llvm-as bin/llvm-bcanalyzer bin/llvm-c-test +bin/llvm-cat bin/llvm-config bin/llvm-cov bin/llvm-cxxdump +bin/llvm-cxxfilt bin/llvm-diff bin/llvm-dis bin/llvm-dsymutil @@ -22,10 +24,13 @@ bin/llvm-extract bin/llvm-lib bin/llvm-link bin/llvm-lto +bin/llvm-lto2 bin/llvm-mc bin/llvm-mcmarkup +bin/llvm-modextract bin/llvm-nm bin/llvm-objdump +bin/llvm-opt-report bin/llvm-pdbdump bin/llvm-profdata bin/llvm-ranlib @@ -34,8 +39,10 @@ bin/llvm-rtdyld bin/llvm-size bin/llvm-split bin/llvm-stress +bin/llvm-strings bin/llvm-symbolizer bin/llvm-tblgen +bin/llvm-xray bin/not bin/obj2yaml bin/opt @@ -69,9 +76,11 @@ include/llvm-c/lto.h include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h include/llvm/ADT/APSInt.h +include/llvm/ADT/AllocatorList.h include/llvm/ADT/ArrayRef.h include/llvm/ADT/BitVector.h include/llvm/ADT/BitmaskEnum.h +include/llvm/ADT/CachedHashString.h include/llvm/ADT/DAGDeltaAlgorithm.h include/llvm/ADT/DeltaAlgorithm.h include/llvm/ADT/DenseMap.h @@ -103,6 +112,7 @@ include/llvm/ADT/PriorityQueue.h include/llvm/ADT/PriorityWorklist.h include/llvm/ADT/SCCIterator.h include/llvm/ADT/STLExtras.h +include/llvm/ADT/ScopeExit.h include/llvm/ADT/ScopedHashTable.h include/llvm/ADT/Sequence.h include/llvm/ADT/SetOperations.h @@ -128,9 +138,14 @@ include/llvm/ADT/UniqueVector.h include/llvm/ADT/VariadicFunction.h include/llvm/ADT/edit_distance.h include/llvm/ADT/ilist.h +include/llvm/ADT/ilist_base.h +include/llvm/ADT/ilist_iterator.h include/llvm/ADT/ilist_node.h +include/llvm/ADT/ilist_node_base.h +include/llvm/ADT/ilist_node_options.h include/llvm/ADT/iterator.h include/llvm/ADT/iterator_range.h +include/llvm/ADT/simple_ilist.h include/llvm/Analysis/AliasAnalysis.h include/llvm/Analysis/AliasAnalysisEvaluator.h include/llvm/Analysis/AliasSetTracker.h @@ -169,16 +184,17 @@ include/llvm/Analysis/IntervalIterator.h include/llvm/Analysis/IntervalPartition.h include/llvm/Analysis/IteratedDominanceFrontier.h include/llvm/Analysis/LazyBlockFrequencyInfo.h +include/llvm/Analysis/LazyBranchProbabilityInfo.h include/llvm/Analysis/LazyCallGraph.h include/llvm/Analysis/LazyValueInfo.h include/llvm/Analysis/Lint.h include/llvm/Analysis/Loads.h include/llvm/Analysis/LoopAccessAnalysis.h +include/llvm/Analysis/LoopAnalysisManager.h include/llvm/Analysis/LoopInfo.h include/llvm/Analysis/LoopInfoImpl.h include/llvm/Analysis/LoopIterator.h include/llvm/Analysis/LoopPass.h -include/llvm/Analysis/LoopPassManager.h include/llvm/Analysis/LoopUnrollAnalyzer.h include/llvm/Analysis/MemoryBuiltins.h include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -219,11 +235,12 @@ include/llvm/Analysis/VectorUtils.h include/llvm/AsmParser/Parser.h include/llvm/AsmParser/SlotMapping.h include/llvm/Bitcode/BitCodes.h +include/llvm/Bitcode/BitcodeReader.h +include/llvm/Bitcode/BitcodeWriter.h include/llvm/Bitcode/BitcodeWriterPass.h include/llvm/Bitcode/BitstreamReader.h include/llvm/Bitcode/BitstreamWriter.h include/llvm/Bitcode/LLVMBitCodes.h -include/llvm/Bitcode/ReaderWriter.h include/llvm/CodeGen/Analysis.h include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/AtomicExpandUtils.h @@ -247,11 +264,17 @@ include/llvm/CodeGen/GCs.h include/llvm/CodeGen/GlobalISel/CallLowering.h include/llvm/CodeGen/GlobalISel/GISelAccessor.h include/llvm/CodeGen/GlobalISel/IRTranslator.h +include/llvm/CodeGen/GlobalISel/InstructionSelect.h +include/llvm/CodeGen/GlobalISel/InstructionSelector.h +include/llvm/CodeGen/GlobalISel/Legalizer.h +include/llvm/CodeGen/GlobalISel/LegalizerHelper.h +include/llvm/CodeGen/GlobalISel/LegalizerInfo.h include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h include/llvm/CodeGen/GlobalISel/RegBankSelect.h include/llvm/CodeGen/GlobalISel/RegisterBank.h include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h include/llvm/CodeGen/GlobalISel/Types.h +include/llvm/CodeGen/GlobalISel/Utils.h include/llvm/CodeGen/ISDOpcodes.h include/llvm/CodeGen/IntrinsicLowering.h include/llvm/CodeGen/LatencyPriorityQueue.h @@ -266,6 +289,7 @@ include/llvm/CodeGen/LiveRangeEdit.h include/llvm/CodeGen/LiveRegMatrix.h include/llvm/CodeGen/LiveStackAnalysis.h include/llvm/CodeGen/LiveVariables.h +include/llvm/CodeGen/LowLevelType.h include/llvm/CodeGen/MIRParser/MIRParser.h include/llvm/CodeGen/MIRYamlMapping.h include/llvm/CodeGen/MachORelocation.h @@ -278,7 +302,6 @@ include/llvm/CodeGen/MachineDominanceFrontier.h include/llvm/CodeGen/MachineDominators.h include/llvm/CodeGen/MachineFrameInfo.h include/llvm/CodeGen/MachineFunction.h -include/llvm/CodeGen/MachineFunctionAnalysis.h include/llvm/CodeGen/MachineFunctionInitializer.h include/llvm/CodeGen/MachineFunctionPass.h include/llvm/CodeGen/MachineInstr.h @@ -344,42 +367,47 @@ include/llvm/Config/AsmParsers.def include/llvm/Config/AsmPrinters.def include/llvm/Config/Disassemblers.def include/llvm/Config/Targets.def +include/llvm/Config/abi-breaking.h include/llvm/Config/llvm-config.h -include/llvm/DebugInfo/CodeView/ByteStream.h +include/llvm/DebugInfo/CodeView/CVDebugRecord.h include/llvm/DebugInfo/CodeView/CVRecord.h include/llvm/DebugInfo/CodeView/CVSymbolTypes.def include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h +include/llvm/DebugInfo/CodeView/CVTypeDumper.h include/llvm/DebugInfo/CodeView/CVTypeVisitor.h include/llvm/DebugInfo/CodeView/CodeView.h include/llvm/DebugInfo/CodeView/CodeViewError.h -include/llvm/DebugInfo/CodeView/CodeViewOStream.h +include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h include/llvm/DebugInfo/CodeView/EnumTables.h -include/llvm/DebugInfo/CodeView/FieldListRecordBuilder.h include/llvm/DebugInfo/CodeView/FunctionId.h include/llvm/DebugInfo/CodeView/Line.h -include/llvm/DebugInfo/CodeView/ListRecordBuilder.h -include/llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h -include/llvm/DebugInfo/CodeView/MethodListRecordBuilder.h include/llvm/DebugInfo/CodeView/ModuleSubstream.h include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h include/llvm/DebugInfo/CodeView/RecordSerialization.h -include/llvm/DebugInfo/CodeView/StreamArray.h -include/llvm/DebugInfo/CodeView/StreamInterface.h -include/llvm/DebugInfo/CodeView/StreamReader.h -include/llvm/DebugInfo/CodeView/StreamRef.h -include/llvm/DebugInfo/CodeView/StreamWriter.h +include/llvm/DebugInfo/CodeView/SymbolDeserializer.h include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h include/llvm/DebugInfo/CodeView/SymbolDumper.h include/llvm/DebugInfo/CodeView/SymbolRecord.h +include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h +include/llvm/DebugInfo/CodeView/SymbolSerializer.h +include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h +include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h -include/llvm/DebugInfo/CodeView/TypeDumper.h +include/llvm/DebugInfo/CodeView/TypeDatabase.h +include/llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h +include/llvm/DebugInfo/CodeView/TypeDeserializer.h +include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h +include/llvm/DebugInfo/CodeView/TypeDumperBase.h include/llvm/DebugInfo/CodeView/TypeIndex.h include/llvm/DebugInfo/CodeView/TypeRecord.h include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h +include/llvm/DebugInfo/CodeView/TypeRecordMapping.h include/llvm/DebugInfo/CodeView/TypeRecords.def +include/llvm/DebugInfo/CodeView/TypeSerializer.h include/llvm/DebugInfo/CodeView/TypeStreamMerger.h include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h include/llvm/DebugInfo/CodeView/TypeTableBuilder.h +include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h include/llvm/DebugInfo/DIContext.h include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h @@ -394,13 +422,29 @@ include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h include/llvm/DebugInfo/DWARF/DWARFDebugLine.h include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h +include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h +include/llvm/DebugInfo/DWARF/DWARFDie.h include/llvm/DebugInfo/DWARF/DWARFFormValue.h +include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h include/llvm/DebugInfo/DWARF/DWARFRelocMap.h include/llvm/DebugInfo/DWARF/DWARFSection.h include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h include/llvm/DebugInfo/DWARF/DWARFUnit.h include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h +include/llvm/DebugInfo/MSF/ByteStream.h +include/llvm/DebugInfo/MSF/IMSFFile.h +include/llvm/DebugInfo/MSF/MSFBuilder.h +include/llvm/DebugInfo/MSF/MSFCommon.h +include/llvm/DebugInfo/MSF/MSFError.h +include/llvm/DebugInfo/MSF/MSFStreamLayout.h +include/llvm/DebugInfo/MSF/MappedBlockStream.h +include/llvm/DebugInfo/MSF/SequencedItemStream.h +include/llvm/DebugInfo/MSF/StreamArray.h +include/llvm/DebugInfo/MSF/StreamInterface.h +include/llvm/DebugInfo/MSF/StreamReader.h +include/llvm/DebugInfo/MSF/StreamRef.h +include/llvm/DebugInfo/MSF/StreamWriter.h include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h include/llvm/DebugInfo/PDB/DIA/DIADataStream.h include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h @@ -459,20 +503,14 @@ include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h include/llvm/DebugInfo/PDB/PDBTypes.h include/llvm/DebugInfo/PDB/Raw/DbiStream.h include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h -include/llvm/DebugInfo/PDB/Raw/DirectoryStreamData.h include/llvm/DebugInfo/PDB/Raw/EnumTables.h +include/llvm/DebugInfo/PDB/Raw/GlobalsStream.h include/llvm/DebugInfo/PDB/Raw/Hash.h -include/llvm/DebugInfo/PDB/Raw/IPDBFile.h -include/llvm/DebugInfo/PDB/Raw/IPDBStreamData.h include/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h -include/llvm/DebugInfo/PDB/Raw/IndexedStreamData.h include/llvm/DebugInfo/PDB/Raw/InfoStream.h include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h -include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h include/llvm/DebugInfo/PDB/Raw/ModInfo.h include/llvm/DebugInfo/PDB/Raw/ModStream.h -include/llvm/DebugInfo/PDB/Raw/MsfBuilder.h -include/llvm/DebugInfo/PDB/Raw/MsfCommon.h include/llvm/DebugInfo/PDB/Raw/NameHashTable.h include/llvm/DebugInfo/PDB/Raw/NameMap.h include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h @@ -484,15 +522,18 @@ include/llvm/DebugInfo/PDB/Raw/RawError.h include/llvm/DebugInfo/PDB/Raw/RawSession.h include/llvm/DebugInfo/PDB/Raw/RawTypes.h include/llvm/DebugInfo/PDB/Raw/SymbolStream.h +include/llvm/DebugInfo/PDB/Raw/TpiHashing.h include/llvm/DebugInfo/PDB/Raw/TpiStream.h +include/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h include/llvm/DebugInfo/Symbolize/DIPrinter.h include/llvm/DebugInfo/Symbolize/SymbolizableModule.h include/llvm/DebugInfo/Symbolize/Symbolize.h +include/llvm/Demangle/Demangle.h include/llvm/ExecutionEngine/ExecutionEngine.h include/llvm/ExecutionEngine/GenericValue.h include/llvm/ExecutionEngine/Interpreter.h include/llvm/ExecutionEngine/JITEventListener.h -include/llvm/ExecutionEngine/JITSymbolFlags.h +include/llvm/ExecutionEngine/JITSymbol.h include/llvm/ExecutionEngine/MCJIT.h include/llvm/ExecutionEngine/OProfileWrapper.h include/llvm/ExecutionEngine/ObjectCache.h @@ -504,10 +545,8 @@ include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h include/llvm/ExecutionEngine/Orc/IRCompileLayer.h include/llvm/ExecutionEngine/Orc/IRTransformLayer.h include/llvm/ExecutionEngine/Orc/IndirectionUtils.h -include/llvm/ExecutionEngine/Orc/JITSymbol.h include/llvm/ExecutionEngine/Orc/LambdaResolver.h include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h -include/llvm/ExecutionEngine/Orc/LogicalDylib.h include/llvm/ExecutionEngine/Orc/NullResolver.h include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h @@ -516,8 +555,9 @@ include/llvm/ExecutionEngine/Orc/OrcError.h include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h -include/llvm/ExecutionEngine/Orc/RPCChannel.h +include/llvm/ExecutionEngine/Orc/RPCSerialization.h include/llvm/ExecutionEngine/Orc/RPCUtils.h +include/llvm/ExecutionEngine/Orc/RawByteChannel.h include/llvm/ExecutionEngine/OrcMCJITReplacement.h include/llvm/ExecutionEngine/RTDyldMemoryManager.h include/llvm/ExecutionEngine/RuntimeDyld.h @@ -525,8 +565,8 @@ include/llvm/ExecutionEngine/RuntimeDyldChecker.h include/llvm/ExecutionEngine/SectionMemoryManager.h include/llvm/IR/Argument.h include/llvm/IR/AssemblyAnnotationWriter.h +include/llvm/IR/Attributes.gen include/llvm/IR/Attributes.h -include/llvm/IR/Attributes.inc include/llvm/IR/Attributes.td include/llvm/IR/AutoUpgrade.h include/llvm/IR/BasicBlock.h @@ -593,6 +633,7 @@ include/llvm/IR/Metadata.h include/llvm/IR/Module.h include/llvm/IR/ModuleSlotTracker.h include/llvm/IR/ModuleSummaryIndex.h +include/llvm/IR/ModuleSummaryIndexYAML.h include/llvm/IR/NoFolder.h include/llvm/IR/OperandTraits.h include/llvm/IR/Operator.h @@ -619,7 +660,10 @@ include/llvm/IR/ValueSymbolTable.h include/llvm/IR/Verifier.h include/llvm/IRReader/IRReader.h include/llvm/InitializePasses.h +include/llvm/LTO/Caching.h +include/llvm/LTO/Config.h include/llvm/LTO/LTO.h +include/llvm/LTO/LTOBackend.h include/llvm/LTO/legacy/LTOCodeGenerator.h include/llvm/LTO/legacy/LTOModule.h include/llvm/LTO/legacy/ThinLTOCodeGenerator.h @@ -631,6 +675,7 @@ include/llvm/LinkAllPasses.h include/llvm/Linker/IRMover.h include/llvm/Linker/Linker.h include/llvm/MC/ConstantPools.h +include/llvm/MC/LaneBitmask.h include/llvm/MC/MCAsmBackend.h include/llvm/MC/MCAsmInfo.h include/llvm/MC/MCAsmInfoCOFF.h @@ -703,6 +748,7 @@ include/llvm/Object/ArchiveWriter.h include/llvm/Object/Binary.h include/llvm/Object/COFF.h include/llvm/Object/COFFImportFile.h +include/llvm/Object/Decompressor.h include/llvm/Object/ELF.h include/llvm/Object/ELFObjectFile.h include/llvm/Object/ELFTypes.h @@ -711,12 +757,15 @@ include/llvm/Object/IRObjectFile.h include/llvm/Object/MachO.h include/llvm/Object/MachOUniversal.h include/llvm/Object/ModuleSummaryIndexObjectFile.h +include/llvm/Object/ModuleSymbolTable.h include/llvm/Object/ObjectFile.h include/llvm/Object/RelocVisitor.h include/llvm/Object/StackMapParser.h include/llvm/Object/SymbolSize.h include/llvm/Object/SymbolicFile.h +include/llvm/Object/Wasm.h include/llvm/ObjectYAML/COFFYAML.h +include/llvm/ObjectYAML/DWARFYAML.h include/llvm/ObjectYAML/ELFYAML.h include/llvm/ObjectYAML/MachOYAML.h include/llvm/ObjectYAML/ObjectYAML.h @@ -762,6 +811,7 @@ include/llvm/Support/COM.h include/llvm/Support/CachePruning.h include/llvm/Support/Capacity.h include/llvm/Support/Casting.h +include/llvm/Support/Chrono.h include/llvm/Support/CodeGen.h include/llvm/Support/CodeGenCWrappers.h include/llvm/Support/CommandLine.h @@ -771,7 +821,6 @@ include/llvm/Support/ConvertUTF.h include/llvm/Support/CrashRecoveryContext.h include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataExtractor.h -include/llvm/Support/DataStream.h include/llvm/Support/DataTypes.h include/llvm/Support/Debug.h include/llvm/Support/Dwarf.def @@ -788,6 +837,7 @@ include/llvm/Support/ELFRelocs/Lanai.def include/llvm/Support/ELFRelocs/Mips.def include/llvm/Support/ELFRelocs/PowerPC.def include/llvm/Support/ELFRelocs/PowerPC64.def +include/llvm/Support/ELFRelocs/RISCV.def include/llvm/Support/ELFRelocs/Sparc.def include/llvm/Support/ELFRelocs/SystemZ.def include/llvm/Support/ELFRelocs/WebAssembly.def @@ -804,10 +854,16 @@ include/llvm/Support/FileOutputBuffer.h include/llvm/Support/FileSystem.h include/llvm/Support/FileUtilities.h include/llvm/Support/Format.h +include/llvm/Support/FormatAdapters.h +include/llvm/Support/FormatCommon.h +include/llvm/Support/FormatProviders.h +include/llvm/Support/FormatVariadic.h +include/llvm/Support/FormatVariadicDetails.h include/llvm/Support/FormattedStream.h include/llvm/Support/GCOV.h include/llvm/Support/GenericDomTree.h include/llvm/Support/GenericDomTreeConstruction.h +include/llvm/Support/GlobPattern.h include/llvm/Support/GraphWriter.h include/llvm/Support/Host.h include/llvm/Support/JamCRC.h @@ -823,10 +879,10 @@ include/llvm/Support/ManagedStatic.h include/llvm/Support/MathExtras.h include/llvm/Support/Memory.h include/llvm/Support/MemoryBuffer.h -include/llvm/Support/MemoryObject.h include/llvm/Support/MipsABIFlags.h include/llvm/Support/Mutex.h include/llvm/Support/MutexGuard.h +include/llvm/Support/NativeFormatting.h include/llvm/Support/OnDiskHashTable.h include/llvm/Support/Options.h include/llvm/Support/Path.h @@ -851,26 +907,27 @@ include/llvm/Support/Signals.h include/llvm/Support/Solaris.h include/llvm/Support/SourceMgr.h include/llvm/Support/SpecialCaseList.h -include/llvm/Support/StreamingMemoryObject.h include/llvm/Support/StringPool.h include/llvm/Support/StringSaver.h include/llvm/Support/SwapByteOrder.h include/llvm/Support/SystemUtils.h +include/llvm/Support/TarWriter.h include/llvm/Support/TargetParser.h include/llvm/Support/TargetRegistry.h include/llvm/Support/TargetSelect.h include/llvm/Support/ThreadLocal.h include/llvm/Support/ThreadPool.h include/llvm/Support/Threading.h -include/llvm/Support/TimeValue.h include/llvm/Support/Timer.h include/llvm/Support/ToolOutputFile.h include/llvm/Support/TrailingObjects.h +include/llvm/Support/TrigramIndex.h include/llvm/Support/TypeName.h include/llvm/Support/Unicode.h include/llvm/Support/UnicodeCharRanges.h include/llvm/Support/UniqueLock.h include/llvm/Support/Valgrind.h +include/llvm/Support/Wasm.h include/llvm/Support/Watchdog.h include/llvm/Support/Win64EH.h include/llvm/Support/WindowsError.h @@ -882,6 +939,7 @@ include/llvm/Support/raw_ostream.h include/llvm/Support/raw_sha1_ostream.h include/llvm/Support/thread.h include/llvm/Support/type_traits.h +include/llvm/Support/xxhash.h include/llvm/TableGen/Error.h include/llvm/TableGen/Main.h include/llvm/TableGen/Record.h @@ -896,6 +954,7 @@ include/llvm/Target/Target.td include/llvm/Target/TargetCallingConv.h include/llvm/Target/TargetCallingConv.td include/llvm/Target/TargetFrameLowering.h +include/llvm/Target/TargetGlobalISel.td include/llvm/Target/TargetInstrInfo.h include/llvm/Target/TargetIntrinsicInfo.h include/llvm/Target/TargetItinerary.td @@ -905,13 +964,14 @@ include/llvm/Target/TargetMachine.h include/llvm/Target/TargetOpcodes.def include/llvm/Target/TargetOpcodes.h include/llvm/Target/TargetOptions.h -include/llvm/Target/TargetRecip.h include/llvm/Target/TargetRegisterInfo.h include/llvm/Target/TargetSchedule.td include/llvm/Target/TargetSelectionDAG.td include/llvm/Target/TargetSubtargetInfo.h +include/llvm/Transforms/Coroutines.h include/llvm/Transforms/GCOVProfiler.h include/llvm/Transforms/IPO.h +include/llvm/Transforms/IPO/AlwaysInliner.h include/llvm/Transforms/IPO/ConstantMerge.h include/llvm/Transforms/IPO/CrossDSOCFI.h include/llvm/Transforms/IPO/DeadArgumentElimination.h @@ -921,8 +981,9 @@ include/llvm/Transforms/IPO/FunctionAttrs.h include/llvm/Transforms/IPO/FunctionImport.h include/llvm/Transforms/IPO/GlobalDCE.h include/llvm/Transforms/IPO/GlobalOpt.h +include/llvm/Transforms/IPO/GlobalSplit.h include/llvm/Transforms/IPO/InferFunctionAttrs.h -include/llvm/Transforms/IPO/InlinerPass.h +include/llvm/Transforms/IPO/Inliner.h include/llvm/Transforms/IPO/Internalize.h include/llvm/Transforms/IPO/LowerTypeTests.h include/llvm/Transforms/IPO/PartialInlining.h @@ -948,48 +1009,66 @@ include/llvm/Transforms/Scalar/DeadStoreElimination.h include/llvm/Transforms/Scalar/EarlyCSE.h include/llvm/Transforms/Scalar/Float2Int.h include/llvm/Transforms/Scalar/GVN.h +include/llvm/Transforms/Scalar/GVNExpression.h include/llvm/Transforms/Scalar/GuardWidening.h +include/llvm/Transforms/Scalar/IVUsersPrinter.h include/llvm/Transforms/Scalar/IndVarSimplify.h include/llvm/Transforms/Scalar/JumpThreading.h include/llvm/Transforms/Scalar/LICM.h +include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h +include/llvm/Transforms/Scalar/LoopDataPrefetch.h include/llvm/Transforms/Scalar/LoopDeletion.h include/llvm/Transforms/Scalar/LoopDistribute.h include/llvm/Transforms/Scalar/LoopIdiomRecognize.h include/llvm/Transforms/Scalar/LoopInstSimplify.h +include/llvm/Transforms/Scalar/LoopPassManager.h include/llvm/Transforms/Scalar/LoopRotation.h include/llvm/Transforms/Scalar/LoopSimplifyCFG.h +include/llvm/Transforms/Scalar/LoopStrengthReduce.h +include/llvm/Transforms/Scalar/LoopUnrollPass.h include/llvm/Transforms/Scalar/LowerAtomic.h include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h +include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h include/llvm/Transforms/Scalar/MemCpyOptimizer.h include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h +include/llvm/Transforms/Scalar/NaryReassociate.h +include/llvm/Transforms/Scalar/NewGVN.h include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h include/llvm/Transforms/Scalar/Reassociate.h include/llvm/Transforms/Scalar/SCCP.h include/llvm/Transforms/Scalar/SROA.h include/llvm/Transforms/Scalar/SimplifyCFG.h include/llvm/Transforms/Scalar/Sink.h +include/llvm/Transforms/Scalar/SpeculativeExecution.h include/llvm/Transforms/Scalar/TailRecursionElimination.h include/llvm/Transforms/Utils/ASanStackFrameLayout.h include/llvm/Transforms/Utils/AddDiscriminators.h include/llvm/Transforms/Utils/BasicBlockUtils.h +include/llvm/Transforms/Utils/BreakCriticalEdges.h include/llvm/Transforms/Utils/BuildLibCalls.h include/llvm/Transforms/Utils/BypassSlowDivision.h include/llvm/Transforms/Utils/Cloning.h include/llvm/Transforms/Utils/CmpInstAnalysis.h include/llvm/Transforms/Utils/CodeExtractor.h include/llvm/Transforms/Utils/CtorUtils.h +include/llvm/Transforms/Utils/EscapeEnumerator.h include/llvm/Transforms/Utils/Evaluator.h +include/llvm/Transforms/Utils/FunctionComparator.h include/llvm/Transforms/Utils/FunctionImportUtils.h include/llvm/Transforms/Utils/GlobalStatus.h +include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h include/llvm/Transforms/Utils/IntegerDivision.h include/llvm/Transforms/Utils/LCSSA.h +include/llvm/Transforms/Utils/LibCallsShrinkWrap.h include/llvm/Transforms/Utils/Local.h include/llvm/Transforms/Utils/LoopSimplify.h include/llvm/Transforms/Utils/LoopUtils.h include/llvm/Transforms/Utils/LoopVersioning.h +include/llvm/Transforms/Utils/LowerInvoke.h include/llvm/Transforms/Utils/Mem2Reg.h include/llvm/Transforms/Utils/MemorySSA.h include/llvm/Transforms/Utils/ModuleUtils.h +include/llvm/Transforms/Utils/NameAnonGlobals.h include/llvm/Transforms/Utils/PromoteMemToReg.h include/llvm/Transforms/Utils/SSAUpdater.h include/llvm/Transforms/Utils/SSAUpdaterImpl.h @@ -1005,13 +1084,18 @@ include/llvm/Transforms/Utils/ValueMapper.h include/llvm/Transforms/Vectorize.h include/llvm/Transforms/Vectorize/LoopVectorize.h include/llvm/Transforms/Vectorize/SLPVectorizer.h +include/llvm/XRay/Trace.h +include/llvm/XRay/XRayRecord.h +include/llvm/XRay/YAMLXRayRecord.h lib/BugpointPasses.${SOEXT} lib/LLVMHello.${SOEXT} lib/cmake/llvm/AddLLVM.cmake lib/cmake/llvm/AddLLVMDefinitions.cmake lib/cmake/llvm/AddOCaml.cmake lib/cmake/llvm/AddSphinxTarget.cmake +lib/cmake/llvm/CheckAtomic.cmake lib/cmake/llvm/CheckCompilerVersion.cmake +lib/cmake/llvm/CheckLinkerFlag.cmake lib/cmake/llvm/ChooseMSVCCRT.cmake lib/cmake/llvm/CrossCompile.cmake lib/cmake/llvm/DetermineGCCCompatible.cmake @@ -1057,15 +1141,19 @@ lib/libLLVMAsmPrinter.a ${PLIST.BPF}lib/libLLVMBPFAsmPrinter.a ${PLIST.BPF}lib/libLLVMBPFCodeGen.a ${PLIST.BPF}lib/libLLVMBPFDesc.a +${PLIST.BPF}lib/libLLVMBPFDisassembler.a ${PLIST.BPF}lib/libLLVMBPFInfo.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a lib/libLLVMCodeGen.a lib/libLLVMCore.a +lib/libLLVMCoroutines.a lib/libLLVMCoverage.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoDWARF.a +lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoPDB.a +lib/libLLVMDemangle.a lib/libLLVMExecutionEngine.a lib/libLLVMGlobalISel.a ${PLIST.Hexagon}lib/libLLVMHexagonAsmParser.a @@ -1146,5 +1234,8 @@ ${PLIST.XCore}lib/libLLVMXCoreCodeGen.a ${PLIST.XCore}lib/libLLVMXCoreDesc.a ${PLIST.XCore}lib/libLLVMXCoreDisassembler.a ${PLIST.XCore}lib/libLLVMXCoreInfo.a +lib/libLLVMXRay.a lib/libLLVMipo.a lib/libLTO.${SOEXT} +${PLIST.notdylib}lib/libLTO.${SOEXT}.4 +${PLIST.notdylib}lib/libLTO.${SOEXT}.${PKGVERSION} diff --git a/lang/llvm/distinfo b/lang/llvm/distinfo index 83b6733df72..448fde922a3 100644 --- a/lang/llvm/distinfo +++ b/lang/llvm/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.5 2017/01/05 11:54:32 adam Exp $ +$NetBSD: distinfo,v 1.6 2017/03/17 22:38:17 adam Exp $ -SHA1 (llvm-3.9.1.src.tar.xz) = ce801cf456b8dacd565ce8df8288b4d90e7317ff -RMD160 (llvm-3.9.1.src.tar.xz) = b0a3c68cfec83a2b4dad6922316b71c0dc25c40a -SHA512 (llvm-3.9.1.src.tar.xz) = 50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683 -Size (llvm-3.9.1.src.tar.xz) = 18130436 bytes -SHA1 (patch-cmake_modules_AddLLVM.cmake) = ec89e9469115b22feeb106e1c36b36af1f079576 -SHA1 (patch-include_llvm_Support_Host.h) = ad6ac520f15bba96ab887c962fb717e22aaee7bf +SHA1 (llvm-4.0.0.src.tar.xz) = aee4524e2407f9fe5afc6f70c753180b907011d0 +RMD160 (llvm-4.0.0.src.tar.xz) = 468ae2502ba523b35c5e8340724ddaa50b31ccb5 +SHA512 (llvm-4.0.0.src.tar.xz) = cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 +Size (llvm-4.0.0.src.tar.xz) = 21016340 bytes +SHA1 (patch-cmake_modules_AddLLVM.cmake) = 73725f49c7814f54f9286afe796bc2a466ee9611 +SHA1 (patch-include_llvm_Support_Host.h) = a4e19a72714084b211b0182c04ccc51bd606e150 diff --git a/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake b/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake index 8784c9f5461..7954e8cafd5 100644 --- a/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake +++ b/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake @@ -1,19 +1,16 @@ -$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.1 2016/03/11 06:50:42 tnn Exp $ +$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.2 2017/03/17 22:38:17 adam Exp $ Don't use non-portable -z discard-unused on SunOS. --- cmake/modules/AddLLVM.cmake.orig 2016-02-12 17:52:29.000000000 +0000 +++ cmake/modules/AddLLVM.cmake -@@ -174,9 +174,9 @@ function(add_link_opts target_name) +@@ -174,9 +174,6 @@ function(add_link_opts target_name) # ld64's implementation of -dead_strip breaks tools that use plugins. set_property(TARGET ${target_name} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-dead_strip") - elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") - set_property(TARGET ${target_name} APPEND_STRING PROPERTY - LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections") -+# elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") -+# set_property(TARGET ${target_name} APPEND_STRING PROPERTY -+# LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections") elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD) # Object files are compiled with -ffunction-data-sections. # Versions of bfd ld < 2.23.1 have a bug in --gc-sections that breaks diff --git a/lang/llvm/patches/patch-include_llvm_Support_Host.h b/lang/llvm/patches/patch-include_llvm_Support_Host.h index fe847f628c9..4734bd713e7 100644 --- a/lang/llvm/patches/patch-include_llvm_Support_Host.h +++ b/lang/llvm/patches/patch-include_llvm_Support_Host.h @@ -1,19 +1,18 @@ -$NetBSD: patch-include_llvm_Support_Host.h,v 1.2 2016/11/14 20:15:33 ryoon Exp $ +$NetBSD: patch-include_llvm_Support_Host.h,v 1.3 2017/03/17 22:38:17 adam Exp $ Fix lack of machine/endian.h on solaris http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225 ---- include/llvm/Support/Host.h.orig 2016-02-26 17:01:45.000000000 +0000 +--- include/llvm/Support/Host.h.orig 2016-10-13 17:43:20.000000000 +0000 +++ include/llvm/Support/Host.h -@@ -18,6 +18,20 @@ - - #if defined(__linux__) || defined(__GNU__) || defined(__HAIKU__) +@@ -20,6 +20,18 @@ #include <endian.h> + #elif defined(_AIX) + #include <sys/machine.h> +#elif defined(__sun) & defined(__SVR4) +# ifndef BYTE_ORDER +# define LITTLE_ENDIAN 1234 +# define BIG_ENDIAN 4321 -+# if defined(__sun) & defined(__SVR4) +# include <sys/isa_defs.h> +# ifdef _LITTLE_ENDIAN +# define BYTE_ORDER LITTLE_ENDIAN @@ -21,7 +20,6 @@ http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225 +# ifdef _BIG_ENDIAN +# define BYTE_ORDER BIG_ENDIAN +# endif -+# endif /* sun */ +# endif /* BYTE_ORDER */ #else #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32) |