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:   tnn
Date:           Fri Mar  6 22:44:18 UTC 2020

Modified Files:
        pkgsrc/lang/libLLVM: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/lang/libLLVM/patches: patch-cmake_config-ix.cmake
            patch-cmake_modules_AddLLVM.cmake
            patch-tools_llvm-shlib_CMakeLists.txt
Removed Files:
        pkgsrc/lang/libLLVM/patches:
            patch-cmake_modules_HandleLLVMOptions.cmake
            patch-cmake_modules_TableGen.cmake

Log Message:
libLLVM: update to 9.0.1

sync w/ lang/llvm. needed for mesa 20 update.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/lang/libLLVM/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/libLLVM/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/libLLVM/buildlink3.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/libLLVM/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake
cvs rdiff -u -r1.8 -r1.9 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_modules_HandleLLVMOptions.cmake
cvs rdiff -u -r1.3 -r0 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_modules_TableGen.cmake
cvs rdiff -u -r1.6 -r1.7 \
    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.34 pkgsrc/lang/libLLVM/Makefile:1.35
--- pkgsrc/lang/libLLVM/Makefile:1.34   Sun Jan 26 17:31:29 2020
+++ pkgsrc/lang/libLLVM/Makefile        Fri Mar  6 22:44:18 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2020/01/26 17:31:29 rillig Exp $
+# $NetBSD: Makefile,v 1.35 2020/03/06 22:44:18 tnn Exp $
 
-DISTNAME=      llvm-7.0.1.src
+DISTNAME=      llvm-9.0.1.src
 PKGNAME=       ${DISTNAME:S/llvm/libLLVM/:S/.src//}
-PKGREVISION=   2
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -29,6 +28,8 @@ CMAKE_ARGS+=  -DLLVM_INSTALL_UTILS=OFF
 CMAKE_ARGS+=   -DLLVM_LINK_LLVM_DYLIB=ON
 CMAKE_ARGS+=   -DLLVM_INCLUDE_TESTS=OFF
 CMAKE_ARGS+=   -DLLVM_ENABLE_LIBXML2=OFF
+CMAKE_ARGS+=   -DLLVM_BUILD_UTILS=OFF
+CMAKE_ARGS+=   -DLLVM_INCLUDE_BENCHMARKS=OFF
 CMAKE_ARGS+=   -DLLVM_ENABLE_RTTI=ON
 CMAKE_ARGS+=   -DCMAKE_EXE_LINKER_FLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/libLLVM
 
@@ -36,18 +37,20 @@ CMAKE_ARGS.Darwin+= -DCMAKE_LIBTOOL=/usr
 
 .for tool in   bugpoint bugpoint_passes dsymutil gold llc lli llvm_ar  \
        llvm_as llvm_as_fuzzer llvm_bcanalyzer llvm_c_test llvm_cat     \
-       llvm_cfi_verify llvm_cov llvm_cvtres llvm_cxxdump               \
-       llvm_cxxfilt llvm_demangle_fuzzer llvm_diff llvm_dis            \
-       llvm_dwarfdump llvm_dwp llvm_exegesis llvm_extract llvm_go      \
-       llvm_isel_fuzzer llvm_jitlistener llvm_link llvm_lto llvm_lto2  \
-       llvm_mc llvm_mc_assemble_fuzzer llvm_mc_disassemble_fuzzer      \
-       llvm_mca llvm_modextract llvm_mt llvm_nm llvm_objcopy           \
-       llvm_objdump llvm_opt_fuzzer llvm_opt_report llvm_pdbutil       \
-       llvm_profdata llvm_rc llvm_readobj llvm_rtdyld                  \
+       llvm_cfi_verify llvm_cov llvm_cvtres llvm_cxxdump llvm_cxxfilt  \
+       llvm_cxxmap llvm_diff llvm_dis llvm_dwarfdump llvm_dwp          \
+       llvm_elfabi llvm_exegesis llvm_extract llvm_go llvm_isel_fuzzer \
+       llvm_itanium_demangle_fuzzer llvm_jitlink llvm_jitlistener      \
+       llvm_link llvm_lipo llvm_lto llvm_lto2 llvm_mc                  \
+       llvm_mc_assemble_fuzzer llvm_mc_disassemble_fuzzer llvm_mca     \
+       llvm_microsoft_demangle_fuzzer llvm_modextract llvm_mt llvm_nm  \
+       llvm_objcopy llvm_objdump llvm_opt_fuzzer llvm_opt_report       \
+       llvm_pdbutil llvm_profdata llvm_rc llvm_readobj llvm_rtdyld     \
        llvm_size llvm_special_case_list_fuzzer llvm_split llvm_stress  \
-       llvm_strings llvm_symbolizer llvm_undname llvm_xray lto         \
-       obj2yaml opt opt_viewer sancov sanstats verify_uselistorder     \
-       xcode_toolchain yaml2obj
+       llvm_strings llvm_symbolizer llvm_undname llvm_xray             \
+       llvm_yaml_numeric_parser_fuzzer lto msbuild obj2yaml            \
+       opt opt_viewer remarks_shlib sancov sanstats                    \
+       verify_uselistorder xcode_toolchain yaml2obj
 
 CMAKE_ARGS+=   -DLLVM_TOOL_${tool:tu}_BUILD=OFF
 .endfor

Index: pkgsrc/lang/libLLVM/PLIST
diff -u pkgsrc/lang/libLLVM/PLIST:1.12 pkgsrc/lang/libLLVM/PLIST:1.13
--- pkgsrc/lang/libLLVM/PLIST:1.12      Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/PLIST   Fri Mar  6 22:44:18 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2019/01/26 21:17:20 tnn Exp $
+@comment $NetBSD: PLIST,v 1.13 2020/03/06 22:44:18 tnn Exp $
 include/libLLVM/llvm-c/Analysis.h
 include/libLLVM/llvm-c/BitReader.h
 include/libLLVM/llvm-c/BitWriter.h
@@ -8,6 +8,7 @@ include/libLLVM/llvm-c/DataTypes.h
 include/libLLVM/llvm-c/DebugInfo.h
 include/libLLVM/llvm-c/Disassembler.h
 include/libLLVM/llvm-c/DisassemblerTypes.h
+include/libLLVM/llvm-c/Error.h
 include/libLLVM/llvm-c/ErrorHandling.h
 include/libLLVM/llvm-c/ExecutionEngine.h
 include/libLLVM/llvm-c/IRReader.h
@@ -16,9 +17,12 @@ include/libLLVM/llvm-c/LinkTimeOptimizer
 include/libLLVM/llvm-c/Linker.h
 include/libLLVM/llvm-c/Object.h
 include/libLLVM/llvm-c/OrcBindings.h
+include/libLLVM/llvm-c/Remarks.h
 include/libLLVM/llvm-c/Support.h
 include/libLLVM/llvm-c/Target.h
 include/libLLVM/llvm-c/TargetMachine.h
+include/libLLVM/llvm-c/Transforms/AggressiveInstCombine.h
+include/libLLVM/llvm-c/Transforms/Coroutines.h
 include/libLLVM/llvm-c/Transforms/IPO.h
 include/libLLVM/llvm-c/Transforms/InstCombine.h
 include/libLLVM/llvm-c/Transforms/PassManagerBuilder.h
@@ -93,7 +97,9 @@ include/libLLVM/llvm/ADT/Triple.h
 include/libLLVM/llvm/ADT/Twine.h
 include/libLLVM/llvm/ADT/UniqueVector.h
 include/libLLVM/llvm/ADT/VariadicFunction.h
+include/libLLVM/llvm/ADT/bit.h
 include/libLLVM/llvm/ADT/edit_distance.h
+include/libLLVM/llvm/ADT/fallible_iterator.h
 include/libLLVM/llvm/ADT/ilist.h
 include/libLLVM/llvm/ADT/ilist_base.h
 include/libLLVM/llvm/ADT/ilist_iterator.h
@@ -129,14 +135,18 @@ include/libLLVM/llvm/Analysis/DemandedBi
 include/libLLVM/llvm/Analysis/DependenceAnalysis.h
 include/libLLVM/llvm/Analysis/DivergenceAnalysis.h
 include/libLLVM/llvm/Analysis/DomPrinter.h
+include/libLLVM/llvm/Analysis/DomTreeUpdater.h
 include/libLLVM/llvm/Analysis/DominanceFrontier.h
 include/libLLVM/llvm/Analysis/DominanceFrontierImpl.h
 include/libLLVM/llvm/Analysis/EHPersonalities.h
 include/libLLVM/llvm/Analysis/GlobalsModRef.h
+include/libLLVM/llvm/Analysis/GuardUtils.h
+include/libLLVM/llvm/Analysis/IVDescriptors.h
 include/libLLVM/llvm/Analysis/IVUsers.h
 include/libLLVM/llvm/Analysis/IndirectCallPromotionAnalysis.h
-include/libLLVM/llvm/Analysis/IndirectCallSiteVisitor.h
+include/libLLVM/llvm/Analysis/IndirectCallVisitor.h
 include/libLLVM/llvm/Analysis/InlineCost.h
+include/libLLVM/llvm/Analysis/InstructionPrecedenceTracking.h
 include/libLLVM/llvm/Analysis/InstructionSimplify.h
 include/libLLVM/llvm/Analysis/Interval.h
 include/libLLVM/llvm/Analysis/IntervalIterator.h
@@ -146,6 +156,7 @@ include/libLLVM/llvm/Analysis/LazyBlockF
 include/libLLVM/llvm/Analysis/LazyBranchProbabilityInfo.h
 include/libLLVM/llvm/Analysis/LazyCallGraph.h
 include/libLLVM/llvm/Analysis/LazyValueInfo.h
+include/libLLVM/llvm/Analysis/LegacyDivergenceAnalysis.h
 include/libLLVM/llvm/Analysis/Lint.h
 include/libLLVM/llvm/Analysis/Loads.h
 include/libLLVM/llvm/Analysis/LoopAccessAnalysis.h
@@ -167,6 +178,7 @@ include/libLLVM/llvm/Analysis/ObjCARCAna
 include/libLLVM/llvm/Analysis/ObjCARCInstKind.h
 include/libLLVM/llvm/Analysis/OptimizationRemarkEmitter.h
 include/libLLVM/llvm/Analysis/OrderedBasicBlock.h
+include/libLLVM/llvm/Analysis/OrderedInstructions.h
 include/libLLVM/llvm/Analysis/PHITransAddr.h
 include/libLLVM/llvm/Analysis/Passes.h
 include/libLLVM/llvm/Analysis/PhiValues.h
@@ -185,6 +197,8 @@ include/libLLVM/llvm/Analysis/ScalarEvol
 include/libLLVM/llvm/Analysis/ScalarEvolutionNormalization.h
 include/libLLVM/llvm/Analysis/ScopedNoAliasAA.h
 include/libLLVM/llvm/Analysis/SparsePropagation.h
+include/libLLVM/llvm/Analysis/StackSafetyAnalysis.h
+include/libLLVM/llvm/Analysis/SyncDependenceAnalysis.h
 include/libLLVM/llvm/Analysis/SyntheticCountsUtils.h
 include/libLLVM/llvm/Analysis/TargetFolder.h
 include/libLLVM/llvm/Analysis/TargetLibraryInfo.def
@@ -198,9 +212,11 @@ include/libLLVM/llvm/Analysis/Utils/Loca
 include/libLLVM/llvm/Analysis/ValueLattice.h
 include/libLLVM/llvm/Analysis/ValueLatticeUtils.h
 include/libLLVM/llvm/Analysis/ValueTracking.h
+include/libLLVM/llvm/Analysis/VecFuncs.def
 include/libLLVM/llvm/Analysis/VectorUtils.h
 include/libLLVM/llvm/AsmParser/Parser.h
 include/libLLVM/llvm/AsmParser/SlotMapping.h
+include/libLLVM/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
 include/libLLVM/llvm/BinaryFormat/COFF.h
 include/libLLVM/llvm/BinaryFormat/Dwarf.def
 include/libLLVM/llvm/BinaryFormat/Dwarf.h
@@ -214,6 +230,7 @@ include/libLLVM/llvm/BinaryFormat/ELFRel
 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/MSP430.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Mips.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/PowerPC.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
@@ -225,20 +242,32 @@ include/libLLVM/llvm/BinaryFormat/ELFRel
 include/libLLVM/llvm/BinaryFormat/MachO.def
 include/libLLVM/llvm/BinaryFormat/MachO.h
 include/libLLVM/llvm/BinaryFormat/Magic.h
+include/libLLVM/llvm/BinaryFormat/Minidump.h
+include/libLLVM/llvm/BinaryFormat/MinidumpConstants.def
+include/libLLVM/llvm/BinaryFormat/MsgPack.def
+include/libLLVM/llvm/BinaryFormat/MsgPack.h
+include/libLLVM/llvm/BinaryFormat/MsgPackDocument.h
+include/libLLVM/llvm/BinaryFormat/MsgPackReader.h
+include/libLLVM/llvm/BinaryFormat/MsgPackWriter.h
 include/libLLVM/llvm/BinaryFormat/Wasm.h
 include/libLLVM/llvm/BinaryFormat/WasmRelocs.def
-include/libLLVM/llvm/Bitcode/BitCodes.h
+include/libLLVM/llvm/BinaryFormat/XCOFF.h
+include/libLLVM/llvm/Bitcode/BitcodeAnalyzer.h
 include/libLLVM/llvm/Bitcode/BitcodeReader.h
 include/libLLVM/llvm/Bitcode/BitcodeWriter.h
 include/libLLVM/llvm/Bitcode/BitcodeWriterPass.h
-include/libLLVM/llvm/Bitcode/BitstreamReader.h
-include/libLLVM/llvm/Bitcode/BitstreamWriter.h
 include/libLLVM/llvm/Bitcode/LLVMBitCodes.h
+include/libLLVM/llvm/Bitstream/BitCodes.h
+include/libLLVM/llvm/Bitstream/BitstreamReader.h
+include/libLLVM/llvm/Bitstream/BitstreamWriter.h
 include/libLLVM/llvm/CodeGen/AccelTable.h
 include/libLLVM/llvm/CodeGen/Analysis.h
 include/libLLVM/llvm/CodeGen/AsmPrinter.h
+include/libLLVM/llvm/CodeGen/AsmPrinterHandler.h
 include/libLLVM/llvm/CodeGen/AtomicExpandUtils.h
 include/libLLVM/llvm/CodeGen/BasicTTIImpl.h
+include/libLLVM/llvm/CodeGen/BuiltinGCs.h
+include/libLLVM/llvm/CodeGen/CSEConfigBase.h
 include/libLLVM/llvm/CodeGen/CalcSpillWeights.h
 include/libLLVM/llvm/CodeGen/CallingConvLower.h
 include/libLLVM/llvm/CodeGen/CommandFlags.inc
@@ -247,6 +276,8 @@ include/libLLVM/llvm/CodeGen/DAGCombine.
 include/libLLVM/llvm/CodeGen/DFAPacketizer.h
 include/libLLVM/llvm/CodeGen/DIE.h
 include/libLLVM/llvm/CodeGen/DIEValue.def
+include/libLLVM/llvm/CodeGen/DbgEntityHistoryCalculator.h
+include/libLLVM/llvm/CodeGen/DebugHandlerBase.h
 include/libLLVM/llvm/CodeGen/DwarfStringPoolEntry.h
 include/libLLVM/llvm/CodeGen/EdgeBundles.h
 include/libLLVM/llvm/CodeGen/ExecutionDomainFix.h
@@ -257,12 +288,14 @@ include/libLLVM/llvm/CodeGen/FunctionLow
 include/libLLVM/llvm/CodeGen/GCMetadata.h
 include/libLLVM/llvm/CodeGen/GCMetadataPrinter.h
 include/libLLVM/llvm/CodeGen/GCStrategy.h
-include/libLLVM/llvm/CodeGen/GCs.h
+include/libLLVM/llvm/CodeGen/GlobalISel/CSEInfo.h
+include/libLLVM/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CallLowering.h
 include/libLLVM/llvm/CodeGen/GlobalISel/Combiner.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CombinerHelper.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CombinerInfo.h
 include/libLLVM/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h
+include/libLLVM/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
 include/libLLVM/llvm/CodeGen/GlobalISel/GISelWorkList.h
 include/libLLVM/llvm/CodeGen/GlobalISel/IRTranslator.h
 include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelect.h
@@ -298,6 +331,7 @@ include/libLLVM/llvm/CodeGen/LiveStacks.
 include/libLLVM/llvm/CodeGen/LiveVariables.h
 include/libLLVM/llvm/CodeGen/LoopTraversal.h
 include/libLLVM/llvm/CodeGen/LowLevelType.h
+include/libLLVM/llvm/CodeGen/MIRParser/MIParser.h
 include/libLLVM/llvm/CodeGen/MIRParser/MIRParser.h
 include/libLLVM/llvm/CodeGen/MIRPrinter.h
 include/libLLVM/llvm/CodeGen/MIRYamlMapping.h
@@ -325,6 +359,7 @@ include/libLLVM/llvm/CodeGen/MachineOper
 include/libLLVM/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
 include/libLLVM/llvm/CodeGen/MachineOutliner.h
 include/libLLVM/llvm/CodeGen/MachinePassRegistry.h
+include/libLLVM/llvm/CodeGen/MachinePipeliner.h
 include/libLLVM/llvm/CodeGen/MachinePostDominators.h
 include/libLLVM/llvm/CodeGen/MachineRegionInfo.h
 include/libLLVM/llvm/CodeGen/MachineRegisterInfo.h
@@ -345,6 +380,7 @@ include/libLLVM/llvm/CodeGen/PseudoSourc
 include/libLLVM/llvm/CodeGen/ReachingDefAnalysis.h
 include/libLLVM/llvm/CodeGen/RegAllocPBQP.h
 include/libLLVM/llvm/CodeGen/RegAllocRegistry.h
+include/libLLVM/llvm/CodeGen/Register.h
 include/libLLVM/llvm/CodeGen/RegisterClassInfo.h
 include/libLLVM/llvm/CodeGen/RegisterPressure.h
 include/libLLVM/llvm/CodeGen/RegisterScavenging.h
@@ -367,6 +403,8 @@ include/libLLVM/llvm/CodeGen/SelectionDA
 include/libLLVM/llvm/CodeGen/SlotIndexes.h
 include/libLLVM/llvm/CodeGen/StackMaps.h
 include/libLLVM/llvm/CodeGen/StackProtector.h
+include/libLLVM/llvm/CodeGen/SwiftErrorValueTracking.h
+include/libLLVM/llvm/CodeGen/SwitchLoweringUtils.h
 include/libLLVM/llvm/CodeGen/TailDuplicator.h
 include/libLLVM/llvm/CodeGen/TargetCallingConv.h
 include/libLLVM/llvm/CodeGen/TargetFrameLowering.h
@@ -430,6 +468,7 @@ include/libLLVM/llvm/DebugInfo/CodeView/
 include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h
 include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumper.h
 include/libLLVM/llvm/DebugInfo/CodeView/SymbolRecord.h
+include/libLLVM/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h
 include/libLLVM/llvm/DebugInfo/CodeView/SymbolRecordMapping.h
 include/libLLVM/llvm/DebugInfo/CodeView/SymbolSerializer.h
 include/libLLVM/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
@@ -442,6 +481,7 @@ include/libLLVM/llvm/DebugInfo/CodeView/
 include/libLLVM/llvm/DebugInfo/CodeView/TypeIndex.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeRecord.h
+include/libLLVM/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeRecordMapping.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeStreamMerger.h
 include/libLLVM/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h
@@ -480,6 +520,12 @@ include/libLLVM/llvm/DebugInfo/DWARF/DWA
 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/GSYM/FileEntry.h
+include/libLLVM/llvm/DebugInfo/GSYM/FunctionInfo.h
+include/libLLVM/llvm/DebugInfo/GSYM/InlineInfo.h
+include/libLLVM/llvm/DebugInfo/GSYM/LineEntry.h
+include/libLLVM/llvm/DebugInfo/GSYM/Range.h
+include/libLLVM/llvm/DebugInfo/GSYM/StringTable.h
 include/libLLVM/llvm/DebugInfo/MSF/IMSFFile.h
 include/libLLVM/llvm/DebugInfo/MSF/MSFBuilder.h
 include/libLLVM/llvm/DebugInfo/MSF/MSFCommon.h
@@ -488,6 +534,7 @@ include/libLLVM/llvm/DebugInfo/MSF/Mappe
 include/libLLVM/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIADataStream.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h
+include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumFrameData.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumInjectedSources.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumSectionContribs.h
@@ -495,6 +542,7 @@ include/libLLVM/llvm/DebugInfo/PDB/DIA/D
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumTables.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAError.h
+include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAFrameData.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAInjectedSource.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIALineNumber.h
 include/libLLVM/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h
@@ -507,6 +555,7 @@ include/libLLVM/llvm/DebugInfo/PDB/DIA/D
 include/libLLVM/llvm/DebugInfo/PDB/GenericError.h
 include/libLLVM/llvm/DebugInfo/PDB/IPDBDataStream.h
 include/libLLVM/llvm/DebugInfo/PDB/IPDBEnumChildren.h
+include/libLLVM/llvm/DebugInfo/PDB/IPDBFrameData.h
 include/libLLVM/llvm/DebugInfo/PDB/IPDBInjectedSource.h
 include/libLLVM/llvm/DebugInfo/PDB/IPDBLineNumber.h
 include/libLLVM/llvm/DebugInfo/PDB/IPDBRawSymbol.h
@@ -528,16 +577,26 @@ include/libLLVM/llvm/DebugInfo/PDB/Nativ
 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/InjectedSourceStream.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/NativeEnumGlobals.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumModules.h
-include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumSymbol.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumTypes.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/NativeSymbolEnumerator.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeArray.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypePointer.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.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
@@ -546,6 +605,7 @@ include/libLLVM/llvm/DebugInfo/PDB/Nativ
 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/SymbolCache.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
@@ -592,10 +652,21 @@ include/libLLVM/llvm/DebugInfo/Symbolize
 include/libLLVM/llvm/DebugInfo/Symbolize/SymbolizableModule.h
 include/libLLVM/llvm/DebugInfo/Symbolize/Symbolize.h
 include/libLLVM/llvm/Demangle/Demangle.h
+include/libLLVM/llvm/Demangle/DemangleConfig.h
+include/libLLVM/llvm/Demangle/ItaniumDemangle.h
+include/libLLVM/llvm/Demangle/MicrosoftDemangle.h
+include/libLLVM/llvm/Demangle/MicrosoftDemangleNodes.h
+include/libLLVM/llvm/Demangle/StringView.h
+include/libLLVM/llvm/Demangle/Utility.h
 include/libLLVM/llvm/ExecutionEngine/ExecutionEngine.h
 include/libLLVM/llvm/ExecutionEngine/GenericValue.h
 include/libLLVM/llvm/ExecutionEngine/Interpreter.h
 include/libLLVM/llvm/ExecutionEngine/JITEventListener.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/JITLink.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/MachO.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/MachO_x86_64.h
 include/libLLVM/llvm/ExecutionEngine/JITSymbol.h
 include/libLLVM/llvm/ExecutionEngine/MCJIT.h
 include/libLLVM/llvm/ExecutionEngine/OProfileWrapper.h
@@ -608,12 +679,15 @@ include/libLLVM/llvm/ExecutionEngine/Orc
 include/libLLVM/llvm/ExecutionEngine/Orc/IRCompileLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/IRTransformLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/IndirectionUtils.h
+include/libLLVM/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
 include/libLLVM/llvm/ExecutionEngine/Orc/LLJIT.h
 include/libLLVM/llvm/ExecutionEngine/Orc/LambdaResolver.h
 include/libLLVM/llvm/ExecutionEngine/Orc/Layer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
+include/libLLVM/llvm/ExecutionEngine/Orc/LazyReexports.h
 include/libLLVM/llvm/ExecutionEngine/Orc/Legacy.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
@@ -626,7 +700,9 @@ include/libLLVM/llvm/ExecutionEngine/Orc
 include/libLLVM/llvm/ExecutionEngine/Orc/RawByteChannel.h
 include/libLLVM/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/SymbolStringPool.h
+include/libLLVM/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
 include/libLLVM/llvm/ExecutionEngine/OrcMCJITReplacement.h
+include/libLLVM/llvm/ExecutionEngine/OrcV1Deprecation.h
 include/libLLVM/llvm/ExecutionEngine/RTDyldMemoryManager.h
 include/libLLVM/llvm/ExecutionEngine/RuntimeDyld.h
 include/libLLVM/llvm/ExecutionEngine/RuntimeDyldChecker.h
@@ -645,6 +721,7 @@ include/libLLVM/llvm/IR/Attributes.td
 include/libLLVM/llvm/IR/AutoUpgrade.h
 include/libLLVM/llvm/IR/BasicBlock.h
 include/libLLVM/llvm/IR/CFG.h
+include/libLLVM/llvm/IR/CFGDiff.h
 include/libLLVM/llvm/IR/CallSite.h
 include/libLLVM/llvm/IR/CallingConv.h
 include/libLLVM/llvm/IR/Comdat.h
@@ -663,7 +740,6 @@ include/libLLVM/llvm/IR/DerivedUser.h
 include/libLLVM/llvm/IR/DiagnosticHandler.h
 include/libLLVM/llvm/IR/DiagnosticInfo.h
 include/libLLVM/llvm/IR/DiagnosticPrinter.h
-include/libLLVM/llvm/IR/DomTreeUpdater.h
 include/libLLVM/llvm/IR/Dominators.h
 include/libLLVM/llvm/IR/Function.h
 include/libLLVM/llvm/IR/GVMaterializer.h
@@ -696,6 +772,7 @@ include/libLLVM/llvm/IR/IntrinsicsHexago
 include/libLLVM/llvm/IR/IntrinsicsMips.td
 include/libLLVM/llvm/IR/IntrinsicsNVVM.td
 include/libLLVM/llvm/IR/IntrinsicsPowerPC.td
+include/libLLVM/llvm/IR/IntrinsicsRISCV.td
 include/libLLVM/llvm/IR/IntrinsicsSystemZ.td
 include/libLLVM/llvm/IR/IntrinsicsWebAssembly.td
 include/libLLVM/llvm/IR/IntrinsicsX86.td
@@ -716,18 +793,20 @@ include/libLLVM/llvm/IR/NoFolder.h
 include/libLLVM/llvm/IR/OperandTraits.h
 include/libLLVM/llvm/IR/Operator.h
 include/libLLVM/llvm/IR/OptBisect.h
+include/libLLVM/llvm/IR/PassInstrumentation.h
 include/libLLVM/llvm/IR/PassManager.h
 include/libLLVM/llvm/IR/PassManagerInternal.h
+include/libLLVM/llvm/IR/PassTimingInfo.h
 include/libLLVM/llvm/IR/PatternMatch.h
 include/libLLVM/llvm/IR/PredIteratorCache.h
 include/libLLVM/llvm/IR/ProfileSummary.h
+include/libLLVM/llvm/IR/RemarkStreamer.h
 include/libLLVM/llvm/IR/RuntimeLibcalls.def
 include/libLLVM/llvm/IR/SafepointIRVerifier.h
 include/libLLVM/llvm/IR/Statepoint.h
 include/libLLVM/llvm/IR/SymbolTableListTraits.h
 include/libLLVM/llvm/IR/TrackingMDRef.h
 include/libLLVM/llvm/IR/Type.h
-include/libLLVM/llvm/IR/TypeBuilder.h
 include/libLLVM/llvm/IR/TypeFinder.h
 include/libLLVM/llvm/IR/Use.h
 include/libLLVM/llvm/IR/UseListOrder.h
@@ -744,6 +823,7 @@ include/libLLVM/llvm/LTO/Caching.h
 include/libLLVM/llvm/LTO/Config.h
 include/libLLVM/llvm/LTO/LTO.h
 include/libLLVM/llvm/LTO/LTOBackend.h
+include/libLLVM/llvm/LTO/SummaryBasedOptimizations.h
 include/libLLVM/llvm/LTO/legacy/LTOCodeGenerator.h
 include/libLLVM/llvm/LTO/legacy/LTOModule.h
 include/libLLVM/llvm/LTO/legacy/ThinLTOCodeGenerator.h
@@ -761,6 +841,7 @@ 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/MCAsmInfoXCOFF.h
 include/libLLVM/llvm/MC/MCAsmLayout.h
 include/libLLVM/llvm/MC/MCAsmMacro.h
 include/libLLVM/llvm/MC/MCAssembler.h
@@ -809,6 +890,7 @@ 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/MCSectionXCOFF.h
 include/libLLVM/llvm/MC/MCStreamer.h
 include/libLLVM/llvm/MC/MCSubtargetInfo.h
 include/libLLVM/llvm/MC/MCSymbol.h
@@ -816,6 +898,7 @@ 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/MCSymbolXCOFF.h
 include/libLLVM/llvm/MC/MCTargetOptions.h
 include/libLLVM/llvm/MC/MCTargetOptionsCommandFlags.inc
 include/libLLVM/llvm/MC/MCValue.h
@@ -825,10 +908,32 @@ include/libLLVM/llvm/MC/MCWin64EH.h
 include/libLLVM/llvm/MC/MCWinCOFFObjectWriter.h
 include/libLLVM/llvm/MC/MCWinCOFFStreamer.h
 include/libLLVM/llvm/MC/MCWinEH.h
+include/libLLVM/llvm/MC/MCXCOFFObjectWriter.h
+include/libLLVM/llvm/MC/MCXCOFFStreamer.h
 include/libLLVM/llvm/MC/MachineLocation.h
 include/libLLVM/llvm/MC/SectionKind.h
 include/libLLVM/llvm/MC/StringTableBuilder.h
 include/libLLVM/llvm/MC/SubtargetFeature.h
+include/libLLVM/llvm/MCA/Context.h
+include/libLLVM/llvm/MCA/HWEventListener.h
+include/libLLVM/llvm/MCA/HardwareUnits/HardwareUnit.h
+include/libLLVM/llvm/MCA/HardwareUnits/LSUnit.h
+include/libLLVM/llvm/MCA/HardwareUnits/RegisterFile.h
+include/libLLVM/llvm/MCA/HardwareUnits/ResourceManager.h
+include/libLLVM/llvm/MCA/HardwareUnits/RetireControlUnit.h
+include/libLLVM/llvm/MCA/HardwareUnits/Scheduler.h
+include/libLLVM/llvm/MCA/InstrBuilder.h
+include/libLLVM/llvm/MCA/Instruction.h
+include/libLLVM/llvm/MCA/Pipeline.h
+include/libLLVM/llvm/MCA/SourceMgr.h
+include/libLLVM/llvm/MCA/Stages/DispatchStage.h
+include/libLLVM/llvm/MCA/Stages/EntryStage.h
+include/libLLVM/llvm/MCA/Stages/ExecuteStage.h
+include/libLLVM/llvm/MCA/Stages/InstructionTables.h
+include/libLLVM/llvm/MCA/Stages/MicroOpQueueStage.h
+include/libLLVM/llvm/MCA/Stages/RetireStage.h
+include/libLLVM/llvm/MCA/Stages/Stage.h
+include/libLLVM/llvm/MCA/Support.h
 include/libLLVM/llvm/Object/Archive.h
 include/libLLVM/llvm/Object/ArchiveWriter.h
 include/libLLVM/llvm/Object/Binary.h
@@ -845,15 +950,18 @@ include/libLLVM/llvm/Object/IRObjectFile
 include/libLLVM/llvm/Object/IRSymtab.h
 include/libLLVM/llvm/Object/MachO.h
 include/libLLVM/llvm/Object/MachOUniversal.h
+include/libLLVM/llvm/Object/Minidump.h
 include/libLLVM/llvm/Object/ModuleSymbolTable.h
 include/libLLVM/llvm/Object/ObjectFile.h
-include/libLLVM/llvm/Object/RelocVisitor.h
+include/libLLVM/llvm/Object/RelocationResolver.h
 include/libLLVM/llvm/Object/StackMapParser.h
 include/libLLVM/llvm/Object/SymbolSize.h
 include/libLLVM/llvm/Object/SymbolicFile.h
 include/libLLVM/llvm/Object/Wasm.h
 include/libLLVM/llvm/Object/WasmTraits.h
+include/libLLVM/llvm/Object/WindowsMachineFlag.h
 include/libLLVM/llvm/Object/WindowsResource.h
+include/libLLVM/llvm/Object/XCOFFObjectFile.h
 include/libLLVM/llvm/ObjectYAML/COFFYAML.h
 include/libLLVM/llvm/ObjectYAML/CodeViewYAMLDebugSections.h
 include/libLLVM/llvm/ObjectYAML/CodeViewYAMLSymbols.h
@@ -863,8 +971,10 @@ include/libLLVM/llvm/ObjectYAML/DWARFEmi
 include/libLLVM/llvm/ObjectYAML/DWARFYAML.h
 include/libLLVM/llvm/ObjectYAML/ELFYAML.h
 include/libLLVM/llvm/ObjectYAML/MachOYAML.h
+include/libLLVM/llvm/ObjectYAML/MinidumpYAML.h
 include/libLLVM/llvm/ObjectYAML/ObjectYAML.h
 include/libLLVM/llvm/ObjectYAML/WasmYAML.h
+include/libLLVM/llvm/ObjectYAML/XCOFFYAML.h
 include/libLLVM/llvm/ObjectYAML/YAML.h
 include/libLLVM/llvm/Option/Arg.h
 include/libLLVM/llvm/Option/ArgList.h
@@ -879,6 +989,7 @@ include/libLLVM/llvm/PassRegistry.h
 include/libLLVM/llvm/PassSupport.h
 include/libLLVM/llvm/Passes/PassBuilder.h
 include/libLLVM/llvm/Passes/PassPlugin.h
+include/libLLVM/llvm/Passes/StandardInstrumentations.h
 include/libLLVM/llvm/ProfileData/Coverage/CoverageMapping.h
 include/libLLVM/llvm/ProfileData/Coverage/CoverageMappingReader.h
 include/libLLVM/llvm/ProfileData/Coverage/CoverageMappingWriter.h
@@ -891,13 +1002,20 @@ include/libLLVM/llvm/ProfileData/Profile
 include/libLLVM/llvm/ProfileData/SampleProf.h
 include/libLLVM/llvm/ProfileData/SampleProfReader.h
 include/libLLVM/llvm/ProfileData/SampleProfWriter.h
+include/libLLVM/llvm/Remarks/Remark.h
+include/libLLVM/llvm/Remarks/RemarkFormat.h
+include/libLLVM/llvm/Remarks/RemarkParser.h
+include/libLLVM/llvm/Remarks/RemarkSerializer.h
+include/libLLVM/llvm/Remarks/RemarkStringTable.h
 include/libLLVM/llvm/Support/AArch64TargetParser.def
+include/libLLVM/llvm/Support/AArch64TargetParser.h
 include/libLLVM/llvm/Support/AMDGPUMetadata.h
 include/libLLVM/llvm/Support/AMDHSAKernelDescriptor.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
+include/libLLVM/llvm/Support/ARMTargetParser.h
 include/libLLVM/llvm/Support/ARMWinEH.h
 include/libLLVM/llvm/Support/AlignOf.h
 include/libLLVM/llvm/Support/Allocator.h
@@ -914,8 +1032,11 @@ include/libLLVM/llvm/Support/BinaryStrea
 include/libLLVM/llvm/Support/BinaryStreamWriter.h
 include/libLLVM/llvm/Support/BlockFrequency.h
 include/libLLVM/llvm/Support/BranchProbability.h
+include/libLLVM/llvm/Support/BuryPointer.h
 include/libLLVM/llvm/Support/CBindingWrapping.h
+include/libLLVM/llvm/Support/CFGUpdate.h
 include/libLLVM/llvm/Support/COM.h
+include/libLLVM/llvm/Support/CRC.h
 include/libLLVM/llvm/Support/CachePruning.h
 include/libLLVM/llvm/Support/Capacity.h
 include/libLLVM/llvm/Support/Casting.h
@@ -942,6 +1063,7 @@ include/libLLVM/llvm/Support/Errno.h
 include/libLLVM/llvm/Support/Error.h
 include/libLLVM/llvm/Support/ErrorHandling.h
 include/libLLVM/llvm/Support/ErrorOr.h
+include/libLLVM/llvm/Support/FileCheck.h
 include/libLLVM/llvm/Support/FileOutputBuffer.h
 include/libLLVM/llvm/Support/FileSystem.h
 include/libLLVM/llvm/Support/FileUtilities.h
@@ -954,10 +1076,12 @@ include/libLLVM/llvm/Support/FormatVaria
 include/libLLVM/llvm/Support/FormattedStream.h
 include/libLLVM/llvm/Support/GenericDomTree.h
 include/libLLVM/llvm/Support/GenericDomTreeConstruction.h
+include/libLLVM/llvm/Support/GenericIteratedDominanceFrontier.h
 include/libLLVM/llvm/Support/GlobPattern.h
 include/libLLVM/llvm/Support/GraphWriter.h
 include/libLLVM/llvm/Support/Host.h
 include/libLLVM/llvm/Support/InitLLVM.h
+include/libLLVM/llvm/Support/ItaniumManglingCanonicalizer.h
 include/libLLVM/llvm/Support/JSON.h
 include/libLLVM/llvm/Support/JamCRC.h
 include/libLLVM/llvm/Support/KnownBits.h
@@ -968,6 +1092,7 @@ 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/MSVCErrorWorkarounds.h
 include/libLLVM/llvm/Support/MachineValueType.h
 include/libLLVM/llvm/Support/ManagedStatic.h
 include/libLLVM/llvm/Support/MathExtras.h
@@ -997,10 +1122,13 @@ 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/SMTAPI.h
 include/libLLVM/llvm/Support/SaveAndRestore.h
+include/libLLVM/llvm/Support/ScalableSize.h
 include/libLLVM/llvm/Support/ScaledNumber.h
 include/libLLVM/llvm/Support/ScopedPrinter.h
 include/libLLVM/llvm/Support/Signals.h
+include/libLLVM/llvm/Support/Signposts.h
 include/libLLVM/llvm/Support/SmallVectorMemoryBuffer.h
 include/libLLVM/llvm/Support/Solaris/sys/regset.h
 include/libLLVM/llvm/Support/SourceMgr.h
@@ -1008,6 +1136,7 @@ include/libLLVM/llvm/Support/SpecialCase
 include/libLLVM/llvm/Support/StringPool.h
 include/libLLVM/llvm/Support/StringSaver.h
 include/libLLVM/llvm/Support/SwapByteOrder.h
+include/libLLVM/llvm/Support/SymbolRemappingReader.h
 include/libLLVM/llvm/Support/SystemUtils.h
 include/libLLVM/llvm/Support/TarWriter.h
 include/libLLVM/llvm/Support/TargetOpcodes.def
@@ -1018,6 +1147,7 @@ include/libLLVM/llvm/Support/TaskQueue.h
 include/libLLVM/llvm/Support/ThreadLocal.h
 include/libLLVM/llvm/Support/ThreadPool.h
 include/libLLVM/llvm/Support/Threading.h
+include/libLLVM/llvm/Support/TimeProfiler.h
 include/libLLVM/llvm/Support/Timer.h
 include/libLLVM/llvm/Support/ToolOutputFile.h
 include/libLLVM/llvm/Support/TrailingObjects.h
@@ -1029,6 +1159,7 @@ include/libLLVM/llvm/Support/UniqueLock.
 include/libLLVM/llvm/Support/VCSRevision.h
 include/libLLVM/llvm/Support/Valgrind.h
 include/libLLVM/llvm/Support/VersionTuple.h
+include/libLLVM/llvm/Support/VirtualFileSystem.h
 include/libLLVM/llvm/Support/Watchdog.h
 include/libLLVM/llvm/Support/Win64EH.h
 include/libLLVM/llvm/Support/WindowsError.h
@@ -1065,10 +1196,22 @@ include/libLLVM/llvm/Target/TargetItiner
 include/libLLVM/llvm/Target/TargetLoweringObjectFile.h
 include/libLLVM/llvm/Target/TargetMachine.h
 include/libLLVM/llvm/Target/TargetOptions.h
+include/libLLVM/llvm/Target/TargetPfmCounters.td
 include/libLLVM/llvm/Target/TargetSchedule.td
 include/libLLVM/llvm/Target/TargetSelectionDAG.td
+include/libLLVM/llvm/Testing/Support/Annotations.h
 include/libLLVM/llvm/Testing/Support/Error.h
 include/libLLVM/llvm/Testing/Support/SupportHelpers.h
+include/libLLVM/llvm/TextAPI/ELF/ELFStub.h
+include/libLLVM/llvm/TextAPI/ELF/TBEHandler.h
+include/libLLVM/llvm/TextAPI/MachO/Architecture.def
+include/libLLVM/llvm/TextAPI/MachO/Architecture.h
+include/libLLVM/llvm/TextAPI/MachO/ArchitectureSet.h
+include/libLLVM/llvm/TextAPI/MachO/InterfaceFile.h
+include/libLLVM/llvm/TextAPI/MachO/PackedVersion.h
+include/libLLVM/llvm/TextAPI/MachO/Symbol.h
+include/libLLVM/llvm/TextAPI/MachO/TextAPIReader.h
+include/libLLVM/llvm/TextAPI/MachO/TextAPIWriter.h
 include/libLLVM/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
 include/libLLVM/llvm/ToolDrivers/llvm-lib/LibDriver.h
 include/libLLVM/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
@@ -1076,6 +1219,7 @@ include/libLLVM/llvm/Transforms/Coroutin
 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/Attributor.h
 include/libLLVM/llvm/Transforms/IPO/CalledValuePropagation.h
 include/libLLVM/llvm/Transforms/IPO/ConstantMerge.h
 include/libLLVM/llvm/Transforms/IPO/CrossDSOCFI.h
@@ -1087,6 +1231,7 @@ include/libLLVM/llvm/Transforms/IPO/Func
 include/libLLVM/llvm/Transforms/IPO/GlobalDCE.h
 include/libLLVM/llvm/Transforms/IPO/GlobalOpt.h
 include/libLLVM/llvm/Transforms/IPO/GlobalSplit.h
+include/libLLVM/llvm/Transforms/IPO/HotColdSplitting.h
 include/libLLVM/llvm/Transforms/IPO/InferFunctionAttrs.h
 include/libLLVM/llvm/Transforms/IPO/Inliner.h
 include/libLLVM/llvm/Transforms/IPO/Internalize.h
@@ -1102,11 +1247,18 @@ include/libLLVM/llvm/Transforms/IPO/Whol
 include/libLLVM/llvm/Transforms/InstCombine/InstCombine.h
 include/libLLVM/llvm/Transforms/InstCombine/InstCombineWorklist.h
 include/libLLVM/llvm/Transforms/Instrumentation.h
+include/libLLVM/llvm/Transforms/Instrumentation/AddressSanitizer.h
 include/libLLVM/llvm/Transforms/Instrumentation/BoundsChecking.h
 include/libLLVM/llvm/Transforms/Instrumentation/CGProfile.h
+include/libLLVM/llvm/Transforms/Instrumentation/ControlHeightReduction.h
 include/libLLVM/llvm/Transforms/Instrumentation/GCOVProfiler.h
+include/libLLVM/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
+include/libLLVM/llvm/Transforms/Instrumentation/InstrOrderFile.h
 include/libLLVM/llvm/Transforms/Instrumentation/InstrProfiling.h
+include/libLLVM/llvm/Transforms/Instrumentation/MemorySanitizer.h
 include/libLLVM/llvm/Transforms/Instrumentation/PGOInstrumentation.h
+include/libLLVM/llvm/Transforms/Instrumentation/PoisonChecking.h
+include/libLLVM/llvm/Transforms/Instrumentation/ThreadSanitizer.h
 include/libLLVM/llvm/Transforms/ObjCARC.h
 include/libLLVM/llvm/Transforms/Scalar.h
 include/libLLVM/llvm/Transforms/Scalar/ADCE.h
@@ -1133,6 +1285,7 @@ include/libLLVM/llvm/Transforms/Scalar/L
 include/libLLVM/llvm/Transforms/Scalar/LoopDataPrefetch.h
 include/libLLVM/llvm/Transforms/Scalar/LoopDeletion.h
 include/libLLVM/llvm/Transforms/Scalar/LoopDistribute.h
+include/libLLVM/llvm/Transforms/Scalar/LoopFuse.h
 include/libLLVM/llvm/Transforms/Scalar/LoopIdiomRecognize.h
 include/libLLVM/llvm/Transforms/Scalar/LoopInstSimplify.h
 include/libLLVM/llvm/Transforms/Scalar/LoopLoadElimination.h
@@ -1147,7 +1300,10 @@ include/libLLVM/llvm/Transforms/Scalar/L
 include/libLLVM/llvm/Transforms/Scalar/LowerAtomic.h
 include/libLLVM/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
 include/libLLVM/llvm/Transforms/Scalar/LowerGuardIntrinsic.h
+include/libLLVM/llvm/Transforms/Scalar/LowerWidenableCondition.h
+include/libLLVM/llvm/Transforms/Scalar/MakeGuardsExplicit.h
 include/libLLVM/llvm/Transforms/Scalar/MemCpyOptimizer.h
+include/libLLVM/llvm/Transforms/Scalar/MergeICmps.h
 include/libLLVM/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
 include/libLLVM/llvm/Transforms/Scalar/NaryReassociate.h
 include/libLLVM/llvm/Transforms/Scalar/NewGVN.h
@@ -1156,12 +1312,14 @@ include/libLLVM/llvm/Transforms/Scalar/R
 include/libLLVM/llvm/Transforms/Scalar/RewriteStatepointsForGC.h
 include/libLLVM/llvm/Transforms/Scalar/SCCP.h
 include/libLLVM/llvm/Transforms/Scalar/SROA.h
+include/libLLVM/llvm/Transforms/Scalar/Scalarizer.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/SpeculateAroundPHIs.h
 include/libLLVM/llvm/Transforms/Scalar/SpeculativeExecution.h
 include/libLLVM/llvm/Transforms/Scalar/TailRecursionElimination.h
+include/libLLVM/llvm/Transforms/Scalar/WarnMissedTransforms.h
 include/libLLVM/llvm/Transforms/Utils.h
 include/libLLVM/llvm/Transforms/Utils/ASanStackFrameLayout.h
 include/libLLVM/llvm/Transforms/Utils/AddDiscriminators.h
@@ -1170,6 +1328,7 @@ include/libLLVM/llvm/Transforms/Utils/Br
 include/libLLVM/llvm/Transforms/Utils/BuildLibCalls.h
 include/libLLVM/llvm/Transforms/Utils/BypassSlowDivision.h
 include/libLLVM/llvm/Transforms/Utils/CallPromotionUtils.h
+include/libLLVM/llvm/Transforms/Utils/CanonicalizeAliases.h
 include/libLLVM/llvm/Transforms/Utils/Cloning.h
 include/libLLVM/llvm/Transforms/Utils/CodeExtractor.h
 include/libLLVM/llvm/Transforms/Utils/CtorUtils.h
@@ -1179,6 +1338,7 @@ include/libLLVM/llvm/Transforms/Utils/Ev
 include/libLLVM/llvm/Transforms/Utils/FunctionComparator.h
 include/libLLVM/llvm/Transforms/Utils/FunctionImportUtils.h
 include/libLLVM/llvm/Transforms/Utils/GlobalStatus.h
+include/libLLVM/llvm/Transforms/Utils/GuardUtils.h
 include/libLLVM/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h
 include/libLLVM/llvm/Transforms/Utils/IntegerDivision.h
 include/libLLVM/llvm/Transforms/Utils/LCSSA.h
@@ -1193,7 +1353,6 @@ include/libLLVM/llvm/Transforms/Utils/Lo
 include/libLLVM/llvm/Transforms/Utils/Mem2Reg.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
@@ -1202,6 +1361,7 @@ include/libLLVM/llvm/Transforms/Utils/SS
 include/libLLVM/llvm/Transforms/Utils/SanitizerStats.h
 include/libLLVM/llvm/Transforms/Utils/SimplifyIndVar.h
 include/libLLVM/llvm/Transforms/Utils/SimplifyLibCalls.h
+include/libLLVM/llvm/Transforms/Utils/SizeOpts.h
 include/libLLVM/llvm/Transforms/Utils/SplitModule.h
 include/libLLVM/llvm/Transforms/Utils/SymbolRewriter.h
 include/libLLVM/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
@@ -1209,6 +1369,7 @@ include/libLLVM/llvm/Transforms/Utils/Un
 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/LoadStoreVectorizer.h
 include/libLLVM/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
 include/libLLVM/llvm/Transforms/Vectorize/LoopVectorize.h
 include/libLLVM/llvm/Transforms/Vectorize/SLPVectorizer.h
@@ -1216,8 +1377,20 @@ include/libLLVM/llvm/WindowsManifest/Win
 include/libLLVM/llvm/WindowsResource/ResourceProcessor.h
 include/libLLVM/llvm/WindowsResource/ResourceScriptToken.h
 include/libLLVM/llvm/WindowsResource/ResourceScriptTokenList.h
+include/libLLVM/llvm/XRay/BlockIndexer.h
+include/libLLVM/llvm/XRay/BlockPrinter.h
+include/libLLVM/llvm/XRay/BlockVerifier.h
+include/libLLVM/llvm/XRay/FDRLogBuilder.h
+include/libLLVM/llvm/XRay/FDRRecordConsumer.h
+include/libLLVM/llvm/XRay/FDRRecordProducer.h
+include/libLLVM/llvm/XRay/FDRRecords.h
+include/libLLVM/llvm/XRay/FDRTraceExpander.h
+include/libLLVM/llvm/XRay/FDRTraceWriter.h
+include/libLLVM/llvm/XRay/FileHeaderReader.h
 include/libLLVM/llvm/XRay/Graph.h
 include/libLLVM/llvm/XRay/InstrumentationMap.h
+include/libLLVM/llvm/XRay/Profile.h
+include/libLLVM/llvm/XRay/RecordPrinter.h
 include/libLLVM/llvm/XRay/Trace.h
 include/libLLVM/llvm/XRay/XRayRecord.h
 include/libLLVM/llvm/XRay/YAMLXRayRecord.h
@@ -1238,17 +1411,19 @@ share/libLLVM/cmake/DetermineGCCCompatib
 share/libLLVM/cmake/FindLibpfm.cmake
 share/libLLVM/cmake/FindOCaml.cmake
 share/libLLVM/cmake/FindSphinx.cmake
-share/libLLVM/cmake/GenerateVersionFromCVS.cmake
-share/libLLVM/cmake/GetSVN.cmake
+share/libLLVM/cmake/FindZ3.cmake
+share/libLLVM/cmake/GenerateVersionFromVCS.cmake
 share/libLLVM/cmake/HandleLLVMOptions.cmake
 share/libLLVM/cmake/HandleLLVMStdlib.cmake
 share/libLLVM/cmake/LLVM-Config.cmake
 share/libLLVM/cmake/LLVMConfig.cmake
 share/libLLVM/cmake/LLVMConfigVersion.cmake
+share/libLLVM/cmake/LLVMDistributionSupport.cmake
 share/libLLVM/cmake/LLVMExports-release.cmake
 share/libLLVM/cmake/LLVMExports.cmake
 share/libLLVM/cmake/LLVMExternalProjectUtils.cmake
 share/libLLVM/cmake/LLVMInstallSymlink.cmake
 share/libLLVM/cmake/LLVMProcessSources.cmake
 share/libLLVM/cmake/TableGen.cmake
+share/libLLVM/cmake/UseLibtool.cmake
 share/libLLVM/cmake/VersionFromVCS.cmake

Index: pkgsrc/lang/libLLVM/buildlink3.mk
diff -u pkgsrc/lang/libLLVM/buildlink3.mk:1.5 pkgsrc/lang/libLLVM/buildlink3.mk:1.6
--- pkgsrc/lang/libLLVM/buildlink3.mk:1.5       Fri May  5 23:13:05 2017
+++ pkgsrc/lang/libLLVM/buildlink3.mk   Fri Mar  6 22:44:18 2020
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.5 2017/05/05 23:13:05 kamil Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2020/03/06 22:44:18 tnn Exp $
 
 BUILDLINK_TREE+=       libLLVM
 
 .if !defined(LIBLLVM_BUILDLINK3_MK)
 LIBLLVM_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libLLVM+=        libLLVM>=4.0.0
+BUILDLINK_API_DEPENDS.libLLVM+=        libLLVM>=9.0.0
 BUILDLINK_PKGSRCDIR.libLLVM?=  ../../lang/libLLVM
 BUILDLINK_INCDIRS.libLLVM?=    include/libLLVM
 BUILDLINK_LIBDIRS.libLLVM?=    lib/libLLVM

Index: pkgsrc/lang/libLLVM/distinfo
diff -u pkgsrc/lang/libLLVM/distinfo:1.15 pkgsrc/lang/libLLVM/distinfo:1.16
--- pkgsrc/lang/libLLVM/distinfo:1.15   Sun Jan 27 00:07:32 2019
+++ pkgsrc/lang/libLLVM/distinfo        Fri Mar  6 22:44:18 2020
@@ -1,17 +1,15 @@
-$NetBSD: distinfo,v 1.15 2019/01/27 00:07:32 tnn Exp $
+$NetBSD: distinfo,v 1.16 2020/03/06 22:44:18 tnn Exp $
 
-SHA1 (llvm-7.0.1.src.tar.xz) = f97632fcc3186eb0d396492ef8acfc807648580f
-RMD160 (llvm-7.0.1.src.tar.xz) = dae96c6f85afb60e73564dc40d02171d01ffdb8f
-SHA512 (llvm-7.0.1.src.tar.xz) = ac43a3cb71a53deb55e3693653847cf20bf6f5d9056f224e6956c96d63bc59ebee9404f088eec9cabe65337b4607a905ef931354b373cf64e0004c6905a6b5df
-Size (llvm-7.0.1.src.tar.xz) = 28311056 bytes
+SHA1 (llvm-9.0.1.src.tar.xz) = f7fcf3bd92d130784513c06efe6910f135372ce3
+RMD160 (llvm-9.0.1.src.tar.xz) = 151c137ac3a514b6d32aaee5bb77dd32eb7d1f19
+SHA512 (llvm-9.0.1.src.tar.xz) = bfb6960a4dd1e18f4005f324f478a781c69e8ec7c20569d9b243fcb9372dc7733b254f26c683373537990cc9c109c78eaf0f65449629ee17caca1bce9b9ccccd
+Size (llvm-9.0.1.src.tar.xz) = 33035112 bytes
 SHA1 (patch-CMakeLists.txt) = af0dc7f54e5e11c481f78ffafc9a6833e4469f32
-SHA1 (patch-cmake_config-ix.cmake) = a345420169e4066e22d28ca6ad10840e83ccfa76
-SHA1 (patch-cmake_modules_AddLLVM.cmake) = e2f84881d23a5c3036acaec97c19480944968cc1
+SHA1 (patch-cmake_config-ix.cmake) = a6f4e9b0e635792acf18a41b310f55969f78bcd8
+SHA1 (patch-cmake_modules_AddLLVM.cmake) = 752852ec340e72428bf1087b454a75a4cb176632
 SHA1 (patch-cmake_modules_CMakeLists.txt) = 69514dafb36794eb6923a39ef219bdc7b09c37ee
 SHA1 (patch-cmake_modules_CheckAtomic.cmake) = 51e4fdf3bc24b50fc4d4bfa1ec5ba6c82ef946b4
-SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b
-SHA1 (patch-cmake_modules_TableGen.cmake) = 105aece4014c473a21ec6b427893239bbe881f89
 SHA1 (patch-include_llvm-c_DataTypes.h) = 025c035e0e10871727391bd58936bd67b3e58244
 SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
 SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 6d9e13036e2b1639fa67de995eb61520581f4fbd
-SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 45278d8acc6daa3d36a1a7b15e2e3b9a75a218e6
+SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 5892d83e4b8f1c30eefb9b8560fed43cb1a226e9

Index: pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake
diff -u pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake:1.1 pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake:1.2
--- pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake:1.1 Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake     Fri Mar  6 22:44:18 2020
@@ -1,14 +1,14 @@
-$NetBSD: patch-cmake_config-ix.cmake,v 1.1 2019/01/26 21:17:20 tnn Exp $
+$NetBSD: patch-cmake_config-ix.cmake,v 1.2 2020/03/06 22:44:18 tnn Exp $
 
 Do not generate invalid llvm-config in pkgsrc.
 
---- cmake/config-ix.cmake.orig 2018-01-02 17:53:08.000000000 +0000
+--- cmake/config-ix.cmake.orig 2019-12-11 19:15:30.000000000 +0000
 +++ cmake/config-ix.cmake
-@@ -153,7 +153,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
+@@ -141,7 +141,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
      endif()
      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})

Index: pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake
diff -u pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.8 pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.9
--- pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.8   Sun Jan 27 00:07:32 2019
+++ pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake       Fri Mar  6 22:44:18 2020
@@ -1,46 +1,36 @@
-$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.8 2019/01/27 00:07:32 tnn Exp $
+$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.9 2020/03/06 22:44:18 tnn 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.
 Don't use relative @rpath in llvm-config on Darwin.
 
---- cmake/modules/AddLLVM.cmake.orig   2018-08-01 07:51:55.000000000 +0000
+--- cmake/modules/AddLLVM.cmake.orig   2019-12-11 19:15:30.000000000 +0000
 +++ cmake/modules/AddLLVM.cmake
-@@ -218,9 +218,6 @@ function(add_link_opts target_name)
+@@ -222,9 +222,6 @@ function(add_link_opts target_name)
          # ld64's implementation of -dead_strip breaks tools that use plugins.
          set_property(TARGET ${target_name} APPEND_STRING PROPERTY
                       LINK_FLAGS " -Wl,-dead_strip")
 -      elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
 -        set_property(TARGET ${target_name} APPEND_STRING PROPERTY
 -                     LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections")
-       elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+       elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND
+              NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD|AIX")
          # Object files are compiled with -ffunction-data-sections.
-         # Versions of bfd ld < 2.23.1 have a bug in --gc-sections that breaks
-@@ -654,11 +651,6 @@ macro(add_llvm_library name)
+@@ -695,12 +692,6 @@ macro(add_llvm_library name)
          set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
        endif()
  
 -      install(TARGETS ${name}
 -              ${export_to_llvmexports}
--              ${install_type} DESTINATION ${install_dir}
--              COMPONENT ${name})
+-              LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
+-              ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
+-              RUNTIME DESTINATION bin COMPONENT ${name})
 -
-       if (NOT CMAKE_CONFIGURATION_TYPES)
+       if (NOT LLVM_ENABLE_IDE)
          add_llvm_install_targets(install-${name}
                                   DEPENDS ${name}
-@@ -693,10 +685,6 @@ macro(add_llvm_loadable_module name)
-           set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
-         endif()
- 
--        install(TARGETS ${name}
--                ${export_to_llvmexports}
--                LIBRARY DESTINATION ${dlldir}
--                ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
-       endif()
-       set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name})
-     endif()
-@@ -887,7 +875,7 @@ macro(add_llvm_tool name)
+@@ -907,7 +898,7 @@ macro(add_llvm_tool name)
  
        install(TARGETS ${name}
                ${export_to_llvmexports}
@@ -48,8 +38,8 @@ Don't use relative @rpath in llvm-config
 +              RUNTIME DESTINATION libexec/libLLVM
                COMPONENT ${name})
  
-       if (NOT CMAKE_CONFIGURATION_TYPES)
-@@ -1632,7 +1620,7 @@ function(llvm_setup_rpath name)
+       if (NOT LLVM_ENABLE_IDE)
+@@ -1727,7 +1718,7 @@ function(llvm_setup_rpath name)
    endif()
  
    if (APPLE)

Index: pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt
diff -u pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.6 pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.7
--- pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.6       Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt   Fri Mar  6 22:44:18 2020
@@ -1,33 +1,34 @@
-$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.6 2019/01/26 21:17:20 tnn Exp $
+$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.7 2020/03/06 22:44:18 tnn Exp $
 
 Use the Linux style linking everywhere except Darwin and SunOS.
 
---- tools/llvm-shlib/CMakeLists.txt.orig       2018-08-03 10:15:36.000000000 +0000
+--- tools/llvm-shlib/CMakeLists.txt.orig       2019-12-11 19:15:30.000000000 +0000
 +++ tools/llvm-shlib/CMakeLists.txt
-@@ -37,12 +37,11 @@ endif()
- add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
+@@ -45,13 +45,11 @@ if(LLVM_BUILD_LLVM_DYLIB)
+   add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${INSTALL_WITH_TOOLCHAIN} ${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 "OpenBSD")
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")
--   OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")) # FIXME: It should be "GNU ld for elf"
-+if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
-+  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)
-@@ -53,8 +52,6 @@ if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Lin
-     # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
-     set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
+   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 "GNU")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")) # FIXME: It should be "GNU ld for elf"
++  if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
++    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)
+@@ -62,8 +60,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
+       # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
+       set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
+     endif()
+-  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
+-    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
    endif()
--elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
--  set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
- endif()
  
- target_link_libraries(LLVM PRIVATE ${LIB_NAMES})
+   target_link_libraries(LLVM PRIVATE ${LIB_NAMES})



Home | Main Index | Thread Index | Old Index