diff options
author | adam <adam@pkgsrc.org> | 2017-12-01 19:22:12 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-12-01 19:22:12 +0000 |
commit | ac8598ceb649036c169a25a0c309572dad8e31e1 (patch) | |
tree | 9c36a71c37a87932c3316a58c169527539d37124 /lang | |
parent | bb17406f48de2f8aba7653faffd6a8ad2c8c5c47 (diff) | |
download | pkgsrc-ac8598ceb649036c169a25a0c309572dad8e31e1.tar.gz |
llvm: updated to 5.0.0
5.0.0:
Non-comprehensive list of changes in this release
* LLVM’s WeakVH has been renamed to WeakTrackingVH and a new WeakVH has been introduced. The new WeakVH nulls itself out on deletion, but does not track values across RAUW.
* A new library named BinaryFormat has been created which holds a collection of code which previously lived in Support. This includes the file_magic structure and identify_magic functions, as well as all the structure and type definitions for DWARF, ELF, COFF, WASM, and MachO file formats.
* The tool llvm-pdbdump has been renamed llvm-pdbutil to better reflect its nature as a general purpose PDB manipulation / diagnostics tool that does more than just dumping contents.
* The BBVectorize pass has been removed. It was fully replaced and no longer used back in 2014 but we didn’t get around to removing it. Now it is gone. The SLP vectorizer is the suggested non-loop vectorization pass.
* A new tool opt-viewer.py has been added to visualize optimization remarks in HTML. The tool processes the YAML files produced by clang with the -fsave-optimization-record option.
* A new CMake macro LLVM_REVERSE_ITERATION has been added. If enabled, all supported unordered LLVM containers would be iterated in reverse order. This is useful for uncovering non-determinism caused by iteration of unordered containers. Currently, it supports reverse iteration of SmallPtrSet and DenseMap.
* A new tool llvm-dlltool has been added to create short import libraries from GNU style definition files. The tool utilizes the PE COFF SPEC Import Library Format and PE COFF Auxiliary Weak Externals Format to achieve compatibility with LLD and MSVC LINK.
Diffstat (limited to 'lang')
22 files changed, 446 insertions, 362 deletions
diff --git a/lang/clang/Makefile.common b/lang/clang/Makefile.common index e9b09ca6221..e49cc09399e 100644 --- a/lang/clang/Makefile.common +++ b/lang/clang/Makefile.common @@ -1,8 +1,8 @@ -# $NetBSD: Makefile.common,v 1.23 2017/07/11 19:47:37 adam Exp $ +# $NetBSD: Makefile.common,v 1.24 2017/12/01 19:22:12 adam Exp $ # used by lang/clang/Makefile # used by lang/clang-static-analyzer/Makefile -DISTNAME= cfe-4.0.1.src +DISTNAME= cfe-5.0.0.src CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tar.xz @@ -120,6 +120,7 @@ post-extract: .include "../../textproc/libxml2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" +.include "../../lang/python/application.mk" .include "../../lang/python/tool.mk" DEPENDS+= llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm .include "../../lang/llvm/buildlink3.mk" diff --git a/lang/clang/PLIST b/lang/clang/PLIST index 71e5588268c..fa1b3fce967 100644 --- a/lang/clang/PLIST +++ b/lang/clang/PLIST @@ -1,13 +1,14 @@ -@comment $NetBSD: PLIST,v 1.21 2017/03/17 22:38:17 adam Exp $ +@comment $NetBSD: PLIST,v 1.22 2017/12/01 19:22:12 adam Exp $ bin/c-index-test bin/clang bin/clang++ -bin/clang-4.0 +bin/clang-5.0 bin/clang-cl bin/clang-cpp bin/clang-format bin/clang-import-test bin/clang-offload-bundler +bin/clang-rename include/clang-c/BuildSystem.h include/clang-c/CXCompilationDatabase.h include/clang-c/CXErrorCode.h @@ -27,6 +28,7 @@ include/clang/AST/ASTFwd.h include/clang/AST/ASTImporter.h include/clang/AST/ASTLambda.h include/clang/AST/ASTMutationListener.h +include/clang/AST/ASTStructuralEquivalence.h include/clang/AST/ASTTypeTraits.h include/clang/AST/ASTUnresolvedSet.h include/clang/AST/ASTVector.h @@ -76,6 +78,7 @@ include/clang/AST/Expr.h include/clang/AST/ExprCXX.h include/clang/AST/ExprObjC.h include/clang/AST/ExprOpenMP.h +include/clang/AST/ExternalASTMerger.h include/clang/AST/ExternalASTSource.h include/clang/AST/GlobalDecl.h include/clang/AST/LambdaCapture.h @@ -84,6 +87,7 @@ include/clang/AST/Mangle.h include/clang/AST/MangleNumberingContext.h include/clang/AST/NSAPI.h include/clang/AST/NestedNameSpecifier.h +include/clang/AST/ODRHash.h include/clang/AST/OpenMPClause.h include/clang/AST/OperationKinds.def include/clang/AST/OperationKinds.h @@ -157,6 +161,8 @@ include/clang/Basic/AllDiagnostics.h include/clang/Basic/AttrHasAttributeImpl.inc include/clang/Basic/AttrKinds.h include/clang/Basic/AttrList.inc +include/clang/Basic/AttrSubMatchRulesList.inc +include/clang/Basic/AttrSubjectMatchRules.h include/clang/Basic/Attributes.h include/clang/Basic/Builtins.def include/clang/Basic/Builtins.h @@ -168,6 +174,7 @@ include/clang/Basic/BuiltinsLe64.def include/clang/Basic/BuiltinsMips.def include/clang/Basic/BuiltinsNEON.def include/clang/Basic/BuiltinsNVPTX.def +include/clang/Basic/BuiltinsNios2.def include/clang/Basic/BuiltinsPPC.def include/clang/Basic/BuiltinsSystemZ.def include/clang/Basic/BuiltinsWebAssembly.def @@ -208,6 +215,7 @@ include/clang/Basic/LangOptions.def include/clang/Basic/LangOptions.h include/clang/Basic/Linkage.h include/clang/Basic/MacroBuilder.h +include/clang/Basic/MemoryBufferCache.h include/clang/Basic/Module.h include/clang/Basic/ObjCRuntime.h include/clang/Basic/OpenCLExtensions.def @@ -242,11 +250,14 @@ include/clang/Basic/Version.inc include/clang/Basic/VersionTuple.h include/clang/Basic/VirtualFileSystem.h include/clang/Basic/Visibility.h +include/clang/Basic/XRayLists.h include/clang/Basic/arm_neon.inc include/clang/CodeGen/BackendUtil.h include/clang/CodeGen/CGFunctionInfo.h include/clang/CodeGen/CodeGenABITypes.h include/clang/CodeGen/CodeGenAction.h +include/clang/CodeGen/ConstantInitBuilder.h +include/clang/CodeGen/ConstantInitFuture.h include/clang/CodeGen/ModuleBuilder.h include/clang/CodeGen/ObjectFilePCHContainerOperations.h include/clang/CodeGen/SwiftCallingConv.h @@ -267,6 +278,7 @@ include/clang/Driver/ToolChain.h include/clang/Driver/Types.def include/clang/Driver/Types.h include/clang/Driver/Util.h +include/clang/Driver/XRayArgs.h include/clang/Edit/Commit.h include/clang/Edit/EditedSource.h include/clang/Edit/EditsReceiver.h @@ -295,6 +307,7 @@ include/clang/Frontend/LogDiagnosticPrinter.h include/clang/Frontend/MigratorOptions.h include/clang/Frontend/MultiplexConsumer.h include/clang/Frontend/PCHContainerOperations.h +include/clang/Frontend/PrecompiledPreamble.h include/clang/Frontend/PreprocessorOutputOptions.h include/clang/Frontend/SerializedDiagnosticPrinter.h include/clang/Frontend/SerializedDiagnosticReader.h @@ -340,9 +353,11 @@ include/clang/Lex/Token.h include/clang/Lex/TokenConcatenation.h include/clang/Lex/TokenLexer.h include/clang/Parse/AttrParserStringSwitches.inc +include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc include/clang/Parse/ParseAST.h include/clang/Parse/ParseDiagnostic.h include/clang/Parse/Parser.h +include/clang/Parse/RAIIObjectsForParser.h include/clang/Rewrite/Core/DeltaTree.h include/clang/Rewrite/Core/HTMLRewrite.h include/clang/Rewrite/Core/RewriteBuffer.h @@ -446,6 +461,7 @@ include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h include/clang/StaticAnalyzer/Core/PathSensitive/Store.h include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h @@ -473,6 +489,12 @@ include/clang/Tooling/FileMatchTrie.h include/clang/Tooling/FixIt.h include/clang/Tooling/JSONCompilationDatabase.h include/clang/Tooling/Refactoring.h +include/clang/Tooling/Refactoring/AtomicChange.h +include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h +include/clang/Tooling/Refactoring/Rename/RenamingAction.h +include/clang/Tooling/Refactoring/Rename/USRFinder.h +include/clang/Tooling/Refactoring/Rename/USRFindingAction.h +include/clang/Tooling/Refactoring/Rename/USRLocFinder.h include/clang/Tooling/RefactoringCallbacks.h include/clang/Tooling/ReplacementsYaml.h include/clang/Tooling/Tooling.h @@ -506,10 +528,12 @@ lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h lib/clang/${PKGVERSION}/include/avx512vlcdintrin.h lib/clang/${PKGVERSION}/include/avx512vldqintrin.h lib/clang/${PKGVERSION}/include/avx512vlintrin.h +lib/clang/${PKGVERSION}/include/avx512vpopcntdqintrin.h lib/clang/${PKGVERSION}/include/avxintrin.h lib/clang/${PKGVERSION}/include/bmi2intrin.h lib/clang/${PKGVERSION}/include/bmiintrin.h lib/clang/${PKGVERSION}/include/clflushoptintrin.h +lib/clang/${PKGVERSION}/include/clzerointrin.h lib/clang/${PKGVERSION}/include/cpuid.h lib/clang/${PKGVERSION}/include/cuda_wrappers/algorithm lib/clang/${PKGVERSION}/include/cuda_wrappers/complex @@ -528,6 +552,7 @@ lib/clang/${PKGVERSION}/include/intrin.h lib/clang/${PKGVERSION}/include/inttypes.h lib/clang/${PKGVERSION}/include/iso646.h lib/clang/${PKGVERSION}/include/limits.h +lib/clang/${PKGVERSION}/include/lwpintrin.h lib/clang/${PKGVERSION}/include/lzcntintrin.h lib/clang/${PKGVERSION}/include/mm3dnow.h lib/clang/${PKGVERSION}/include/mm_malloc.h @@ -573,8 +598,8 @@ 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} +${PLIST.notdylib}lib/libclang.${SOEXT}.5 lib/libclangAST.a lib/libclangASTMatchers.a lib/libclangAnalysis.a @@ -595,9 +620,13 @@ lib/libclangSema.a lib/libclangSerialization.a lib/libclangTooling.a lib/libclangToolingCore.a +lib/libclangToolingRefactor.a +share/clang/bash-autocomplete.sh share/clang/clang-format-bbedit.applescript share/clang/clang-format-diff.py share/clang/clang-format-sublime.py share/clang/clang-format.el share/clang/clang-format.py +share/clang/clang-rename.el +share/clang/clang-rename.py share/clang/git-clang-format diff --git a/lang/clang/distinfo b/lang/clang/distinfo index c34d0eb4a95..727010b0813 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.48 2017/07/11 19:47:37 adam Exp $ +$NetBSD: distinfo,v 1.49 2017/12/01 19:22:12 adam Exp $ -SHA1 (cfe-4.0.1.src.tar.xz) = d95d1f3a67b5448f25338bf657a7d379dbf2312f -RMD160 (cfe-4.0.1.src.tar.xz) = 4f30f077c6c39489720ec43a748d04dab0fbff79 -SHA512 (cfe-4.0.1.src.tar.xz) = 936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964 -Size (cfe-4.0.1.src.tar.xz) = 10933628 bytes +SHA1 (cfe-5.0.0.src.tar.xz) = 8c67071be174c66264b6c7629c291c0e30ecbdc5 +RMD160 (cfe-5.0.0.src.tar.xz) = 743f1b22554c984c07798bfdbed36d429fb6ae08 +SHA512 (cfe-5.0.0.src.tar.xz) = 14acdd622310122b544c952ee5b932b7006d9d8424319f0e3974f2503d40a0cec4200fdd3d813a32ce0d877bcfbb9a5bd5c36f6142b4330e6c814f113ca2efe8 +Size (cfe-5.0.0.src.tar.xz) = 11437024 bytes SHA1 (patch-tools_clang-format_CMakeLists.txt) = 4efc9c9f69caf7df1dd0db384eae644c606c5ca9 diff --git a/lang/libLLVM/Makefile b/lang/libLLVM/Makefile index ff03d3ed631..0b9ae58d084 100644 --- a/lang/libLLVM/Makefile +++ b/lang/libLLVM/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.25 2017/07/24 13:13:39 maya Exp $ +# $NetBSD: Makefile,v 1.26 2017/12/01 19:22:13 adam Exp $ -DISTNAME= llvm-4.0.1.src +DISTNAME= llvm-5.0.0.src PKGNAME= ${DISTNAME:S/llvm/libLLVM/:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ @@ -123,6 +123,7 @@ post-extract: .for f in config.guess config.sub cp ../../mk/gnu-config/${f} ${WRKSRC}/cmake/${f} .endfor + ${RM} ${WRKSRC}/tools/opt-viewer/CMakeLists.txt post-install: ${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib/libLLVM @@ -140,5 +141,6 @@ post-install: .endif .include "../../devel/zlib/buildlink3.mk" +.include "../../lang/python/application.mk" .include "../../lang/python/tool.mk" .include "../../mk/bsd.pkg.mk" diff --git a/lang/libLLVM/PLIST b/lang/libLLVM/PLIST index 93b592566e5..858a71bc5a7 100644 --- a/lang/libLLVM/PLIST +++ b/lang/libLLVM/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2017/03/17 22:38:18 adam Exp $ +@comment $NetBSD: PLIST,v 1.10 2017/12/01 19:22:13 adam Exp $ include/libLLVM/llvm-c/Analysis.h include/libLLVM/llvm-c/BitReader.h include/libLLVM/llvm-c/BitWriter.h @@ -28,6 +28,7 @@ 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/BreadthFirstIterator.h include/libLLVM/llvm/ADT/CachedHashString.h include/libLLVM/llvm/ADT/DAGDeltaAlgorithm.h include/libLLVM/llvm/ADT/DeltaAlgorithm.h @@ -104,6 +105,7 @@ include/libLLVM/llvm/Analysis/BlockFrequencyInfoImpl.h include/libLLVM/llvm/Analysis/BranchProbabilityInfo.h include/libLLVM/llvm/Analysis/CFG.h include/libLLVM/llvm/Analysis/CFGPrinter.h +include/libLLVM/llvm/Analysis/CFLAliasAnalysisUtils.h include/libLLVM/llvm/Analysis/CFLAndersAliasAnalysis.h include/libLLVM/llvm/Analysis/CFLSteensAliasAnalysis.h include/libLLVM/llvm/Analysis/CGSCCPassManager.h @@ -147,10 +149,13 @@ include/libLLVM/llvm/Analysis/LoopUnrollAnalyzer.h include/libLLVM/llvm/Analysis/MemoryBuiltins.h include/libLLVM/llvm/Analysis/MemoryDependenceAnalysis.h include/libLLVM/llvm/Analysis/MemoryLocation.h +include/libLLVM/llvm/Analysis/MemorySSA.h +include/libLLVM/llvm/Analysis/MemorySSAUpdater.h include/libLLVM/llvm/Analysis/ModuleSummaryAnalysis.h include/libLLVM/llvm/Analysis/ObjCARCAliasAnalysis.h include/libLLVM/llvm/Analysis/ObjCARCAnalysisUtils.h include/libLLVM/llvm/Analysis/ObjCARCInstKind.h +include/libLLVM/llvm/Analysis/ObjectUtils.h include/libLLVM/llvm/Analysis/OptimizationDiagnosticInfo.h include/libLLVM/llvm/Analysis/OrderedBasicBlock.h include/libLLVM/llvm/Analysis/PHITransAddr.h @@ -182,6 +187,31 @@ include/libLLVM/llvm/Analysis/ValueTracking.h include/libLLVM/llvm/Analysis/VectorUtils.h include/libLLVM/llvm/AsmParser/Parser.h include/libLLVM/llvm/AsmParser/SlotMapping.h +include/libLLVM/llvm/BinaryFormat/COFF.h +include/libLLVM/llvm/BinaryFormat/Dwarf.def +include/libLLVM/llvm/BinaryFormat/Dwarf.h +include/libLLVM/llvm/BinaryFormat/ELF.h +include/libLLVM/llvm/BinaryFormat/ELFRelocs/AArch64.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/AMDGPU.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/ARM.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/AVR.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/BPF.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/Hexagon.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/Lanai.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/Mips.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/PowerPC.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/PowerPC64.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/RISCV.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/Sparc.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/SystemZ.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/WebAssembly.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/i386.def +include/libLLVM/llvm/BinaryFormat/ELFRelocs/x86_64.def +include/libLLVM/llvm/BinaryFormat/MachO.def +include/libLLVM/llvm/BinaryFormat/MachO.h +include/libLLVM/llvm/BinaryFormat/Magic.h +include/libLLVM/llvm/BinaryFormat/Wasm.h +include/libLLVM/llvm/BinaryFormat/WasmRelocs/WebAssembly.def include/libLLVM/llvm/Bitcode/BitCodes.h include/libLLVM/llvm/Bitcode/BitcodeReader.h include/libLLVM/llvm/Bitcode/BitcodeWriter.h @@ -202,6 +232,8 @@ include/libLLVM/llvm/CodeGen/DIE.h include/libLLVM/llvm/CodeGen/DIEValue.def include/libLLVM/llvm/CodeGen/DwarfStringPoolEntry.h include/libLLVM/llvm/CodeGen/EdgeBundles.h +include/libLLVM/llvm/CodeGen/ExecutionDepsFix.h +include/libLLVM/llvm/CodeGen/ExpandReductions.h include/libLLVM/llvm/CodeGen/FastISel.h include/libLLVM/llvm/CodeGen/FaultMaps.h include/libLLVM/llvm/CodeGen/FunctionLoweringInfo.h @@ -214,9 +246,11 @@ 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/InstructionSelectorImpl.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/Localizer.h include/libLLVM/llvm/CodeGen/GlobalISel/MachineIRBuilder.h include/libLLVM/llvm/CodeGen/GlobalISel/RegBankSelect.h include/libLLVM/llvm/CodeGen/GlobalISel/RegisterBank.h @@ -226,6 +260,7 @@ 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 +include/libLLVM/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h include/libLLVM/llvm/CodeGen/LexicalScopes.h include/libLLVM/llvm/CodeGen/LinkAllAsmWriterComponents.h include/libLLVM/llvm/CodeGen/LinkAllCodegenComponents.h @@ -235,10 +270,12 @@ include/libLLVM/llvm/CodeGen/LiveIntervalUnion.h include/libLLVM/llvm/CodeGen/LivePhysRegs.h include/libLLVM/llvm/CodeGen/LiveRangeEdit.h include/libLLVM/llvm/CodeGen/LiveRegMatrix.h +include/libLLVM/llvm/CodeGen/LiveRegUnits.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/MIRPrinter.h include/libLLVM/llvm/CodeGen/MIRYamlMapping.h include/libLLVM/llvm/CodeGen/MachORelocation.h include/libLLVM/llvm/CodeGen/MachineBasicBlock.h @@ -250,7 +287,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/MachineFunctionInitializer.h include/libLLVM/llvm/CodeGen/MachineFunctionPass.h include/libLLVM/llvm/CodeGen/MachineInstr.h include/libLLVM/llvm/CodeGen/MachineInstrBuilder.h @@ -262,6 +298,7 @@ include/libLLVM/llvm/CodeGen/MachineMemOperand.h include/libLLVM/llvm/CodeGen/MachineModuleInfo.h include/libLLVM/llvm/CodeGen/MachineModuleInfoImpls.h include/libLLVM/llvm/CodeGen/MachineOperand.h +include/libLLVM/llvm/CodeGen/MachineOptimizationRemarkEmitter.h include/libLLVM/llvm/CodeGen/MachinePassRegistry.h include/libLLVM/llvm/CodeGen/MachinePostDominators.h include/libLLVM/llvm/CodeGen/MachineRegionInfo.h @@ -270,6 +307,7 @@ include/libLLVM/llvm/CodeGen/MachineSSAUpdater.h include/libLLVM/llvm/CodeGen/MachineScheduler.h include/libLLVM/llvm/CodeGen/MachineTraceMetrics.h include/libLLVM/llvm/CodeGen/MachineValueType.h +include/libLLVM/llvm/CodeGen/MacroFusion.h include/libLLVM/llvm/CodeGen/PBQP/CostAllocator.h include/libLLVM/llvm/CodeGen/PBQP/Graph.h include/libLLVM/llvm/CodeGen/PBQP/Math.h @@ -296,6 +334,7 @@ include/libLLVM/llvm/CodeGen/ScheduleHazardRecognizer.h include/libLLVM/llvm/CodeGen/SchedulerRegistry.h include/libLLVM/llvm/CodeGen/ScoreboardHazardRecognizer.h include/libLLVM/llvm/CodeGen/SelectionDAG.h +include/libLLVM/llvm/CodeGen/SelectionDAGAddressAnalysis.h include/libLLVM/llvm/CodeGen/SelectionDAGISel.h include/libLLVM/llvm/CodeGen/SelectionDAGNodes.h include/libLLVM/llvm/CodeGen/SelectionDAGTargetInfo.h @@ -319,19 +358,34 @@ include/libLLVM/llvm/Config/abi-breaking.h include/libLLVM/llvm/Config/llvm-config.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/CodeViewRecordIO.h +include/libLLVM/llvm/DebugInfo/CodeView/CodeViewSymbols.def +include/libLLVM/llvm/DebugInfo/CodeView/CodeViewTypes.def +include/libLLVM/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugLinesSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h +include/libLLVM/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h include/libLLVM/llvm/DebugInfo/CodeView/EnumTables.h +include/libLLVM/llvm/DebugInfo/CodeView/Formatters.h include/libLLVM/llvm/DebugInfo/CodeView/FunctionId.h +include/libLLVM/llvm/DebugInfo/CodeView/GUID.h +include/libLLVM/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h include/libLLVM/llvm/DebugInfo/CodeView/Line.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/StringsAndChecksums.h include/libLLVM/llvm/DebugInfo/CodeView/SymbolDeserializer.h include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumper.h @@ -341,27 +395,29 @@ 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/TypeDatabase.h -include/libLLVM/llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeCollection.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/TypeIndexDiscovery.h +include/libLLVM/llvm/DebugInfo/CodeView/TypeName.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/TypeTableCollection.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 include/libLLVM/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h +include/libLLVM/llvm/DebugInfo/DWARF/DWARFAttribute.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFCompileUnit.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFContext.h +include/libLLVM/llvm/DebugInfo/DWARF/DWARFDataExtractor.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugAranges.h @@ -380,19 +436,13 @@ 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/DWARF/DWARFVerifier.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 @@ -412,6 +462,40 @@ include/libLLVM/llvm/DebugInfo/PDB/IPDBLineNumber.h include/libLLVM/llvm/DebugInfo/PDB/IPDBRawSymbol.h include/libLLVM/llvm/DebugInfo/PDB/IPDBSession.h include/libLLVM/llvm/DebugInfo/PDB/IPDBSourceFile.h +include/libLLVM/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h +include/libLLVM/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h +include/libLLVM/llvm/DebugInfo/PDB/Native/DbiModuleList.h +include/libLLVM/llvm/DebugInfo/PDB/Native/DbiStream.h +include/libLLVM/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h +include/libLLVM/llvm/DebugInfo/PDB/Native/EnumTables.h +include/libLLVM/llvm/DebugInfo/PDB/Native/Formatters.h +include/libLLVM/llvm/DebugInfo/PDB/Native/GlobalsStream.h +include/libLLVM/llvm/DebugInfo/PDB/Native/Hash.h +include/libLLVM/llvm/DebugInfo/PDB/Native/HashTable.h +include/libLLVM/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h +include/libLLVM/llvm/DebugInfo/PDB/Native/InfoStream.h +include/libLLVM/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h +include/libLLVM/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h +include/libLLVM/llvm/DebugInfo/PDB/Native/NamedStreamMap.h +include/libLLVM/llvm/DebugInfo/PDB/Native/NativeBuiltinSymbol.h +include/libLLVM/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h +include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumModules.h +include/libLLVM/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h +include/libLLVM/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h +include/libLLVM/llvm/DebugInfo/PDB/Native/NativeSession.h +include/libLLVM/llvm/DebugInfo/PDB/Native/PDBFile.h +include/libLLVM/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h +include/libLLVM/llvm/DebugInfo/PDB/Native/PDBStringTable.h +include/libLLVM/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h +include/libLLVM/llvm/DebugInfo/PDB/Native/PublicsStream.h +include/libLLVM/llvm/DebugInfo/PDB/Native/PublicsStreamBuilder.h +include/libLLVM/llvm/DebugInfo/PDB/Native/RawConstants.h +include/libLLVM/llvm/DebugInfo/PDB/Native/RawError.h +include/libLLVM/llvm/DebugInfo/PDB/Native/RawTypes.h +include/libLLVM/llvm/DebugInfo/PDB/Native/SymbolStream.h +include/libLLVM/llvm/DebugInfo/PDB/Native/TpiHashing.h +include/libLLVM/llvm/DebugInfo/PDB/Native/TpiStream.h +include/libLLVM/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h include/libLLVM/llvm/DebugInfo/PDB/PDB.h include/libLLVM/llvm/DebugInfo/PDB/PDBContext.h include/libLLVM/llvm/DebugInfo/PDB/PDBExtras.h @@ -449,30 +533,7 @@ include/libLLVM/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h include/libLLVM/llvm/DebugInfo/PDB/PDBSymbolUnknown.h 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/EnumTables.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/GlobalsStream.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/Hash.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/InfoStream.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/ModInfo.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/ModStream.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 -include/libLLVM/llvm/DebugInfo/PDB/Raw/PDBFile.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/PublicsStream.h -include/libLLVM/llvm/DebugInfo/PDB/Raw/RawConstants.h -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/PDB/UDTLayout.h include/libLLVM/llvm/DebugInfo/Symbolize/DIPrinter.h include/libLLVM/llvm/DebugInfo/Symbolize/SymbolizableModule.h include/libLLVM/llvm/DebugInfo/Symbolize/Symbolize.h @@ -496,7 +557,6 @@ include/libLLVM/llvm/ExecutionEngine/Orc/IndirectionUtils.h include/libLLVM/llvm/ExecutionEngine/Orc/LambdaResolver.h include/libLLVM/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/NullResolver.h -include/libLLVM/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/OrcABISupport.h include/libLLVM/llvm/ExecutionEngine/Orc/OrcError.h @@ -505,6 +565,7 @@ include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h include/libLLVM/llvm/ExecutionEngine/Orc/RPCSerialization.h include/libLLVM/llvm/ExecutionEngine/Orc/RPCUtils.h +include/libLLVM/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h include/libLLVM/llvm/ExecutionEngine/Orc/RawByteChannel.h include/libLLVM/llvm/ExecutionEngine/OrcMCJITReplacement.h include/libLLVM/llvm/ExecutionEngine/RTDyldMemoryManager.h @@ -533,6 +594,7 @@ include/libLLVM/llvm/IR/DebugInfoFlags.def include/libLLVM/llvm/IR/DebugInfoMetadata.h include/libLLVM/llvm/IR/DebugLoc.h include/libLLVM/llvm/IR/DerivedTypes.h +include/libLLVM/llvm/IR/DerivedUser.h include/libLLVM/llvm/IR/DiagnosticInfo.h include/libLLVM/llvm/IR/DiagnosticPrinter.h include/libLLVM/llvm/IR/Dominators.h @@ -591,6 +653,7 @@ include/libLLVM/llvm/IR/PassManagerInternal.h include/libLLVM/llvm/IR/PatternMatch.h include/libLLVM/llvm/IR/PredIteratorCache.h include/libLLVM/llvm/IR/ProfileSummary.h +include/libLLVM/llvm/IR/SafepointIRVerifier.h include/libLLVM/llvm/IR/Statepoint.h include/libLLVM/llvm/IR/SymbolTableListTraits.h include/libLLVM/llvm/IR/TrackingMDRef.h @@ -616,7 +679,6 @@ include/libLLVM/llvm/LTO/legacy/LTOCodeGenerator.h include/libLLVM/llvm/LTO/legacy/LTOModule.h include/libLLVM/llvm/LTO/legacy/ThinLTOCodeGenerator.h include/libLLVM/llvm/LTO/legacy/UpdateCompilerUsed.h -include/libLLVM/llvm/LibDriver/LibDriver.h include/libLLVM/llvm/LineEditor/LineEditor.h include/libLLVM/llvm/LinkAllIR.h include/libLLVM/llvm/LinkAllPasses.h @@ -629,6 +691,7 @@ include/libLLVM/llvm/MC/MCAsmInfo.h include/libLLVM/llvm/MC/MCAsmInfoCOFF.h include/libLLVM/llvm/MC/MCAsmInfoDarwin.h include/libLLVM/llvm/MC/MCAsmInfoELF.h +include/libLLVM/llvm/MC/MCAsmInfoWasm.h include/libLLVM/llvm/MC/MCAsmLayout.h include/libLLVM/llvm/MC/MCAssembler.h include/libLLVM/llvm/MC/MCCodeEmitter.h @@ -674,15 +737,19 @@ include/libLLVM/llvm/MC/MCSection.h include/libLLVM/llvm/MC/MCSectionCOFF.h include/libLLVM/llvm/MC/MCSectionELF.h include/libLLVM/llvm/MC/MCSectionMachO.h +include/libLLVM/llvm/MC/MCSectionWasm.h include/libLLVM/llvm/MC/MCStreamer.h include/libLLVM/llvm/MC/MCSubtargetInfo.h include/libLLVM/llvm/MC/MCSymbol.h include/libLLVM/llvm/MC/MCSymbolCOFF.h include/libLLVM/llvm/MC/MCSymbolELF.h include/libLLVM/llvm/MC/MCSymbolMachO.h +include/libLLVM/llvm/MC/MCSymbolWasm.h include/libLLVM/llvm/MC/MCTargetOptions.h include/libLLVM/llvm/MC/MCTargetOptionsCommandFlags.h include/libLLVM/llvm/MC/MCValue.h +include/libLLVM/llvm/MC/MCWasmObjectWriter.h +include/libLLVM/llvm/MC/MCWasmStreamer.h include/libLLVM/llvm/MC/MCWin64EH.h include/libLLVM/llvm/MC/MCWinCOFFObjectWriter.h include/libLLVM/llvm/MC/MCWinCOFFStreamer.h @@ -696,15 +763,16 @@ 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/COFFModuleDefinition.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 include/libLLVM/llvm/Object/Error.h include/libLLVM/llvm/Object/IRObjectFile.h +include/libLLVM/llvm/Object/IRSymtab.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 @@ -712,11 +780,17 @@ 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/Object/WindowsResource.h include/libLLVM/llvm/ObjectYAML/COFFYAML.h +include/libLLVM/llvm/ObjectYAML/CodeViewYAMLDebugSections.h +include/libLLVM/llvm/ObjectYAML/CodeViewYAMLSymbols.h +include/libLLVM/llvm/ObjectYAML/CodeViewYAMLTypes.h +include/libLLVM/llvm/ObjectYAML/DWARFEmitter.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 +include/libLLVM/llvm/ObjectYAML/WasmYAML.h include/libLLVM/llvm/ObjectYAML/YAML.h include/libLLVM/llvm/Option/Arg.h include/libLLVM/llvm/Option/ArgList.h @@ -742,6 +816,8 @@ include/libLLVM/llvm/ProfileData/SampleProf.h include/libLLVM/llvm/ProfileData/SampleProfReader.h include/libLLVM/llvm/ProfileData/SampleProfWriter.h include/libLLVM/llvm/Support/AArch64TargetParser.def +include/libLLVM/llvm/Support/AMDGPUCodeObjectMetadata.h +include/libLLVM/llvm/Support/ARMAttributeParser.h include/libLLVM/llvm/Support/ARMBuildAttributes.h include/libLLVM/llvm/Support/ARMEHABI.h include/libLLVM/llvm/Support/ARMTargetParser.def @@ -751,10 +827,17 @@ include/libLLVM/llvm/Support/Allocator.h include/libLLVM/llvm/Support/ArrayRecycler.h include/libLLVM/llvm/Support/Atomic.h include/libLLVM/llvm/Support/AtomicOrdering.h +include/libLLVM/llvm/Support/BinaryByteStream.h +include/libLLVM/llvm/Support/BinaryItemStream.h +include/libLLVM/llvm/Support/BinaryStream.h +include/libLLVM/llvm/Support/BinaryStreamArray.h +include/libLLVM/llvm/Support/BinaryStreamError.h +include/libLLVM/llvm/Support/BinaryStreamReader.h +include/libLLVM/llvm/Support/BinaryStreamRef.h +include/libLLVM/llvm/Support/BinaryStreamWriter.h include/libLLVM/llvm/Support/BlockFrequency.h include/libLLVM/llvm/Support/BranchProbability.h include/libLLVM/llvm/Support/CBindingWrapping.h -include/libLLVM/llvm/Support/COFF.h include/libLLVM/llvm/Support/COM.h include/libLLVM/llvm/Support/CachePruning.h include/libLLVM/llvm/Support/Capacity.h @@ -771,26 +854,8 @@ include/libLLVM/llvm/Support/DOTGraphTraits.h include/libLLVM/llvm/Support/DataExtractor.h include/libLLVM/llvm/Support/DataTypes.h include/libLLVM/llvm/Support/Debug.h -include/libLLVM/llvm/Support/Dwarf.def -include/libLLVM/llvm/Support/Dwarf.h +include/libLLVM/llvm/Support/DebugCounter.h include/libLLVM/llvm/Support/DynamicLibrary.h -include/libLLVM/llvm/Support/ELF.h -include/libLLVM/llvm/Support/ELFRelocs/AArch64.def -include/libLLVM/llvm/Support/ELFRelocs/AMDGPU.def -include/libLLVM/llvm/Support/ELFRelocs/ARM.def -include/libLLVM/llvm/Support/ELFRelocs/AVR.def -include/libLLVM/llvm/Support/ELFRelocs/BPF.def -include/libLLVM/llvm/Support/ELFRelocs/Hexagon.def -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 -include/libLLVM/llvm/Support/ELFRelocs/i386.def -include/libLLVM/llvm/Support/ELFRelocs/x86_64.def include/libLLVM/llvm/Support/Endian.h include/libLLVM/llvm/Support/EndianStream.h include/libLLVM/llvm/Support/Errc.h @@ -815,14 +880,14 @@ include/libLLVM/llvm/Support/GlobPattern.h include/libLLVM/llvm/Support/GraphWriter.h include/libLLVM/llvm/Support/Host.h include/libLLVM/llvm/Support/JamCRC.h +include/libLLVM/llvm/Support/KnownBits.h include/libLLVM/llvm/Support/LEB128.h include/libLLVM/llvm/Support/LICENSE.TXT include/libLLVM/llvm/Support/LineIterator.h include/libLLVM/llvm/Support/Locale.h include/libLLVM/llvm/Support/LockFileManager.h +include/libLLVM/llvm/Support/LowLevelTypeImpl.h include/libLLVM/llvm/Support/MD5.h -include/libLLVM/llvm/Support/MachO.def -include/libLLVM/llvm/Support/MachO.h include/libLLVM/llvm/Support/ManagedStatic.h include/libLLVM/llvm/Support/MathExtras.h include/libLLVM/llvm/Support/Memory.h @@ -833,6 +898,7 @@ 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/Parallel.h include/libLLVM/llvm/Support/Path.h include/libLLVM/llvm/Support/PluginLoader.h include/libLLVM/llvm/Support/PointerLikeTypeTraits.h @@ -846,13 +912,14 @@ include/libLLVM/llvm/Support/Recycler.h include/libLLVM/llvm/Support/RecyclingAllocator.h include/libLLVM/llvm/Support/Regex.h include/libLLVM/llvm/Support/Registry.h +include/libLLVM/llvm/Support/ReverseIteration.h include/libLLVM/llvm/Support/SHA1.h include/libLLVM/llvm/Support/SMLoc.h include/libLLVM/llvm/Support/SaveAndRestore.h include/libLLVM/llvm/Support/ScaledNumber.h include/libLLVM/llvm/Support/ScopedPrinter.h include/libLLVM/llvm/Support/Signals.h -include/libLLVM/llvm/Support/Solaris.h +include/libLLVM/llvm/Support/Solaris/sys/regset.h include/libLLVM/llvm/Support/SourceMgr.h include/libLLVM/llvm/Support/SpecialCaseList.h include/libLLVM/llvm/Support/StringPool.h @@ -874,8 +941,8 @@ 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/VCSRevision.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 @@ -898,11 +965,13 @@ include/libLLVM/llvm/TableGen/StringToOffsetTable.h include/libLLVM/llvm/TableGen/TableGenBackend.h include/libLLVM/llvm/Target/CostTable.h include/libLLVM/llvm/Target/GenericOpcodes.td +include/libLLVM/llvm/Target/GlobalISel/RegisterBank.td +include/libLLVM/llvm/Target/GlobalISel/SelectionDAGCompat.td +include/libLLVM/llvm/Target/GlobalISel/Target.td 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 @@ -916,10 +985,15 @@ 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/Testing/Support/Error.h +include/libLLVM/llvm/Testing/Support/SupportHelpers.h +include/libLLVM/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h +include/libLLVM/llvm/ToolDrivers/llvm-lib/LibDriver.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/ArgumentPromotion.h include/libLLVM/llvm/Transforms/IPO/ConstantMerge.h include/libLLVM/llvm/Transforms/IPO/CrossDSOCFI.h include/libLLVM/llvm/Transforms/IPO/DeadArgumentElimination.h @@ -938,6 +1012,7 @@ include/libLLVM/llvm/Transforms/IPO/PartialInlining.h include/libLLVM/llvm/Transforms/IPO/PassManagerBuilder.h include/libLLVM/llvm/Transforms/IPO/SCCP.h include/libLLVM/llvm/Transforms/IPO/StripDeadPrototypes.h +include/libLLVM/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h include/libLLVM/llvm/Transforms/IPO/WholeProgramDevirt.h include/libLLVM/llvm/Transforms/InstCombine/InstCombine.h include/libLLVM/llvm/Transforms/InstCombine/InstCombineWorklist.h @@ -969,9 +1044,12 @@ 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/LoopLoadElimination.h include/libLLVM/llvm/Transforms/Scalar/LoopPassManager.h +include/libLLVM/llvm/Transforms/Scalar/LoopPredication.h include/libLLVM/llvm/Transforms/Scalar/LoopRotation.h include/libLLVM/llvm/Transforms/Scalar/LoopSimplifyCFG.h +include/libLLVM/llvm/Transforms/Scalar/LoopSink.h include/libLLVM/llvm/Transforms/Scalar/LoopStrengthReduce.h include/libLLVM/llvm/Transforms/Scalar/LoopUnrollPass.h include/libLLVM/llvm/Transforms/Scalar/LowerAtomic.h @@ -985,6 +1063,7 @@ 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/SimpleLoopUnswitch.h include/libLLVM/llvm/Transforms/Scalar/SimplifyCFG.h include/libLLVM/llvm/Transforms/Scalar/Sink.h include/libLLVM/llvm/Transforms/Scalar/SpeculativeExecution.h @@ -1013,10 +1092,12 @@ 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/LowerMemIntrinsics.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/OrderedInstructions.h +include/libLLVM/llvm/Transforms/Utils/PredicateInfo.h include/libLLVM/llvm/Transforms/Utils/PromoteMemToReg.h include/libLLVM/llvm/Transforms/Utils/SSAUpdater.h include/libLLVM/llvm/Transforms/Utils/SSAUpdaterImpl.h @@ -1028,22 +1109,28 @@ include/libLLVM/llvm/Transforms/Utils/SplitModule.h include/libLLVM/llvm/Transforms/Utils/SymbolRewriter.h include/libLLVM/llvm/Transforms/Utils/UnifyFunctionExitNodes.h include/libLLVM/llvm/Transforms/Utils/UnrollLoop.h +include/libLLVM/llvm/Transforms/Utils/VNCoercion.h include/libLLVM/llvm/Transforms/Utils/ValueMapper.h include/libLLVM/llvm/Transforms/Vectorize.h 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/Graph.h +include/libLLVM/llvm/XRay/InstrumentationMap.h include/libLLVM/llvm/XRay/Trace.h include/libLLVM/llvm/XRay/XRayRecord.h include/libLLVM/llvm/XRay/YAMLXRayRecord.h +${PLIST.notdylib}lib/libLLVM/libLLVM-${LLVM_MAJOR_MINOR}.${SOEXT} +${PLIST.notdylib}lib/libLLVM/libLLVM-${PKGVERSION}.${SOEXT} lib/libLLVM/libLLVM.${SOEXT} libexec/libLLVM/llvm-cat libexec/libLLVM/llvm-config +libexec/libLLVM/llvm-cvtres libexec/libLLVM/llvm-cxxfilt libexec/libLLVM/llvm-lto2 libexec/libLLVM/llvm-modextract +libexec/libLLVM/llvm-mt libexec/libLLVM/llvm-opt-report +libexec/libLLVM/llvm-pdbutil libexec/libLLVM/llvm-strings libexec/libLLVM/llvm-xray share/libLLVM/cmake/AddLLVM.cmake diff --git a/lang/libLLVM/distinfo b/lang/libLLVM/distinfo index 86bc4bac24b..6bae19b9a12 100644 --- a/lang/libLLVM/distinfo +++ b/lang/libLLVM/distinfo @@ -1,15 +1,13 @@ -$NetBSD: distinfo,v 1.10 2017/07/24 13:13:39 maya Exp $ +$NetBSD: distinfo,v 1.11 2017/12/01 19:22:13 adam Exp $ -SHA1 (llvm-4.0.1.src.tar.xz) = ddbf4dab7ab1a4bdce5ed1227bf721cbb3533a6e -RMD160 (llvm-4.0.1.src.tar.xz) = 37387a5ca73ea270b2f541ecbd1cd641f7b09be2 -SHA512 (llvm-4.0.1.src.tar.xz) = 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d -Size (llvm-4.0.1.src.tar.xz) = 21065652 bytes +SHA1 (llvm-5.0.0.src.tar.xz) = 7b0fd212ecc38461e392cbdcbe6a1d4944138a04 +RMD160 (llvm-5.0.0.src.tar.xz) = 849075e32e6aa5e38c2e9a7108803e745c0ed0fc +SHA512 (llvm-5.0.0.src.tar.xz) = e6d8fdcb5bf27bded814d02f39f69c6171bc3a512d5957c03e5ac2e231f903b7de87634b059bd5c5da670f7c3a8f7a538f6299225799f15f921857f1452f6b3a +Size (llvm-5.0.0.src.tar.xz) = 23411980 bytes SHA1 (patch-CMakeLists.txt) = 770e0bc00a987430b6c6be7e4141f33e5be54a8f -SHA1 (patch-cmake_modules_AddLLVM.cmake) = d9d9b8f9d33ddc3ef8ef55832aeed038500b6de8 +SHA1 (patch-cmake_modules_AddLLVM.cmake) = 065b032ba377aca36c2d2131676c3b9a51c54b9d SHA1 (patch-cmake_modules_CMakeLists.txt) = 69514dafb36794eb6923a39ef219bdc7b09c37ee SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b 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) = 4988cd94074cb08dbb5a3606ea2376b42ae8c75f -SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 18e6ec7b8895e55ecdf93c9d4781e92052a6fcb1 +SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 64d644c13c02d1f156ea4ab7227465edfb179951 +SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 70d8f320f217d99e6f991709a080450bc05631cd diff --git a/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake b/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake index a7be4502711..2f1bdb23271 100644 --- a/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake +++ b/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake @@ -1,12 +1,12 @@ -$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.4 2017/03/17 22:38:18 adam Exp $ +$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.5 2017/12/01 19:22:13 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 2017-01-17 21:47:58.000000000 +0000 +--- cmake/modules/AddLLVM.cmake.orig 2017-07-12 21:43:14.000000000 +0000 +++ cmake/modules/AddLLVM.cmake -@@ -182,9 +182,6 @@ function(add_link_opts target_name) +@@ -198,9 +198,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") @@ -16,7 +16,7 @@ Don't use non-portable -z discard-unused on SunOS. 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 -@@ -591,10 +588,6 @@ macro(add_llvm_library name) +@@ -607,10 +604,6 @@ macro(add_llvm_library name) set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True) endif() @@ -27,7 +27,7 @@ Don't use non-portable -z discard-unused on SunOS. if (NOT CMAKE_CONFIGURATION_TYPES) add_custom_target(install-${name} -@@ -632,10 +625,6 @@ macro(add_llvm_loadable_module name) +@@ -648,10 +641,6 @@ macro(add_llvm_loadable_module name) set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True) endif() @@ -38,7 +38,7 @@ Don't use non-portable -z discard-unused on SunOS. endif() set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name}) endif() -@@ -823,7 +812,7 @@ macro(add_llvm_tool name) +@@ -839,7 +828,7 @@ macro(add_llvm_tool name) install(TARGETS ${name} ${export_to_llvmexports} @@ -47,12 +47,3 @@ Don't use non-portable -z discard-unused on SunOS. COMPONENT ${name}) if (NOT CMAKE_CONFIGURATION_TYPES) -@@ -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} -- RUNTIME DESTINATION bin -+ RUNTIME DESTINATION libexec/libLLVM - COMPONENT ${name}) - if (NOT CMAKE_CONFIGURATION_TYPES) - add_custom_target(install-${name} diff --git a/lang/libLLVM/patches/patch-include_llvm_Support_Host.h b/lang/libLLVM/patches/patch-include_llvm_Support_Host.h deleted file mode 100644 index c10ff6f1a0f..00000000000 --- a/lang/libLLVM/patches/patch-include_llvm_Support_Host.h +++ /dev/null @@ -1,26 +0,0 @@ -$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-10-13 17:43:20.000000000 +0000 -+++ include/llvm/Support/Host.h -@@ -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 -+# include <sys/isa_defs.h> -+# ifdef _LITTLE_ENDIAN -+# define BYTE_ORDER LITTLE_ENDIAN -+# endif -+# ifdef _BIG_ENDIAN -+# define BYTE_ORDER BIG_ENDIAN -+# endif -+# endif /* BYTE_ORDER */ - #else - #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32) - #include <machine/endian.h> diff --git a/lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc b/lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc deleted file mode 100644 index ec657e0d409..00000000000 --- a/lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-lib_Support_Unix_Program.inc,v 1.1 2017/03/09 12:45:56 jperkin Exp $ - -Remove bogus redefine. - ---- lib/Support/Unix/Program.inc.orig 2016-04-05 20:45:04.000000000 +0000 -+++ lib/Support/Unix/Program.inc -@@ -40,9 +40,6 @@ - #include <unistd.h> - #endif - #ifdef HAVE_POSIX_SPAWN --#ifdef __sun__ --#define _RESTRICT_KYWD --#endif - #include <spawn.h> - - #if defined(__APPLE__) 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 8d15a4228dc..95fbadc5dc0 100644 --- a/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp +++ b/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp @@ -1,24 +1,26 @@ -$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.3 2017/03/17 22:38:18 adam Exp $ +$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.4 2017/12/01 19:22:13 adam Exp $ 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 2017-01-12 19:47:38.000000000 +0000 +--- tools/llvm-config/llvm-config.cpp.orig 2017-06-01 20:51:55.000000000 +0000 +++ tools/llvm-config/llvm-config.cpp -@@ -332,9 +332,9 @@ int main(int argc, char **argv) { +@@ -332,11 +332,11 @@ int main(int argc, char **argv) { ("-I" + ActiveIncludeDir + " " + "-I" + ActiveObjRoot + "/include"); } else { ActivePrefix = CurrentExecPrefix; - ActiveIncludeDir = ActivePrefix + "/include"; + ActiveIncludeDir = "@PREFIX@/include/libLLVM"; - ActiveBinDir = ActivePrefix + "/bin"; + SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR)); + sys::fs::make_absolute(ActivePrefix, path); + ActiveBinDir = path.str(); - ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX; + ActiveLibDir = "@PREFIX@/lib/libLLVM"; ActiveCMakeDir = ActiveLibDir + "/cmake/llvm"; ActiveIncludeOption = "-I" + ActiveIncludeDir; } -@@ -370,14 +370,14 @@ int main(int argc, char **argv) { +@@ -372,14 +372,14 @@ int main(int argc, char **argv) { StaticDir = ActiveLibDir; } else if (HostTriple.isOSDarwin()) { SharedExt = "dylib"; @@ -35,7 +37,7 @@ on patch updates. StaticExt = "a"; StaticDir = SharedDir = ActiveLibDir; StaticPrefix = SharedPrefix = "lib"; -@@ -390,7 +390,7 @@ int main(int argc, char **argv) { +@@ -392,7 +392,7 @@ int main(int argc, char **argv) { bool DyLibExists = false; const std::string DyLibName = @@ -44,7 +46,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 -@@ -491,7 +491,7 @@ int main(int argc, char **argv) { +@@ -493,7 +493,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 aa17cda1810..20dd2f6c359 100644 --- a/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt +++ b/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt @@ -1,23 +1,27 @@ -$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.3 2017/03/17 22:38:18 adam Exp $ +$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.4 2017/12/01 19:22:13 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.orig 2017-07-11 01:17:44.000000000 +0000 +++ tools/llvm-shlib/CMakeLists.txt -@@ -37,11 +37,12 @@ endif() +@@ -37,15 +37,15 @@ endif() add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES}) list(REMOVE_DUPLICATES LIB_NAMES) --if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" OR MINGW) # 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") +-if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU) OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")) # FIXME: It should be "GNU ld for elf" +if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") - set(LIB_NAMES -Wl,-all_load ${LIB_NAMES}) ++ set(LIB_NAMES -Wl,-all_load ${LIB_NAMES}) +elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS") + set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract) +else() -+ set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive) + configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in + ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map) +- +- # GNU ld doesn't resolve symbols in the version script. + set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive) +-elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") +- set(LIB_NAMES -Wl,-all_load ${LIB_NAMES}) endif() target_link_libraries(LLVM PRIVATE ${LIB_NAMES}) diff --git a/lang/libunwind/Makefile b/lang/libunwind/Makefile index 5c87b1f952e..f9205232f3f 100644 --- a/lang/libunwind/Makefile +++ b/lang/libunwind/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2017/08/16 20:45:40 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2017/12/01 19:22:12 adam Exp $ -DISTNAME= libunwind-4.0.1.src +DISTNAME= libunwind-5.0.0.src PKGNAME= ${DISTNAME:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ diff --git a/lang/libunwind/distinfo b/lang/libunwind/distinfo index 017a2b2db66..a9aac0f3ff4 100644 --- a/lang/libunwind/distinfo +++ b/lang/libunwind/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2017/07/11 19:47:37 adam Exp $ +$NetBSD: distinfo,v 1.7 2017/12/01 19:22:12 adam Exp $ -SHA1 (libunwind-4.0.1.src.tar.xz) = 80a8bfd6bbcb3b63e4d87e4a2decd734274d4a3a -RMD160 (libunwind-4.0.1.src.tar.xz) = f0a3d33e2899ec6e7c78b31b85758bb7da8686f9 -SHA512 (libunwind-4.0.1.src.tar.xz) = 8a0552a8ab830010d81420f4b778a3b831bff85b19bcce972958fc30e1ba5a2fa26a3deba499985a43dd7a103690775f6a20e7b3edda55f4eaff3541002d6b59 -Size (libunwind-4.0.1.src.tar.xz) = 63388 bytes +SHA1 (libunwind-5.0.0.src.tar.xz) = 6bdb6e1fcaf79c29866b0d62c66a405347dea75b +RMD160 (libunwind-5.0.0.src.tar.xz) = 87ea51017ddbaed7a3a9f50ed2f1477e288c5296 +SHA512 (libunwind-5.0.0.src.tar.xz) = 20d54d5342d67425f5e36e9c690f1bb67bc2a3b7184b3ad546b689e510728d7c596f178d4f5186daf7480409ed4e455848b4ad1d9d896370fac1db69885fc793 +Size (libunwind-5.0.0.src.tar.xz) = 72236 bytes diff --git a/lang/llvm/Makefile b/lang/llvm/Makefile index 8fedcf852af..1ed55ddf591 100644 --- a/lang/llvm/Makefile +++ b/lang/llvm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2017/09/30 04:38:09 ryoon Exp $ +# $NetBSD: Makefile,v 1.26 2017/12/01 19:22:12 adam Exp $ # # when updating this, please also update: # devel/include-what-you-use @@ -12,9 +12,8 @@ # Always update all */buildlink3.mk to require the latest stable release # version in BUILDLINK_API_DEPENDS, as there is no backwards compatibility -DISTNAME= llvm-4.0.1.src +DISTNAME= llvm-5.0.0.src PKGNAME= ${DISTNAME:S/.src//} -PKGREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tar.xz @@ -49,11 +48,9 @@ REPLACE_PERL+= utils/*.pl REPLACE_PERL+= utils/codegen-diff REPLACE_PERL+= utils/llvm-native-gxx -REPLACE_PYTHON+= *.py -REPLACE_PYTHON+= */*.py -REPLACE_PYTHON+= */*/*.py -REPLACE_PYTHON+= */*/*/*.py -REPLACE_PYTHON+= */*/*/*/*.py +REPLACE_PYTHON+= tools/opt-viewer/*.py +REPLACE_PYTHON+= tools/sancov/*.py +REPLACE_PYTHON+= utils/*.py REPLACE_PYTHON+= utils/Misc/zkill REPLACE_PYTHON+= utils/bisect REPLACE_PYTHON+= utils/clang-parse-diagnostics-file @@ -100,5 +97,6 @@ post-extract: .endfor .include "../../devel/zlib/buildlink3.mk" +.include "../../lang/python/application.mk" .include "../../lang/python/tool.mk" .include "../../mk/bsd.pkg.mk" diff --git a/lang/llvm/PLIST b/lang/llvm/PLIST index a0e29963985..470d1f5ca0a 100644 --- a/lang/llvm/PLIST +++ b/lang/llvm/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2017/03/19 19:01:48 adam Exp $ +@comment $NetBSD: PLIST,v 1.6 2017/12/01 19:22:12 adam Exp $ bin/FileCheck bin/bugpoint bin/count @@ -13,10 +13,12 @@ bin/llvm-c-test bin/llvm-cat bin/llvm-config bin/llvm-cov +bin/llvm-cvtres bin/llvm-cxxdump bin/llvm-cxxfilt bin/llvm-diff bin/llvm-dis +bin/llvm-dlltool bin/llvm-dsymutil bin/llvm-dwarfdump bin/llvm-dwp @@ -28,12 +30,14 @@ bin/llvm-lto2 bin/llvm-mc bin/llvm-mcmarkup bin/llvm-modextract +bin/llvm-mt bin/llvm-nm bin/llvm-objdump bin/llvm-opt-report -bin/llvm-pdbdump +bin/llvm-pdbutil bin/llvm-profdata bin/llvm-ranlib +bin/llvm-readelf bin/llvm-readobj bin/llvm-rtdyld bin/llvm-size @@ -80,6 +84,7 @@ include/llvm/ADT/AllocatorList.h include/llvm/ADT/ArrayRef.h include/llvm/ADT/BitVector.h include/llvm/ADT/BitmaskEnum.h +include/llvm/ADT/BreadthFirstIterator.h include/llvm/ADT/CachedHashString.h include/llvm/ADT/DAGDeltaAlgorithm.h include/llvm/ADT/DeltaAlgorithm.h @@ -156,6 +161,7 @@ include/llvm/Analysis/BlockFrequencyInfoImpl.h include/llvm/Analysis/BranchProbabilityInfo.h include/llvm/Analysis/CFG.h include/llvm/Analysis/CFGPrinter.h +include/llvm/Analysis/CFLAliasAnalysisUtils.h include/llvm/Analysis/CFLAndersAliasAnalysis.h include/llvm/Analysis/CFLSteensAliasAnalysis.h include/llvm/Analysis/CGSCCPassManager.h @@ -199,10 +205,13 @@ include/llvm/Analysis/LoopUnrollAnalyzer.h include/llvm/Analysis/MemoryBuiltins.h include/llvm/Analysis/MemoryDependenceAnalysis.h include/llvm/Analysis/MemoryLocation.h +include/llvm/Analysis/MemorySSA.h +include/llvm/Analysis/MemorySSAUpdater.h include/llvm/Analysis/ModuleSummaryAnalysis.h include/llvm/Analysis/ObjCARCAliasAnalysis.h include/llvm/Analysis/ObjCARCAnalysisUtils.h include/llvm/Analysis/ObjCARCInstKind.h +include/llvm/Analysis/ObjectUtils.h include/llvm/Analysis/OptimizationDiagnosticInfo.h include/llvm/Analysis/OrderedBasicBlock.h include/llvm/Analysis/PHITransAddr.h @@ -234,6 +243,31 @@ include/llvm/Analysis/ValueTracking.h include/llvm/Analysis/VectorUtils.h include/llvm/AsmParser/Parser.h include/llvm/AsmParser/SlotMapping.h +include/llvm/BinaryFormat/COFF.h +include/llvm/BinaryFormat/Dwarf.def +include/llvm/BinaryFormat/Dwarf.h +include/llvm/BinaryFormat/ELF.h +include/llvm/BinaryFormat/ELFRelocs/AArch64.def +include/llvm/BinaryFormat/ELFRelocs/AMDGPU.def +include/llvm/BinaryFormat/ELFRelocs/ARM.def +include/llvm/BinaryFormat/ELFRelocs/AVR.def +include/llvm/BinaryFormat/ELFRelocs/BPF.def +include/llvm/BinaryFormat/ELFRelocs/Hexagon.def +include/llvm/BinaryFormat/ELFRelocs/Lanai.def +include/llvm/BinaryFormat/ELFRelocs/Mips.def +include/llvm/BinaryFormat/ELFRelocs/PowerPC.def +include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def +include/llvm/BinaryFormat/ELFRelocs/RISCV.def +include/llvm/BinaryFormat/ELFRelocs/Sparc.def +include/llvm/BinaryFormat/ELFRelocs/SystemZ.def +include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def +include/llvm/BinaryFormat/ELFRelocs/i386.def +include/llvm/BinaryFormat/ELFRelocs/x86_64.def +include/llvm/BinaryFormat/MachO.def +include/llvm/BinaryFormat/MachO.h +include/llvm/BinaryFormat/Magic.h +include/llvm/BinaryFormat/Wasm.h +include/llvm/BinaryFormat/WasmRelocs/WebAssembly.def include/llvm/Bitcode/BitCodes.h include/llvm/Bitcode/BitcodeReader.h include/llvm/Bitcode/BitcodeWriter.h @@ -254,6 +288,8 @@ include/llvm/CodeGen/DIE.h include/llvm/CodeGen/DIEValue.def include/llvm/CodeGen/DwarfStringPoolEntry.h include/llvm/CodeGen/EdgeBundles.h +include/llvm/CodeGen/ExecutionDepsFix.h +include/llvm/CodeGen/ExpandReductions.h include/llvm/CodeGen/FastISel.h include/llvm/CodeGen/FaultMaps.h include/llvm/CodeGen/FunctionLoweringInfo.h @@ -266,9 +302,11 @@ 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/InstructionSelectorImpl.h include/llvm/CodeGen/GlobalISel/Legalizer.h include/llvm/CodeGen/GlobalISel/LegalizerHelper.h include/llvm/CodeGen/GlobalISel/LegalizerInfo.h +include/llvm/CodeGen/GlobalISel/Localizer.h include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h include/llvm/CodeGen/GlobalISel/RegBankSelect.h include/llvm/CodeGen/GlobalISel/RegisterBank.h @@ -278,6 +316,7 @@ include/llvm/CodeGen/GlobalISel/Utils.h include/llvm/CodeGen/ISDOpcodes.h include/llvm/CodeGen/IntrinsicLowering.h include/llvm/CodeGen/LatencyPriorityQueue.h +include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h include/llvm/CodeGen/LexicalScopes.h include/llvm/CodeGen/LinkAllAsmWriterComponents.h include/llvm/CodeGen/LinkAllCodegenComponents.h @@ -287,10 +326,12 @@ include/llvm/CodeGen/LiveIntervalUnion.h include/llvm/CodeGen/LivePhysRegs.h include/llvm/CodeGen/LiveRangeEdit.h include/llvm/CodeGen/LiveRegMatrix.h +include/llvm/CodeGen/LiveRegUnits.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/MIRPrinter.h include/llvm/CodeGen/MIRYamlMapping.h include/llvm/CodeGen/MachORelocation.h include/llvm/CodeGen/MachineBasicBlock.h @@ -302,7 +343,6 @@ include/llvm/CodeGen/MachineDominanceFrontier.h include/llvm/CodeGen/MachineDominators.h include/llvm/CodeGen/MachineFrameInfo.h include/llvm/CodeGen/MachineFunction.h -include/llvm/CodeGen/MachineFunctionInitializer.h include/llvm/CodeGen/MachineFunctionPass.h include/llvm/CodeGen/MachineInstr.h include/llvm/CodeGen/MachineInstrBuilder.h @@ -314,6 +354,7 @@ include/llvm/CodeGen/MachineMemOperand.h include/llvm/CodeGen/MachineModuleInfo.h include/llvm/CodeGen/MachineModuleInfoImpls.h include/llvm/CodeGen/MachineOperand.h +include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h include/llvm/CodeGen/MachinePassRegistry.h include/llvm/CodeGen/MachinePostDominators.h include/llvm/CodeGen/MachineRegionInfo.h @@ -322,6 +363,7 @@ include/llvm/CodeGen/MachineSSAUpdater.h include/llvm/CodeGen/MachineScheduler.h include/llvm/CodeGen/MachineTraceMetrics.h include/llvm/CodeGen/MachineValueType.h +include/llvm/CodeGen/MacroFusion.h include/llvm/CodeGen/PBQP/CostAllocator.h include/llvm/CodeGen/PBQP/Graph.h include/llvm/CodeGen/PBQP/Math.h @@ -348,6 +390,7 @@ include/llvm/CodeGen/ScheduleHazardRecognizer.h include/llvm/CodeGen/SchedulerRegistry.h include/llvm/CodeGen/ScoreboardHazardRecognizer.h include/llvm/CodeGen/SelectionDAG.h +include/llvm/CodeGen/SelectionDAGAddressAnalysis.h include/llvm/CodeGen/SelectionDAGISel.h include/llvm/CodeGen/SelectionDAGNodes.h include/llvm/CodeGen/SelectionDAGTargetInfo.h @@ -371,19 +414,34 @@ include/llvm/Config/abi-breaking.h include/llvm/Config/llvm-config.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/CodeViewRecordIO.h +include/llvm/DebugInfo/CodeView/CodeViewSymbols.def +include/llvm/DebugInfo/CodeView/CodeViewTypes.def +include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h +include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h +include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h +include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h +include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h +include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h +include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h +include/llvm/DebugInfo/CodeView/DebugSubsection.h +include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h +include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h +include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h +include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h +include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h include/llvm/DebugInfo/CodeView/EnumTables.h +include/llvm/DebugInfo/CodeView/Formatters.h include/llvm/DebugInfo/CodeView/FunctionId.h +include/llvm/DebugInfo/CodeView/GUID.h +include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h include/llvm/DebugInfo/CodeView/Line.h -include/llvm/DebugInfo/CodeView/ModuleSubstream.h -include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h include/llvm/DebugInfo/CodeView/RecordSerialization.h +include/llvm/DebugInfo/CodeView/StringsAndChecksums.h include/llvm/DebugInfo/CodeView/SymbolDeserializer.h include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h include/llvm/DebugInfo/CodeView/SymbolDumper.h @@ -393,27 +451,29 @@ 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/TypeDatabase.h -include/llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h +include/llvm/DebugInfo/CodeView/TypeCollection.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/TypeIndexDiscovery.h +include/llvm/DebugInfo/CodeView/TypeName.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/TypeTableCollection.h include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h include/llvm/DebugInfo/DIContext.h include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h +include/llvm/DebugInfo/DWARF/DWARFAttribute.h include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h include/llvm/DebugInfo/DWARF/DWARFContext.h +include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h @@ -432,19 +492,13 @@ 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/DWARF/DWARFVerifier.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 @@ -464,6 +518,40 @@ include/llvm/DebugInfo/PDB/IPDBLineNumber.h include/llvm/DebugInfo/PDB/IPDBRawSymbol.h include/llvm/DebugInfo/PDB/IPDBSession.h include/llvm/DebugInfo/PDB/IPDBSourceFile.h +include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h +include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h +include/llvm/DebugInfo/PDB/Native/DbiModuleList.h +include/llvm/DebugInfo/PDB/Native/DbiStream.h +include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h +include/llvm/DebugInfo/PDB/Native/EnumTables.h +include/llvm/DebugInfo/PDB/Native/Formatters.h +include/llvm/DebugInfo/PDB/Native/GlobalsStream.h +include/llvm/DebugInfo/PDB/Native/Hash.h +include/llvm/DebugInfo/PDB/Native/HashTable.h +include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h +include/llvm/DebugInfo/PDB/Native/InfoStream.h +include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h +include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h +include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h +include/llvm/DebugInfo/PDB/Native/NativeBuiltinSymbol.h +include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h +include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h +include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h +include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h +include/llvm/DebugInfo/PDB/Native/NativeSession.h +include/llvm/DebugInfo/PDB/Native/PDBFile.h +include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h +include/llvm/DebugInfo/PDB/Native/PDBStringTable.h +include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h +include/llvm/DebugInfo/PDB/Native/PublicsStream.h +include/llvm/DebugInfo/PDB/Native/PublicsStreamBuilder.h +include/llvm/DebugInfo/PDB/Native/RawConstants.h +include/llvm/DebugInfo/PDB/Native/RawError.h +include/llvm/DebugInfo/PDB/Native/RawTypes.h +include/llvm/DebugInfo/PDB/Native/SymbolStream.h +include/llvm/DebugInfo/PDB/Native/TpiHashing.h +include/llvm/DebugInfo/PDB/Native/TpiStream.h +include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h include/llvm/DebugInfo/PDB/PDB.h include/llvm/DebugInfo/PDB/PDBContext.h include/llvm/DebugInfo/PDB/PDBExtras.h @@ -501,30 +589,7 @@ include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h 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/EnumTables.h -include/llvm/DebugInfo/PDB/Raw/GlobalsStream.h -include/llvm/DebugInfo/PDB/Raw/Hash.h -include/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h -include/llvm/DebugInfo/PDB/Raw/InfoStream.h -include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h -include/llvm/DebugInfo/PDB/Raw/ModInfo.h -include/llvm/DebugInfo/PDB/Raw/ModStream.h -include/llvm/DebugInfo/PDB/Raw/NameHashTable.h -include/llvm/DebugInfo/PDB/Raw/NameMap.h -include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h -include/llvm/DebugInfo/PDB/Raw/PDBFile.h -include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h -include/llvm/DebugInfo/PDB/Raw/PublicsStream.h -include/llvm/DebugInfo/PDB/Raw/RawConstants.h -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/PDB/UDTLayout.h include/llvm/DebugInfo/Symbolize/DIPrinter.h include/llvm/DebugInfo/Symbolize/SymbolizableModule.h include/llvm/DebugInfo/Symbolize/Symbolize.h @@ -548,7 +613,6 @@ include/llvm/ExecutionEngine/Orc/IndirectionUtils.h include/llvm/ExecutionEngine/Orc/LambdaResolver.h include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h include/llvm/ExecutionEngine/Orc/NullResolver.h -include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h include/llvm/ExecutionEngine/Orc/OrcABISupport.h include/llvm/ExecutionEngine/Orc/OrcError.h @@ -557,6 +621,7 @@ include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h include/llvm/ExecutionEngine/Orc/RPCSerialization.h include/llvm/ExecutionEngine/Orc/RPCUtils.h +include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h include/llvm/ExecutionEngine/Orc/RawByteChannel.h include/llvm/ExecutionEngine/OrcMCJITReplacement.h include/llvm/ExecutionEngine/RTDyldMemoryManager.h @@ -585,6 +650,7 @@ include/llvm/IR/DebugInfoFlags.def include/llvm/IR/DebugInfoMetadata.h include/llvm/IR/DebugLoc.h include/llvm/IR/DerivedTypes.h +include/llvm/IR/DerivedUser.h include/llvm/IR/DiagnosticInfo.h include/llvm/IR/DiagnosticPrinter.h include/llvm/IR/Dominators.h @@ -643,6 +709,7 @@ include/llvm/IR/PassManagerInternal.h include/llvm/IR/PatternMatch.h include/llvm/IR/PredIteratorCache.h include/llvm/IR/ProfileSummary.h +include/llvm/IR/SafepointIRVerifier.h include/llvm/IR/Statepoint.h include/llvm/IR/SymbolTableListTraits.h include/llvm/IR/TrackingMDRef.h @@ -668,7 +735,6 @@ include/llvm/LTO/legacy/LTOCodeGenerator.h include/llvm/LTO/legacy/LTOModule.h include/llvm/LTO/legacy/ThinLTOCodeGenerator.h include/llvm/LTO/legacy/UpdateCompilerUsed.h -include/llvm/LibDriver/LibDriver.h include/llvm/LineEditor/LineEditor.h include/llvm/LinkAllIR.h include/llvm/LinkAllPasses.h @@ -681,6 +747,7 @@ include/llvm/MC/MCAsmInfo.h include/llvm/MC/MCAsmInfoCOFF.h include/llvm/MC/MCAsmInfoDarwin.h include/llvm/MC/MCAsmInfoELF.h +include/llvm/MC/MCAsmInfoWasm.h include/llvm/MC/MCAsmLayout.h include/llvm/MC/MCAssembler.h include/llvm/MC/MCCodeEmitter.h @@ -726,15 +793,19 @@ include/llvm/MC/MCSection.h include/llvm/MC/MCSectionCOFF.h include/llvm/MC/MCSectionELF.h include/llvm/MC/MCSectionMachO.h +include/llvm/MC/MCSectionWasm.h include/llvm/MC/MCStreamer.h include/llvm/MC/MCSubtargetInfo.h include/llvm/MC/MCSymbol.h include/llvm/MC/MCSymbolCOFF.h include/llvm/MC/MCSymbolELF.h include/llvm/MC/MCSymbolMachO.h +include/llvm/MC/MCSymbolWasm.h include/llvm/MC/MCTargetOptions.h include/llvm/MC/MCTargetOptionsCommandFlags.h include/llvm/MC/MCValue.h +include/llvm/MC/MCWasmObjectWriter.h +include/llvm/MC/MCWasmStreamer.h include/llvm/MC/MCWin64EH.h include/llvm/MC/MCWinCOFFObjectWriter.h include/llvm/MC/MCWinCOFFStreamer.h @@ -748,15 +819,16 @@ include/llvm/Object/ArchiveWriter.h include/llvm/Object/Binary.h include/llvm/Object/COFF.h include/llvm/Object/COFFImportFile.h +include/llvm/Object/COFFModuleDefinition.h include/llvm/Object/Decompressor.h include/llvm/Object/ELF.h include/llvm/Object/ELFObjectFile.h include/llvm/Object/ELFTypes.h include/llvm/Object/Error.h include/llvm/Object/IRObjectFile.h +include/llvm/Object/IRSymtab.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 @@ -764,11 +836,17 @@ include/llvm/Object/StackMapParser.h include/llvm/Object/SymbolSize.h include/llvm/Object/SymbolicFile.h include/llvm/Object/Wasm.h +include/llvm/Object/WindowsResource.h include/llvm/ObjectYAML/COFFYAML.h +include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h +include/llvm/ObjectYAML/CodeViewYAMLSymbols.h +include/llvm/ObjectYAML/CodeViewYAMLTypes.h +include/llvm/ObjectYAML/DWARFEmitter.h include/llvm/ObjectYAML/DWARFYAML.h include/llvm/ObjectYAML/ELFYAML.h include/llvm/ObjectYAML/MachOYAML.h include/llvm/ObjectYAML/ObjectYAML.h +include/llvm/ObjectYAML/WasmYAML.h include/llvm/ObjectYAML/YAML.h include/llvm/Option/Arg.h include/llvm/Option/ArgList.h @@ -794,6 +872,8 @@ include/llvm/ProfileData/SampleProf.h include/llvm/ProfileData/SampleProfReader.h include/llvm/ProfileData/SampleProfWriter.h include/llvm/Support/AArch64TargetParser.def +include/llvm/Support/AMDGPUCodeObjectMetadata.h +include/llvm/Support/ARMAttributeParser.h include/llvm/Support/ARMBuildAttributes.h include/llvm/Support/ARMEHABI.h include/llvm/Support/ARMTargetParser.def @@ -803,10 +883,17 @@ include/llvm/Support/Allocator.h include/llvm/Support/ArrayRecycler.h include/llvm/Support/Atomic.h include/llvm/Support/AtomicOrdering.h +include/llvm/Support/BinaryByteStream.h +include/llvm/Support/BinaryItemStream.h +include/llvm/Support/BinaryStream.h +include/llvm/Support/BinaryStreamArray.h +include/llvm/Support/BinaryStreamError.h +include/llvm/Support/BinaryStreamReader.h +include/llvm/Support/BinaryStreamRef.h +include/llvm/Support/BinaryStreamWriter.h include/llvm/Support/BlockFrequency.h include/llvm/Support/BranchProbability.h include/llvm/Support/CBindingWrapping.h -include/llvm/Support/COFF.h include/llvm/Support/COM.h include/llvm/Support/CachePruning.h include/llvm/Support/Capacity.h @@ -823,26 +910,8 @@ include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataExtractor.h include/llvm/Support/DataTypes.h include/llvm/Support/Debug.h -include/llvm/Support/Dwarf.def -include/llvm/Support/Dwarf.h +include/llvm/Support/DebugCounter.h include/llvm/Support/DynamicLibrary.h -include/llvm/Support/ELF.h -include/llvm/Support/ELFRelocs/AArch64.def -include/llvm/Support/ELFRelocs/AMDGPU.def -include/llvm/Support/ELFRelocs/ARM.def -include/llvm/Support/ELFRelocs/AVR.def -include/llvm/Support/ELFRelocs/BPF.def -include/llvm/Support/ELFRelocs/Hexagon.def -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 -include/llvm/Support/ELFRelocs/i386.def -include/llvm/Support/ELFRelocs/x86_64.def include/llvm/Support/Endian.h include/llvm/Support/EndianStream.h include/llvm/Support/Errc.h @@ -867,14 +936,14 @@ include/llvm/Support/GlobPattern.h include/llvm/Support/GraphWriter.h include/llvm/Support/Host.h include/llvm/Support/JamCRC.h +include/llvm/Support/KnownBits.h include/llvm/Support/LEB128.h include/llvm/Support/LICENSE.TXT include/llvm/Support/LineIterator.h include/llvm/Support/Locale.h include/llvm/Support/LockFileManager.h +include/llvm/Support/LowLevelTypeImpl.h include/llvm/Support/MD5.h -include/llvm/Support/MachO.def -include/llvm/Support/MachO.h include/llvm/Support/ManagedStatic.h include/llvm/Support/MathExtras.h include/llvm/Support/Memory.h @@ -885,6 +954,7 @@ include/llvm/Support/MutexGuard.h include/llvm/Support/NativeFormatting.h include/llvm/Support/OnDiskHashTable.h include/llvm/Support/Options.h +include/llvm/Support/Parallel.h include/llvm/Support/Path.h include/llvm/Support/PluginLoader.h include/llvm/Support/PointerLikeTypeTraits.h @@ -898,13 +968,14 @@ include/llvm/Support/Recycler.h include/llvm/Support/RecyclingAllocator.h include/llvm/Support/Regex.h include/llvm/Support/Registry.h +include/llvm/Support/ReverseIteration.h include/llvm/Support/SHA1.h include/llvm/Support/SMLoc.h include/llvm/Support/SaveAndRestore.h include/llvm/Support/ScaledNumber.h include/llvm/Support/ScopedPrinter.h include/llvm/Support/Signals.h -include/llvm/Support/Solaris.h +include/llvm/Support/Solaris/sys/regset.h include/llvm/Support/SourceMgr.h include/llvm/Support/SpecialCaseList.h include/llvm/Support/StringPool.h @@ -926,8 +997,8 @@ include/llvm/Support/TypeName.h include/llvm/Support/Unicode.h include/llvm/Support/UnicodeCharRanges.h include/llvm/Support/UniqueLock.h +include/llvm/Support/VCSRevision.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 @@ -950,11 +1021,13 @@ include/llvm/TableGen/StringToOffsetTable.h include/llvm/TableGen/TableGenBackend.h include/llvm/Target/CostTable.h include/llvm/Target/GenericOpcodes.td +include/llvm/Target/GlobalISel/RegisterBank.td +include/llvm/Target/GlobalISel/SelectionDAGCompat.td +include/llvm/Target/GlobalISel/Target.td 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 @@ -968,10 +1041,15 @@ include/llvm/Target/TargetRegisterInfo.h include/llvm/Target/TargetSchedule.td include/llvm/Target/TargetSelectionDAG.td include/llvm/Target/TargetSubtargetInfo.h +include/llvm/Testing/Support/Error.h +include/llvm/Testing/Support/SupportHelpers.h +include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h +include/llvm/ToolDrivers/llvm-lib/LibDriver.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/ArgumentPromotion.h include/llvm/Transforms/IPO/ConstantMerge.h include/llvm/Transforms/IPO/CrossDSOCFI.h include/llvm/Transforms/IPO/DeadArgumentElimination.h @@ -990,6 +1068,7 @@ include/llvm/Transforms/IPO/PartialInlining.h include/llvm/Transforms/IPO/PassManagerBuilder.h include/llvm/Transforms/IPO/SCCP.h include/llvm/Transforms/IPO/StripDeadPrototypes.h +include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h include/llvm/Transforms/IPO/WholeProgramDevirt.h include/llvm/Transforms/InstCombine/InstCombine.h include/llvm/Transforms/InstCombine/InstCombineWorklist.h @@ -1021,9 +1100,12 @@ 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/LoopLoadElimination.h include/llvm/Transforms/Scalar/LoopPassManager.h +include/llvm/Transforms/Scalar/LoopPredication.h include/llvm/Transforms/Scalar/LoopRotation.h include/llvm/Transforms/Scalar/LoopSimplifyCFG.h +include/llvm/Transforms/Scalar/LoopSink.h include/llvm/Transforms/Scalar/LoopStrengthReduce.h include/llvm/Transforms/Scalar/LoopUnrollPass.h include/llvm/Transforms/Scalar/LowerAtomic.h @@ -1037,6 +1119,7 @@ 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/SimpleLoopUnswitch.h include/llvm/Transforms/Scalar/SimplifyCFG.h include/llvm/Transforms/Scalar/Sink.h include/llvm/Transforms/Scalar/SpeculativeExecution.h @@ -1065,10 +1148,12 @@ 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/LowerMemIntrinsics.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/OrderedInstructions.h +include/llvm/Transforms/Utils/PredicateInfo.h include/llvm/Transforms/Utils/PromoteMemToReg.h include/llvm/Transforms/Utils/SSAUpdater.h include/llvm/Transforms/Utils/SSAUpdaterImpl.h @@ -1080,10 +1165,13 @@ include/llvm/Transforms/Utils/SplitModule.h include/llvm/Transforms/Utils/SymbolRewriter.h include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h include/llvm/Transforms/Utils/UnrollLoop.h +include/llvm/Transforms/Utils/VNCoercion.h 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/Graph.h +include/llvm/XRay/InstrumentationMap.h include/llvm/XRay/Trace.h include/llvm/XRay/XRayRecord.h include/llvm/XRay/YAMLXRayRecord.h @@ -1115,6 +1203,9 @@ lib/cmake/llvm/LLVMInstallSymlink.cmake lib/cmake/llvm/LLVMProcessSources.cmake lib/cmake/llvm/TableGen.cmake lib/cmake/llvm/VersionFromVCS.cmake +${PLIST.notdylib}lib/libLLVM-${PKGVERSION}.${SOEXT} +${PLIST.notdylib}lib/libLLVM-5.0.${SOEXT} +lib/libLLVM.${SOEXT} ${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a ${PLIST.AArch64}lib/libLLVMAArch64AsmPrinter.a ${PLIST.AArch64}lib/libLLVMAArch64CodeGen.a @@ -1143,6 +1234,7 @@ ${PLIST.BPF}lib/libLLVMBPFCodeGen.a ${PLIST.BPF}lib/libLLVMBPFDesc.a ${PLIST.BPF}lib/libLLVMBPFDisassembler.a ${PLIST.BPF}lib/libLLVMBPFInfo.a +lib/libLLVMBinaryFormat.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a lib/libLLVMCodeGen.a @@ -1154,6 +1246,7 @@ lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDemangle.a +lib/libLLVMDlltoolDriver.a lib/libLLVMExecutionEngine.a lib/libLLVMGlobalISel.a ${PLIST.Hexagon}lib/libLLVMHexagonAsmParser.a @@ -1236,9 +1329,12 @@ ${PLIST.XCore}lib/libLLVMXCoreDisassembler.a ${PLIST.XCore}lib/libLLVMXCoreInfo.a lib/libLLVMXRay.a lib/libLLVMipo.a -lib/libLLVM.${SOEXT} -${PLIST.notdylib}lib/libLLVM-4.0.${SOEXT} -${PLIST.notdylib}lib/libLLVM-${PKGVERSION}.${SOEXT} lib/libLTO.${SOEXT} -${PLIST.notdylib}lib/libLTO.${SOEXT}.4 ${PLIST.notdylib}lib/libLTO.${SOEXT}.${PKGVERSION} +${PLIST.notdylib}lib/libLTO.${SOEXT}.5 +share/opt-viewer/opt-diff.py +share/opt-viewer/opt-stats.py +share/opt-viewer/opt-viewer.py +share/opt-viewer/optpmap.py +share/opt-viewer/optrecord.py +share/opt-viewer/style.css diff --git a/lang/llvm/distinfo b/lang/llvm/distinfo index 4d919ede6b3..f81a93bd378 100644 --- a/lang/llvm/distinfo +++ b/lang/llvm/distinfo @@ -1,14 +1,10 @@ -$NetBSD: distinfo,v 1.10 2017/09/30 04:38:09 ryoon Exp $ +$NetBSD: distinfo,v 1.11 2017/12/01 19:22:12 adam Exp $ -SHA1 (llvm-4.0.1.src.tar.xz) = ddbf4dab7ab1a4bdce5ed1227bf721cbb3533a6e -RMD160 (llvm-4.0.1.src.tar.xz) = 37387a5ca73ea270b2f541ecbd1cd641f7b09be2 -SHA512 (llvm-4.0.1.src.tar.xz) = 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d -Size (llvm-4.0.1.src.tar.xz) = 21065652 bytes -SHA1 (patch-cmake_config-ix.cmake) = ae7fdf297485b8e944f92dceed0da2c835c43c72 +SHA1 (llvm-5.0.0.src.tar.xz) = 7b0fd212ecc38461e392cbdcbe6a1d4944138a04 +RMD160 (llvm-5.0.0.src.tar.xz) = 849075e32e6aa5e38c2e9a7108803e745c0ed0fc +SHA512 (llvm-5.0.0.src.tar.xz) = e6d8fdcb5bf27bded814d02f39f69c6171bc3a512d5957c03e5ac2e231f903b7de87634b059bd5c5da670f7c3a8f7a538f6299225799f15f921857f1452f6b3a +Size (llvm-5.0.0.src.tar.xz) = 23411980 bytes +SHA1 (patch-cmake_config-ix.cmake) = 4675b1dfca3850dbed6c494bf6a8f6fc6d500c20 SHA1 (patch-cmake_modules_AddLLVM.cmake) = 4bfb98c5d99797155d0fb13a43352d31f6cfe783 SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b -SHA1 (patch-include_llvm_Support_Host.h) = a4e19a72714084b211b0182c04ccc51bd606e150 -SHA1 (patch-lib_Support_Unix_Path.inc) = 08db2e5a098e6450652ca4b239c677716ba9f69f -SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 18e6ec7b8895e55ecdf93c9d4781e92052a6fcb1 -SHA1 (patch-utils_unittest_googletest_include_gtest_internal_gtest-port-arch.h) = 973941b2180dde3b0c6362bba3a472951b7a5a49 -SHA1 (patch-utils_unittest_googletest_include_gtest_internal_gtest-port.h) = 8a39fa48a44cb1f7e6bd555670089a44b4bee9a1 +SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 70d8f320f217d99e6f991709a080450bc05631cd diff --git a/lang/llvm/patches/patch-cmake_config-ix.cmake b/lang/llvm/patches/patch-cmake_config-ix.cmake index 9bac698c1fa..68d3ef46f08 100644 --- a/lang/llvm/patches/patch-cmake_config-ix.cmake +++ b/lang/llvm/patches/patch-cmake_config-ix.cmake @@ -1,6 +1,6 @@ -$NetBSD: patch-cmake_config-ix.cmake,v 1.1 2017/09/30 04:38:09 ryoon Exp $ +$NetBSD: patch-cmake_config-ix.cmake,v 1.2 2017/12/01 19:22:12 adam Exp $ -* Do not generate invalid llvm-config in pkgsrc +Do not generate invalid llvm-config in pkgsrc. --- cmake/config-ix.cmake.orig 2017-05-19 01:55:05.000000000 +0000 +++ cmake/config-ix.cmake @@ -9,7 +9,7 @@ $NetBSD: patch-cmake_config-ix.cmake,v 1.1 2017/09/30 04:38:09 ryoon Exp $ if(LLVM_ENABLE_TERMINFO) set(HAVE_TERMINFO 0) - foreach(library tinfo terminfo curses ncurses ncursesw) -+ foreach(library terminfo tinfo curses ncurses ncursesw) ++ foreach(library terminfo curses ncurses ncursesw tinfo) string(TOUPPER ${library} library_suffix) check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix}) if(HAVE_TERMINFO_${library_suffix}) diff --git a/lang/llvm/patches/patch-include_llvm_Support_Host.h b/lang/llvm/patches/patch-include_llvm_Support_Host.h deleted file mode 100644 index 4734bd713e7..00000000000 --- a/lang/llvm/patches/patch-include_llvm_Support_Host.h +++ /dev/null @@ -1,26 +0,0 @@ -$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-10-13 17:43:20.000000000 +0000 -+++ include/llvm/Support/Host.h -@@ -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 -+# include <sys/isa_defs.h> -+# ifdef _LITTLE_ENDIAN -+# define BYTE_ORDER LITTLE_ENDIAN -+# endif -+# ifdef _BIG_ENDIAN -+# define BYTE_ORDER BIG_ENDIAN -+# endif -+# endif /* BYTE_ORDER */ - #else - #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32) - #include <machine/endian.h> diff --git a/lang/llvm/patches/patch-lib_Support_Unix_Path.inc b/lang/llvm/patches/patch-lib_Support_Unix_Path.inc deleted file mode 100644 index 51ee03f60e8..00000000000 --- a/lang/llvm/patches/patch-lib_Support_Unix_Path.inc +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-lib_Support_Unix_Path.inc,v 1.1 2017/05/05 18:12:24 joerg Exp $ - -SVN r302263 - ---- lib/Support/Unix/Path.inc.orig 2017-05-04 16:08:02.765430627 +0000 -+++ lib/Support/Unix/Path.inc -@@ -342,14 +342,15 @@ std::error_code resize_file(int FD, uint - #if defined(HAVE_POSIX_FALLOCATE) - // If we have posix_fallocate use it. Unlike ftruncate it always allocates - // space, so we get an error if the disk is full. -- if (int Err = ::posix_fallocate(FD, 0, Size)) -- return std::error_code(Err, std::generic_category()); --#else -+ if (int Err = ::posix_fallocate(FD, 0, Size)) { -+ if (Err != EOPNOTSUPP) -+ return std::error_code(Err, std::generic_category()); -+ } -+#endif - // Use ftruncate as a fallback. It may or may not allocate space. At least on - // OS X with HFS+ it does. - if (::ftruncate(FD, Size) == -1) - return std::error_code(errno, std::generic_category()); --#endif - - return std::error_code(); - } diff --git a/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt b/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt index e196c535502..89d2548c368 100644 --- a/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt +++ b/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt @@ -1,23 +1,27 @@ -$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.1 2017/03/19 19:01:48 adam Exp $ +$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.2 2017/12/01 19:22:12 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.orig 2017-07-11 01:17:44.000000000 +0000 +++ tools/llvm-shlib/CMakeLists.txt -@@ -37,11 +37,12 @@ endif() +@@ -37,15 +37,15 @@ endif() add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES}) list(REMOVE_DUPLICATES LIB_NAMES) --if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" OR MINGW) # 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") +-if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU) OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")) # FIXME: It should be "GNU ld for elf" +if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") - set(LIB_NAMES -Wl,-all_load ${LIB_NAMES}) ++ set(LIB_NAMES -Wl,-all_load ${LIB_NAMES}) +elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS") + set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract) +else() -+ set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive) + configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in + ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map) +- +- # GNU ld doesn't resolve symbols in the version script. + set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive) +-elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") +- set(LIB_NAMES -Wl,-all_load ${LIB_NAMES}) endif() target_link_libraries(LLVM PRIVATE ${LIB_NAMES}) diff --git a/lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port-arch.h b/lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port-arch.h deleted file mode 100644 index c6d6d3601da..00000000000 --- a/lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port-arch.h +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-utils_unittest_googletest_include_gtest_internal_gtest-port-arch.h,v 1.1 2017/05/05 18:12:24 joerg Exp $ - -SVN r302264 - ---- utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h.orig 2017-05-04 15:28:58.046689762 +0000 -+++ utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h -@@ -84,6 +84,8 @@ - # define GTEST_OS_HPUX 1 - #elif defined __native_client__ - # define GTEST_OS_NACL 1 -+#elif defined __NetBSD__ -+# define GTEST_OS_NETBSD 1 - #elif defined __OpenBSD__ - # define GTEST_OS_OPENBSD 1 - #elif defined __QNX__ diff --git a/lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port.h b/lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port.h deleted file mode 100644 index 26b4d3d8881..00000000000 --- a/lang/llvm/patches/patch-utils_unittest_googletest_include_gtest_internal_gtest-port.h +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-utils_unittest_googletest_include_gtest_internal_gtest-port.h,v 1.1 2017/05/05 18:12:24 joerg Exp $ - -SVN r302264 - ---- utils/unittest/googletest/include/gtest/internal/gtest-port.h.orig 2017-05-04 15:26:03.505703113 +0000 -+++ utils/unittest/googletest/include/gtest/internal/gtest-port.h -@@ -793,7 +793,7 @@ using ::std::tuple_size; - (GTEST_OS_MAC && !GTEST_OS_IOS) || \ - (GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \ - GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \ -- GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD) -+ GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD || GTEST_OS_NETBSD) - # define GTEST_HAS_DEATH_TEST 1 - #endif - |