libLLVM: update to 7.0.1, adapted from lang/llvm

This commit is contained in:
tnn 2019-01-26 21:17:20 +00:00
parent 6c76be8c22
commit d0725a0861
15 changed files with 492 additions and 253 deletions

View file

@ -5,8 +5,3 @@ them.
This package contains the LLVM core shared libraries intended to be usable by
packages built on an otherwise GCC-built system.
This package (lang/libLLVM) is libLLVM 4.0. While it could be renamed
to libLLVM4, that has not happened -- but it is intended to be a fixed
version. lang/libLLVM provides 3.4, for depending packages that need
an even older version.

View file

@ -1,12 +1,10 @@
# $NetBSD: Makefile,v 1.28 2018/03/04 01:47:39 gdt Exp $
# $NetBSD: Makefile,v 1.29 2019/01/26 21:17:20 tnn Exp $
DISTNAME= llvm-4.0.1.src
DISTNAME= llvm-7.0.1.src
PKGNAME= ${DISTNAME:S/llvm/libLLVM/:S/.src//}
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
# This package is 4.0 on purpose, so that depending packages are not
# broken. (It could be renamed libLLVM4.)
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://llvm.org/
@ -22,23 +20,32 @@ CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++
CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
CMAKE_ARGS+= -DCMAKE_CXX_LINK_FLAGS=${LDFLAGS:Q}
CMAKE_ARGS+= -DLLVM_BUILD_LLVM_DYLIB=ON
CMAKE_ARGS+= -DLLVM_INSTALL_UTILS=OFF
CMAKE_ARGS+= -DLLVM_LINK_LLVM_DYLIB=ON
CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=OFF
CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/libLLVM
CMAKE_ARGS.Darwin+= -DCMAKE_LIBTOOL=/usr/bin/libtool
.for tool in bugpoint bugpoint_passes dsymutil llc lli llvm_ar \
llvm_as llvm_bcanalyzer llvm_c_test llvm_cov llvm_cxxdump \
llvm_diff llvm_dis llvm_dwarfdump llvm_dwp llvm_extract llvm_go \
llvm_jitlistener llvm_link llvm_lto llvm_mc llvm_mcmarkup \
llvm_nm llvm_objdump llvm_pdbdump llvm_profdata llvm_readobj \
llvm_rtdyld llvm_size llvm_split llvm_stress llvm_symbolizer \
lto obj2yaml opt sancov verify_uselistorder yaml2obj sanstats
.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_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
CMAKE_ARGS+= -DLLVM_TOOL_${tool:tu}_BUILD=OFF
.endfor
@ -51,52 +58,31 @@ SUBST_VARS.fix-cnf= PREFIX LLVM_MAJOR_MINOR COMPILER_RPATH_FLAG
CHECK_PORTABILITY_SKIP= utils/buildit/build_llvm
# XXX perl is not added as a tool as it does not seem to be required
REPLACE_PERL+= utils/GenLibDeps.pl
REPLACE_PERL+= utils/UpdateCMakeLists.pl
REPLACE_PERL+= utils/*.pl
REPLACE_PERL+= utils/codegen-diff
REPLACE_PERL+= utils/findsym.pl
REPLACE_PERL+= utils/llvm-native-gxx
REPLACE_PERL+= utils/test_debuginfo.pl
REPLACE_PYTHON+= examples/Kaleidoscope/MCJIT/cached/genk-timing.py
REPLACE_PYTHON+= examples/Kaleidoscope/MCJIT/cached/split-lib.py
REPLACE_PYTHON+= examples/Kaleidoscope/MCJIT/complete/genk-timing.py
REPLACE_PYTHON+= examples/Kaleidoscope/MCJIT/complete/split-lib.py
REPLACE_PYTHON+= examples/Kaleidoscope/MCJIT/lazy/genk-timing.py
REPLACE_PYTHON+= test/BugPoint/compile-custom.ll.py
REPLACE_PYTHON+= test/tools/llvm-readobj/Inputs/relocs.py
REPLACE_PYTHON+= tools/opt-viewer/*.py
REPLACE_PYTHON+= tools/sancov/*.py
REPLACE_PYTHON+= utils/*.py
REPLACE_PYTHON+= utils/Misc/zkill
REPLACE_PYTHON+= utils/Target/ARM/analyze-match-table.py
REPLACE_PYTHON+= utils/bisect
REPLACE_PYTHON+= utils/clang-parse-diagnostics-file
REPLACE_PYTHON+= utils/create_ladder_graph.py
REPLACE_PYTHON+= utils/git/find-rev
REPLACE_PYTHON+= utils/lint/common_lint.py
REPLACE_PYTHON+= utils/lint/cpp_lint.py
REPLACE_PYTHON+= utils/lint/generic_lint.py
REPLACE_PYTHON+= utils/lit/lit.py
REPLACE_PYTHON+= utils/lit/lit/ProgressBar.py
REPLACE_PYTHON+= utils/lit/lit/main.py
REPLACE_PYTHON+= utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest
REPLACE_PYTHON+= utils/llvm-build/llvm-build
REPLACE_PYTHON+= utils/llvm-compilers-check
REPLACE_PYTHON+= utils/llvm-lit/llvm-lit.in
REPLACE_PYTHON+= utils/release/findRegressions-nightly.py
REPLACE_PYTHON+= utils/release/findRegressions-simple.py
REPLACE_PYTHON+= utils/schedcover.py
REPLACE_PYTHON+= utils/shuffle_fuzz.py
REPLACE_PYTHON+= utils/sort_includes.py
REPLACE_PYTHON+= utils/testgen/mc-bundling-x86-gen.py
REPLACE_PYTHON+= utils/update_llc_test_checks.py
REPLACE_PYTHON+= utils/wciia.py
TEST_TARGET= check
TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib
.include "../../mk/bsd.prefs.mk"
# 3.8.0 -> 3.8
LLVM_MAJOR_MINOR= ${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
# 7.0.1 -> 7.0
#LLVM_MAJOR_MINOR= ${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
# 7.0.1 -> 7
LLVM_MAJOR_MINOR= ${PKGVERSION_NOREV:C/^([0-9]+).*$/\1/}
PLIST_SUBST+= LLVM_MAJOR_MINOR=${LLVM_MAJOR_MINOR}
PLIST_VARS+= notdylib

View file

@ -1,9 +1,13 @@
@comment $NetBSD: PLIST,v 1.11 2017/12/08 02:14:44 gdt Exp $
@comment $NetBSD: PLIST,v 1.12 2019/01/26 21:17:20 tnn Exp $
include/libLLVM/llvm-c/Analysis.h
include/libLLVM/llvm-c/BitReader.h
include/libLLVM/llvm-c/BitWriter.h
include/libLLVM/llvm-c/Comdat.h
include/libLLVM/llvm-c/Core.h
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/ErrorHandling.h
include/libLLVM/llvm-c/ExecutionEngine.h
include/libLLVM/llvm-c/IRReader.h
@ -16,8 +20,10 @@ include/libLLVM/llvm-c/Support.h
include/libLLVM/llvm-c/Target.h
include/libLLVM/llvm-c/TargetMachine.h
include/libLLVM/llvm-c/Transforms/IPO.h
include/libLLVM/llvm-c/Transforms/InstCombine.h
include/libLLVM/llvm-c/Transforms/PassManagerBuilder.h
include/libLLVM/llvm-c/Transforms/Scalar.h
include/libLLVM/llvm-c/Transforms/Utils.h
include/libLLVM/llvm-c/Transforms/Vectorize.h
include/libLLVM/llvm-c/Types.h
include/libLLVM/llvm-c/lto.h
@ -25,9 +31,11 @@ include/libLLVM/llvm/ADT/APFloat.h
include/libLLVM/llvm/ADT/APInt.h
include/libLLVM/llvm/ADT/APSInt.h
include/libLLVM/llvm/ADT/AllocatorList.h
include/libLLVM/llvm/ADT/Any.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
@ -38,6 +46,7 @@ include/libLLVM/llvm/ADT/DepthFirstIterator.h
include/libLLVM/llvm/ADT/EpochTracker.h
include/libLLVM/llvm/ADT/EquivalenceClasses.h
include/libLLVM/llvm/ADT/FoldingSet.h
include/libLLVM/llvm/ADT/FunctionExtras.h
include/libLLVM/llvm/ADT/GraphTraits.h
include/libLLVM/llvm/ADT/Hashing.h
include/libLLVM/llvm/ADT/ImmutableList.h
@ -104,6 +113,7 @@ include/libLLVM/llvm/Analysis/BlockFrequencyInfoImpl.h
include/libLLVM/llvm/Analysis/BranchProbabilityInfo.h
include/libLLVM/llvm/Analysis/CFG.h
include/libLLVM/llvm/Analysis/CFGPrinter.h
include/libLLVM/llvm/Analysis/CFLAliasAnalysisUtils.h
include/libLLVM/llvm/Analysis/CFLAndersAliasAnalysis.h
include/libLLVM/llvm/Analysis/CFLSteensAliasAnalysis.h
include/libLLVM/llvm/Analysis/CGSCCPassManager.h
@ -111,6 +121,7 @@ include/libLLVM/llvm/Analysis/CallGraph.h
include/libLLVM/llvm/Analysis/CallGraphSCCPass.h
include/libLLVM/llvm/Analysis/CallPrinter.h
include/libLLVM/llvm/Analysis/CaptureTracking.h
include/libLLVM/llvm/Analysis/CmpInstAnalysis.h
include/libLLVM/llvm/Analysis/CodeMetrics.h
include/libLLVM/llvm/Analysis/ConstantFolding.h
include/libLLVM/llvm/Analysis/DOTGraphTraitsPass.h
@ -147,14 +158,18 @@ include/libLLVM/llvm/Analysis/LoopUnrollAnalyzer.h
include/libLLVM/llvm/Analysis/MemoryBuiltins.h
include/libLLVM/llvm/Analysis/MemoryDependenceAnalysis.h
include/libLLVM/llvm/Analysis/MemoryLocation.h
include/libLLVM/llvm/Analysis/MemorySSA.h
include/libLLVM/llvm/Analysis/MemorySSAUpdater.h
include/libLLVM/llvm/Analysis/ModuleSummaryAnalysis.h
include/libLLVM/llvm/Analysis/MustExecute.h
include/libLLVM/llvm/Analysis/ObjCARCAliasAnalysis.h
include/libLLVM/llvm/Analysis/ObjCARCAnalysisUtils.h
include/libLLVM/llvm/Analysis/ObjCARCInstKind.h
include/libLLVM/llvm/Analysis/OptimizationDiagnosticInfo.h
include/libLLVM/llvm/Analysis/OptimizationRemarkEmitter.h
include/libLLVM/llvm/Analysis/OrderedBasicBlock.h
include/libLLVM/llvm/Analysis/PHITransAddr.h
include/libLLVM/llvm/Analysis/Passes.h
include/libLLVM/llvm/Analysis/PhiValues.h
include/libLLVM/llvm/Analysis/PostDominators.h
include/libLLVM/llvm/Analysis/ProfileSummaryInfo.h
include/libLLVM/llvm/Analysis/PtrUseVisitor.h
@ -170,6 +185,7 @@ include/libLLVM/llvm/Analysis/ScalarEvolutionExpressions.h
include/libLLVM/llvm/Analysis/ScalarEvolutionNormalization.h
include/libLLVM/llvm/Analysis/ScopedNoAliasAA.h
include/libLLVM/llvm/Analysis/SparsePropagation.h
include/libLLVM/llvm/Analysis/SyntheticCountsUtils.h
include/libLLVM/llvm/Analysis/TargetFolder.h
include/libLLVM/llvm/Analysis/TargetLibraryInfo.def
include/libLLVM/llvm/Analysis/TargetLibraryInfo.h
@ -178,10 +194,39 @@ include/libLLVM/llvm/Analysis/TargetTransformInfoImpl.h
include/libLLVM/llvm/Analysis/Trace.h
include/libLLVM/llvm/Analysis/TypeBasedAliasAnalysis.h
include/libLLVM/llvm/Analysis/TypeMetadataUtils.h
include/libLLVM/llvm/Analysis/Utils/Local.h
include/libLLVM/llvm/Analysis/ValueLattice.h
include/libLLVM/llvm/Analysis/ValueLatticeUtils.h
include/libLLVM/llvm/Analysis/ValueTracking.h
include/libLLVM/llvm/Analysis/VectorUtils.h
include/libLLVM/llvm/AsmParser/Parser.h
include/libLLVM/llvm/AsmParser/SlotMapping.h
include/libLLVM/llvm/BinaryFormat/COFF.h
include/libLLVM/llvm/BinaryFormat/Dwarf.def
include/libLLVM/llvm/BinaryFormat/Dwarf.h
include/libLLVM/llvm/BinaryFormat/DynamicTags.def
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/ARC.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/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.def
include/libLLVM/llvm/Bitcode/BitCodes.h
include/libLLVM/llvm/Bitcode/BitcodeReader.h
include/libLLVM/llvm/Bitcode/BitcodeWriter.h
@ -189,19 +234,23 @@ 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/CodeGen/AccelTable.h
include/libLLVM/llvm/CodeGen/Analysis.h
include/libLLVM/llvm/CodeGen/AsmPrinter.h
include/libLLVM/llvm/CodeGen/AtomicExpandUtils.h
include/libLLVM/llvm/CodeGen/BasicTTIImpl.h
include/libLLVM/llvm/CodeGen/CalcSpillWeights.h
include/libLLVM/llvm/CodeGen/CallingConvLower.h
include/libLLVM/llvm/CodeGen/CommandFlags.h
include/libLLVM/llvm/CodeGen/CommandFlags.inc
include/libLLVM/llvm/CodeGen/CostTable.h
include/libLLVM/llvm/CodeGen/DAGCombine.h
include/libLLVM/llvm/CodeGen/DFAPacketizer.h
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/ExecutionDomainFix.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
@ -210,13 +259,21 @@ include/libLLVM/llvm/CodeGen/GCMetadataPrinter.h
include/libLLVM/llvm/CodeGen/GCStrategy.h
include/libLLVM/llvm/CodeGen/GCs.h
include/libLLVM/llvm/CodeGen/GlobalISel/CallLowering.h
include/libLLVM/llvm/CodeGen/GlobalISel/GISelAccessor.h
include/libLLVM/llvm/CodeGen/GlobalISel/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/GISelWorkList.h
include/libLLVM/llvm/CodeGen/GlobalISel/IRTranslator.h
include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelect.h
include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelector.h
include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
include/libLLVM/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.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/MIPatternMatch.h
include/libLLVM/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
include/libLLVM/llvm/CodeGen/GlobalISel/RegBankSelect.h
include/libLLVM/llvm/CodeGen/GlobalISel/RegisterBank.h
@ -226,19 +283,23 @@ include/libLLVM/llvm/CodeGen/GlobalISel/Utils.h
include/libLLVM/llvm/CodeGen/ISDOpcodes.h
include/libLLVM/llvm/CodeGen/IntrinsicLowering.h
include/libLLVM/llvm/CodeGen/LatencyPriorityQueue.h
include/libLLVM/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h
include/libLLVM/llvm/CodeGen/LexicalScopes.h
include/libLLVM/llvm/CodeGen/LinkAllAsmWriterComponents.h
include/libLLVM/llvm/CodeGen/LinkAllCodegenComponents.h
include/libLLVM/llvm/CodeGen/LiveInterval.h
include/libLLVM/llvm/CodeGen/LiveIntervalAnalysis.h
include/libLLVM/llvm/CodeGen/LiveIntervalUnion.h
include/libLLVM/llvm/CodeGen/LiveIntervals.h
include/libLLVM/llvm/CodeGen/LivePhysRegs.h
include/libLLVM/llvm/CodeGen/LiveRangeEdit.h
include/libLLVM/llvm/CodeGen/LiveRegMatrix.h
include/libLLVM/llvm/CodeGen/LiveStackAnalysis.h
include/libLLVM/llvm/CodeGen/LiveRegUnits.h
include/libLLVM/llvm/CodeGen/LiveStacks.h
include/libLLVM/llvm/CodeGen/LiveVariables.h
include/libLLVM/llvm/CodeGen/LoopTraversal.h
include/libLLVM/llvm/CodeGen/LowLevelType.h
include/libLLVM/llvm/CodeGen/MIRParser/MIRParser.h
include/libLLVM/llvm/CodeGen/MIRPrinter.h
include/libLLVM/llvm/CodeGen/MIRYamlMapping.h
include/libLLVM/llvm/CodeGen/MachORelocation.h
include/libLLVM/llvm/CodeGen/MachineBasicBlock.h
@ -250,7 +311,6 @@ include/libLLVM/llvm/CodeGen/MachineDominanceFrontier.h
include/libLLVM/llvm/CodeGen/MachineDominators.h
include/libLLVM/llvm/CodeGen/MachineFrameInfo.h
include/libLLVM/llvm/CodeGen/MachineFunction.h
include/libLLVM/llvm/CodeGen/MachineFunctionInitializer.h
include/libLLVM/llvm/CodeGen/MachineFunctionPass.h
include/libLLVM/llvm/CodeGen/MachineInstr.h
include/libLLVM/llvm/CodeGen/MachineInstrBuilder.h
@ -262,6 +322,8 @@ include/libLLVM/llvm/CodeGen/MachineMemOperand.h
include/libLLVM/llvm/CodeGen/MachineModuleInfo.h
include/libLLVM/llvm/CodeGen/MachineModuleInfoImpls.h
include/libLLVM/llvm/CodeGen/MachineOperand.h
include/libLLVM/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
include/libLLVM/llvm/CodeGen/MachineOutliner.h
include/libLLVM/llvm/CodeGen/MachinePassRegistry.h
include/libLLVM/llvm/CodeGen/MachinePostDominators.h
include/libLLVM/llvm/CodeGen/MachineRegionInfo.h
@ -269,7 +331,7 @@ include/libLLVM/llvm/CodeGen/MachineRegisterInfo.h
include/libLLVM/llvm/CodeGen/MachineSSAUpdater.h
include/libLLVM/llvm/CodeGen/MachineScheduler.h
include/libLLVM/llvm/CodeGen/MachineTraceMetrics.h
include/libLLVM/llvm/CodeGen/MachineValueType.h
include/libLLVM/llvm/CodeGen/MacroFusion.h
include/libLLVM/llvm/CodeGen/PBQP/CostAllocator.h
include/libLLVM/llvm/CodeGen/PBQP/Graph.h
include/libLLVM/llvm/CodeGen/PBQP/Math.h
@ -280,6 +342,7 @@ include/libLLVM/llvm/CodeGen/ParallelCG.h
include/libLLVM/llvm/CodeGen/Passes.h
include/libLLVM/llvm/CodeGen/PreISelIntrinsicLowering.h
include/libLLVM/llvm/CodeGen/PseudoSourceValue.h
include/libLLVM/llvm/CodeGen/ReachingDefAnalysis.h
include/libLLVM/llvm/CodeGen/RegAllocPBQP.h
include/libLLVM/llvm/CodeGen/RegAllocRegistry.h
include/libLLVM/llvm/CodeGen/RegisterClassInfo.h
@ -288,6 +351,7 @@ include/libLLVM/llvm/CodeGen/RegisterScavenging.h
include/libLLVM/llvm/CodeGen/RegisterUsageInfo.h
include/libLLVM/llvm/CodeGen/ResourcePriorityQueue.h
include/libLLVM/llvm/CodeGen/RuntimeLibcalls.h
include/libLLVM/llvm/CodeGen/SDNodeProperties.td
include/libLLVM/llvm/CodeGen/ScheduleDAG.h
include/libLLVM/llvm/CodeGen/ScheduleDAGInstrs.h
include/libLLVM/llvm/CodeGen/ScheduleDAGMutation.h
@ -296,6 +360,7 @@ include/libLLVM/llvm/CodeGen/ScheduleHazardRecognizer.h
include/libLLVM/llvm/CodeGen/SchedulerRegistry.h
include/libLLVM/llvm/CodeGen/ScoreboardHazardRecognizer.h
include/libLLVM/llvm/CodeGen/SelectionDAG.h
include/libLLVM/llvm/CodeGen/SelectionDAGAddressAnalysis.h
include/libLLVM/llvm/CodeGen/SelectionDAGISel.h
include/libLLVM/llvm/CodeGen/SelectionDAGNodes.h
include/libLLVM/llvm/CodeGen/SelectionDAGTargetInfo.h
@ -303,13 +368,21 @@ include/libLLVM/llvm/CodeGen/SlotIndexes.h
include/libLLVM/llvm/CodeGen/StackMaps.h
include/libLLVM/llvm/CodeGen/StackProtector.h
include/libLLVM/llvm/CodeGen/TailDuplicator.h
include/libLLVM/llvm/CodeGen/TargetCallingConv.h
include/libLLVM/llvm/CodeGen/TargetFrameLowering.h
include/libLLVM/llvm/CodeGen/TargetInstrInfo.h
include/libLLVM/llvm/CodeGen/TargetLowering.h
include/libLLVM/llvm/CodeGen/TargetLoweringObjectFileImpl.h
include/libLLVM/llvm/CodeGen/TargetOpcodes.h
include/libLLVM/llvm/CodeGen/TargetPassConfig.h
include/libLLVM/llvm/CodeGen/TargetRegisterInfo.h
include/libLLVM/llvm/CodeGen/TargetSchedule.h
include/libLLVM/llvm/CodeGen/TargetSubtargetInfo.h
include/libLLVM/llvm/CodeGen/UnreachableBlockElim.h
include/libLLVM/llvm/CodeGen/ValueTypes.h
include/libLLVM/llvm/CodeGen/ValueTypes.td
include/libLLVM/llvm/CodeGen/VirtRegMap.h
include/libLLVM/llvm/CodeGen/WasmEHFuncInfo.h
include/libLLVM/llvm/CodeGen/WinEHFuncInfo.h
include/libLLVM/llvm/Config/AsmParsers.def
include/libLLVM/llvm/Config/AsmPrinters.def
@ -317,21 +390,42 @@ include/libLLVM/llvm/Config/Disassemblers.def
include/libLLVM/llvm/Config/Targets.def
include/libLLVM/llvm/Config/abi-breaking.h
include/libLLVM/llvm/Config/llvm-config.h
include/libLLVM/llvm/DebugInfo/CodeView/CVDebugRecord.h
include/libLLVM/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.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/CodeViewRegisters.def
include/libLLVM/llvm/DebugInfo/CodeView/CodeViewSymbols.def
include/libLLVM/llvm/DebugInfo/CodeView/CodeViewTypes.def
include/libLLVM/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h
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/GlobalTypeTableBuilder.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/MergingTypeTableBuilder.h
include/libLLVM/llvm/DebugInfo/CodeView/RecordName.h
include/libLLVM/llvm/DebugInfo/CodeView/RecordSerialization.h
include/libLLVM/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h
include/libLLVM/llvm/DebugInfo/CodeView/StringsAndChecksums.h
include/libLLVM/llvm/DebugInfo/CodeView/SymbolDeserializer.h
include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h
include/libLLVM/llvm/DebugInfo/CodeView/SymbolDumper.h
@ -341,28 +435,29 @@ include/libLLVM/llvm/DebugInfo/CodeView/SymbolSerializer.h
include/libLLVM/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
include/libLLVM/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h
include/libLLVM/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
include/libLLVM/llvm/DebugInfo/CodeView/TypeDatabase.h
include/libLLVM/llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h
include/libLLVM/llvm/DebugInfo/CodeView/TypeCollection.h
include/libLLVM/llvm/DebugInfo/CodeView/TypeDeserializer.h
include/libLLVM/llvm/DebugInfo/CodeView/TypeDumpVisitor.h
include/libLLVM/llvm/DebugInfo/CodeView/TypeDumperBase.h
include/libLLVM/llvm/DebugInfo/CodeView/TypeHashing.h
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/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/DWARFAddressRange.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/DWARFDebugAddr.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
@ -372,46 +467,89 @@ include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFDie.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFExpression.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFFormValue.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFGdbIndex.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFListTable.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFObject.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFRelocMap.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFSection.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFUnit.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
include/libLLVM/llvm/DebugInfo/MSF/ByteStream.h
include/libLLVM/llvm/DebugInfo/DWARF/DWARFVerifier.h
include/libLLVM/llvm/DebugInfo/MSF/IMSFFile.h
include/libLLVM/llvm/DebugInfo/MSF/MSFBuilder.h
include/libLLVM/llvm/DebugInfo/MSF/MSFCommon.h
include/libLLVM/llvm/DebugInfo/MSF/MSFError.h
include/libLLVM/llvm/DebugInfo/MSF/MSFStreamLayout.h
include/libLLVM/llvm/DebugInfo/MSF/MappedBlockStream.h
include/libLLVM/llvm/DebugInfo/MSF/SequencedItemStream.h
include/libLLVM/llvm/DebugInfo/MSF/StreamArray.h
include/libLLVM/llvm/DebugInfo/MSF/StreamInterface.h
include/libLLVM/llvm/DebugInfo/MSF/StreamReader.h
include/libLLVM/llvm/DebugInfo/MSF/StreamRef.h
include/libLLVM/llvm/DebugInfo/MSF/StreamWriter.h
include/libLLVM/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIADataStream.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumInjectedSources.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumSectionContribs.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h
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/DIAInjectedSource.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIALineNumber.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIASectionContrib.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIASession.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIASourceFile.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIASupport.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIATable.h
include/libLLVM/llvm/DebugInfo/PDB/DIA/DIAUtils.h
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/IPDBInjectedSource.h
include/libLLVM/llvm/DebugInfo/PDB/IPDBLineNumber.h
include/libLLVM/llvm/DebugInfo/PDB/IPDBRawSymbol.h
include/libLLVM/llvm/DebugInfo/PDB/IPDBSectionContrib.h
include/libLLVM/llvm/DebugInfo/PDB/IPDBSession.h
include/libLLVM/llvm/DebugInfo/PDB/IPDBSourceFile.h
include/libLLVM/llvm/DebugInfo/PDB/IPDBTable.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/GSIStreamBuilder.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/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/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/RawConstants.h
include/libLLVM/llvm/DebugInfo/PDB/Native/RawError.h
include/libLLVM/llvm/DebugInfo/PDB/Native/RawTypes.h
include/libLLVM/llvm/DebugInfo/PDB/Native/SymbolStream.h
include/libLLVM/llvm/DebugInfo/PDB/Native/TpiHashing.h
include/libLLVM/llvm/DebugInfo/PDB/Native/TpiStream.h
include/libLLVM/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h
include/libLLVM/llvm/DebugInfo/PDB/PDB.h
include/libLLVM/llvm/DebugInfo/PDB/PDBContext.h
include/libLLVM/llvm/DebugInfo/PDB/PDBExtras.h
@ -449,30 +587,7 @@ include/libLLVM/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h
include/libLLVM/llvm/DebugInfo/PDB/PDBSymbolUnknown.h
include/libLLVM/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h
include/libLLVM/llvm/DebugInfo/PDB/PDBTypes.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/DbiStream.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/EnumTables.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/GlobalsStream.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/Hash.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/InfoStream.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/ModInfo.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/ModStream.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/NameHashTable.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/NameMap.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/PDBFile.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/PublicsStream.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/RawConstants.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/RawError.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/RawSession.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/RawTypes.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/SymbolStream.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/TpiHashing.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/TpiStream.h
include/libLLVM/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h
include/libLLVM/llvm/DebugInfo/PDB/UDTLayout.h
include/libLLVM/llvm/DebugInfo/Symbolize/DIPrinter.h
include/libLLVM/llvm/DebugInfo/Symbolize/SymbolizableModule.h
include/libLLVM/llvm/DebugInfo/Symbolize/Symbolize.h
@ -485,18 +600,20 @@ include/libLLVM/llvm/ExecutionEngine/JITSymbol.h
include/libLLVM/llvm/ExecutionEngine/MCJIT.h
include/libLLVM/llvm/ExecutionEngine/OProfileWrapper.h
include/libLLVM/llvm/ExecutionEngine/ObjectCache.h
include/libLLVM/llvm/ExecutionEngine/ObjectMemoryBuffer.h
include/libLLVM/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
include/libLLVM/llvm/ExecutionEngine/Orc/CompileUtils.h
include/libLLVM/llvm/ExecutionEngine/Orc/Core.h
include/libLLVM/llvm/ExecutionEngine/Orc/ExecutionUtils.h
include/libLLVM/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h
include/libLLVM/llvm/ExecutionEngine/Orc/IRCompileLayer.h
include/libLLVM/llvm/ExecutionEngine/Orc/IRTransformLayer.h
include/libLLVM/llvm/ExecutionEngine/Orc/IndirectionUtils.h
include/libLLVM/llvm/ExecutionEngine/Orc/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/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
@ -505,16 +622,25 @@ include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
include/libLLVM/llvm/ExecutionEngine/Orc/RPCSerialization.h
include/libLLVM/llvm/ExecutionEngine/Orc/RPCUtils.h
include/libLLVM/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
include/libLLVM/llvm/ExecutionEngine/Orc/RawByteChannel.h
include/libLLVM/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
include/libLLVM/llvm/ExecutionEngine/Orc/SymbolStringPool.h
include/libLLVM/llvm/ExecutionEngine/OrcMCJITReplacement.h
include/libLLVM/llvm/ExecutionEngine/RTDyldMemoryManager.h
include/libLLVM/llvm/ExecutionEngine/RuntimeDyld.h
include/libLLVM/llvm/ExecutionEngine/RuntimeDyldChecker.h
include/libLLVM/llvm/ExecutionEngine/SectionMemoryManager.h
include/libLLVM/llvm/FuzzMutate/FuzzerCLI.h
include/libLLVM/llvm/FuzzMutate/IRMutator.h
include/libLLVM/llvm/FuzzMutate/OpDescriptor.h
include/libLLVM/llvm/FuzzMutate/Operations.h
include/libLLVM/llvm/FuzzMutate/Random.h
include/libLLVM/llvm/FuzzMutate/RandomIRBuilder.h
include/libLLVM/llvm/IR/Argument.h
include/libLLVM/llvm/IR/AssemblyAnnotationWriter.h
include/libLLVM/llvm/IR/Attributes.gen
include/libLLVM/llvm/IR/Attributes.h
include/libLLVM/llvm/IR/Attributes.inc
include/libLLVM/llvm/IR/Attributes.td
include/libLLVM/llvm/IR/AutoUpgrade.h
include/libLLVM/llvm/IR/BasicBlock.h
@ -533,8 +659,11 @@ include/libLLVM/llvm/IR/DebugInfoFlags.def
include/libLLVM/llvm/IR/DebugInfoMetadata.h
include/libLLVM/llvm/IR/DebugLoc.h
include/libLLVM/llvm/IR/DerivedTypes.h
include/libLLVM/llvm/IR/DerivedUser.h
include/libLLVM/llvm/IR/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
@ -554,8 +683,9 @@ include/libLLVM/llvm/IR/InstrTypes.h
include/libLLVM/llvm/IR/Instruction.def
include/libLLVM/llvm/IR/Instruction.h
include/libLLVM/llvm/IR/Instructions.h
include/libLLVM/llvm/IR/IntrinsicEnums.inc
include/libLLVM/llvm/IR/IntrinsicImpl.inc
include/libLLVM/llvm/IR/IntrinsicInst.h
include/libLLVM/llvm/IR/Intrinsics.gen
include/libLLVM/llvm/IR/Intrinsics.h
include/libLLVM/llvm/IR/Intrinsics.td
include/libLLVM/llvm/IR/IntrinsicsAArch64.td
@ -591,6 +721,8 @@ include/libLLVM/llvm/IR/PassManagerInternal.h
include/libLLVM/llvm/IR/PatternMatch.h
include/libLLVM/llvm/IR/PredIteratorCache.h
include/libLLVM/llvm/IR/ProfileSummary.h
include/libLLVM/llvm/IR/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
@ -616,7 +748,6 @@ include/libLLVM/llvm/LTO/legacy/LTOCodeGenerator.h
include/libLLVM/llvm/LTO/legacy/LTOModule.h
include/libLLVM/llvm/LTO/legacy/ThinLTOCodeGenerator.h
include/libLLVM/llvm/LTO/legacy/UpdateCompilerUsed.h
include/libLLVM/llvm/LibDriver/LibDriver.h
include/libLLVM/llvm/LineEditor/LineEditor.h
include/libLLVM/llvm/LinkAllIR.h
include/libLLVM/llvm/LinkAllPasses.h
@ -629,9 +760,12 @@ 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/MCAsmMacro.h
include/libLLVM/llvm/MC/MCAssembler.h
include/libLLVM/llvm/MC/MCCodeEmitter.h
include/libLLVM/llvm/MC/MCCodePadder.h
include/libLLVM/llvm/MC/MCCodeView.h
include/libLLVM/llvm/MC/MCContext.h
include/libLLVM/llvm/MC/MCDirectives.h
@ -674,15 +808,19 @@ include/libLLVM/llvm/MC/MCSection.h
include/libLLVM/llvm/MC/MCSectionCOFF.h
include/libLLVM/llvm/MC/MCSectionELF.h
include/libLLVM/llvm/MC/MCSectionMachO.h
include/libLLVM/llvm/MC/MCSectionWasm.h
include/libLLVM/llvm/MC/MCStreamer.h
include/libLLVM/llvm/MC/MCSubtargetInfo.h
include/libLLVM/llvm/MC/MCSymbol.h
include/libLLVM/llvm/MC/MCSymbolCOFF.h
include/libLLVM/llvm/MC/MCSymbolELF.h
include/libLLVM/llvm/MC/MCSymbolMachO.h
include/libLLVM/llvm/MC/MCSymbolWasm.h
include/libLLVM/llvm/MC/MCTargetOptions.h
include/libLLVM/llvm/MC/MCTargetOptionsCommandFlags.h
include/libLLVM/llvm/MC/MCTargetOptionsCommandFlags.inc
include/libLLVM/llvm/MC/MCValue.h
include/libLLVM/llvm/MC/MCWasmObjectWriter.h
include/libLLVM/llvm/MC/MCWasmStreamer.h
include/libLLVM/llvm/MC/MCWin64EH.h
include/libLLVM/llvm/MC/MCWinCOFFObjectWriter.h
include/libLLVM/llvm/MC/MCWinCOFFStreamer.h
@ -696,15 +834,17 @@ include/libLLVM/llvm/Object/ArchiveWriter.h
include/libLLVM/llvm/Object/Binary.h
include/libLLVM/llvm/Object/COFF.h
include/libLLVM/llvm/Object/COFFImportFile.h
include/libLLVM/llvm/Object/COFFModuleDefinition.h
include/libLLVM/llvm/Object/CVDebugRecord.h
include/libLLVM/llvm/Object/Decompressor.h
include/libLLVM/llvm/Object/ELF.h
include/libLLVM/llvm/Object/ELFObjectFile.h
include/libLLVM/llvm/Object/ELFTypes.h
include/libLLVM/llvm/Object/Error.h
include/libLLVM/llvm/Object/IRObjectFile.h
include/libLLVM/llvm/Object/IRSymtab.h
include/libLLVM/llvm/Object/MachO.h
include/libLLVM/llvm/Object/MachOUniversal.h
include/libLLVM/llvm/Object/ModuleSummaryIndexObjectFile.h
include/libLLVM/llvm/Object/ModuleSymbolTable.h
include/libLLVM/llvm/Object/ObjectFile.h
include/libLLVM/llvm/Object/RelocVisitor.h
@ -712,11 +852,19 @@ 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/WindowsResource.h
include/libLLVM/llvm/ObjectYAML/COFFYAML.h
include/libLLVM/llvm/ObjectYAML/CodeViewYAMLDebugSections.h
include/libLLVM/llvm/ObjectYAML/CodeViewYAMLSymbols.h
include/libLLVM/llvm/ObjectYAML/CodeViewYAMLTypeHashing.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
@ -730,9 +878,11 @@ include/libLLVM/llvm/PassInfo.h
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/ProfileData/Coverage/CoverageMapping.h
include/libLLVM/llvm/ProfileData/Coverage/CoverageMappingReader.h
include/libLLVM/llvm/ProfileData/Coverage/CoverageMappingWriter.h
include/libLLVM/llvm/ProfileData/GCOV.h
include/libLLVM/llvm/ProfileData/InstrProf.h
include/libLLVM/llvm/ProfileData/InstrProfData.inc
include/libLLVM/llvm/ProfileData/InstrProfReader.h
@ -742,6 +892,9 @@ include/libLLVM/llvm/ProfileData/SampleProf.h
include/libLLVM/llvm/ProfileData/SampleProfReader.h
include/libLLVM/llvm/ProfileData/SampleProfWriter.h
include/libLLVM/llvm/Support/AArch64TargetParser.def
include/libLLVM/llvm/Support/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
@ -751,46 +904,37 @@ 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
include/libLLVM/llvm/Support/Casting.h
include/libLLVM/llvm/Support/CheckedArithmetic.h
include/libLLVM/llvm/Support/Chrono.h
include/libLLVM/llvm/Support/CodeGen.h
include/libLLVM/llvm/Support/CodeGenCWrappers.h
include/libLLVM/llvm/Support/CodeGenCoverage.h
include/libLLVM/llvm/Support/CommandLine.h
include/libLLVM/llvm/Support/Compiler.h
include/libLLVM/llvm/Support/Compression.h
include/libLLVM/llvm/Support/ConvertUTF.h
include/libLLVM/llvm/Support/CrashRecoveryContext.h
include/libLLVM/llvm/Support/DJB.h
include/libLLVM/llvm/Support/DOTGraphTraits.h
include/libLLVM/llvm/Support/DataExtractor.h
include/libLLVM/llvm/Support/DataTypes.h
include/libLLVM/llvm/Support/Debug.h
include/libLLVM/llvm/Support/Dwarf.def
include/libLLVM/llvm/Support/Dwarf.h
include/libLLVM/llvm/Support/DebugCounter.h
include/libLLVM/llvm/Support/DynamicLibrary.h
include/libLLVM/llvm/Support/ELF.h
include/libLLVM/llvm/Support/ELFRelocs/AArch64.def
include/libLLVM/llvm/Support/ELFRelocs/AMDGPU.def
include/libLLVM/llvm/Support/ELFRelocs/ARM.def
include/libLLVM/llvm/Support/ELFRelocs/AVR.def
include/libLLVM/llvm/Support/ELFRelocs/BPF.def
include/libLLVM/llvm/Support/ELFRelocs/Hexagon.def
include/libLLVM/llvm/Support/ELFRelocs/Lanai.def
include/libLLVM/llvm/Support/ELFRelocs/Mips.def
include/libLLVM/llvm/Support/ELFRelocs/PowerPC.def
include/libLLVM/llvm/Support/ELFRelocs/PowerPC64.def
include/libLLVM/llvm/Support/ELFRelocs/RISCV.def
include/libLLVM/llvm/Support/ELFRelocs/Sparc.def
include/libLLVM/llvm/Support/ELFRelocs/SystemZ.def
include/libLLVM/llvm/Support/ELFRelocs/WebAssembly.def
include/libLLVM/llvm/Support/ELFRelocs/i386.def
include/libLLVM/llvm/Support/ELFRelocs/x86_64.def
include/libLLVM/llvm/Support/Endian.h
include/libLLVM/llvm/Support/EndianStream.h
include/libLLVM/llvm/Support/Errc.h
@ -808,23 +952,26 @@ include/libLLVM/llvm/Support/FormatProviders.h
include/libLLVM/llvm/Support/FormatVariadic.h
include/libLLVM/llvm/Support/FormatVariadicDetails.h
include/libLLVM/llvm/Support/FormattedStream.h
include/libLLVM/llvm/Support/GCOV.h
include/libLLVM/llvm/Support/GenericDomTree.h
include/libLLVM/llvm/Support/GenericDomTreeConstruction.h
include/libLLVM/llvm/Support/GlobPattern.h
include/libLLVM/llvm/Support/GraphWriter.h
include/libLLVM/llvm/Support/Host.h
include/libLLVM/llvm/Support/InitLLVM.h
include/libLLVM/llvm/Support/JSON.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/MachineValueType.h
include/libLLVM/llvm/Support/ManagedStatic.h
include/libLLVM/llvm/Support/MathExtras.h
include/libLLVM/llvm/Support/MemAlloc.h
include/libLLVM/llvm/Support/Memory.h
include/libLLVM/llvm/Support/MemoryBuffer.h
include/libLLVM/llvm/Support/MipsABIFlags.h
@ -833,6 +980,7 @@ include/libLLVM/llvm/Support/MutexGuard.h
include/libLLVM/llvm/Support/NativeFormatting.h
include/libLLVM/llvm/Support/OnDiskHashTable.h
include/libLLVM/llvm/Support/Options.h
include/libLLVM/llvm/Support/Parallel.h
include/libLLVM/llvm/Support/Path.h
include/libLLVM/llvm/Support/PluginLoader.h
include/libLLVM/llvm/Support/PointerLikeTypeTraits.h
@ -846,13 +994,15 @@ include/libLLVM/llvm/Support/Recycler.h
include/libLLVM/llvm/Support/RecyclingAllocator.h
include/libLLVM/llvm/Support/Regex.h
include/libLLVM/llvm/Support/Registry.h
include/libLLVM/llvm/Support/ReverseIteration.h
include/libLLVM/llvm/Support/SHA1.h
include/libLLVM/llvm/Support/SMLoc.h
include/libLLVM/llvm/Support/SaveAndRestore.h
include/libLLVM/llvm/Support/ScaledNumber.h
include/libLLVM/llvm/Support/ScopedPrinter.h
include/libLLVM/llvm/Support/Signals.h
include/libLLVM/llvm/Support/Solaris.h
include/libLLVM/llvm/Support/SmallVectorMemoryBuffer.h
include/libLLVM/llvm/Support/Solaris/sys/regset.h
include/libLLVM/llvm/Support/SourceMgr.h
include/libLLVM/llvm/Support/SpecialCaseList.h
include/libLLVM/llvm/Support/StringPool.h
@ -860,9 +1010,11 @@ include/libLLVM/llvm/Support/StringSaver.h
include/libLLVM/llvm/Support/SwapByteOrder.h
include/libLLVM/llvm/Support/SystemUtils.h
include/libLLVM/llvm/Support/TarWriter.h
include/libLLVM/llvm/Support/TargetOpcodes.def
include/libLLVM/llvm/Support/TargetParser.h
include/libLLVM/llvm/Support/TargetRegistry.h
include/libLLVM/llvm/Support/TargetSelect.h
include/libLLVM/llvm/Support/TaskQueue.h
include/libLLVM/llvm/Support/ThreadLocal.h
include/libLLVM/llvm/Support/ThreadPool.h
include/libLLVM/llvm/Support/Threading.h
@ -874,11 +1026,15 @@ 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/VersionTuple.h
include/libLLVM/llvm/Support/Watchdog.h
include/libLLVM/llvm/Support/Win64EH.h
include/libLLVM/llvm/Support/WindowsError.h
include/libLLVM/llvm/Support/WithColor.h
include/libLLVM/llvm/Support/X86DisassemblerDecoderCommon.h
include/libLLVM/llvm/Support/X86TargetParser.def
include/libLLVM/llvm/Support/YAMLParser.h
include/libLLVM/llvm/Support/YAMLTraits.h
include/libLLVM/llvm/Support/circular_raw_ostream.h
@ -896,30 +1052,31 @@ include/libLLVM/llvm/TableGen/SetTheory.h
include/libLLVM/llvm/TableGen/StringMatcher.h
include/libLLVM/llvm/TableGen/StringToOffsetTable.h
include/libLLVM/llvm/TableGen/TableGenBackend.h
include/libLLVM/llvm/Target/CostTable.h
include/libLLVM/llvm/Target/CodeGenCWrappers.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/TargetInstrPredicate.td
include/libLLVM/llvm/Target/TargetIntrinsicInfo.h
include/libLLVM/llvm/Target/TargetItinerary.td
include/libLLVM/llvm/Target/TargetLowering.h
include/libLLVM/llvm/Target/TargetLoweringObjectFile.h
include/libLLVM/llvm/Target/TargetMachine.h
include/libLLVM/llvm/Target/TargetOpcodes.def
include/libLLVM/llvm/Target/TargetOpcodes.h
include/libLLVM/llvm/Target/TargetOptions.h
include/libLLVM/llvm/Target/TargetRegisterInfo.h
include/libLLVM/llvm/Target/TargetSchedule.td
include/libLLVM/llvm/Target/TargetSelectionDAG.td
include/libLLVM/llvm/Target/TargetSubtargetInfo.h
include/libLLVM/llvm/Testing/Support/Error.h
include/libLLVM/llvm/Testing/Support/SupportHelpers.h
include/libLLVM/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
include/libLLVM/llvm/ToolDrivers/llvm-lib/LibDriver.h
include/libLLVM/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.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/CalledValuePropagation.h
include/libLLVM/llvm/Transforms/IPO/ConstantMerge.h
include/libLLVM/llvm/Transforms/IPO/CrossDSOCFI.h
include/libLLVM/llvm/Transforms/IPO/DeadArgumentElimination.h
@ -937,23 +1094,30 @@ include/libLLVM/llvm/Transforms/IPO/LowerTypeTests.h
include/libLLVM/llvm/Transforms/IPO/PartialInlining.h
include/libLLVM/llvm/Transforms/IPO/PassManagerBuilder.h
include/libLLVM/llvm/Transforms/IPO/SCCP.h
include/libLLVM/llvm/Transforms/IPO/SampleProfile.h
include/libLLVM/llvm/Transforms/IPO/StripDeadPrototypes.h
include/libLLVM/llvm/Transforms/IPO/SyntheticCountsPropagation.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
include/libLLVM/llvm/Transforms/InstrProfiling.h
include/libLLVM/llvm/Transforms/Instrumentation.h
include/libLLVM/llvm/Transforms/Instrumentation/BoundsChecking.h
include/libLLVM/llvm/Transforms/Instrumentation/CGProfile.h
include/libLLVM/llvm/Transforms/Instrumentation/GCOVProfiler.h
include/libLLVM/llvm/Transforms/Instrumentation/InstrProfiling.h
include/libLLVM/llvm/Transforms/Instrumentation/PGOInstrumentation.h
include/libLLVM/llvm/Transforms/ObjCARC.h
include/libLLVM/llvm/Transforms/PGOInstrumentation.h
include/libLLVM/llvm/Transforms/SampleProfile.h
include/libLLVM/llvm/Transforms/Scalar.h
include/libLLVM/llvm/Transforms/Scalar/ADCE.h
include/libLLVM/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
include/libLLVM/llvm/Transforms/Scalar/BDCE.h
include/libLLVM/llvm/Transforms/Scalar/CallSiteSplitting.h
include/libLLVM/llvm/Transforms/Scalar/ConstantHoisting.h
include/libLLVM/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
include/libLLVM/llvm/Transforms/Scalar/DCE.h
include/libLLVM/llvm/Transforms/Scalar/DeadStoreElimination.h
include/libLLVM/llvm/Transforms/Scalar/DivRemPairs.h
include/libLLVM/llvm/Transforms/Scalar/EarlyCSE.h
include/libLLVM/llvm/Transforms/Scalar/Float2Int.h
include/libLLVM/llvm/Transforms/Scalar/GVN.h
@ -961,6 +1125,8 @@ include/libLLVM/llvm/Transforms/Scalar/GVNExpression.h
include/libLLVM/llvm/Transforms/Scalar/GuardWidening.h
include/libLLVM/llvm/Transforms/Scalar/IVUsersPrinter.h
include/libLLVM/llvm/Transforms/Scalar/IndVarSimplify.h
include/libLLVM/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h
include/libLLVM/llvm/Transforms/Scalar/InstSimplifyPass.h
include/libLLVM/llvm/Transforms/Scalar/JumpThreading.h
include/libLLVM/llvm/Transforms/Scalar/LICM.h
include/libLLVM/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h
@ -969,10 +1135,14 @@ include/libLLVM/llvm/Transforms/Scalar/LoopDeletion.h
include/libLLVM/llvm/Transforms/Scalar/LoopDistribute.h
include/libLLVM/llvm/Transforms/Scalar/LoopIdiomRecognize.h
include/libLLVM/llvm/Transforms/Scalar/LoopInstSimplify.h
include/libLLVM/llvm/Transforms/Scalar/LoopLoadElimination.h
include/libLLVM/llvm/Transforms/Scalar/LoopPassManager.h
include/libLLVM/llvm/Transforms/Scalar/LoopPredication.h
include/libLLVM/llvm/Transforms/Scalar/LoopRotation.h
include/libLLVM/llvm/Transforms/Scalar/LoopSimplifyCFG.h
include/libLLVM/llvm/Transforms/Scalar/LoopSink.h
include/libLLVM/llvm/Transforms/Scalar/LoopStrengthReduce.h
include/libLLVM/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h
include/libLLVM/llvm/Transforms/Scalar/LoopUnrollPass.h
include/libLLVM/llvm/Transforms/Scalar/LowerAtomic.h
include/libLLVM/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
@ -983,22 +1153,27 @@ include/libLLVM/llvm/Transforms/Scalar/NaryReassociate.h
include/libLLVM/llvm/Transforms/Scalar/NewGVN.h
include/libLLVM/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
include/libLLVM/llvm/Transforms/Scalar/Reassociate.h
include/libLLVM/llvm/Transforms/Scalar/RewriteStatepointsForGC.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/SpeculateAroundPHIs.h
include/libLLVM/llvm/Transforms/Scalar/SpeculativeExecution.h
include/libLLVM/llvm/Transforms/Scalar/TailRecursionElimination.h
include/libLLVM/llvm/Transforms/Utils.h
include/libLLVM/llvm/Transforms/Utils/ASanStackFrameLayout.h
include/libLLVM/llvm/Transforms/Utils/AddDiscriminators.h
include/libLLVM/llvm/Transforms/Utils/BasicBlockUtils.h
include/libLLVM/llvm/Transforms/Utils/BreakCriticalEdges.h
include/libLLVM/llvm/Transforms/Utils/BuildLibCalls.h
include/libLLVM/llvm/Transforms/Utils/BypassSlowDivision.h
include/libLLVM/llvm/Transforms/Utils/CallPromotionUtils.h
include/libLLVM/llvm/Transforms/Utils/Cloning.h
include/libLLVM/llvm/Transforms/Utils/CmpInstAnalysis.h
include/libLLVM/llvm/Transforms/Utils/CodeExtractor.h
include/libLLVM/llvm/Transforms/Utils/CtorUtils.h
include/libLLVM/llvm/Transforms/Utils/EntryExitInstrumenter.h
include/libLLVM/llvm/Transforms/Utils/EscapeEnumerator.h
include/libLLVM/llvm/Transforms/Utils/Evaluator.h
include/libLLVM/llvm/Transforms/Utils/FunctionComparator.h
@ -1009,43 +1184,47 @@ include/libLLVM/llvm/Transforms/Utils/IntegerDivision.h
include/libLLVM/llvm/Transforms/Utils/LCSSA.h
include/libLLVM/llvm/Transforms/Utils/LibCallsShrinkWrap.h
include/libLLVM/llvm/Transforms/Utils/Local.h
include/libLLVM/llvm/Transforms/Utils/LoopRotationUtils.h
include/libLLVM/llvm/Transforms/Utils/LoopSimplify.h
include/libLLVM/llvm/Transforms/Utils/LoopUtils.h
include/libLLVM/llvm/Transforms/Utils/LoopVersioning.h
include/libLLVM/llvm/Transforms/Utils/LowerInvoke.h
include/libLLVM/llvm/Transforms/Utils/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/SSAUpdaterBulk.h
include/libLLVM/llvm/Transforms/Utils/SSAUpdaterImpl.h
include/libLLVM/llvm/Transforms/Utils/SanitizerStats.h
include/libLLVM/llvm/Transforms/Utils/SimplifyIndVar.h
include/libLLVM/llvm/Transforms/Utils/SimplifyInstructions.h
include/libLLVM/llvm/Transforms/Utils/SimplifyLibCalls.h
include/libLLVM/llvm/Transforms/Utils/SplitModule.h
include/libLLVM/llvm/Transforms/Utils/SymbolRewriter.h
include/libLLVM/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
include/libLLVM/llvm/Transforms/Utils/UnrollLoop.h
include/libLLVM/llvm/Transforms/Utils/VNCoercion.h
include/libLLVM/llvm/Transforms/Utils/ValueMapper.h
include/libLLVM/llvm/Transforms/Vectorize.h
include/libLLVM/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
include/libLLVM/llvm/Transforms/Vectorize/LoopVectorize.h
include/libLLVM/llvm/Transforms/Vectorize/SLPVectorizer.h
${PLIST.notdylib}lib/libLLVM/libLLVM-${LLVM_MAJOR_MINOR}.${SOEXT}
${PLIST.notdylib}lib/libLLVM/libLLVM-${PKGVERSION}.${SOEXT}
include/libLLVM/llvm/WindowsManifest/WindowsManifestMerger.h
include/libLLVM/llvm/WindowsResource/ResourceProcessor.h
include/libLLVM/llvm/WindowsResource/ResourceScriptToken.h
include/libLLVM/llvm/WindowsResource/ResourceScriptTokenList.h
include/libLLVM/llvm/XRay/Graph.h
include/libLLVM/llvm/XRay/InstrumentationMap.h
include/libLLVM/llvm/XRay/Trace.h
include/libLLVM/llvm/XRay/XRayRecord.h
include/libLLVM/llvm/XRay/YAMLXRayRecord.h
${PLIST.notdylib}lib/libLLVM/libLLVM-${LLVM_MAJOR_MINOR}.${SOEXT}
${PLIST.notdylib}lib/libLLVM/libLLVM-${PKGVERSION}.${SOEXT}
lib/libLLVM/libLLVM.${SOEXT}
libexec/libLLVM/llvm-cat
libexec/libLLVM/llvm-config
libexec/libLLVM/llvm-cxxfilt
libexec/libLLVM/llvm-lto2
libexec/libLLVM/llvm-modextract
libexec/libLLVM/llvm-opt-report
libexec/libLLVM/llvm-strings
libexec/libLLVM/llvm-xray
share/libLLVM/cmake/AddLLVM.cmake
share/libLLVM/cmake/AddLLVMDefinitions.cmake
share/libLLVM/cmake/AddOCaml.cmake
@ -1056,6 +1235,7 @@ share/libLLVM/cmake/CheckLinkerFlag.cmake
share/libLLVM/cmake/ChooseMSVCCRT.cmake
share/libLLVM/cmake/CrossCompile.cmake
share/libLLVM/cmake/DetermineGCCCompatible.cmake
share/libLLVM/cmake/FindLibpfm.cmake
share/libLLVM/cmake/FindOCaml.cmake
share/libLLVM/cmake/FindSphinx.cmake
share/libLLVM/cmake/GenerateVersionFromCVS.cmake

View file

@ -1,15 +1,17 @@
$NetBSD: distinfo,v 1.12 2017/12/08 02:14:44 gdt Exp $
$NetBSD: distinfo,v 1.13 2019/01/26 21:17:20 tnn Exp $
SHA1 (llvm-4.0.1.src.tar.xz) = ddbf4dab7ab1a4bdce5ed1227bf721cbb3533a6e
RMD160 (llvm-4.0.1.src.tar.xz) = 37387a5ca73ea270b2f541ecbd1cd641f7b09be2
SHA512 (llvm-4.0.1.src.tar.xz) = 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
Size (llvm-4.0.1.src.tar.xz) = 21065652 bytes
SHA1 (patch-CMakeLists.txt) = 770e0bc00a987430b6c6be7e4141f33e5be54a8f
SHA1 (patch-cmake_modules_AddLLVM.cmake) = d9d9b8f9d33ddc3ef8ef55832aeed038500b6de8
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 (patch-CMakeLists.txt) = af0dc7f54e5e11c481f78ffafc9a6833e4469f32
SHA1 (patch-cmake_config-ix.cmake) = a345420169e4066e22d28ca6ad10840e83ccfa76
SHA1 (patch-cmake_modules_AddLLVM.cmake) = 550c4c21c18e4077df8ba7c4940b44227feb5b66
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_Support_Host.h) = a4e19a72714084b211b0182c04ccc51bd606e150
SHA1 (patch-lib_Support_Unix_Program.inc) = 49f09e05858243ca57f14b1fdb2fec49c935dfeb
SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 4988cd94074cb08dbb5a3606ea2376b42ae8c75f
SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 18e6ec7b8895e55ecdf93c9d4781e92052a6fcb1
SHA1 (patch-include_llvm-c_DataTypes.h) = 025c035e0e10871727391bd58936bd67b3e58244
SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
SHA1 (patch-tools_llvm-config_llvm-config.cpp) = fc7875c78702fa7db72636be1c6c324563c2cd38
SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 45278d8acc6daa3d36a1a7b15e2e3b9a75a218e6

View file

@ -1,8 +1,8 @@
# $NetBSD: options.mk,v 1.3 2017/05/09 12:23:42 jperkin Exp $
# $NetBSD: options.mk,v 1.4 2019/01/26 21:17:20 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.llvm
LLVM_TARGETS= AArch64 AMDGPU ARM BPF Hexagon MSP430 Mips NVPTX PowerPC Sparc SystemZ X86 XCore
LLVM_TARGETS= AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC Sparc SystemZ X86 XCore
.for tgt in ${LLVM_TARGETS}
PLIST_VARS+= ${tgt}
@ -53,4 +53,4 @@ LLVM_TARGETS_TO_BUILD+= ${tgt}
CMAKE_ARGS+= -DLLVM_ENABLE_TERMINFO=OFF
.endif
#CMAKE_ARGS+= -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD:ts;}"
CMAKE_ARGS+= -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD:ts;}"

View file

@ -1,10 +1,20 @@
$NetBSD: patch-CMakeLists.txt,v 1.1 2016/03/08 21:06:50 tnn Exp $
$NetBSD: patch-CMakeLists.txt,v 1.2 2019/01/26 21:17:20 tnn Exp $
Put headers in subdirectory to avoid conflict with clang.
Don't implement sys/regset.h workaround, fix source instead.
--- CMakeLists.txt.orig 2016-01-13 19:03:44.000000000 +0000
--- CMakeLists.txt.orig 2018-11-02 17:47:32.000000000 +0000
+++ CMakeLists.txt
@@ -728,7 +728,7 @@ add_subdirectory(cmake/modules)
@@ -830,7 +830,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "(Fre
if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
# special hack for Solaris to handle crazy system sys/regset.h
- include_directories("${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/Solaris")
+ #include_directories("${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/Solaris")
endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
# Make sure we don't get -rdynamic in every binary. For those that need it,
@@ -966,7 +966,7 @@ endif()
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
install(DIRECTORY include/llvm include/llvm-c
@ -13,10 +23,10 @@ Put headers in subdirectory to avoid conflict with clang.
COMPONENT llvm-headers
FILES_MATCHING
PATTERN "*.def"
@@ -740,7 +740,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
@@ -978,7 +978,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
)
install(DIRECTORY ${LLVM_INCLUDE_DIR}/llvm
install(DIRECTORY ${LLVM_INCLUDE_DIR}/llvm ${LLVM_INCLUDE_DIR}/llvm-c
- DESTINATION include
+ DESTINATION include/libLLVM
COMPONENT llvm-headers

View file

@ -0,0 +1,15 @@
$NetBSD: patch-cmake_config-ix.cmake,v 1.1 2019/01/26 21:17:20 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
@@ -153,7 +153,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 curses ncurses ncursesw tinfo)
string(TOUPPER ${library} library_suffix)
check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
if(HAVE_TERMINFO_${library_suffix})

View file

@ -1,22 +1,22 @@
$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.6 2017/12/08 02:14:44 gdt Exp $
$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.7 2019/01/26 21:17:20 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.
--- cmake/modules/AddLLVM.cmake.orig 2017-01-17 21:47:58.000000000 +0000
--- cmake/modules/AddLLVM.cmake.orig 2018-08-01 07:51:55.000000000 +0000
+++ cmake/modules/AddLLVM.cmake
@@ -182,9 +182,6 @@ function(add_link_opts target_name)
@@ -218,9 +218,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)
elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
# Object files are compiled with -ffunction-data-sections.
# Versions of bfd ld < 2.23.1 have a bug in --gc-sections that breaks
@@ -591,10 +588,6 @@ macro(add_llvm_library name)
@@ -654,11 +651,6 @@ macro(add_llvm_library name)
set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
endif()
@ -24,10 +24,11 @@ Don't use non-portable -z discard-unused on SunOS.
- ${export_to_llvmexports}
- ${install_type} DESTINATION ${install_dir}
- COMPONENT ${name})
-
if (NOT CMAKE_CONFIGURATION_TYPES)
add_custom_target(install-${name}
@@ -632,10 +625,6 @@ macro(add_llvm_loadable_module name)
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()
@ -38,7 +39,7 @@ Don't use non-portable -z discard-unused on SunOS.
endif()
set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name})
endif()
@@ -823,7 +812,7 @@ macro(add_llvm_tool name)
@@ -887,7 +875,7 @@ macro(add_llvm_tool name)
install(TARGETS ${name}
${export_to_llvmexports}
@ -47,12 +48,3 @@ Don't use non-portable -z discard-unused on SunOS.
COMPONENT ${name})
if (NOT CMAKE_CONFIGURATION_TYPES)
@@ -864,7 +853,7 @@ macro(add_llvm_utility name)
set_target_properties(${name} PROPERTIES FOLDER "Utils")
if( LLVM_INSTALL_UTILS AND LLVM_BUILD_UTILS )
install (TARGETS ${name}
- RUNTIME DESTINATION bin
+ RUNTIME DESTINATION libexec/libLLVM
COMPONENT ${name})
if (NOT CMAKE_CONFIGURATION_TYPES)
add_custom_target(install-${name}

View file

@ -0,0 +1,38 @@
$NetBSD: patch-cmake_modules_CheckAtomic.cmake,v 1.1 2019/01/26 21:17:20 tnn Exp $
Omit check for native 8-byte atomics, platform may not have them,
and they are actually not required here. Makes powerpc build llvm.
--- cmake/modules/CheckAtomic.cmake.orig 2016-06-23 06:39:35.000000000 +0000
+++ cmake/modules/CheckAtomic.cmake
@@ -62,18 +62,18 @@ else()
endif()
# If not, check if the library exists, and atomics work with it.
-if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
- check_library_exists(atomic __atomic_load_8 "" HAVE_CXX_LIBATOMICS64)
- if(HAVE_CXX_LIBATOMICS64)
- list(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
- check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITH_LIB)
- if (NOT HAVE_CXX_ATOMICS64_WITH_LIB)
- message(FATAL_ERROR "Host compiler must support std::atomic!")
- endif()
- else()
- message(FATAL_ERROR "Host compiler appears to require libatomic, but cannot find it.")
- endif()
-endif()
+#if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
+# check_library_exists(atomic __atomic_load_8 "" HAVE_CXX_LIBATOMICS64)
+# if(HAVE_CXX_LIBATOMICS64)
+# list(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
+# check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITH_LIB)
+# if (NOT HAVE_CXX_ATOMICS64_WITH_LIB)
+# message(FATAL_ERROR "Host compiler must support std::atomic!")
+# endif()
+# else()
+# message(FATAL_ERROR "Host compiler appears to require libatomic, but cannot find it.")
+# endif()
+#endif()
## TODO: This define is only used for the legacy atomic operations in
## llvm's Atomic.h, which should be replaced. Other code simply

View file

@ -0,0 +1,34 @@
$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.1 2019/01/26 21:17:20 tnn Exp $
Don't implement sys/regset.h workaround, fix source instead.
--- include/llvm-c/DataTypes.h.orig 2018-04-02 13:22:26.000000000 +0000
+++ include/llvm-c/DataTypes.h
@@ -87,4 +87,27 @@ typedef signed int ssize_t;
#define HUGE_VALF (float)HUGE_VAL
#endif
+#if defined(__sun)
+#include <sys/regset.h>
+#undef CS
+#undef DS
+#undef ES
+#undef FS
+#undef GS
+#undef SS
+#undef EAX
+#undef ECX
+#undef EDX
+#undef EBX
+#undef ESP
+#undef EBP
+#undef ESI
+#undef EDI
+#undef EIP
+#undef UESP
+#undef EFL
+#undef ERR
+#undef TRAPNO
+#endif
+
#endif /* LLVM_C_DATATYPES_H */

View file

@ -0,0 +1,17 @@
$NetBSD: patch-include_llvm_Analysis_ConstantFolding.h,v 1.1 2019/01/26 21:17:20 tnn Exp $
Fix SunOS CS conflict not handled by include/llvm-c/DataTypes.h
--- include/llvm/Analysis/ConstantFolding.h.orig 2018-05-01 15:54:18.000000000 +0000
+++ include/llvm/Analysis/ConstantFolding.h
@@ -20,6 +20,10 @@
#ifndef LLVM_ANALYSIS_CONSTANTFOLDING_H
#define LLVM_ANALYSIS_CONSTANTFOLDING_H
+#ifdef __sun
+#undef CS
+#endif
+
namespace llvm {
class APInt;
template <typename T> class ArrayRef;

View file

@ -1,26 +0,0 @@
$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>

View file

@ -1,16 +0,0 @@
$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__)

View file

@ -1,24 +1,26 @@
$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.5 2017/12/08 02:14:44 gdt Exp $
$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.6 2019/01/26 21:17:20 tnn Exp $
Avoid conflict with lang/clang.
Use -lLLVM-3.8 instead of -lLLVM-3.8.0 so we don't break unnecessarily
on patch updates.
--- tools/llvm-config/llvm-config.cpp.orig 2017-01-12 19:47:38.000000000 +0000
--- tools/llvm-config/llvm-config.cpp.orig 2018-06-23 16:50:09.000000000 +0000
+++ tools/llvm-config/llvm-config.cpp
@@ -332,9 +332,9 @@ int main(int argc, char **argv) {
@@ -333,11 +333,11 @@ int main(int argc, char **argv) {
("-I" + ActiveIncludeDir + " " + "-I" + ActiveObjRoot + "/include");
} else {
ActivePrefix = CurrentExecPrefix;
- ActiveIncludeDir = ActivePrefix + "/include";
+ ActiveIncludeDir = "@PREFIX@/include/libLLVM";
ActiveBinDir = ActivePrefix + "/bin";
SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR));
sys::fs::make_absolute(ActivePrefix, path);
ActiveBinDir = path.str();
- ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX;
+ ActiveLibDir = "@PREFIX@/lib/libLLVM";
ActiveCMakeDir = ActiveLibDir + "/cmake/llvm";
ActiveIncludeOption = "-I" + ActiveIncludeDir;
}
@@ -370,14 +370,14 @@ int main(int argc, char **argv) {
@@ -373,14 +373,14 @@ int main(int argc, char **argv) {
StaticDir = ActiveLibDir;
} else if (HostTriple.isOSDarwin()) {
SharedExt = "dylib";
@ -35,7 +37,7 @@ on patch updates.
StaticExt = "a";
StaticDir = SharedDir = ActiveLibDir;
StaticPrefix = SharedPrefix = "lib";
@@ -390,7 +390,7 @@ int main(int argc, char **argv) {
@@ -393,7 +393,7 @@ int main(int argc, char **argv) {
bool DyLibExists = false;
const std::string DyLibName =
@ -44,7 +46,7 @@ on patch updates.
// If LLVM_LINK_DYLIB is ON, the single shared library will be returned
// for "--libs", etc, if they exist. This behaviour can be overridden with
@@ -491,7 +491,7 @@ int main(int argc, char **argv) {
@@ -494,7 +494,7 @@ int main(int argc, char **argv) {
OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n';
} else if (Arg == "--ldflags") {
OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L")

View file

@ -1,23 +1,33 @@
$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.5 2017/12/08 02:14:44 gdt Exp $
$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.6 2019/01/26 21:17:20 tnn Exp $
Use the Linux style linking everywhere except Darwin and SunOS.
--- tools/llvm-shlib/CMakeLists.txt.orig 2016-05-26 04:35:35.000000000 +0000
--- tools/llvm-shlib/CMakeLists.txt.orig 2018-08-03 10:15:36.000000000 +0000
+++ tools/llvm-shlib/CMakeLists.txt
@@ -37,11 +37,12 @@ endif()
@@ -37,12 +37,11 @@ endif()
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
list(REMOVE_DUPLICATES LIB_NAMES)
-if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" OR MINGW) # FIXME: It should be "GNU ld for elf"
- # GNU ld doesn't resolve symbols in the version script.
- set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive)
-elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
-if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU)
- OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
- OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "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})
+ set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
+elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
+ set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract)
+else()
+ set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
@@ -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})
endif()
-elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
- set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
endif()
target_link_libraries(LLVM PRIVATE ${LIB_NAMES})