pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/libLLVM



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Dec  8 02:14:44 UTC 2017

Modified Files:
        pkgsrc/lang/libLLVM: Makefile PLIST distinfo
        pkgsrc/lang/libLLVM/patches: patch-cmake_modules_AddLLVM.cmake
            patch-tools_llvm-config_llvm-config.cpp
            patch-tools_llvm-shlib_CMakeLists.txt
Added Files:
        pkgsrc/lang/libLLVM/patches: patch-include_llvm_Support_Host.h
            patch-lib_Support_Unix_Program.inc

Log Message:
libLLVM: Revert update to 5.0.0

The update broke MesaLib, which blocks a vast number of packages.  In
the interest of stability heading towards 2017Q4, revert it, leaving
the issue of how to handle updates to this package (how much testing
is required, keeping multiple versions, etc.) to after the branch.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/libLLVM/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/libLLVM/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/libLLVM/distinfo
cvs rdiff -u -r1.5 -r1.6 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake
cvs rdiff -u -r0 -r1.5 \
    pkgsrc/lang/libLLVM/patches/patch-include_llvm_Support_Host.h
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp \
    pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt

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

Modified files:

Index: pkgsrc/lang/libLLVM/Makefile
diff -u pkgsrc/lang/libLLVM/Makefile:1.26 pkgsrc/lang/libLLVM/Makefile:1.27
--- pkgsrc/lang/libLLVM/Makefile:1.26   Fri Dec  1 19:22:13 2017
+++ pkgsrc/lang/libLLVM/Makefile        Fri Dec  8 02:14:44 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2017/12/01 19:22:13 adam Exp $
+# $NetBSD: Makefile,v 1.27 2017/12/08 02:14:44 gdt Exp $
 
-DISTNAME=      llvm-5.0.0.src
+DISTNAME=      llvm-4.0.1.src
 PKGNAME=       ${DISTNAME:S/llvm/libLLVM/:S/.src//}
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
@@ -123,7 +123,6 @@ 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
@@ -141,6 +140,5 @@ post-install:
 .endif
 
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../lang/python/application.mk"
 .include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/libLLVM/PLIST
diff -u pkgsrc/lang/libLLVM/PLIST:1.10 pkgsrc/lang/libLLVM/PLIST:1.11
--- pkgsrc/lang/libLLVM/PLIST:1.10      Fri Dec  1 19:22:13 2017
+++ pkgsrc/lang/libLLVM/PLIST   Fri Dec  8 02:14:44 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2017/12/01 19:22:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2017/12/08 02:14:44 gdt Exp $
 include/libLLVM/llvm-c/Analysis.h
 include/libLLVM/llvm-c/BitReader.h
 include/libLLVM/llvm-c/BitWriter.h
@@ -28,7 +28,6 @@ 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
@@ -105,7 +104,6 @@ include/libLLVM/llvm/Analysis/BlockFrequ
 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
@@ -149,13 +147,10 @@ include/libLLVM/llvm/Analysis/LoopUnroll
 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
@@ -187,31 +182,6 @@ include/libLLVM/llvm/Analysis/ValueTrack
 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
@@ -232,8 +202,6 @@ 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
@@ -246,11 +214,9 @@ include/libLLVM/llvm/CodeGen/GlobalISel/
 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
@@ -260,7 +226,6 @@ include/libLLVM/llvm/CodeGen/GlobalISel/
 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
@@ -270,12 +235,10 @@ include/libLLVM/llvm/CodeGen/LiveInterva
 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
@@ -287,6 +250,7 @@ include/libLLVM/llvm/CodeGen/MachineDomi
 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
@@ -298,7 +262,6 @@ include/libLLVM/llvm/CodeGen/MachineMemO
 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
@@ -307,7 +270,6 @@ include/libLLVM/llvm/CodeGen/MachineSSAU
 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
@@ -334,7 +296,6 @@ include/libLLVM/llvm/CodeGen/ScheduleHaz
 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
@@ -358,34 +319,19 @@ include/libLLVM/llvm/Config/abi-breaking
 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
@@ -395,29 +341,27 @@ include/libLLVM/llvm/DebugInfo/CodeView/
 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/TypeCollection.h
+include/libLLVM/llvm/DebugInfo/CodeView/TypeDatabase.h
+include/libLLVM/llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeDeserializer.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeDumpVisitor.h
+include/libLLVM/llvm/DebugInfo/CodeView/TypeDumperBase.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeIndex.h
-include/libLLVM/llvm/DebugInfo/CodeView/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
@@ -436,13 +380,19 @@ include/libLLVM/llvm/DebugInfo/DWARF/DWA
 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/DWARF/DWARFVerifier.h
+include/libLLVM/llvm/DebugInfo/MSF/ByteStream.h
 include/libLLVM/llvm/DebugInfo/MSF/IMSFFile.h
 include/libLLVM/llvm/DebugInfo/MSF/MSFBuilder.h
 include/libLLVM/llvm/DebugInfo/MSF/MSFCommon.h
 include/libLLVM/llvm/DebugInfo/MSF/MSFError.h
 include/libLLVM/llvm/DebugInfo/MSF/MSFStreamLayout.h
 include/libLLVM/llvm/DebugInfo/MSF/MappedBlockStream.h
+include/libLLVM/llvm/DebugInfo/MSF/SequencedItemStream.h
+include/libLLVM/llvm/DebugInfo/MSF/StreamArray.h
+include/libLLVM/llvm/DebugInfo/MSF/StreamInterface.h
+include/libLLVM/llvm/DebugInfo/MSF/StreamReader.h
+include/libLLVM/llvm/DebugInfo/MSF/StreamRef.h
+include/libLLVM/llvm/DebugInfo/MSF/StreamWriter.h
 include/libLLVM/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIADataStream.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h
@@ -462,40 +412,6 @@ include/libLLVM/llvm/DebugInfo/PDB/IPDBL
 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
@@ -533,7 +449,30 @@ include/libLLVM/llvm/DebugInfo/PDB/PDBSy
 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/UDTLayout.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/Symbolize/DIPrinter.h
 include/libLLVM/llvm/DebugInfo/Symbolize/SymbolizableModule.h
 include/libLLVM/llvm/DebugInfo/Symbolize/Symbolize.h
@@ -557,6 +496,7 @@ include/libLLVM/llvm/ExecutionEngine/Orc
 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
@@ -565,7 +505,6 @@ include/libLLVM/llvm/ExecutionEngine/Orc
 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
@@ -594,7 +533,6 @@ include/libLLVM/llvm/IR/DebugInfoFlags.d
 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
@@ -653,7 +591,6 @@ include/libLLVM/llvm/IR/PassManagerInter
 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
@@ -679,6 +616,7 @@ include/libLLVM/llvm/LTO/legacy/LTOCodeG
 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
@@ -691,7 +629,6 @@ 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
@@ -737,19 +674,15 @@ 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
@@ -763,16 +696,15 @@ include/libLLVM/llvm/Object/ArchiveWrite
 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
@@ -780,17 +712,11 @@ include/libLLVM/llvm/Object/StackMapPars
 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
@@ -816,8 +742,6 @@ include/libLLVM/llvm/ProfileData/SampleP
 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
@@ -827,17 +751,10 @@ 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
@@ -854,8 +771,26 @@ include/libLLVM/llvm/Support/DOTGraphTra
 include/libLLVM/llvm/Support/DataExtractor.h
 include/libLLVM/llvm/Support/DataTypes.h
 include/libLLVM/llvm/Support/Debug.h
-include/libLLVM/llvm/Support/DebugCounter.h
+include/libLLVM/llvm/Support/Dwarf.def
+include/libLLVM/llvm/Support/Dwarf.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
@@ -880,14 +815,14 @@ include/libLLVM/llvm/Support/GlobPattern
 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
@@ -898,7 +833,6 @@ include/libLLVM/llvm/Support/MutexGuard.
 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
@@ -912,14 +846,13 @@ 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/sys/regset.h
+include/libLLVM/llvm/Support/Solaris.h
 include/libLLVM/llvm/Support/SourceMgr.h
 include/libLLVM/llvm/Support/SpecialCaseList.h
 include/libLLVM/llvm/Support/StringPool.h
@@ -941,8 +874,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
@@ -965,13 +898,11 @@ include/libLLVM/llvm/TableGen/StringToOf
 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
@@ -985,15 +916,10 @@ include/libLLVM/llvm/Target/TargetRegist
 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
@@ -1012,7 +938,6 @@ include/libLLVM/llvm/Transforms/IPO/Part
 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
@@ -1044,12 +969,9 @@ include/libLLVM/llvm/Transforms/Scalar/L
 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
@@ -1063,7 +985,6 @@ include/libLLVM/llvm/Transforms/Scalar/P
 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
@@ -1092,12 +1013,10 @@ include/libLLVM/llvm/Transforms/Utils/Lo
 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
@@ -1109,28 +1028,22 @@ include/libLLVM/llvm/Transforms/Utils/Sp
 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
-include/libLLVM/llvm/XRay/Graph.h
-include/libLLVM/llvm/XRay/InstrumentationMap.h
+${PLIST.notdylib}lib/libLLVM/libLLVM-${LLVM_MAJOR_MINOR}.${SOEXT}
+${PLIST.notdylib}lib/libLLVM/libLLVM-${PKGVERSION}.${SOEXT}
 include/libLLVM/llvm/XRay/Trace.h
 include/libLLVM/llvm/XRay/XRayRecord.h
 include/libLLVM/llvm/XRay/YAMLXRayRecord.h
-${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

Index: pkgsrc/lang/libLLVM/distinfo
diff -u pkgsrc/lang/libLLVM/distinfo:1.11 pkgsrc/lang/libLLVM/distinfo:1.12
--- pkgsrc/lang/libLLVM/distinfo:1.11   Fri Dec  1 19:22:13 2017
+++ pkgsrc/lang/libLLVM/distinfo        Fri Dec  8 02:14:44 2017
@@ -1,13 +1,15 @@
-$NetBSD: distinfo,v 1.11 2017/12/01 19:22:13 adam Exp $
+$NetBSD: distinfo,v 1.12 2017/12/08 02:14:44 gdt Exp $
 
-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 (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-CMakeLists.txt) = 770e0bc00a987430b6c6be7e4141f33e5be54a8f
-SHA1 (patch-cmake_modules_AddLLVM.cmake) = 065b032ba377aca36c2d2131676c3b9a51c54b9d
+SHA1 (patch-cmake_modules_AddLLVM.cmake) = d9d9b8f9d33ddc3ef8ef55832aeed038500b6de8
 SHA1 (patch-cmake_modules_CMakeLists.txt) = 69514dafb36794eb6923a39ef219bdc7b09c37ee
 SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b
 SHA1 (patch-cmake_modules_TableGen.cmake) = 105aece4014c473a21ec6b427893239bbe881f89
-SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 64d644c13c02d1f156ea4ab7227465edfb179951
-SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 70d8f320f217d99e6f991709a080450bc05631cd
+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

Index: pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake
diff -u pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.5 pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.6
--- pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.5   Fri Dec  1 19:22:13 2017
+++ pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake       Fri Dec  8 02:14:44 2017
@@ -1,12 +1,12 @@
-$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.5 2017/12/01 19:22:13 adam Exp $
+$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.6 2017/12/08 02:14:44 gdt 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-07-12 21:43:14.000000000 +0000
+--- cmake/modules/AddLLVM.cmake.orig   2017-01-17 21:47:58.000000000 +0000
 +++ cmake/modules/AddLLVM.cmake
-@@ -198,9 +198,6 @@ function(add_link_opts target_name)
+@@ -182,9 +182,6 @@ function(add_link_opts target_name)
          # ld64's implementation of -dead_strip breaks tools that use plugins.
          set_property(TARGET ${target_name} APPEND_STRING PROPERTY
                       LINK_FLAGS " -Wl,-dead_strip")
@@ -16,7 +16,7 @@ Don't use non-portable -z discard-unused
        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
-@@ -607,10 +604,6 @@ macro(add_llvm_library name)
+@@ -591,10 +588,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
  
        if (NOT CMAKE_CONFIGURATION_TYPES)
          add_custom_target(install-${name}
-@@ -648,10 +641,6 @@ macro(add_llvm_loadable_module name)
+@@ -632,10 +625,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
        endif()
        set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name})
      endif()
-@@ -839,7 +828,7 @@ macro(add_llvm_tool name)
+@@ -823,7 +812,7 @@ macro(add_llvm_tool name)
  
        install(TARGETS ${name}
                ${export_to_llvmexports}
@@ -47,3 +47,12 @@ Don't use non-portable -z discard-unused
                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}

Index: pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp
diff -u pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp:1.4 pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp:1.5
--- pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp:1.4     Fri Dec  1 19:22:13 2017
+++ pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp Fri Dec  8 02:14:44 2017
@@ -1,26 +1,24 @@
-$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.4 2017/12/01 19:22:13 adam Exp $
+$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.5 2017/12/08 02:14:44 gdt 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-06-01 20:51:55.000000000 +0000
+--- tools/llvm-config/llvm-config.cpp.orig     2017-01-12 19:47:38.000000000 +0000
 +++ tools/llvm-config/llvm-config.cpp
-@@ -332,11 +332,11 @@ int main(int argc, char **argv) {
+@@ -332,9 +332,9 @@ int main(int argc, char **argv) {
          ("-I" + ActiveIncludeDir + " " + "-I" + ActiveObjRoot + "/include");
    } else {
      ActivePrefix = CurrentExecPrefix;
 -    ActiveIncludeDir = ActivePrefix + "/include";
 +    ActiveIncludeDir = "@PREFIX@/include/libLLVM";
-     SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR));
-     sys::fs::make_absolute(ActivePrefix, path);
-     ActiveBinDir = path.str();
+     ActiveBinDir = ActivePrefix + "/bin";
 -    ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX;
 +    ActiveLibDir = "@PREFIX@/lib/libLLVM";
      ActiveCMakeDir = ActiveLibDir + "/cmake/llvm";
      ActiveIncludeOption = "-I" + ActiveIncludeDir;
    }
-@@ -372,14 +372,14 @@ int main(int argc, char **argv) {
+@@ -370,14 +370,14 @@ int main(int argc, char **argv) {
      StaticDir = ActiveLibDir;
    } else if (HostTriple.isOSDarwin()) {
      SharedExt = "dylib";
@@ -37,7 +35,7 @@ on patch updates.
      StaticExt = "a";
      StaticDir = SharedDir = ActiveLibDir;
      StaticPrefix = SharedPrefix = "lib";
-@@ -392,7 +392,7 @@ int main(int argc, char **argv) {
+@@ -390,7 +390,7 @@ int main(int argc, char **argv) {
  
    bool DyLibExists = false;
    const std::string DyLibName =
@@ -46,7 +44,7 @@ on patch updates.
  
    // If LLVM_LINK_DYLIB is ON, the single shared library will be returned
    // for "--libs", etc, if they exist. This behaviour can be overridden with
-@@ -493,7 +493,7 @@ int main(int argc, char **argv) {
+@@ -491,7 +491,7 @@ int main(int argc, char **argv) {
          OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n';
        } else if (Arg == "--ldflags") {
          OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L")
Index: pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt
diff -u pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.4 pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.5
--- pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.4       Fri Dec  1 19:22:13 2017
+++ pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt   Fri Dec  8 02:14:44 2017
@@ -1,27 +1,23 @@
-$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.4 2017/12/01 19:22:13 adam Exp $
+$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.5 2017/12/08 02:14:44 gdt Exp $
 
 Use the Linux style linking everywhere except Darwin and SunOS.
 
---- tools/llvm-shlib/CMakeLists.txt.orig       2017-07-11 01:17:44.000000000 +0000
+--- tools/llvm-shlib/CMakeLists.txt.orig       2016-05-26 04:35:35.000000000 +0000
 +++ tools/llvm-shlib/CMakeLists.txt
-@@ -37,15 +37,15 @@ endif()
+@@ -37,11 +37,12 @@ endif()
  add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
  
  list(REMOVE_DUPLICATES LIB_NAMES)
--if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") 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 "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 "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()
-   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})
++  set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive)
  endif()
  
  target_link_libraries(LLVM PRIVATE ${LIB_NAMES})

Added files:

Index: pkgsrc/lang/libLLVM/patches/patch-include_llvm_Support_Host.h
diff -u /dev/null pkgsrc/lang/libLLVM/patches/patch-include_llvm_Support_Host.h:1.5
--- /dev/null   Fri Dec  8 02:14:44 2017
+++ pkgsrc/lang/libLLVM/patches/patch-include_llvm_Support_Host.h       Fri Dec  8 02:14:44 2017
@@ -0,0 +1,26 @@
+$NetBSD: patch-include_llvm_Support_Host.h,v 1.5 2017/12/08 02:14:44 gdt 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>

Index: pkgsrc/lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc
diff -u /dev/null pkgsrc/lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc:1.3
--- /dev/null   Fri Dec  8 02:14:44 2017
+++ pkgsrc/lang/libLLVM/patches/patch-lib_Support_Unix_Program.inc      Fri Dec  8 02:14:44 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_Support_Unix_Program.inc,v 1.3 2017/12/08 02:14:44 gdt 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__)



Home | Main Index | Thread Index | Old Index