# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= llvm VERSION= 19.1.3 KEYWORDS= devel lang VARIANTS= std SDESC[std]= Low Level Virtual Machine (version 19.1) HOMEPAGE= http://llvm.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.3/ DISTFILE[1]= llvm-19.1.3.src.tar.xz:main DISTFILE[2]= cmake-19.1.3.src.tar.xz:main DF_INDEX= 1 2 SPKGS[std]= set primary tools dev OPTIONS_AVAILABLE= GOLD OPTIONS_STANDARD= GOLD OPT_ON[freebsd]= GOLD//x86_64 OPT_ON[linux]= GOLD//x86_64 OPT_ON[dragonfly]= GOLD//x86_64 EXRUN[tools]= primary USES= cmake ninja python:build execinfo zlib ncurses:dev cpe shebangfix c++:primary GNOME_COMPONENTS= libxml2 DISTNAME= llvm-19.1.3.src LICENSE= CUSTOM1:primary LICENSE_NAME= CUSTOM1:"University of Illinois/NCSA Open Source License" LICENSE_FILE= CUSTOM1:{{WRKSRC}}/LICENSE.TXT LICENSE_SCHEME= solo CMAKE_BUILD_TYPE= Release CPE_PRODUCT= llvm CPE_VENDOR= llvm SHEBANG_FILES= utils/llvm-lit/llvm-lit.in tools/opt-viewer/*.py PLIST_SUB= LLVM_RELEASE="19.1.3" LLVM_MAJORMIN="19.1" LLVM_MAJOR="19" CFLAGS= -DNDEBUG CXXFLAGS= -DNDEBUG CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_INSTALL_RPATH:STRING="{{LOCALBASE}}/llvm/lib" -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DLLVM_HOST_TRIPLE:STRING="{{CONFIGURE_TARGET}}" -DLLVM_PARALLEL_LINK_JOBS=1 -DLLVM_PARALLEL_COMPILE_JOBS={{MAKE_JOBS_NUMBER}} -DLLVM_INCLUDE_TESTS:BOOL=OFF -DLLVM_INCLUDE_EXAMPLES:BOOL=OFF -DLLVM_BUILD_32_BITS:BOOL=OFF -DLLVM_INSTALL_UTILS:BOOL=ON -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_EH:BOOL=ON -DLLVM_INCLUDE_BENCHMARKS:BOOL=OFF -DLLVM_COMMON_CMAKE_UTILS={{WRKDIR}}/cmake-19.1.3.src VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-raven-freebsd12.3 [GOLD].DESCRIPTION= Build the LLVM Gold plugin for LTO [GOLD].CMAKE_ARGS_ON= -DLLVM_BINUTILS_INCDIR={{LOCALBASE}}/toolchain/include -DLLVM_USE_LINKER=gold post-install-GOLD-ON: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/LLVMgold.so post-install: ${RM} -r ${STAGEDIR}${PREFIX}/include/llvm/MC/MCAnalysis ${RM} -r ${STAGEDIR}${PREFIX}/include/llvm/BinaryFormat/WasmRelocs # don't use llvm-strip yet, it doesn't work on SunOS or MacOS .for F in bugpoint dsymutil llc lli llvm-ar llvm-as llvm-bcanalyzer \ llvm-c-test llvm-cat llvm-cfi-verify llvm-config llvm-cov \ llvm-cvtres llvm-cxxdump llvm-cxxfilt llvm-cxxmap llvm-diff llvm-dis \ llvm-dwarfdump llvm-dwp llvm-exegesis llvm-extract llvm-ifs \ llvm-link llvm-lto llvm-lto2 llvm-mc llvm-mca llvm-modextract llvm-mt \ llvm-nm llvm-objcopy llvm-objdump llvm-opt-report llvm-pdbutil \ llvm-profdata llvm-rc llvm-readobj llvm-rtdyld llvm-size \ llvm-split llvm-stress llvm-strings llvm-symbolizer llvm-tblgen \ llvm-undname llvm-xray llvm-jitlink llvm-lipo llvm-reduce \ llvm-otool llvm-sim llvm-windres llvm-debuginfod-find \ llvm-gsymutil llvm-jitlink-executor llvm-libtool-darwin llvm-ml \ llvm-profgen llvm-tli-checker llvm-debuginfod llvm-dwarfutil \ llvm-PerfectShuffle llvm-readtapi \ obj2yaml opt sancov sanstats split-file verify-uselistorder yaml2obj \ FileCheck count not yaml-bench lli-child-target \ UnicodeNameMappingGenerator llvm-debuginfo-analyzer llvm-remarkutil ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${F} .endfor .for F in libLLVM.so.19.1 libLTO.so.19.1 libRemarks.so.19.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${F} .endfor pre-configure: # disable detection of shared ncurses/tinfo ${RM} ${LOCALBASE}/lib/libtinfo.so ${RM} ${LOCALBASE}/lib/libncurses.so # Use PIC versions of ncurses/tinfo instead of static ${MV} ${LOCALBASE}/lib/libtinfo_pic.a ${LOCALBASE}/lib/libtinfo.a ${MV} ${LOCALBASE}/lib/libncurses_pic.a ${LOCALBASE}/lib/libncurses.a # Replace config.(sub|guess) ${CP} ${MK_TEMPLATES}/config.guess ${WRKSRC}/cmake/config.guess ${CP} ${MK_TEMPLATES}/config.sub ${WRKSRC}/cmake/config.sub [FILE:834:descriptions/desc.primary] The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them. The name "LLVM" itself is not an acronym; it is the full name of the project. This package contains the LLVM Core libraries which provide a modern source- and target-independent optimizer, along with code generation support for many popular CPUs (as well as some less common ones!) These libraries are built around a well specified code representation known as the LLVM intermediate representation ("LLVM IR"). The LLVM Core libraries are well documented, and it is particularly easy to invent your own language (or port an existing compiler) to use LLVM as an optimizer and code generator. [FILE:34:descriptions/desc.tools] This package contains llvm tools. [FILE:203:distinfo] 11e166d0f291a53cfc6b9e58abd1d7954de32ebc37672987612d3b7075d88411 67810976 llvm-19.1.3.src.tar.xz 4c55aa6e77fc0e8b759bca2c79ee4fd0ea8c7fab06eeea09310ae1e954a0af5e 9300 cmake-19.1.3.src.tar.xz [FILE:124:manifests/plist.primary] lib/ libLLVM-%%LLVM_MAJOR%%.so libLLVM.so.%%LLVM_MAJORMIN%% libLTO.so.%%LLVM_MAJORMIN%% libRemarks.so.%%LLVM_MAJORMIN%% [FILE:1305:manifests/plist.tools] %%GOLD-ON%%lib/LLVMgold.so bin/ FileCheck UnicodeNameMappingGenerator bugpoint count dsymutil llc lli lli-child-target llvm-PerfectShuffle llvm-addr2line llvm-ar llvm-as llvm-bcanalyzer llvm-bitcode-strip llvm-c-test llvm-cat llvm-cfi-verify llvm-config llvm-cov llvm-cvtres llvm-cxxdump llvm-cxxfilt llvm-cxxmap llvm-debuginfo-analyzer llvm-debuginfod llvm-debuginfod-find llvm-diff llvm-dis llvm-dlltool llvm-dwarfdump llvm-dwarfutil llvm-dwp llvm-exegesis llvm-extract llvm-gsymutil llvm-ifs llvm-install-name-tool llvm-jitlink llvm-jitlink-executor llvm-lib llvm-libtool-darwin llvm-link llvm-lipo llvm-lto llvm-lto2 llvm-mc llvm-mca llvm-ml llvm-modextract llvm-mt llvm-nm llvm-objcopy llvm-objdump llvm-opt-report llvm-otool llvm-pdbutil llvm-profdata llvm-profgen llvm-ranlib llvm-rc llvm-readelf llvm-readobj llvm-readtapi llvm-reduce llvm-remarkutil llvm-rtdyld llvm-sim llvm-size llvm-split llvm-stress llvm-strings llvm-strip llvm-symbolizer llvm-tblgen llvm-tli-checker llvm-undname llvm-windres llvm-xray not obj2yaml opt reduce-chunk-list sancov sanstats split-file verify-uselistorder yaml-bench yaml2obj share/opt-viewer/ opt-diff.py opt-stats.py opt-viewer.py optpmap.py optrecord.py style.css [FILE:44072:manifests/plist.dev] include/llvm/ InitializePasses.h LinkAllIR.h LinkAllPasses.h Pass.h PassAnalysisSupport.h PassInfo.h PassRegistry.h PassSupport.h include/llvm-c/ Analysis.h BitReader.h BitWriter.h Comdat.h Core.h DataTypes.h DebugInfo.h Deprecated.h Disassembler.h DisassemblerTypes.h Error.h ErrorHandling.h ExecutionEngine.h ExternC.h IRReader.h LLJIT.h LLJITUtils.h Linker.h Object.h Orc.h OrcEE.h Remarks.h Support.h Target.h TargetMachine.h Types.h blake3.h lto.h include/llvm-c/Transforms/PassBuilder.h include/llvm/ADT/ ADL.h APFixedPoint.h APFloat.h APInt.h APSInt.h AddressRanges.h AllocatorList.h Any.h ArrayRef.h BitVector.h Bitfields.h BitmaskEnum.h Bitset.h BreadthFirstIterator.h CachedHashString.h CoalescingBitVector.h CombinationGenerator.h ConcurrentHashtable.h DAGDeltaAlgorithm.h DeltaAlgorithm.h DenseMap.h DenseMapInfo.h DenseMapInfoVariant.h DenseSet.h DepthFirstIterator.h DirectedGraph.h DynamicAPInt.h EnumeratedArray.h EpochTracker.h EquivalenceClasses.h FloatingPointMode.h FoldingSet.h FunctionExtras.h GenericConvergenceVerifier.h GenericCycleImpl.h GenericCycleInfo.h GenericSSAContext.h GenericUniformityImpl.h GenericUniformityInfo.h GraphTraits.h Hashing.h ImmutableList.h ImmutableMap.h ImmutableSet.h IndexedMap.h IntEqClasses.h IntervalMap.h IntervalTree.h IntrusiveRefCntPtr.h LazyAtomicPointer.h MapVector.h PackedVector.h PagedVector.h PointerEmbeddedInt.h PointerIntPair.h PointerSumType.h PointerUnion.h PostOrderIterator.h PriorityQueue.h PriorityWorklist.h SCCIterator.h STLExtras.h STLForwardCompat.h STLFunctionalExtras.h ScopeExit.h ScopedHashTable.h Sequence.h SetOperations.h SetVector.h SlowDynamicAPInt.h SmallBitVector.h SmallPtrSet.h SmallSet.h SmallString.h SmallVector.h SmallVectorExtras.h SparseBitVector.h SparseMultiSet.h SparseSet.h StableHashing.h Statistic.h StringExtras.h StringMap.h StringMapEntry.h StringRef.h StringSet.h StringSwitch.h TinyPtrVector.h Twine.h TypeSwitch.h Uniformity.h UniqueVector.h bit.h edit_distance.h fallible_iterator.h identity.h ilist.h ilist_base.h ilist_iterator.h ilist_node.h ilist_node_base.h ilist_node_options.h iterator.h iterator_range.h simple_ilist.h include/llvm/Analysis/ AliasAnalysis.h AliasAnalysisEvaluator.h AliasSetTracker.h AssumeBundleQueries.h AssumptionCache.h BasicAliasAnalysis.h BlockFrequencyInfo.h BlockFrequencyInfoImpl.h BranchProbabilityInfo.h CFG.h CFGPrinter.h CFGSCCPrinter.h CGSCCPassManager.h CallGraph.h CallGraphSCCPass.h CallPrinter.h CaptureTracking.h CmpInstAnalysis.h CodeMetrics.h ConstantFolding.h ConstraintSystem.h CostModel.h CycleAnalysis.h DDG.h DDGPrinter.h DOTGraphTraitsPass.h Delinearization.h DemandedBits.h DependenceAnalysis.h DependenceGraphBuilder.h DomConditionCache.h DomPrinter.h DomTreeUpdater.h DominanceFrontier.h DominanceFrontierImpl.h EHUtils.h FunctionPropertiesAnalysis.h GenericDomTreeUpdater.h GenericDomTreeUpdaterImpl.h GlobalsModRef.h GuardUtils.h HeatUtils.h IRSimilarityIdentifier.h IVDescriptors.h IVUsers.h IndirectCallPromotionAnalysis.h IndirectCallVisitor.h InlineAdvisor.h InlineCost.h InlineModelFeatureMaps.h InlineOrder.h InlineSizeEstimatorAnalysis.h InstCount.h InstSimplifyFolder.h InstructionPrecedenceTracking.h InstructionSimplify.h InteractiveModelRunner.h IteratedDominanceFrontier.h LazyBlockFrequencyInfo.h LazyBranchProbabilityInfo.h LazyCallGraph.h LazyValueInfo.h Lint.h Loads.h LoopAccessAnalysis.h LoopAnalysisManager.h LoopCacheAnalysis.h LoopInfo.h LoopIterator.h LoopNestAnalysis.h LoopPass.h LoopUnrollAnalyzer.h MLInlineAdvisor.h MLModelRunner.h MemDerefPrinter.h MemoryBuiltins.h MemoryDependenceAnalysis.h MemoryLocation.h MemoryProfileInfo.h MemorySSA.h MemorySSAUpdater.h ModelUnderTrainingRunner.h ModuleDebugInfoPrinter.h ModuleSummaryAnalysis.h MustExecute.h NoInferenceModelRunner.h ObjCARCAliasAnalysis.h ObjCARCAnalysisUtils.h ObjCARCInstKind.h ObjCARCUtil.h OptimizationRemarkEmitter.h OverflowInstAnalysis.h PHITransAddr.h Passes.h PhiValues.h PostDominators.h ProfileSummaryInfo.h PtrUseVisitor.h RegionInfo.h RegionInfoImpl.h RegionIterator.h RegionPass.h RegionPrinter.h ReleaseModeModelRunner.h ReplayInlineAdvisor.h ScalarEvolution.h ScalarEvolutionAliasAnalysis.h ScalarEvolutionDivision.h ScalarEvolutionExpressions.h ScalarEvolutionNormalization.h ScalarFuncs.def ScopedNoAliasAA.h SimplifyQuery.h SparsePropagation.h StackLifetime.h StackSafetyAnalysis.h StructuralHash.h SyntheticCountsUtils.h TargetFolder.h TargetLibraryInfo.def TargetLibraryInfo.h TargetTransformInfo.h TargetTransformInfoImpl.h TensorSpec.h Trace.h TypeBasedAliasAnalysis.h TypeMetadataUtils.h UniformityAnalysis.h ValueLattice.h ValueLatticeUtils.h ValueTracking.h VecFuncs.def VectorUtils.h WithCache.h include/llvm/Analysis/Utils/ ImportedFunctionsInliningStatistics.h Local.h TFUtils.h TrainingLogger.h include/llvm/AsmParser/ LLLexer.h LLParser.h LLToken.h NumberedValues.h Parser.h SlotMapping.h include/llvm/BinaryFormat/ AMDGPUMetadataVerifier.h COFF.h DXContainer.h DXContainerConstants.def Dwarf.def Dwarf.h DynamicTags.def ELF.h GOFF.h MachO.def MachO.h Magic.h Minidump.h MinidumpConstants.def MsgPack.def MsgPack.h MsgPackDocument.h MsgPackReader.h MsgPackWriter.h Swift.def Swift.h Wasm.h WasmRelocs.def WasmTraits.h XCOFF.h include/llvm/BinaryFormat/ELFRelocs/ AArch64.def AMDGPU.def ARC.def ARM.def AVR.def BPF.def CSKY.def Hexagon.def Lanai.def LoongArch.def M68k.def MSP430.def Mips.def PowerPC.def PowerPC64.def RISCV.def Sparc.def SystemZ.def VE.def Xtensa.def i386.def x86_64.def include/llvm/Bitcode/ BitcodeAnalyzer.h BitcodeCommon.h BitcodeConvenience.h BitcodeReader.h BitcodeWriter.h BitcodeWriterPass.h LLVMBitCodes.h include/llvm/Bitstream/ BitCodeEnums.h BitCodes.h BitstreamReader.h BitstreamWriter.h include/llvm/CodeGen/ AccelTable.h Analysis.h AntiDepBreaker.h AsmPrinter.h AsmPrinterHandler.h AssignmentTrackingAnalysis.h AtomicExpand.h AtomicExpandUtils.h BasicBlockSectionUtils.h BasicBlockSectionsProfileReader.h BasicTTIImpl.h ByteProvider.h CFIFixup.h CSEConfigBase.h CalcSpillWeights.h CallBrPrepare.h CallingConvLower.h CodeGenCommonISel.h CodeGenPrepare.h CommandFlags.h ComplexDeinterleavingPass.h CostTable.h DAGCombine.h DFAPacketizer.h DIE.h DIEValue.def DbgEntityHistoryCalculator.h DeadMachineInstructionElim.h DebugHandlerBase.h DetectDeadLanes.h DwarfEHPrepare.h DwarfStringPoolEntry.h EdgeBundles.h ExecutionDomainFix.h ExpandLargeDivRem.h ExpandLargeFpConvert.h ExpandMemCmp.h ExpandReductions.h ExpandVectorPredication.h FastISel.h FaultMaps.h FinalizeISel.h FunctionLoweringInfo.h GCMetadata.h GCMetadataPrinter.h GenVT.inc GlobalMerge.h HardwareLoops.h ISDOpcodes.h IndirectBrExpand.h IndirectThunks.h InterleavedAccess.h InterleavedLoadCombine.h IntrinsicLowering.h JMCInstrumenter.h LatencyPriorityQueue.h LazyMachineBlockFrequencyInfo.h LexicalScopes.h LinkAllAsmWriterComponents.h LinkAllCodegenComponents.h LiveDebugVariables.h LiveInterval.h LiveIntervalCalc.h LiveIntervalUnion.h LiveIntervals.h LivePhysRegs.h LiveRangeCalc.h LiveRangeEdit.h LiveRegMatrix.h LiveRegUnits.h LiveStacks.h LiveVariables.h LocalStackSlotAllocation.h LoopTraversal.h LowLevelTypeUtils.h LowerEmuTLS.h MBFIWrapper.h MIRFSDiscriminator.h MIRFormatter.h MIRPrinter.h MIRSampleProfile.h MIRYamlMapping.h MachORelocation.h MachineBasicBlock.h MachineBlockFrequencyInfo.h MachineBranchProbabilityInfo.h MachineCFGPrinter.h MachineCombinerPattern.h MachineConstantPool.h MachineConvergenceVerifier.h MachineCycleAnalysis.h MachineDomTreeUpdater.h MachineDominanceFrontier.h MachineDominators.h MachineFrameInfo.h MachineFunction.h MachineFunctionAnalysis.h MachineFunctionPass.h MachineInstr.h MachineInstrBuilder.h MachineInstrBundle.h MachineInstrBundleIterator.h MachineJumpTableInfo.h MachineLoopInfo.h MachineLoopUtils.h MachineMemOperand.h MachineModuleInfo.h MachineModuleInfoImpls.h MachineModuleSlotTracker.h MachineOperand.h MachineOptimizationRemarkEmitter.h MachineOutliner.h MachinePassManager.h MachinePassRegistry.h MachinePipeliner.h MachinePostDominators.h MachineRegionInfo.h MachineRegisterInfo.h MachineSSAContext.h MachineSSAUpdater.h MachineScheduler.h MachineSizeOpts.h MachineStableHash.h MachineTraceMetrics.h MachineUniformityAnalysis.h MachineVerifier.h MacroFusion.h ModuloSchedule.h MultiHazardRecognizer.h NonRelocatableStringpool.h PBQPRAConstraint.h PHIElimination.h Passes.h PreISelIntrinsicLowering.h PseudoSourceValue.h PseudoSourceValueManager.h RDFGraph.h RDFLiveness.h RDFRegisters.h ReachingDefAnalysis.h RegAllocCommon.h RegAllocFast.h RegAllocPBQP.h RegAllocRegistry.h Register.h RegisterBank.h RegisterBankInfo.h RegisterClassInfo.h RegisterPressure.h RegisterScavenging.h RegisterUsageInfo.h ReplaceWithVeclib.h ResourcePriorityQueue.h RuntimeLibcallUtil.h SDNodeProperties.td SDPatternMatch.h SafeStack.h ScheduleDAG.h ScheduleDAGInstrs.h ScheduleDAGMutation.h ScheduleDFS.h ScheduleHazardRecognizer.h SchedulerRegistry.h ScoreboardHazardRecognizer.h SelectOptimize.h SelectionDAG.h SelectionDAGAddressAnalysis.h SelectionDAGISel.h SelectionDAGNodes.h SelectionDAGTargetInfo.h ShadowStackGCLowering.h SjLjEHPrepare.h SlotIndexes.h Spiller.h StackMaps.h StackProtector.h SwiftErrorValueTracking.h SwitchLoweringUtils.h TailDuplicator.h TargetCallingConv.h TargetFrameLowering.h TargetInstrInfo.h TargetLowering.h TargetLoweringObjectFileImpl.h TargetOpcodes.h TargetPassConfig.h TargetRegisterInfo.h TargetSchedule.h TargetSubtargetInfo.h TileShapeInfo.h TwoAddressInstructionPass.h TypePromotion.h UnreachableBlockElim.h VLIWMachineScheduler.h ValueTypes.h ValueTypes.td VirtRegMap.h WasmEHFuncInfo.h WasmEHPrepare.h WinEHFuncInfo.h WinEHPrepare.h WindowScheduler.h include/llvm/CodeGen/GlobalISel/ CSEInfo.h CSEMIRBuilder.h CallLowering.h Combiner.h CombinerHelper.h CombinerInfo.h GIMatchTableExecutor.h GIMatchTableExecutorImpl.h GISelChangeObserver.h GISelKnownBits.h GISelWorkList.h GenericMachineInstrs.h IRTranslator.h InlineAsmLowering.h InstructionSelect.h InstructionSelector.h LegacyLegalizerInfo.h LegalizationArtifactCombiner.h Legalizer.h LegalizerHelper.h LegalizerInfo.h LoadStoreOpt.h Localizer.h LostDebugLocObserver.h MIPatternMatch.h MachineIRBuilder.h RegBankSelect.h Utils.h include/llvm/CodeGen/MIRParser/ MIParser.h MIRParser.h include/llvm/CodeGen/PBQP/ CostAllocator.h Graph.h Math.h ReductionRules.h Solution.h include/llvm/CodeGenData/ OutlinedHashTree.h OutlinedHashTreeRecord.h include/llvm/CodeGenTypes/ LowLevelType.h MachineValueType.h include/llvm/Config/ AsmParsers.def AsmPrinters.def Disassemblers.def TargetExegesis.def TargetMCAs.def Targets.def abi-breaking.h llvm-config.h include/llvm/DWARFLinker/ AddressesMap.h DWARFFile.h DWARFLinkerBase.h IndexedValuesMap.h StringPool.h Utils.h include/llvm/DWARFLinker/Classic/ DWARFLinker.h DWARFLinkerCompileUnit.h DWARFLinkerDeclContext.h DWARFStreamer.h include/llvm/DWARFLinker/Parallel/DWARFLinker.h include/llvm/DWP/ DWP.h DWPError.h DWPStringPool.h include/llvm/DebugInfo/DIContext.h include/llvm/DebugInfo/BTF/ BTF.def BTF.h BTFContext.h BTFParser.h include/llvm/DebugInfo/CodeView/ AppendingTypeTableBuilder.h CVRecord.h CVSymbolVisitor.h CVTypeVisitor.h CodeView.h CodeViewError.h CodeViewRecordIO.h CodeViewRegisters.def CodeViewSymbols.def CodeViewTypes.def ContinuationRecordBuilder.h DebugChecksumsSubsection.h DebugCrossExSubsection.h DebugCrossImpSubsection.h DebugFrameDataSubsection.h DebugInlineeLinesSubsection.h DebugLinesSubsection.h DebugStringTableSubsection.h DebugSubsection.h DebugSubsectionRecord.h DebugSubsectionVisitor.h DebugSymbolRVASubsection.h DebugSymbolsSubsection.h DebugUnknownSubsection.h EnumTables.h Formatters.h FunctionId.h GUID.h GlobalTypeTableBuilder.h LazyRandomTypeCollection.h Line.h MergingTypeTableBuilder.h RecordName.h RecordSerialization.h SimpleTypeSerializer.h StringsAndChecksums.h SymbolDeserializer.h SymbolDumpDelegate.h SymbolDumper.h SymbolRecord.h SymbolRecordHelpers.h SymbolRecordMapping.h SymbolSerializer.h SymbolVisitorCallbackPipeline.h SymbolVisitorCallbacks.h SymbolVisitorDelegate.h TypeCollection.h TypeDeserializer.h TypeDumpVisitor.h TypeHashing.h TypeIndex.h TypeIndexDiscovery.h TypeRecord.h TypeRecordHelpers.h TypeRecordMapping.h TypeStreamMerger.h TypeSymbolEmitter.h TypeTableCollection.h TypeVisitorCallbackPipeline.h TypeVisitorCallbacks.h include/llvm/DebugInfo/DWARF/ DWARFAbbreviationDeclaration.h DWARFAcceleratorTable.h DWARFAddressRange.h DWARFAttribute.h DWARFCompileUnit.h DWARFContext.h DWARFDataExtractor.h DWARFDebugAbbrev.h DWARFDebugAddr.h DWARFDebugArangeSet.h DWARFDebugAranges.h DWARFDebugFrame.h DWARFDebugInfoEntry.h DWARFDebugLine.h DWARFDebugLoc.h DWARFDebugMacro.h DWARFDebugPubTable.h DWARFDebugRangeList.h DWARFDebugRnglists.h DWARFDie.h DWARFExpression.h DWARFFormValue.h DWARFGdbIndex.h DWARFListTable.h DWARFLocationExpression.h DWARFObject.h DWARFRelocMap.h DWARFSection.h DWARFTypePrinter.h DWARFTypeUnit.h DWARFUnit.h DWARFUnitIndex.h DWARFVerifier.h include/llvm/DebugInfo/GSYM/ DwarfTransformer.h ExtractRanges.h FileEntry.h FileWriter.h FunctionInfo.h GsymCreator.h GsymReader.h Header.h InlineInfo.h LineEntry.h LineTable.h LookupResult.h ObjectFileTransformer.h OutputAggregator.h StringTable.h include/llvm/DebugInfo/LogicalView/LVReaderHandler.h include/llvm/DebugInfo/LogicalView/Core/ LVCompare.h LVElement.h LVLine.h LVLocation.h LVObject.h LVOptions.h LVRange.h LVReader.h LVScope.h LVSort.h LVStringPool.h LVSupport.h LVSymbol.h LVType.h include/llvm/DebugInfo/LogicalView/Readers/ LVBinaryReader.h LVCodeViewReader.h LVCodeViewVisitor.h LVDWARFReader.h include/llvm/DebugInfo/MSF/ IMSFFile.h MSFBuilder.h MSFCommon.h MSFError.h MappedBlockStream.h include/llvm/DebugInfo/PDB/ ConcreteSymbolEnumerator.h GenericError.h IPDBDataStream.h IPDBEnumChildren.h IPDBFrameData.h IPDBInjectedSource.h IPDBLineNumber.h IPDBRawSymbol.h IPDBSectionContrib.h IPDBSession.h IPDBSourceFile.h IPDBTable.h PDB.h PDBContext.h PDBExtras.h PDBSymDumper.h PDBSymbol.h PDBSymbolAnnotation.h PDBSymbolBlock.h PDBSymbolCompiland.h PDBSymbolCompilandDetails.h PDBSymbolCompilandEnv.h PDBSymbolCustom.h PDBSymbolData.h PDBSymbolExe.h PDBSymbolFunc.h PDBSymbolFuncDebugEnd.h PDBSymbolFuncDebugStart.h PDBSymbolLabel.h PDBSymbolPublicSymbol.h PDBSymbolThunk.h PDBSymbolTypeArray.h PDBSymbolTypeBaseClass.h PDBSymbolTypeBuiltin.h PDBSymbolTypeCustom.h PDBSymbolTypeDimension.h PDBSymbolTypeEnum.h PDBSymbolTypeFriend.h PDBSymbolTypeFunctionArg.h PDBSymbolTypeFunctionSig.h PDBSymbolTypeManaged.h PDBSymbolTypePointer.h PDBSymbolTypeTypedef.h PDBSymbolTypeUDT.h PDBSymbolTypeVTable.h PDBSymbolTypeVTableShape.h PDBSymbolUnknown.h PDBSymbolUsingNamespace.h PDBTypes.h UDTLayout.h include/llvm/DebugInfo/PDB/DIA/ DIADataStream.h DIAEnumDebugStreams.h DIAEnumFrameData.h DIAEnumInjectedSources.h DIAEnumLineNumbers.h DIAEnumSectionContribs.h DIAEnumSourceFiles.h DIAEnumSymbols.h DIAEnumTables.h DIAError.h DIAFrameData.h DIAInjectedSource.h DIALineNumber.h DIARawSymbol.h DIASectionContrib.h DIASession.h DIASourceFile.h DIASupport.h DIATable.h DIAUtils.h include/llvm/DebugInfo/PDB/Native/ DbiModuleDescriptor.h DbiModuleDescriptorBuilder.h DbiModuleList.h DbiStream.h DbiStreamBuilder.h EnumTables.h FormatUtil.h GSIStreamBuilder.h GlobalsStream.h Hash.h HashTable.h ISectionContribVisitor.h InfoStream.h InfoStreamBuilder.h InjectedSourceStream.h InputFile.h LinePrinter.h ModuleDebugStream.h NamedStreamMap.h NativeCompilandSymbol.h NativeEnumGlobals.h NativeEnumInjectedSources.h NativeEnumLineNumbers.h NativeEnumModules.h NativeEnumSymbols.h NativeEnumTypes.h NativeExeSymbol.h NativeFunctionSymbol.h NativeInlineSiteSymbol.h NativeLineNumber.h NativePublicSymbol.h NativeRawSymbol.h NativeSession.h NativeSourceFile.h NativeSymbolEnumerator.h NativeTypeArray.h NativeTypeBuiltin.h NativeTypeEnum.h NativeTypeFunctionSig.h NativeTypePointer.h NativeTypeTypedef.h NativeTypeUDT.h NativeTypeVTShape.h PDBFile.h PDBFileBuilder.h PDBStringTable.h PDBStringTableBuilder.h PublicsStream.h RawConstants.h RawError.h RawTypes.h SymbolCache.h SymbolStream.h TpiHashing.h TpiStream.h TpiStreamBuilder.h include/llvm/DebugInfo/Symbolize/ DIPrinter.h Markup.h MarkupFilter.h SymbolizableModule.h SymbolizableObjectFile.h Symbolize.h include/llvm/Debuginfod/ BuildIDFetcher.h Debuginfod.h HTTPClient.h HTTPServer.h include/llvm/Demangle/ Demangle.h DemangleConfig.h ItaniumDemangle.h ItaniumNodes.def MicrosoftDemangle.h MicrosoftDemangleNodes.h StringViewExtras.h Utility.h include/llvm/ExecutionEngine/ ExecutionEngine.h GenericValue.h Interpreter.h JITEventListener.h JITSymbol.h MCJIT.h OProfileWrapper.h ObjectCache.h RTDyldMemoryManager.h RuntimeDyld.h RuntimeDyldChecker.h SectionMemoryManager.h include/llvm/ExecutionEngine/JITLink/ COFF.h COFF_x86_64.h DWARFRecordSectionSplitter.h EHFrameSupport.h ELF.h ELF_aarch32.h ELF_aarch64.h ELF_i386.h ELF_loongarch.h ELF_ppc64.h ELF_riscv.h ELF_x86_64.h JITLink.h JITLinkDylib.h JITLinkMemoryManager.h MachO.h MachO_arm64.h MachO_x86_64.h TableManager.h aarch32.h aarch64.h i386.h loongarch.h ppc64.h riscv.h x86_64.h include/llvm/ExecutionEngine/Orc/ COFFPlatform.h COFFVCRuntimeSupport.h CompileOnDemandLayer.h CompileUtils.h Core.h DebugObjectManagerPlugin.h DebugUtils.h ELFNixPlatform.h EPCDebugObjectRegistrar.h EPCDynamicLibrarySearchGenerator.h EPCEHFrameRegistrar.h EPCGenericDylibManager.h EPCGenericJITLinkMemoryManager.h EPCGenericMemoryAccess.h EPCGenericRTDyldMemoryManager.h EPCIndirectionUtils.h ExecutionUtils.h ExecutorProcessControl.h IRCompileLayer.h IRTransformLayer.h IndirectionUtils.h JITTargetMachineBuilder.h LLJIT.h Layer.h LazyReexports.h LookupAndRecordAddrs.h MachOBuilder.h MachOPlatform.h Mangling.h MapperJITLinkMemoryManager.h MemoryMapper.h ObjectFileInterface.h ObjectLinkingLayer.h ObjectTransformLayer.h OrcABISupport.h RTDyldObjectLinkingLayer.h SectCreate.h SimpleRemoteEPC.h SpeculateAnalyses.h Speculation.h SymbolStringPool.h TaskDispatch.h ThreadSafeModule.h include/llvm/ExecutionEngine/Orc/Debugging/ DebugInfoSupport.h DebuggerSupport.h DebuggerSupportPlugin.h PerfSupportPlugin.h VTuneSupportPlugin.h include/llvm/ExecutionEngine/Orc/Shared/ AllocationActions.h ExecutorAddress.h ExecutorSymbolDef.h MemoryFlags.h ObjectFormats.h OrcError.h OrcRTBridge.h PerfSharedStructs.h SimplePackedSerialization.h SimpleRemoteEPCUtils.h TargetProcessControlTypes.h VTuneSharedStructs.h WrapperFunctionUtils.h include/llvm/ExecutionEngine/Orc/TargetProcess/ ExecutorBootstrapService.h ExecutorSharedMemoryMapperService.h JITLoaderGDB.h JITLoaderPerf.h JITLoaderVTune.h RegisterEHFrames.h SimpleExecutorDylibManager.h SimpleExecutorMemoryManager.h SimpleRemoteEPCServer.h TargetExecutionUtils.h include/llvm/FileCheck/FileCheck.h include/llvm/Frontend/Debug/Options.h include/llvm/Frontend/Directive/DirectiveBase.td include/llvm/Frontend/Driver/CodeGenOptions.h include/llvm/Frontend/HLSL/HLSLResource.h include/llvm/Frontend/Offloading/ OffloadWrapper.h Utility.h include/llvm/Frontend/OpenACC/ ACC.h.inc ACC.inc ACC.td include/llvm/Frontend/OpenMP/ ClauseT.h ConstructCompositionT.h ConstructDecompositionT.h OMP.h OMP.h.inc OMP.inc OMP.td OMPAssume.h OMPConstants.h OMPContext.h OMPDeviceConstants.h OMPGridValues.h OMPIRBuilder.h OMPKinds.def include/llvm/FuzzMutate/ FuzzerCLI.h IRMutator.h OpDescriptor.h Operations.h Random.h RandomIRBuilder.h include/llvm/IR/ AbstractCallSite.h Analysis.h Argument.h AssemblyAnnotationWriter.h Assumptions.h AttributeMask.h Attributes.h Attributes.inc Attributes.td AutoUpgrade.h BasicBlock.h BuiltinGCs.h CFG.h CallingConv.h Comdat.h Constant.h ConstantFold.h ConstantFolder.h ConstantRange.h ConstantRangeList.h Constants.h ConstrainedOps.def ConvergenceVerifier.h CycleInfo.h DIBuilder.h DataLayout.h DbgVariableFragmentInfo.h DebugInfo.h DebugInfoFlags.def DebugInfoMetadata.h DebugLoc.h DebugProgramInstruction.h DerivedTypes.h DerivedUser.h DiagnosticHandler.h DiagnosticInfo.h DiagnosticPrinter.h Dominators.h EHPersonalities.h FMF.h FPEnv.h FixedMetadataKinds.def FixedPointBuilder.h Function.h GCStrategy.h GEPNoWrapFlags.h GVMaterializer.h GenericConvergenceVerifierImpl.h GetElementPtrTypeIterator.h GlobalAlias.h GlobalIFunc.h GlobalObject.h GlobalValue.h GlobalVariable.h IRBuilder.h IRBuilderFolder.h IRPrintingPasses.h InlineAsm.h InstIterator.h InstVisitor.h InstrTypes.h Instruction.def Instruction.h Instructions.h IntrinsicEnums.inc IntrinsicImpl.inc IntrinsicInst.h Intrinsics.h Intrinsics.td IntrinsicsAArch64.h IntrinsicsAArch64.td IntrinsicsAMDGPU.h IntrinsicsAMDGPU.td IntrinsicsARM.h IntrinsicsARM.td IntrinsicsBPF.h IntrinsicsBPF.td IntrinsicsDirectX.h IntrinsicsDirectX.td IntrinsicsHexagon.h IntrinsicsHexagon.td IntrinsicsHexagonDep.td IntrinsicsLoongArch.h IntrinsicsLoongArch.td IntrinsicsMips.h IntrinsicsMips.td IntrinsicsNVPTX.h IntrinsicsNVVM.td IntrinsicsPowerPC.h IntrinsicsPowerPC.td IntrinsicsR600.h IntrinsicsRISCV.h IntrinsicsRISCV.td IntrinsicsRISCVXCV.td IntrinsicsRISCVXTHead.td IntrinsicsRISCVXsf.td IntrinsicsS390.h IntrinsicsSPIRV.h IntrinsicsSPIRV.td IntrinsicsSystemZ.td IntrinsicsVE.h IntrinsicsVE.td IntrinsicsVEVL.gen.td IntrinsicsWebAssembly.h IntrinsicsWebAssembly.td IntrinsicsX86.h IntrinsicsX86.td IntrinsicsXCore.h IntrinsicsXCore.td LLVMContext.h LLVMRemarkStreamer.h LegacyPassManager.h LegacyPassManagers.h LegacyPassNameParser.h MDBuilder.h Mangler.h MatrixBuilder.h MemoryModelRelaxationAnnotations.h Metadata.def Metadata.h Module.h ModuleSlotTracker.h ModuleSummaryIndex.h ModuleSummaryIndexYAML.h NoFolder.h OperandTraits.h Operator.h OptBisect.h PassInstrumentation.h PassManager.h PassManagerImpl.h PassManagerInternal.h PassTimingInfo.h PatternMatch.h PredIteratorCache.h PrintPasses.h ProfDataUtils.h ProfileSummary.h PseudoProbe.h ReplaceConstant.h RuntimeLibcalls.def RuntimeLibcalls.h SSAContext.h SafepointIRVerifier.h Statepoint.h StructuralHash.h SymbolTableListTraits.h TrackingMDRef.h Type.h TypeFinder.h TypedPointerType.h Use.h UseListOrder.h User.h VFABIDemangler.h VPIntrinsics.def Value.def Value.h ValueHandle.h ValueMap.h ValueSymbolTable.h VectorBuilder.h Verifier.h include/llvm/IRPrinter/IRPrintingPasses.h include/llvm/IRReader/IRReader.h include/llvm/InterfaceStub/ ELFObjHandler.h IFSHandler.h IFSStub.h include/llvm/LTO/ Config.h LTO.h LTOBackend.h SummaryBasedOptimizations.h include/llvm/LTO/legacy/ LTOCodeGenerator.h LTOModule.h ThinLTOCodeGenerator.h UpdateCompilerUsed.h include/llvm/LineEditor/LineEditor.h include/llvm/Linker/ IRMover.h Linker.h include/llvm/MC/ ConstantPools.h DXContainerPSVInfo.h LaneBitmask.h MCAsmBackend.h MCAsmInfo.h MCAsmInfoCOFF.h MCAsmInfoDarwin.h MCAsmInfoELF.h MCAsmInfoGOFF.h MCAsmInfoWasm.h MCAsmInfoXCOFF.h MCAsmMacro.h MCAssembler.h MCCodeEmitter.h MCCodeView.h MCContext.h MCDXContainerStreamer.h MCDXContainerWriter.h MCDecoderOps.h MCDirectives.h MCDwarf.h MCELFExtras.h MCELFObjectWriter.h MCELFStreamer.h MCExpr.h MCFixup.h MCFixupKindInfo.h MCFragment.h MCGOFFObjectWriter.h MCGOFFStreamer.h MCInst.h MCInstBuilder.h MCInstPrinter.h MCInstrAnalysis.h MCInstrDesc.h MCInstrInfo.h MCInstrItineraries.h MCLabel.h MCLinkerOptimizationHint.h MCMachObjectWriter.h MCObjectFileInfo.h MCObjectStreamer.h MCObjectWriter.h MCPseudoProbe.h MCRegister.h MCRegisterInfo.h MCSPIRVObjectWriter.h MCSPIRVStreamer.h MCSchedule.h MCSection.h MCSectionCOFF.h MCSectionDXContainer.h MCSectionELF.h MCSectionGOFF.h MCSectionMachO.h MCSectionSPIRV.h MCSectionWasm.h MCSectionXCOFF.h MCStreamer.h MCSubtargetInfo.h MCSymbol.h MCSymbolCOFF.h MCSymbolELF.h MCSymbolGOFF.h MCSymbolMachO.h MCSymbolTableEntry.h MCSymbolWasm.h MCSymbolXCOFF.h MCTargetOptions.h MCTargetOptionsCommandFlags.h MCValue.h MCWasmObjectWriter.h MCWasmStreamer.h MCWin64EH.h MCWinCOFFObjectWriter.h MCWinCOFFStreamer.h MCWinEH.h MCXCOFFObjectWriter.h MCXCOFFStreamer.h MachineLocation.h SectionKind.h StringTableBuilder.h TargetRegistry.h include/llvm/MC/MCDisassembler/ MCDisassembler.h MCExternalSymbolizer.h MCRelocationInfo.h MCSymbolizer.h include/llvm/MC/MCParser/ AsmCond.h AsmLexer.h MCAsmLexer.h MCAsmParser.h MCAsmParserExtension.h MCAsmParserUtils.h MCParsedAsmOperand.h MCTargetAsmParser.h include/llvm/MCA/ CodeEmitter.h Context.h CustomBehaviour.h HWEventListener.h IncrementalSourceMgr.h InstrBuilder.h Instruction.h Pipeline.h SourceMgr.h Support.h View.h include/llvm/MCA/HardwareUnits/ HardwareUnit.h LSUnit.h RegisterFile.h ResourceManager.h RetireControlUnit.h Scheduler.h include/llvm/MCA/Stages/ DispatchStage.h EntryStage.h ExecuteStage.h InOrderIssueStage.h InstructionTables.h MicroOpQueueStage.h RetireStage.h Stage.h include/llvm/ObjCopy/ CommonConfig.h ConfigManager.h MultiFormatConfig.h ObjCopy.h include/llvm/ObjCopy/COFF/ COFFConfig.h COFFObjcopy.h include/llvm/ObjCopy/ELF/ ELFConfig.h ELFObjcopy.h include/llvm/ObjCopy/MachO/ MachOConfig.h MachOObjcopy.h include/llvm/ObjCopy/XCOFF/ XCOFFConfig.h XCOFFObjcopy.h include/llvm/ObjCopy/wasm/ WasmConfig.h WasmObjcopy.h include/llvm/Object/ Archive.h ArchiveWriter.h Binary.h BuildID.h COFF.h COFFImportFile.h COFFModuleDefinition.h CVDebugRecord.h DXContainer.h Decompressor.h ELF.h ELFObjectFile.h ELFTypes.h Error.h FaultMapParser.h GOFF.h GOFFObjectFile.h IRObjectFile.h IRSymtab.h MachO.h MachOUniversal.h MachOUniversalWriter.h Minidump.h ModuleSymbolTable.h ObjectFile.h OffloadBinary.h RelocationResolver.h StackMapParser.h SymbolSize.h SymbolicFile.h TapiFile.h TapiUniversal.h Wasm.h WindowsMachineFlag.h WindowsResource.h XCOFFObjectFile.h include/llvm/ObjectYAML/ ArchiveYAML.h COFFYAML.h CodeViewYAMLDebugSections.h CodeViewYAMLSymbols.h CodeViewYAMLTypeHashing.h CodeViewYAMLTypes.h DWARFEmitter.h DWARFYAML.h DXContainerYAML.h ELFYAML.h GOFFYAML.h MachOYAML.h MinidumpYAML.h ObjectYAML.h OffloadYAML.h WasmYAML.h XCOFFYAML.h YAML.h yaml2obj.h include/llvm/Option/ Arg.h ArgList.h OptParser.td OptSpecifier.h OptTable.h Option.h include/llvm/Passes/ CodeGenPassBuilder.h MachinePassRegistry.def OptimizationLevel.h PassBuilder.h PassPlugin.h StandardInstrumentations.h TargetPassRegistry.inc include/llvm/ProfileData/ CtxInstrContextNode.h FunctionId.h GCOV.h HashKeyMap.h InstrProf.h InstrProfCorrelator.h InstrProfData.inc InstrProfReader.h InstrProfWriter.h ItaniumManglingCanonicalizer.h MIBEntryDef.inc MemProf.h MemProfData.inc MemProfReader.h PGOCtxProfReader.h PGOCtxProfWriter.h ProfileCommon.h RawMemProfReader.h SampleProf.h SampleProfReader.h SampleProfWriter.h SymbolRemappingReader.h include/llvm/ProfileData/Coverage/ CoverageMapping.h CoverageMappingReader.h CoverageMappingWriter.h MCDCTypes.h include/llvm/Remarks/ BitstreamRemarkContainer.h BitstreamRemarkParser.h BitstreamRemarkSerializer.h HotnessThresholdParser.h Remark.h RemarkFormat.h RemarkLinker.h RemarkParser.h RemarkSerializer.h RemarkStreamer.h RemarkStringTable.h YAMLRemarkSerializer.h include/llvm/SandboxIR/ SandboxIR.h SandboxIRValues.def Tracker.h Use.h include/llvm/Support/ AMDGPUAddrSpace.h AMDGPUMetadata.h AMDHSAKernelDescriptor.h ARMAttributeParser.h ARMBuildAttributes.h ARMEHABI.h ARMWinEH.h AlignOf.h Alignment.h Allocator.h AllocatorBase.h ArrayRecycler.h Atomic.h AtomicOrdering.h AutoConvert.h Automaton.h BCD.h BLAKE3.h BalancedPartitioning.h Base64.h BinaryByteStream.h BinaryItemStream.h BinaryStream.h BinaryStreamArray.h BinaryStreamError.h BinaryStreamReader.h BinaryStreamRef.h BinaryStreamWriter.h BlockFrequency.h BranchProbability.h BuryPointer.h CBindingWrapping.h CFGDiff.h CFGUpdate.h COM.h CRC.h CSKYAttributeParser.h CSKYAttributes.h CachePruning.h Caching.h Capacity.h Casting.h CheckedArithmetic.h Chrono.h CodeGen.h CodeGenCoverage.h CommandLine.h Compiler.h Compression.h ConvertEBCDIC.h ConvertUTF.h CrashRecoveryContext.h DJB.h DOTGraphTraits.h DXILABI.h DataExtractor.h DataTypes.h Debug.h DebugCounter.h Discriminator.h DivisionByConstantInfo.h Duration.h DynamicLibrary.h ELFAttributeParser.h ELFAttributes.h Endian.h EndianStream.h Errc.h Errno.h Error.h ErrorHandling.h ErrorOr.h ExitCodes.h ExponentialBackoff.h ExtensibleRTTI.h Extension.def FileCollector.h FileOutputBuffer.h FileSystem.h FileUtilities.h Format.h FormatAdapters.h FormatCommon.h FormatProviders.h FormatVariadic.h FormatVariadicDetails.h FormattedStream.h GenericDomTree.h GenericDomTreeConstruction.h GenericIteratedDominanceFrontier.h GenericLoopInfo.h GenericLoopInfoImpl.h GlobPattern.h GraphWriter.h HashBuilder.h HexagonAttributeParser.h HexagonAttributes.h InitLLVM.h InstructionCost.h JSON.h KnownBits.h LEB128.h LICENSE.TXT LLVMDriver.h LineIterator.h Locale.h LockFileManager.h LogicalResult.h MD5.h MSP430AttributeParser.h MSP430Attributes.h MSVCErrorWorkarounds.h ManagedStatic.h MathExtras.h MemAlloc.h Memory.h MemoryBuffer.h MemoryBufferRef.h MipsABIFlags.h ModRef.h Mutex.h NativeFormatting.h OnDiskHashTable.h OptimizedStructLayout.h PGOOptions.h Parallel.h Path.h PerThreadBumpPtrAllocator.h PluginLoader.h PointerLikeTypeTraits.h PrettyStackTrace.h Printable.h Process.h Program.h RISCVAttributeParser.h RISCVAttributes.h RISCVISAUtils.h RWMutex.h RandomNumberGenerator.h Recycler.h RecyclingAllocator.h Regex.h Registry.h ReverseIteration.h SHA1.h SHA256.h SMLoc.h SMTAPI.h SaveAndRestore.h ScaledNumber.h ScopedPrinter.h Signals.h Signposts.h SipHash.h SmallVectorMemoryBuffer.h SourceMgr.h SpecialCaseList.h StringSaver.h SuffixTree.h SuffixTreeNode.h SwapByteOrder.h SystemUtils.h TarWriter.h TargetOpcodes.def TargetSelect.h ThreadPool.h ThreadSafeAllocator.h Threading.h TimeProfiler.h Timer.h ToolOutputFile.h TrailingObjects.h TypeName.h TypeSize.h Unicode.h UnicodeCharRanges.h VCSRevision.h Valgrind.h VersionTuple.h VirtualFileSystem.h Watchdog.h Win64EH.h WindowsError.h WithColor.h X86DisassemblerDecoderCommon.h X86FoldTablesUtils.h YAMLParser.h YAMLTraits.h circular_raw_ostream.h float128.h raw_os_ostream.h raw_ostream.h raw_sha1_ostream.h raw_socket_stream.h thread.h type_traits.h xxhash.h include/llvm/Support/FileSystem/UniqueID.h include/llvm/Support/Solaris/sys/regset.h include/llvm/Support/SystemZ/zOSSupport.h include/llvm/Support/Windows/WindowsSupport.h include/llvm/TableGen/ Automaton.td DirectiveEmitter.h Error.h Main.h Parser.h Record.h SearchableTable.td SetTheory.h StringMatcher.h StringToOffsetTable.h TableGenBackend.h include/llvm/Target/ CGPassBuilderOption.h CodeGenCWrappers.h GenericOpcodes.td Target.td TargetCallingConv.td TargetInstrPredicate.td TargetIntrinsicInfo.h TargetItinerary.td TargetLoweringObjectFile.h TargetMachine.h TargetMacroFusion.td TargetOptions.h TargetPfmCounters.td TargetSchedule.td TargetSelectionDAG.td include/llvm/Target/GlobalISel/ Combine.td RegisterBank.td SelectionDAGCompat.td Target.td include/llvm/TargetParser/ AArch64CPUFeatures.inc AArch64TargetParser.h AArch64TargetParserDef.inc ARMTargetParser.def ARMTargetParser.h ARMTargetParserCommon.h ARMTargetParserDef.inc CSKYTargetParser.def CSKYTargetParser.h Host.h LoongArchTargetParser.def LoongArchTargetParser.h PPCTargetParser.def RISCVISAInfo.h RISCVTargetParser.h RISCVTargetParserDef.inc SubtargetFeature.h TargetParser.h Triple.h X86TargetParser.def X86TargetParser.h include/llvm/Testing/ADT/ StringMap.h StringMapEntry.h include/llvm/Testing/Annotations/Annotations.h include/llvm/Testing/Support/ Error.h SupportHelpers.h include/llvm/TextAPI/ Architecture.def Architecture.h ArchitectureSet.h DylibReader.h FileTypes.h InterfaceFile.h PackedVersion.h Platform.h Record.h RecordVisitor.h RecordsSlice.h Symbol.h SymbolSet.h Target.h TextAPIError.h TextAPIReader.h TextAPIWriter.h Utils.h include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h include/llvm/ToolDrivers/llvm-lib/LibDriver.h include/llvm/Transforms/ CFGuard.h IPO.h Instrumentation.h ObjCARC.h Scalar.h Utils.h include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h include/llvm/Transforms/Coroutines/ CoroCleanup.h CoroConditionalWrapper.h CoroEarly.h CoroElide.h CoroSplit.h include/llvm/Transforms/HipStdPar/HipStdPar.h include/llvm/Transforms/IPO/ AlwaysInliner.h Annotation2Metadata.h ArgumentPromotion.h Attributor.h BlockExtractor.h CalledValuePropagation.h ConstantMerge.h CrossDSOCFI.h DeadArgumentElimination.h ElimAvailExtern.h EmbedBitcodePass.h ExpandVariadics.h ExtractGV.h ForceFunctionAttrs.h FunctionAttrs.h FunctionImport.h FunctionSpecialization.h GlobalDCE.h GlobalOpt.h GlobalSplit.h HotColdSplitting.h IROutliner.h InferFunctionAttrs.h Inliner.h Internalize.h LoopExtractor.h LowerTypeTests.h MemProfContextDisambiguation.h MergeFunctions.h ModuleInliner.h OpenMPOpt.h PartialInlining.h ProfiledCallGraph.h SCCP.h SampleContextTracker.h SampleProfile.h SampleProfileMatcher.h SampleProfileProbe.h StripDeadPrototypes.h StripSymbols.h SyntheticCountsPropagation.h ThinLTOBitcodeWriter.h WholeProgramDevirt.h include/llvm/Transforms/InstCombine/ InstCombine.h InstCombiner.h include/llvm/Transforms/Instrumentation/ AddressSanitizer.h AddressSanitizerCommon.h AddressSanitizerOptions.h BlockCoverageInference.h BoundsChecking.h CFGMST.h CGProfile.h ControlHeightReduction.h DataFlowSanitizer.h GCOVProfiler.h HWAddressSanitizer.h InstrOrderFile.h InstrProfiling.h KCFI.h LowerAllowCheckPass.h MemProfiler.h MemorySanitizer.h NumericalStabilitySanitizer.h PGOCtxProfLowering.h PGOForceFunctionAttrs.h PGOInstrumentation.h PoisonChecking.h SanitizerBinaryMetadata.h SanitizerCoverage.h ThreadSanitizer.h include/llvm/Transforms/Scalar/ ADCE.h AlignmentFromAssumptions.h AnnotationRemarks.h BDCE.h CallSiteSplitting.h ConstantHoisting.h ConstraintElimination.h CorrelatedValuePropagation.h DCE.h DFAJumpThreading.h DeadStoreElimination.h DivRemPairs.h EarlyCSE.h FlattenCFG.h Float2Int.h GVN.h GVNExpression.h GuardWidening.h IVUsersPrinter.h IndVarSimplify.h InductiveRangeCheckElimination.h InferAddressSpaces.h InferAlignment.h InstSimplifyPass.h JumpTableToSwitch.h JumpThreading.h LICM.h LoopAccessAnalysisPrinter.h LoopBoundSplit.h LoopDataPrefetch.h LoopDeletion.h LoopDistribute.h LoopFlatten.h LoopFuse.h LoopIdiomRecognize.h LoopInstSimplify.h LoopInterchange.h LoopLoadElimination.h LoopPassManager.h LoopPredication.h LoopRotation.h LoopSimplifyCFG.h LoopSink.h LoopStrengthReduce.h LoopUnrollAndJamPass.h LoopUnrollPass.h LoopVersioningLICM.h LowerAtomicPass.h LowerConstantIntrinsics.h LowerExpectIntrinsic.h LowerGuardIntrinsic.h LowerMatrixIntrinsics.h LowerWidenableCondition.h MakeGuardsExplicit.h MemCpyOptimizer.h MergeICmps.h MergedLoadStoreMotion.h NaryReassociate.h NewGVN.h PartiallyInlineLibCalls.h PlaceSafepoints.h Reassociate.h Reg2Mem.h RewriteStatepointsForGC.h SCCP.h SROA.h ScalarizeMaskedMemIntrin.h Scalarizer.h SeparateConstOffsetFromGEP.h SimpleLoopUnswitch.h SimplifyCFG.h Sink.h SpeculativeExecution.h StraightLineStrengthReduce.h StructurizeCFG.h TLSVariableHoist.h TailRecursionElimination.h WarnMissedTransforms.h include/llvm/Transforms/Utils/ AMDGPUEmitPrintf.h ASanStackFrameLayout.h AddDiscriminators.h AssumeBundleBuilder.h BasicBlockUtils.h BreakCriticalEdges.h BuildLibCalls.h BypassSlowDivision.h CallGraphUpdater.h CallPromotionUtils.h CanonicalizeAliases.h CanonicalizeFreezeInLoops.h Cloning.h CodeExtractor.h CodeLayout.h CodeMoverUtils.h CountVisits.h CtorUtils.h DXILResource.h DXILUpgrade.h Debugify.h EntryExitInstrumenter.h EscapeEnumerator.h Evaluator.h FixIrreducible.h FunctionComparator.h FunctionImportUtils.h GlobalStatus.h GuardUtils.h HelloWorld.h InjectTLIMappings.h InstructionNamer.h InstructionWorklist.h IntegerDivision.h LCSSA.h LibCallsShrinkWrap.h Local.h LoopConstrainer.h LoopPeel.h LoopRotationUtils.h LoopSimplify.h LoopUtils.h LoopVersioning.h LowerAtomic.h LowerGlobalDtors.h LowerIFunc.h LowerInvoke.h LowerMemIntrinsics.h LowerSwitch.h MatrixUtils.h Mem2Reg.h MemoryOpRemark.h MemoryTaggingSupport.h MetaRenamer.h MisExpect.h ModuleUtils.h MoveAutoInit.h NameAnonGlobals.h PredicateInfo.h PromoteMemToReg.h RelLookupTableConverter.h SCCPSolver.h SSAUpdater.h SSAUpdaterBulk.h SSAUpdaterImpl.h SampleProfileInference.h SampleProfileLoaderBaseImpl.h SampleProfileLoaderBaseUtil.h SanitizerStats.h ScalarEvolutionExpander.h SimplifyCFGOptions.h SimplifyIndVar.h SimplifyLibCalls.h SizeOpts.h SplitModule.h StripGCRelocates.h StripNonLineTableDebugInfo.h SymbolRewriter.h UnifyFunctionExitNodes.h UnifyLoopExits.h UnrollLoop.h VNCoercion.h ValueMapper.h include/llvm/Transforms/Vectorize/ LoadStoreVectorizer.h LoopIdiomVectorize.h LoopVectorizationLegality.h LoopVectorize.h SLPVectorizer.h VectorCombine.h include/llvm/WindowsDriver/ MSVCPaths.h MSVCSetupApi.h include/llvm/WindowsManifest/WindowsManifestMerger.h include/llvm/WindowsResource/ ResourceProcessor.h ResourceScriptToken.h ResourceScriptTokenList.h include/llvm/XRay/ BlockIndexer.h BlockPrinter.h BlockVerifier.h FDRLogBuilder.h FDRRecordConsumer.h FDRRecordProducer.h FDRRecords.h FDRTraceExpander.h FDRTraceWriter.h FileHeaderReader.h Graph.h InstrumentationMap.h Profile.h RecordPrinter.h Trace.h XRayRecord.h YAMLXRayRecord.h lib/ libLLVM.so libLLVMAArch64AsmParser.a libLLVMAArch64CodeGen.a libLLVMAArch64Desc.a libLLVMAArch64Disassembler.a libLLVMAArch64Info.a libLLVMAArch64Utils.a libLLVMAMDGPUAsmParser.a libLLVMAMDGPUCodeGen.a libLLVMAMDGPUDesc.a libLLVMAMDGPUDisassembler.a libLLVMAMDGPUInfo.a libLLVMAMDGPUTargetMCA.a libLLVMAMDGPUUtils.a libLLVMARMAsmParser.a libLLVMARMCodeGen.a libLLVMARMDesc.a libLLVMARMDisassembler.a libLLVMARMInfo.a libLLVMARMUtils.a libLLVMAVRAsmParser.a libLLVMAVRCodeGen.a libLLVMAVRDesc.a libLLVMAVRDisassembler.a libLLVMAVRInfo.a libLLVMAggressiveInstCombine.a libLLVMAnalysis.a libLLVMAsmParser.a libLLVMAsmPrinter.a libLLVMBPFAsmParser.a libLLVMBPFCodeGen.a libLLVMBPFDesc.a libLLVMBPFDisassembler.a libLLVMBPFInfo.a libLLVMBinaryFormat.a libLLVMBitReader.a libLLVMBitWriter.a libLLVMBitstreamReader.a libLLVMCFGuard.a libLLVMCFIVerify.a libLLVMCodeGen.a libLLVMCodeGenData.a libLLVMCodeGenTypes.a libLLVMCore.a libLLVMCoroutines.a libLLVMCoverage.a libLLVMDWARFLinker.a libLLVMDWARFLinkerClassic.a libLLVMDWARFLinkerParallel.a libLLVMDWP.a libLLVMDebugInfoBTF.a libLLVMDebugInfoCodeView.a libLLVMDebugInfoDWARF.a libLLVMDebugInfoGSYM.a libLLVMDebugInfoLogicalView.a libLLVMDebugInfoMSF.a libLLVMDebugInfoPDB.a libLLVMDebuginfod.a libLLVMDemangle.a libLLVMDiff.a libLLVMDlltoolDriver.a libLLVMExecutionEngine.a libLLVMExegesis.a libLLVMExegesisAArch64.a libLLVMExegesisMips.a libLLVMExegesisPowerPC.a libLLVMExegesisX86.a libLLVMExtensions.a libLLVMFileCheck.a libLLVMFrontendDriver.a libLLVMFrontendHLSL.a libLLVMFrontendOffloading.a libLLVMFrontendOpenACC.a libLLVMFrontendOpenMP.a libLLVMFuzzMutate.a libLLVMFuzzerCLI.a libLLVMGlobalISel.a libLLVMHexagonAsmParser.a libLLVMHexagonCodeGen.a libLLVMHexagonDesc.a libLLVMHexagonDisassembler.a libLLVMHexagonInfo.a libLLVMHipStdPar.a libLLVMIRPrinter.a libLLVMIRReader.a libLLVMInstCombine.a libLLVMInstrumentation.a libLLVMInterfaceStub.a libLLVMInterpreter.a libLLVMJITLink.a libLLVMLTO.a libLLVMLanaiAsmParser.a libLLVMLanaiCodeGen.a libLLVMLanaiDesc.a libLLVMLanaiDisassembler.a libLLVMLanaiInfo.a libLLVMLibDriver.a libLLVMLineEditor.a libLLVMLinker.a libLLVMLoongArchAsmParser.a libLLVMLoongArchCodeGen.a libLLVMLoongArchDesc.a libLLVMLoongArchDisassembler.a libLLVMLoongArchInfo.a libLLVMMC.a libLLVMMCA.a libLLVMMCDisassembler.a libLLVMMCJIT.a libLLVMMCParser.a libLLVMMIRParser.a libLLVMMSP430AsmParser.a libLLVMMSP430CodeGen.a libLLVMMSP430Desc.a libLLVMMSP430Disassembler.a libLLVMMSP430Info.a libLLVMMipsAsmParser.a libLLVMMipsCodeGen.a libLLVMMipsDesc.a libLLVMMipsDisassembler.a libLLVMMipsInfo.a libLLVMNVPTXCodeGen.a libLLVMNVPTXDesc.a libLLVMNVPTXInfo.a libLLVMObjCARCOpts.a libLLVMObjCopy.a libLLVMObject.a libLLVMObjectYAML.a libLLVMOptDriver.a libLLVMOption.a libLLVMOrcDebugging.a libLLVMOrcJIT.a libLLVMOrcShared.a libLLVMOrcTargetProcess.a libLLVMPasses.a libLLVMPowerPCAsmParser.a libLLVMPowerPCCodeGen.a libLLVMPowerPCDesc.a libLLVMPowerPCDisassembler.a libLLVMPowerPCInfo.a libLLVMProfileData.a libLLVMRISCVAsmParser.a libLLVMRISCVCodeGen.a libLLVMRISCVDesc.a libLLVMRISCVDisassembler.a libLLVMRISCVInfo.a libLLVMRISCVTargetMCA.a libLLVMRemarks.a libLLVMRuntimeDyld.a libLLVMSandboxIR.a libLLVMScalarOpts.a libLLVMSelectionDAG.a libLLVMSparcAsmParser.a libLLVMSparcCodeGen.a libLLVMSparcDesc.a libLLVMSparcDisassembler.a libLLVMSparcInfo.a libLLVMSupport.a libLLVMSymbolize.a libLLVMSystemZAsmParser.a libLLVMSystemZCodeGen.a libLLVMSystemZDesc.a libLLVMSystemZDisassembler.a libLLVMSystemZInfo.a libLLVMTableGen.a libLLVMTableGenBasic.a libLLVMTableGenCommon.a libLLVMTarget.a libLLVMTargetParser.a libLLVMTextAPI.a libLLVMTextAPIBinaryReader.a libLLVMTransformUtils.a libLLVMVEAsmParser.a libLLVMVECodeGen.a libLLVMVEDesc.a libLLVMVEDisassembler.a libLLVMVEInfo.a libLLVMVectorize.a libLLVMWebAssemblyAsmParser.a libLLVMWebAssemblyCodeGen.a libLLVMWebAssemblyDesc.a libLLVMWebAssemblyDisassembler.a libLLVMWebAssemblyInfo.a libLLVMWebAssemblyUtils.a libLLVMWindowsDriver.a libLLVMWindowsManifest.a libLLVMX86AsmParser.a libLLVMX86CodeGen.a libLLVMX86Desc.a libLLVMX86Disassembler.a libLLVMX86Info.a libLLVMX86TargetMCA.a libLLVMXCoreCodeGen.a libLLVMXCoreDesc.a libLLVMXCoreDisassembler.a libLLVMXCoreInfo.a libLLVMXRay.a libLLVMipo.a libLTO.so libRemarks.so lib/cmake/llvm/ AddLLVM.cmake AddOCaml.cmake AddSphinxTarget.cmake CheckAtomic.cmake CheckCompilerVersion.cmake CheckProblematicConfigurations.cmake CoverageReport.cmake CrossCompile.cmake DetermineGCCCompatible.cmake FindFFI.cmake FindLibEdit.cmake FindLibpfm.cmake FindOCaml.cmake FindSphinx.cmake FindZ3.cmake Findzstd.cmake GenerateVersionFromVCS.cmake GetErrcMessages.cmake GetLibraryName.cmake HandleLLVMOptions.cmake HandleLLVMStdlib.cmake LLVM-Build.cmake LLVM-Config.cmake LLVMCheckLinkerFlag.cmake LLVMConfig.cmake LLVMConfigExtensions.cmake LLVMConfigVersion.cmake LLVMDistributionSupport.cmake LLVMExports-%%CMAKE_BUILD_TYPE%%.cmake LLVMExports.cmake LLVMExternalProjectUtils.cmake LLVMInstallSymlink.cmake LLVMProcessSources.cmake TableGen.cmake TensorFlowCompile.cmake UseLibtool.cmake VersionFromVCS.cmake llvm-driver-template.cpp.in [FILE:745:patches/patch-CMakeLists.txt] --- CMakeLists.txt.orig 2024-10-29 10:09:39 UTC +++ CMakeLists.txt @@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 3.20.0) +if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS) set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake) +endif() include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake NO_POLICY_SCOPE) @@ -1193,7 +1195,7 @@ endif() 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") + # ravenports: Don't implement sys/regset.h workaround, fix source instead. endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS ) # Make sure we don't get -rdynamic in every binary. For those that need it, [FILE:1248:patches/patch-cmake_modules_AddLLVM.cmake] --- cmake/modules/AddLLVM.cmake.orig 2024-10-29 10:09:39 UTC +++ cmake/modules/AddLLVM.cmake @@ -263,14 +263,10 @@ if (NOT DEFINED LLVM_LINKER_DETECTED AND set(LLVM_LINKER_IS_SOLARISLD YES CACHE INTERNAL "") set(LLVM_LINKER_IS_SOLARISLD_ILLUMOS YES CACHE INTERNAL "") message(STATUS "Linker detection: Solaris ld (illumos)") - elseif("${stderr}" MATCHES "Solaris Link Editors" OR - "${stdout}" MATCHES "Solaris Link Editors") + else() set(LLVM_LINKER_DETECTED YES CACHE INTERNAL "") set(LLVM_LINKER_IS_SOLARISLD YES CACHE INTERNAL "") message(STATUS "Linker detection: Solaris ld") - else() - set(LLVM_LINKER_DETECTED NO CACHE INTERNAL "") - message(STATUS "Linker detection: unknown") endif() endif() @@ -2466,7 +2462,7 @@ function(llvm_setup_rpath name) elseif(UNIX) set(_build_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) set(_install_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}") - if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") + if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly|MidnightBSD)") set_property(TARGET ${name} APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-z,origin ") endif() [FILE:507:patches/patch-cmake_modules_HandleLLVMOptions.cmake] --- cmake/modules/HandleLLVMOptions.cmake.orig 2024-10-29 10:09:39 UTC +++ cmake/modules/HandleLLVMOptions.cmake @@ -302,7 +302,7 @@ endif() # Pass -Wl,-z,defs. This makes sure all symbols are defined. Otherwise a DSO # build might work on ELF but fail on MachO/COFF. -if(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin|FreeBSD|OpenBSD|DragonFly|AIX|OS390" OR +if(NOT (TRUE OR WIN32 OR CYGWIN) AND NOT LLVM_USE_SANITIZER) set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,defs") [FILE:646:patches/patch-include_llvm-c_DataTypes.h] $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 2024-10-29 10:09:39 UTC +++ include/llvm-c/DataTypes.h @@ -77,4 +77,27 @@ typedef signed int ssize_t; # define UINT64_MAX 0xffffffffffffffffULL #endif +#if defined(__sun) +#include +#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 */ [FILE:337:patches/patch-include_llvm_ADT_SmallVector.h] Fix SunOS CS,DS conflict not handled by include/llvm-c/DataTypes.h --- include/llvm/ADT/SmallVector.h.orig 2024-10-29 10:09:39 UTC +++ include/llvm/ADT/SmallVector.h @@ -31,6 +31,11 @@ #include #include +#ifdef __sun +#undef CS +#undef DS +#endif + namespace llvm { template class ArrayRef; [FILE:396:patches/patch-include_llvm_Analysis_ConstantFolding.h] $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 2024-10-29 10:09:39 UTC +++ include/llvm/Analysis/ConstantFolding.h @@ -21,6 +21,10 @@ #include +#ifdef __sun +#undef CS +#endif + namespace llvm { namespace Intrinsic { [FILE:476:patches/patch-include_llvm_DebugInfo_CodeView_CodeView.h] --- include/llvm/DebugInfo/CodeView/CodeView.h.orig 2024-10-29 10:09:39 UTC +++ include/llvm/DebugInfo/CodeView/CodeView.h @@ -16,6 +16,25 @@ #include #include +#ifdef __sun +#undef ERR +#undef EAX +#undef ECX +#undef EDX +#undef EBX +#undef ESP +#undef EBP +#undef ESI +#undef EDI +#undef EIP +#undef CS +#undef DS +#undef ES +#undef FS +#undef GS +#undef SS +#endif + #include "llvm/ADT/STLForwardCompat.h" #include "llvm/Support/Endian.h" [FILE:1095:patches/patch-lib_Support_Unix_Path.inc] --- lib/Support/Unix/Path.inc.orig 2024-10-29 10:09:39 UTC +++ lib/Support/Unix/Path.inc @@ -42,6 +42,9 @@ #if __has_include() #include #endif +#elif defined(__MidnightBSD__) +#include +#include #elif defined(__FreeBSD__) #include #if __FreeBSD_version >= 1300057 @@ -202,6 +205,17 @@ std::string getMainExecutable(const char if (realpath(exe_path, link_path)) return link_path; } +#elif defined(__MidnightBSD__) + // Right now environ symbol is not being linked in on MBSD. It + // appears that elf_aux_info is implemented in MBSD 3.0, so use that. + char exe_path[PATH_MAX]; + if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) { + char link_path[PATH_MAX]; + if (realpath(exe_path, link_path)) + return link_path; + } + if (getprogpath(exe_path, argv0) != NULL) + return exe_path; #elif defined(__FreeBSD__) // On FreeBSD if the exec path specified in ELF auxiliary vectors is // preferred, if available. /proc/curproc/file and the KERN_PROC_PATHNAME [FILE:468:patches/patch-lib_TargetParser_Triple.cpp] --- lib/TargetParser/Triple.cpp.orig 2024-10-29 10:09:39 UTC +++ lib/TargetParser/Triple.cpp @@ -648,6 +648,7 @@ static Triple::OSType parseOS(StringRef .StartsWith("darwin", Triple::Darwin) .StartsWith("dragonfly", Triple::DragonFly) .StartsWith("freebsd", Triple::FreeBSD) + .StartsWith("midnightbsd", Triple::FreeBSD) .StartsWith("fuchsia", Triple::Fuchsia) .StartsWith("ios", Triple::IOS) .StartsWith("kfreebsd", Triple::KFreeBSD) [FILE:455:patches/patch-lib_Target_X86_MCTargetDesc_X86MCTargetDesc.h] --- lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h.orig 2024-10-29 10:09:39 UTC +++ lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h @@ -17,6 +17,24 @@ #include #include +#ifdef __sun +#undef EAX +#undef ECX +#undef EDX +#undef EBX +#undef ESP +#undef EBP +#undef ESI +#undef EDI +#undef EIP +#undef CS +#undef DS +#undef ES +#undef FS +#undef GS +#undef SS +#endif + namespace llvm { class formatted_raw_ostream; class MCAsmBackend; [FILE:582:patches/patch-tools_llvm-shlib_CMakeLists.txt] Use the Linux style linking everywhere except Darwin and SunOS. --- tools/llvm-shlib/CMakeLists.txt.orig 2024-10-29 10:09:39 UTC +++ tools/llvm-shlib/CMakeLists.txt @@ -44,6 +44,8 @@ if(LLVM_BUILD_LLVM_DYLIB) list(REMOVE_DUPLICATES LIB_NAMES) 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