head 1.3; access; symbols netbsd-11-0-RC5:1.3 netbsd-11-0-RC4:1.3 netbsd-11-0-RC3:1.3 netbsd-11-0-RC2:1.3 netbsd-11-0-RC1:1.3 perseant-exfatfs-base-20250801:1.3 netbsd-11:1.3.0.2 netbsd-11-base:1.3 netbsd-10-1-RELEASE:1.2 perseant-exfatfs-base-20240630:1.3 perseant-exfatfs:1.2.0.6 perseant-exfatfs-base:1.2 netbsd-10-0-RELEASE:1.2 netbsd-10-0-RC6:1.2 netbsd-10-0-RC5:1.2 netbsd-10-0-RC4:1.2 netbsd-10-0-RC3:1.2 netbsd-10-0-RC2:1.2 netbsd-10-0-RC1:1.2 netbsd-10:1.2.0.4 netbsd-10-base:1.2 cjep_sun2x-base1:1.2 cjep_sun2x:1.2.0.2 cjep_sun2x-base:1.2 cjep_staticlib_x-base1:1.2 cjep_staticlib_x:1.1.0.4 cjep_staticlib_x-base:1.1 phil-wifi-20200421:1.1 phil-wifi-20200411:1.1 is-mlppp:1.1.0.2 is-mlppp-base:1.1 phil-wifi-20200406:1.1 phil-wifi-20191119:1.1; locks; strict; comment @# @; 1.3 date 2024.06.30.20.40.04; author mrg; state Exp; branches; next 1.2; commitid ydFYuJEnF0L743gF; 1.2 date 2021.05.30.01.56.51; author joerg; state Exp; branches 1.2.6.1; next 1.1; commitid 3Zpdqzdbkf2q47VC; 1.1 date 2019.11.11.22.45.05; author joerg; state Exp; branches 1.1.4.1; next ; commitid IMynySmLyNzibuKB; 1.2.6.1 date 2024.07.01.00.59.49; author perseant; state Exp; branches; next ; commitid NkoYLLCQWWw9v4gF; 1.1.4.1 date 2021.05.31.22.10.06; author cjep; state Exp; branches; next ; commitid eWz9SBW0XqKjJlVC; desc @@ 1.3 log @apply some -Wno-stringop-overread to fix build with GCC 12.4.0. this warning-as-error happens with MachineDominators.cpp: usr/include/g++/bits/stl_algobase.h:434:30: error: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' r eading between 9 and 9223372036854775807 bytes from a region of size 8 [-Werror=stringop-overread] 434 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); @ text @# $NetBSD: Makefile,v 1.2 2021/05/30 01:56:51 joerg Exp $ LIB= LLVMCodeGen .include .PATH: ${LLVM_SRCDIR}/lib/CodeGen .PATH: ${LLVM_SRCDIR}/lib/CodeGen/LiveDebugValues SRCS+= AggressiveAntiDepBreaker.cpp \ AllocationOrder.cpp \ Analysis.cpp \ AtomicExpandPass.cpp \ BasicBlockSections.cpp \ BasicTargetTransformInfo.cpp \ BranchFolding.cpp \ BranchRelaxation.cpp \ BreakFalseDeps.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CFGuardLongjmp.cpp \ CFIInstrInserter.cpp \ CodeGen.cpp \ CodeGenPassBuilder.cpp \ CodeGenPrepare.cpp \ CommandFlags.cpp \ CriticalAntiDepBreaker.cpp \ DeadMachineInstructionElim.cpp \ DetectDeadLanes.cpp \ DFAPacketizer.cpp \ DwarfEHPrepare.cpp \ EarlyIfConversion.cpp \ EdgeBundles.cpp \ EHContGuardCatchret.cpp \ ExecutionDomainFix.cpp \ ExpandMemCmp.cpp \ ExpandPostRAPseudos.cpp \ ExpandReductions.cpp \ ExpandVectorPredication.cpp \ FaultMaps.cpp \ FEntryInserter.cpp \ FinalizeISel.cpp \ FixupStatepointCallerSaved.cpp \ FuncletLayout.cpp \ GCMetadata.cpp \ GCMetadataPrinter.cpp \ GCRootLowering.cpp \ GlobalMerge.cpp \ HardwareLoops.cpp \ IfConversion.cpp \ ImplicitNullChecks.cpp \ IndirectBrExpandPass.cpp \ InlineSpiller.cpp \ InstrRefBasedImpl.cpp \ InterferenceCache.cpp \ InterleavedAccessPass.cpp \ InterleavedLoadCombinePass.cpp \ IntrinsicLowering.cpp \ LatencyPriorityQueue.cpp \ LazyMachineBlockFrequencyInfo.cpp \ LexicalScopes.cpp \ LiveDebugValues.cpp \ LiveDebugVariables.cpp \ LiveIntervalCalc.cpp \ LiveInterval.cpp \ LiveIntervals.cpp \ LiveIntervalUnion.cpp \ LivePhysRegs.cpp \ LiveRangeCalc.cpp \ LiveRangeEdit.cpp \ LiveRangeShrink.cpp \ LiveRegMatrix.cpp \ LiveRegUnits.cpp \ LiveStacks.cpp \ LiveVariables.cpp \ LLVMTargetMachine.cpp \ LocalStackSlotAllocation.cpp \ LoopTraversal.cpp \ LowerEmuTLS.cpp \ LowLevelType.cpp \ MachineBasicBlock.cpp \ MachineBlockFrequencyInfo.cpp \ MachineBlockPlacement.cpp \ MachineBranchProbabilityInfo.cpp \ MachineCheckDebugify.cpp \ MachineCombiner.cpp \ MachineCopyPropagation.cpp \ MachineCSE.cpp \ MachineDebugify.cpp \ MachineDominanceFrontier.cpp \ MachineDominators.cpp \ MachineFrameInfo.cpp \ MachineFunction.cpp \ MachineFunctionPass.cpp \ MachineFunctionPrinterPass.cpp \ MachineFunctionSplitter.cpp \ MachineInstrBundle.cpp \ MachineInstr.cpp \ MachineLICM.cpp \ MachineLoopInfo.cpp \ MachineLoopUtils.cpp \ MachineModuleInfo.cpp \ MachineModuleInfoImpls.cpp \ MachineOperand.cpp \ MachineOptimizationRemarkEmitter.cpp \ MachineOutliner.cpp \ MachinePassManager.cpp \ MachinePipeliner.cpp \ MachinePostDominators.cpp \ MachineRegionInfo.cpp \ MachineRegisterInfo.cpp \ MachineScheduler.cpp \ MachineSink.cpp \ MachineSizeOpts.cpp \ MachineSSAUpdater.cpp \ MachineStableHash.cpp \ MachineStripDebug.cpp \ MachineTraceMetrics.cpp \ MachineVerifier.cpp \ MacroFusion.cpp \ MBFIWrapper.cpp \ MIRCanonicalizerPass.cpp \ MIRFSDiscriminator.cpp \ MIRNamerPass.cpp \ MIRPrinter.cpp \ MIRPrintingPass.cpp \ MIRVRegNamerUtils.cpp \ MIRYamlMapping.cpp \ ModuloSchedule.cpp \ MultiHazardRecognizer.cpp \ NonRelocatableStringpool.cpp \ OptimizePHIs.cpp \ ParallelCG.cpp \ PatchableFunction.cpp \ PeepholeOptimizer.cpp \ PHIElimination.cpp \ PHIEliminationUtils.cpp \ PostRAHazardRecognizer.cpp \ PostRASchedulerList.cpp \ PreISelIntrinsicLowering.cpp \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoProbeInserter.cpp \ PseudoSourceValue.cpp \ RDFGraph.cpp \ RDFLiveness.cpp \ RDFRegisters.cpp \ ReachingDefAnalysis.cpp \ RegAllocBase.cpp \ RegAllocBasic.cpp \ RegAllocFast.cpp \ RegAllocGreedy.cpp \ RegAllocPBQP.cpp \ RegisterClassInfo.cpp \ RegisterCoalescer.cpp \ RegisterPressure.cpp \ RegisterScavenging.cpp \ RegisterUsageInfo.cpp \ RegUsageInfoCollector.cpp \ RegUsageInfoPropagate.cpp \ RenameIndependentSubregs.cpp \ ReplaceWithVeclib.cpp \ ResetMachineFunctionPass.cpp \ SafeStack.cpp \ SafeStackLayout.cpp \ ScheduleDAG.cpp \ ScheduleDAGInstrs.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ ShadowStackGCLowering.cpp \ ShrinkWrap.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ SpillPlacement.cpp \ SplitKit.cpp \ StackColoring.cpp \ StackMapLivenessAnalysis.cpp \ StackMaps.cpp \ StackProtector.cpp \ StackSlotColoring.cpp \ SwiftErrorValueTracking.cpp \ SwitchLoweringUtils.cpp \ TailDuplication.cpp \ TailDuplicator.cpp \ TargetFrameLoweringImpl.cpp \ TargetInstrInfo.cpp \ TargetLoweringBase.cpp \ TargetLoweringObjectFileImpl.cpp \ TargetOptionsImpl.cpp \ TargetPassConfig.cpp \ TargetRegisterInfo.cpp \ TargetSchedule.cpp \ TargetSubtargetInfo.cpp \ TwoAddressInstructionPass.cpp \ TypePromotion.cpp \ UnreachableBlockElim.cpp \ ValueTypes.cpp \ VarLocBasedImpl.cpp \ VirtRegMap.cpp \ WasmEHPrepare.cpp \ WinEHPrepare.cpp \ XRayInstrumentation.cpp \ .if defined(HOSTLIB) .include .else .include .endif CWARNFLAGS.gcc+= ${CC_WNO_STRINGOP_OVERREAD} @ 1.2 log @Update LLVM build system for 249b40b558955afe5ac2b549edcf2d7f859c8cc9 This enables the use of modules for a significant build performance gain when building with clang as host compiler or when using HAVE_LLVM=yes. Switch libc++ to using the copy from the mono-repo. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2019/11/11 22:45:05 joerg Exp $ d209 2 @ 1.2.6.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/06/30 20:40:04 mrg Exp $ a208 2 CWARNFLAGS.gcc+= ${CC_WNO_STRINGOP_OVERREAD} @ 1.1 log @Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2018/07/17 18:55:27 joerg Exp $ d8 1 a8 1 d14 1 a18 1 BuiltinGCs.cpp \ d24 1 d26 1 d34 1 d39 1 d43 1 a47 1 GCStrategy.cpp \ d54 1 d64 1 d85 1 d89 1 d96 1 d107 1 d116 2 d121 1 d123 1 d128 1 d130 2 d143 1 d145 3 d162 1 a163 1 SafeStackColoring.cpp \ a165 1 ScalarizeMaskedMemIntrin.cpp \ d195 1 d198 1 @ 1.1.4.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2021/05/30 01:56:51 joerg Exp $ d8 1 a8 1 .PATH: ${LLVM_SRCDIR}/lib/CodeGen/LiveDebugValues a13 1 BasicBlockSections.cpp \ d18 1 a23 1 CodeGenPassBuilder.cpp \ a24 1 CommandFlags.cpp \ a31 1 EHContGuardCatchret.cpp \ a35 1 ExpandVectorPredication.cpp \ a38 1 FixupStatepointCallerSaved.cpp \ d43 1 a49 1 InstrRefBasedImpl.cpp \ a58 1 LiveIntervalCalc.cpp \ a78 1 MachineCheckDebugify.cpp \ a81 1 MachineDebugify.cpp \ a87 1 MachineFunctionSplitter.cpp \ a97 1 MachinePassManager.cpp \ a105 2 MachineStableHash.cpp \ MachineStripDebug.cpp \ a108 1 MBFIWrapper.cpp \ a109 1 MIRFSDiscriminator.cpp \ a113 1 MIRYamlMapping.cpp \ a114 2 MultiHazardRecognizer.cpp \ NonRelocatableStringpool.cpp \ a125 1 PseudoProbeInserter.cpp \ a126 3 RDFGraph.cpp \ RDFLiveness.cpp \ RDFRegisters.cpp \ a140 1 ReplaceWithVeclib.cpp \ d142 1 d145 1 a174 1 TypePromotion.cpp \ a176 1 VarLocBasedImpl.cpp \ @