diff options
author | ed <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
commit | a5ff04df0c5f4b642a594c530f576639e26f2373 (patch) | |
tree | cf1741ab081fba2ece29e6b3366c3e9467421527 /lib/clang | |
parent | 7498eef5fc5fdc5a35ecd4d307aba4aa492ae29c (diff) | |
download | FreeBSD-src-a5ff04df0c5f4b642a594c530f576639e26f2373.zip FreeBSD-src-a5ff04df0c5f4b642a594c530f576639e26f2373.tar.gz |
Remove unneeded files from the build.
I used the following command to determine which source files were
unneeded:
| for i in `find lib/clang -name '*.o'`
| do
| MATCHES="`(nm -g --defined-only $i; nm -g --defined-only \
| usr.bin/clang/clang/clang) | sed -e 's/.* //' | \
| sort | uniq -d | wc -l`"
| [ $MATCHES -eq 0 ] && echo "$i: unneeded"
| done
This should slightly improve the build times.
Diffstat (limited to 'lib/clang')
-rw-r--r-- | lib/clang/clang.build.mk | 2 | ||||
-rw-r--r-- | lib/clang/libllvmanalysis/Makefile | 8 | ||||
-rw-r--r-- | lib/clang/libllvmbitreader/Makefile | 2 | ||||
-rw-r--r-- | lib/clang/libllvmbitwriter/Makefile | 2 | ||||
-rw-r--r-- | lib/clang/libllvmcodegen/Makefile | 29 | ||||
-rw-r--r-- | lib/clang/libllvmcore/Makefile | 4 | ||||
-rw-r--r-- | lib/clang/libllvmipo/Makefile | 9 | ||||
-rw-r--r-- | lib/clang/libllvmmc/Makefile | 11 | ||||
-rw-r--r-- | lib/clang/libllvmscalaropts/Makefile | 2 | ||||
-rw-r--r-- | lib/clang/libllvmsupport/Makefile | 18 | ||||
-rw-r--r-- | lib/clang/libllvmsystem/Makefile | 5 | ||||
-rw-r--r-- | lib/clang/libllvmtarget/Makefile | 5 |
12 files changed, 46 insertions, 51 deletions
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index bfbcea5..a42e011 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -17,7 +17,7 @@ TARGET_ARCH?= ${MACHINE_ARCH} # XXX: 8.0, to keep __FreeBSD_cc_version happy CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\" \ -DCLANG_VENDOR=\"FreeBSD\ \" -DSVN_REVISION=\"104832\" \ - -DCLANG_VENDOR_SUFFIX=\"\ 20100614\" + -DCLANG_VENDOR_SUFFIX=\"\ 20100615\" .PATH: ${LLVM_SRCS}/${SRCDIR} diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index 85da772..1297cb8 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -10,15 +10,15 @@ SRCS= AliasAnalysis.cpp AliasAnalysisCounter.cpp \ DbgInfoPrinter.cpp DebugInfo.cpp IVUsers.cpp InlineCost.cpp \ InstCount.cpp InstructionSimplify.cpp Interval.cpp \ IntervalPartition.cpp LazyValueInfo.cpp \ - LibCallAliasAnalysis.cpp LibCallSemantics.cpp Lint.cpp \ - LiveValues.cpp LoopDependenceAnalysis.cpp LoopInfo.cpp \ - LoopPass.cpp MemoryBuiltins.cpp MemoryDependenceAnalysis.cpp \ + LibCallAliasAnalysis.cpp Lint.cpp LiveValues.cpp \ + LoopDependenceAnalysis.cpp LoopInfo.cpp LoopPass.cpp \ + MemoryBuiltins.cpp MemoryDependenceAnalysis.cpp \ PHITransAddr.cpp PointerTracking.cpp PostDominators.cpp \ ProfileEstimatorPass.cpp ProfileInfo.cpp ProfileInfoLoader.cpp \ ProfileInfoLoaderPass.cpp ProfileVerifierPass.cpp \ ScalarEvolution.cpp ScalarEvolutionAliasAnalysis.cpp \ ScalarEvolutionExpander.cpp ScalarEvolutionNormalization.cpp \ - SparsePropagation.cpp Trace.cpp ValueTracking.cpp + SparsePropagation.cpp ValueTracking.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmbitreader/Makefile b/lib/clang/libllvmbitreader/Makefile index e43f0f2..b955f0c 100644 --- a/lib/clang/libllvmbitreader/Makefile +++ b/lib/clang/libllvmbitreader/Makefile @@ -3,7 +3,7 @@ LIB= llvmbitreader SRCDIR= lib/Bitcode/Reader -SRCS= BitReader.cpp BitcodeReader.cpp +SRCS= BitcodeReader.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmbitwriter/Makefile b/lib/clang/libllvmbitwriter/Makefile index 82f5cc1..fbfa453 100644 --- a/lib/clang/libllvmbitwriter/Makefile +++ b/lib/clang/libllvmbitwriter/Makefile @@ -3,7 +3,7 @@ LIB= llvmbitwriter SRCDIR= lib/Bitcode/Writer -SRCS= BitWriter.cpp BitcodeWriter.cpp BitcodeWriterPass.cpp \ +SRCS= BitcodeWriter.cpp BitcodeWriterPass.cpp \ ValueEnumerator.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index 40ae083..e233226 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -7,21 +7,20 @@ SRCS= AggressiveAntiDepBreaker.cpp Analysis.cpp BranchFolding.cpp \ CalcSpillWeights.cpp CodePlacementOpt.cpp \ CriticalAntiDepBreaker.cpp DeadMachineInstructionElim.cpp \ DwarfEHPrepare.cpp ELFCodeEmitter.cpp ELFWriter.cpp \ - ExactHazardRecognizer.cpp GCMetadata.cpp GCMetadataPrinter.cpp \ - GCStrategy.cpp IfConversion.cpp IntrinsicLowering.cpp \ - LLVMTargetMachine.cpp LatencyPriorityQueue.cpp \ - LiveInterval.cpp LiveIntervalAnalysis.cpp \ - LiveStackAnalysis.cpp LiveVariables.cpp LowerSubregs.cpp \ - MachineBasicBlock.cpp MachineCSE.cpp MachineDominators.cpp \ - MachineFunction.cpp MachineFunctionAnalysis.cpp \ - MachineFunctionPass.cpp MachineFunctionPrinterPass.cpp \ - MachineInstr.cpp MachineLICM.cpp MachineLoopInfo.cpp \ - MachineModuleInfo.cpp MachineModuleInfoImpls.cpp \ - MachinePassRegistry.cpp MachineRegisterInfo.cpp \ - MachineSSAUpdater.cpp MachineSink.cpp MachineVerifier.cpp \ - ObjectCodeEmitter.cpp OcamlGC.cpp OptimizeExts.cpp \ - OptimizePHIs.cpp PHIElimination.cpp Passes.cpp \ - PostRASchedulerList.cpp PreAllocSplitting.cpp \ + ExactHazardRecognizer.cpp GCMetadata.cpp GCStrategy.cpp \ + IfConversion.cpp IntrinsicLowering.cpp LLVMTargetMachine.cpp \ + LatencyPriorityQueue.cpp LiveInterval.cpp \ + LiveIntervalAnalysis.cpp LiveStackAnalysis.cpp \ + LiveVariables.cpp LowerSubregs.cpp MachineBasicBlock.cpp \ + MachineCSE.cpp MachineDominators.cpp MachineFunction.cpp \ + MachineFunctionAnalysis.cpp MachineFunctionPass.cpp \ + MachineFunctionPrinterPass.cpp MachineInstr.cpp \ + MachineLICM.cpp MachineLoopInfo.cpp MachineModuleInfo.cpp \ + MachineModuleInfoImpls.cpp MachinePassRegistry.cpp \ + MachineRegisterInfo.cpp MachineSSAUpdater.cpp MachineSink.cpp \ + MachineVerifier.cpp ObjectCodeEmitter.cpp OcamlGC.cpp \ + OptimizeExts.cpp OptimizePHIs.cpp PHIElimination.cpp \ + Passes.cpp PostRASchedulerList.cpp PreAllocSplitting.cpp \ ProcessImplicitDefs.cpp PrologEpilogInserter.cpp \ PseudoSourceValue.cpp RegAllocFast.cpp RegAllocLinearScan.cpp \ RegAllocLocal.cpp RegAllocPBQP.cpp RegisterCoalescer.cpp \ diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index 9d5fab2..c8de7bb 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -5,8 +5,8 @@ LIB= llvmcore SRCDIR= lib/VMCore SRCS= AsmWriter.cpp Attributes.cpp AutoUpgrade.cpp BasicBlock.cpp \ ConstantFold.cpp Constants.cpp Core.cpp DebugLoc.cpp \ - Dominators.cpp Function.cpp GVMaterializer.cpp Globals.cpp \ - IRBuilder.cpp InlineAsm.cpp Instruction.cpp Instructions.cpp \ + Dominators.cpp Function.cpp Globals.cpp IRBuilder.cpp \ + InlineAsm.cpp Instruction.cpp Instructions.cpp \ IntrinsicInst.cpp LLVMContext.cpp LLVMContextImpl.cpp \ LeakDetector.cpp Metadata.cpp Module.cpp Pass.cpp \ PassManager.cpp PrintModulePass.cpp Type.cpp \ diff --git a/lib/clang/libllvmipo/Makefile b/lib/clang/libllvmipo/Makefile index ab58283..defcec8 100644 --- a/lib/clang/libllvmipo/Makefile +++ b/lib/clang/libllvmipo/Makefile @@ -6,11 +6,10 @@ SRCDIR= lib/Transforms/IPO SRCS= ArgumentPromotion.cpp ConstantMerge.cpp \ DeadArgumentElimination.cpp DeadTypeElimination.cpp \ ExtractGV.cpp FunctionAttrs.cpp GlobalDCE.cpp GlobalOpt.cpp \ - IPConstantPropagation.cpp IPO.cpp InlineAlways.cpp \ - InlineSimple.cpp Inliner.cpp Internalize.cpp LoopExtractor.cpp \ - LowerSetJmp.cpp MergeFunctions.cpp PartialSpecialization.cpp \ - PruneEH.cpp StripDeadPrototypes.cpp StripSymbols.cpp \ - StructRetPromotion.cpp + IPConstantPropagation.cpp InlineAlways.cpp InlineSimple.cpp \ + Inliner.cpp Internalize.cpp LoopExtractor.cpp LowerSetJmp.cpp \ + MergeFunctions.cpp PartialSpecialization.cpp PruneEH.cpp \ + StripDeadPrototypes.cpp StripSymbols.cpp StructRetPromotion.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index afe9731..84d29c8 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -5,11 +5,10 @@ LIB= llvmmc SRCDIR= lib/MC SRCS= MCAsmInfo.cpp MCAsmInfoCOFF.cpp MCAsmInfoDarwin.cpp \ MCAsmStreamer.cpp MCAssembler.cpp MCCodeEmitter.cpp \ - MCContext.cpp MCDisassembler.cpp MCExpr.cpp MCInst.cpp \ - MCInstPrinter.cpp MCLoggingStreamer.cpp MCMachOStreamer.cpp \ - MCNullStreamer.cpp MCObjectWriter.cpp MCSection.cpp \ - MCSectionCOFF.cpp MCSectionELF.cpp MCSectionMachO.cpp \ - MCStreamer.cpp MCSymbol.cpp MCValue.cpp MachObjectWriter.cpp \ - TargetAsmBackend.cpp + MCContext.cpp MCExpr.cpp MCInst.cpp MCInstPrinter.cpp \ + MCLoggingStreamer.cpp MCMachOStreamer.cpp MCNullStreamer.cpp \ + MCObjectWriter.cpp MCSection.cpp MCSectionCOFF.cpp \ + MCSectionELF.cpp MCSectionMachO.cpp MCStreamer.cpp \ + MCSymbol.cpp MachObjectWriter.cpp TargetAsmBackend.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index b6ee5cf..5d181cb 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -9,7 +9,7 @@ SRCS= ADCE.cpp BasicBlockPlacement.cpp CodeGenPrepare.cpp \ LICM.cpp LoopDeletion.cpp LoopIndexSplit.cpp LoopRotation.cpp \ LoopStrengthReduce.cpp LoopUnrollPass.cpp LoopUnswitch.cpp \ MemCpyOptimizer.cpp Reassociate.cpp Reg2Mem.cpp SCCP.cpp \ - Scalar.cpp ScalarReplAggregates.cpp SimplifyCFGPass.cpp \ + ScalarReplAggregates.cpp SimplifyCFGPass.cpp \ SimplifyHalfPowrLibCalls.cpp SimplifyLibCalls.cpp \ TailDuplication.cpp TailRecursionElimination.cpp diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index d113989..fbc074c 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -6,14 +6,14 @@ SRCDIR= lib/Support SRCS= APFloat.cpp APInt.cpp APSInt.cpp Allocator.cpp CommandLine.cpp \ ConstantRange.cpp Debug.cpp DeltaAlgorithm.cpp Dwarf.cpp \ ErrorHandling.cpp FileUtilities.cpp FoldingSet.cpp \ - FormattedStream.cpp GraphWriter.cpp IsInf.cpp IsNAN.cpp \ - ManagedStatic.cpp MemoryBuffer.cpp MemoryObject.cpp \ - PluginLoader.cpp PrettyStackTrace.cpp Regex.cpp \ - SlowOperationInformer.cpp SmallPtrSet.cpp SmallVector.cpp \ - SourceMgr.cpp Statistic.cpp StringExtras.cpp StringMap.cpp \ - StringPool.cpp StringRef.cpp SystemUtils.cpp \ - TargetRegistry.cpp Timer.cpp Triple.cpp Twine.cpp \ - circular_raw_ostream.cpp raw_os_ostream.cpp raw_ostream.cpp \ - regcomp.c regerror.c regexec.c regfree.c regstrlcpy.c + FormattedStream.cpp GraphWriter.cpp ManagedStatic.cpp \ + MemoryBuffer.cpp MemoryObject.cpp PluginLoader.cpp \ + PrettyStackTrace.cpp Regex.cpp SlowOperationInformer.cpp \ + SmallPtrSet.cpp SmallVector.cpp SourceMgr.cpp Statistic.cpp \ + StringExtras.cpp StringMap.cpp StringPool.cpp StringRef.cpp \ + SystemUtils.cpp TargetRegistry.cpp Timer.cpp Triple.cpp \ + Twine.cpp circular_raw_ostream.cpp raw_os_ostream.cpp \ + raw_ostream.cpp regcomp.c regerror.c regexec.c regfree.c \ + regstrlcpy.c .include "../clang.lib.mk" diff --git a/lib/clang/libllvmsystem/Makefile b/lib/clang/libllvmsystem/Makefile index ea4f3ba..6274a4d 100644 --- a/lib/clang/libllvmsystem/Makefile +++ b/lib/clang/libllvmsystem/Makefile @@ -3,9 +3,8 @@ LIB= llvmsystem SRCDIR= lib/System -SRCS= Alarm.cpp Atomic.cpp Disassembler.cpp DynamicLibrary.cpp \ - Errno.cpp Host.cpp IncludeFile.cpp Memory.cpp Mutex.cpp \ - Path.cpp Process.cpp Program.cpp RWMutex.cpp \ +SRCS= Atomic.cpp DynamicLibrary.cpp Errno.cpp Host.cpp Memory.cpp \ + Mutex.cpp Path.cpp Process.cpp Program.cpp RWMutex.cpp \ SearchForAddressOfSpecialSymbol.cpp Signals.cpp \ ThreadLocal.cpp Threading.cpp TimeValue.cpp Valgrind.cpp diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile index c49d9d2..d468331 100644 --- a/lib/clang/libllvmtarget/Makefile +++ b/lib/clang/libllvmtarget/Makefile @@ -5,8 +5,7 @@ LIB= llvmtarget SRCDIR= lib/Target SRCS= Mangler.cpp SubtargetFeature.cpp Target.cpp TargetAsmLexer.cpp \ TargetData.cpp TargetELFWriterInfo.cpp TargetFrameInfo.cpp \ - TargetInstrInfo.cpp TargetIntrinsicInfo.cpp \ - TargetLoweringObjectFile.cpp TargetMachine.cpp \ - TargetRegisterInfo.cpp TargetSubtarget.cpp + TargetInstrInfo.cpp TargetLoweringObjectFile.cpp \ + TargetMachine.cpp TargetRegisterInfo.cpp TargetSubtarget.cpp .include "../clang.lib.mk" |