Mon Dec 19 14:07:40 2011 UTC ()
Update LLVM/Clang snapshot to r146851. Most noticable, this fixes the
vfork issues with RUMP depending on inlining certain functions and a bad
stdio simplification.


(joerg)
diff -r1.26 -r1.27 src/external/bsd/llvm/Makefile.inc
diff -r1.11 -r1.12 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile
diff -r1.6 -r1.7 src/external/bsd/llvm/lib/libLLVMSupport/Makefile
diff -r1.5 -r1.6 src/external/bsd/llvm/lib/libLLVMTarget/Makefile
diff -r1.6 -r1.7 src/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile
diff -r1.1 -r1.2 src/external/bsd/llvm/lib/libclangDriver/Makefile
diff -r1.8 -r1.9 src/external/bsd/llvm/lib/libclangFrontend/Makefile

cvs diff -r1.26 -r1.27 src/external/bsd/llvm/Attic/Makefile.inc (switch to unified diff)

--- src/external/bsd/llvm/Attic/Makefile.inc 2011/12/11 14:58:50 1.26
+++ src/external/bsd/llvm/Attic/Makefile.inc 2011/12/19 14:07:40 1.27
@@ -1,31 +1,31 @@ @@ -1,31 +1,31 @@
1# $NetBSD: Makefile.inc,v 1.26 2011/12/11 14:58:50 joerg Exp $ 1# $NetBSD: Makefile.inc,v 1.27 2011/12/19 14:07:40 joerg Exp $
2 2
3.if !defined(LLVM_TOPLEVEL_MK) 3.if !defined(LLVM_TOPLEVEL_MK)
4LLVM_TOPLEVEL_MK= 4LLVM_TOPLEVEL_MK=
5 5
6.include <bsd.own.mk> 6.include <bsd.own.mk>
7 7
8LLVM_REVISION= 146325 8LLVM_REVISION= 146851
9CLANG_REVISION= 146325 9CLANG_REVISION= 146851
10 10
11LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm 11LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
12CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang 12CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
13LLVM_TOPLEVEL:= ${.PARSEDIR} 13LLVM_TOPLEVEL:= ${.PARSEDIR}
14 14
15CPPFLAGS+= -I. -I${LLVM_SRCDIR}/include -I${CLANG_SRCDIR}/include \ 15CPPFLAGS+= -I. -I${LLVM_SRCDIR}/include -I${CLANG_SRCDIR}/include \
16 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS \ 16 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS \
17 -D__STDC_FORMAT_MACROS 17 -D__STDC_FORMAT_MACROS
18 18
19.if defined(HOSTLIB) || defined(HOSTPROG) 19.if defined(HOSTLIB) || defined(HOSTPROG)
20LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include 20LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include
21LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR} 21LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR}
22LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR} 22LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR}
23HOST_CPPFLAGS+= ${CPPFLAGS} 23HOST_CPPFLAGS+= ${CPPFLAGS}
24HOST_CXXFLAGS+= -O2 -g 24HOST_CXXFLAGS+= -O2 -g
25.else 25.else
26LLVM_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config 26LLVM_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config
27LLVM_INCLUDE_OBJDIR!= cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR} 27LLVM_INCLUDE_OBJDIR!= cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR}
28.endif 28.endif
29CPPFLAGS+= -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG} 29CPPFLAGS+= -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG}
30 30
31.endif 31.endif

cvs diff -r1.11 -r1.12 src/external/bsd/llvm/lib/libLLVMCodeGen/Attic/Makefile (switch to unified diff)

--- src/external/bsd/llvm/lib/libLLVMCodeGen/Attic/Makefile 2011/12/11 14:58:50 1.11
+++ src/external/bsd/llvm/lib/libLLVMCodeGen/Attic/Makefile 2011/12/19 14:07:40 1.12
@@ -1,113 +1,116 @@ @@ -1,113 +1,116 @@
1# $NetBSD: Makefile,v 1.11 2011/12/11 14:58:50 joerg Exp $ 1# $NetBSD: Makefile,v 1.12 2011/12/19 14:07:40 joerg Exp $
2 2
3LIB= LLVMCodeGen 3LIB= LLVMCodeGen
4 4
5.include <bsd.init.mk> 5.include <bsd.init.mk>
6 6
7.PATH: ${LLVM_SRCDIR}/lib/CodeGen 7.PATH: ${LLVM_SRCDIR}/lib/CodeGen
8 8
9SRCS+= AggressiveAntiDepBreaker.cpp \ 9SRCS+= AggressiveAntiDepBreaker.cpp \
10 AllocationOrder.cpp \ 10 AllocationOrder.cpp \
11 Analysis.cpp \ 11 Analysis.cpp \
12 BranchFolding.cpp \ 12 BranchFolding.cpp \
13 CalcSpillWeights.cpp \ 13 CalcSpillWeights.cpp \
14 CallingConvLower.cpp \ 14 CallingConvLower.cpp \
15 CodeGen.cpp \ 15 CodeGen.cpp \
16 CodePlacementOpt.cpp \ 16 CodePlacementOpt.cpp \
17 CriticalAntiDepBreaker.cpp \ 17 CriticalAntiDepBreaker.cpp \
18 DeadMachineInstructionElim.cpp \ 18 DeadMachineInstructionElim.cpp \
19 DwarfEHPrepare.cpp \ 19 DwarfEHPrepare.cpp \
20 EdgeBundles.cpp \ 20 EdgeBundles.cpp \
21 ELFCodeEmitter.cpp \ 21 ELFCodeEmitter.cpp \
22 ELFWriter.cpp \ 22 ELFWriter.cpp \
23 ExecutionDepsFix.cpp \ 23 ExecutionDepsFix.cpp \
24 ExpandISelPseudos.cpp \ 24 ExpandISelPseudos.cpp \
25 ExpandPostRAPseudos.cpp \ 25 ExpandPostRAPseudos.cpp \
26 GCMetadata.cpp \ 26 GCMetadata.cpp \
27 GCMetadataPrinter.cpp \ 27 GCMetadataPrinter.cpp \
28 GCStrategy.cpp \ 28 GCStrategy.cpp \
29 IfConversion.cpp \ 29 IfConversion.cpp \
30 InlineSpiller.cpp \ 30 InlineSpiller.cpp \
31 InterferenceCache.cpp \ 31 InterferenceCache.cpp \
32 IntrinsicLowering.cpp \ 32 IntrinsicLowering.cpp \
33 LLVMTargetMachine.cpp \ 33 LLVMTargetMachine.cpp \
34 LatencyPriorityQueue.cpp \ 34 LatencyPriorityQueue.cpp \
35 LexicalScopes.cpp \ 35 LexicalScopes.cpp \
36 LiveDebugVariables.cpp \ 36 LiveDebugVariables.cpp \
37 LiveInterval.cpp \ 37 LiveInterval.cpp \
38 LiveIntervalAnalysis.cpp \ 38 LiveIntervalAnalysis.cpp \
39 LiveIntervalUnion.cpp \ 39 LiveIntervalUnion.cpp \
40 LiveRangeCalc.cpp \ 40 LiveRangeCalc.cpp \
41 LiveStackAnalysis.cpp \ 41 LiveStackAnalysis.cpp \
42 LiveVariables.cpp \ 42 LiveVariables.cpp \
43 LiveRangeEdit.cpp \ 43 LiveRangeEdit.cpp \
44 LocalStackSlotAllocation.cpp \ 44 LocalStackSlotAllocation.cpp \
45 MachineBasicBlock.cpp \ 45 MachineBasicBlock.cpp \
46 MachineBranchProbabilityInfo.cpp \ 46 MachineBranchProbabilityInfo.cpp \
47 MachineBlockFrequencyInfo.cpp \ 47 MachineBlockFrequencyInfo.cpp \
48 MachineBlockPlacement.cpp \ 48 MachineBlockPlacement.cpp \
49 MachineCSE.cpp \ 49 MachineCSE.cpp \
50 MachineDominators.cpp \ 50 MachineDominators.cpp \
51 MachineFunction.cpp \ 51 MachineFunction.cpp \
52 MachineFunctionAnalysis.cpp \ 52 MachineFunctionAnalysis.cpp \
53 MachineFunctionPass.cpp \ 53 MachineFunctionPass.cpp \
54 MachineFunctionPrinterPass.cpp \ 54 MachineFunctionPrinterPass.cpp \
55 MachineInstr.cpp \ 55 MachineInstr.cpp \
 56 MachineInstrBundle.cpp \
56 MachineLICM.cpp \ 57 MachineLICM.cpp \
57 MachineLoopInfo.cpp \ 58 MachineLoopInfo.cpp \
58 MachineLoopRanges.cpp \ 59 MachineLoopRanges.cpp \
59 MachineModuleInfo.cpp \ 60 MachineModuleInfo.cpp \
60 MachineModuleInfoImpls.cpp \ 61 MachineModuleInfoImpls.cpp \
61 MachinePassRegistry.cpp \ 62 MachinePassRegistry.cpp \
62 MachineRegisterInfo.cpp \ 63 MachineRegisterInfo.cpp \
63 MachineSSAUpdater.cpp \ 64 MachineSSAUpdater.cpp \
64 MachineSink.cpp \ 65 MachineSink.cpp \
65 MachineVerifier.cpp \ 66 MachineVerifier.cpp \
66 ObjectCodeEmitter.cpp \ 67 ObjectCodeEmitter.cpp \
67 OcamlGC.cpp \ 68 OcamlGC.cpp \
68 OptimizePHIs.cpp \ 69 OptimizePHIs.cpp \
69 PHIElimination.cpp \ 70 PHIElimination.cpp \
70 PHIEliminationUtils.cpp \ 71 PHIEliminationUtils.cpp \
71 Passes.cpp \ 72 Passes.cpp \
72 PeepholeOptimizer.cpp \ 73 PeepholeOptimizer.cpp \
73 ScoreboardHazardRecognizer.cpp \ 74 ScoreboardHazardRecognizer.cpp \
74 PostRASchedulerList.cpp \ 75 PostRASchedulerList.cpp \
75 ProcessImplicitDefs.cpp \ 76 ProcessImplicitDefs.cpp \
76 PrologEpilogInserter.cpp \ 77 PrologEpilogInserter.cpp \
77 PseudoSourceValue.cpp \ 78 PseudoSourceValue.cpp \
78 RegAllocBasic.cpp \ 79 RegAllocBasic.cpp \
79 RegAllocFast.cpp \ 80 RegAllocFast.cpp \
80 RegAllocGreedy.cpp \ 81 RegAllocGreedy.cpp \
81 RegAllocPBQP.cpp \ 82 RegAllocPBQP.cpp \
82 RegisterClassInfo.cpp \ 83 RegisterClassInfo.cpp \
83 RegisterCoalescer.cpp \ 84 RegisterCoalescer.cpp \
84 RegisterScavenging.cpp \ 85 RegisterScavenging.cpp \
85 RenderMachineFunction.cpp \ 86 RenderMachineFunction.cpp \
86 ScheduleDAG.cpp \ 87 ScheduleDAG.cpp \
87 ScheduleDAGEmit.cpp \ 88 ScheduleDAGEmit.cpp \
88 ScheduleDAGInstrs.cpp \ 89 ScheduleDAGInstrs.cpp \
89 ScheduleDAGPrinter.cpp \ 90 ScheduleDAGPrinter.cpp \
90 ShadowStackGC.cpp \ 91 ShadowStackGC.cpp \
91 ShrinkWrapping.cpp \ 92 ShrinkWrapping.cpp \
92 SjLjEHPrepare.cpp \ 93 SjLjEHPrepare.cpp \
93 SlotIndexes.cpp \ 94 SlotIndexes.cpp \
94 Spiller.cpp \ 95 Spiller.cpp \
95 SpillPlacement.cpp \ 96 SpillPlacement.cpp \
96 SplitKit.cpp \ 97 SplitKit.cpp \
97 StackProtector.cpp \ 98 StackProtector.cpp \
98 StackSlotColoring.cpp \ 99 StackSlotColoring.cpp \
99 StrongPHIElimination.cpp \ 100 StrongPHIElimination.cpp \
100 TailDuplication.cpp \ 101 TailDuplication.cpp \
 102 TargetFrameLoweringImpl.cpp \
101 TargetInstrInfoImpl.cpp \ 103 TargetInstrInfoImpl.cpp \
102 TargetLoweringObjectFileImpl.cpp \ 104 TargetLoweringObjectFileImpl.cpp \
 105 TargetOptionsImpl.cpp \
103 TwoAddressInstructionPass.cpp \ 106 TwoAddressInstructionPass.cpp \
104 UnreachableBlockElim.cpp \ 107 UnreachableBlockElim.cpp \
105 VirtRegMap.cpp 108 VirtRegMap.cpp
106 109
107.if defined(HOSTLIB) 110.if defined(HOSTLIB)
108.include <bsd.hostlib.mk> 111.include <bsd.hostlib.mk>
109# Crashes some versions of GCC 112# Crashes some versions of GCC
110CPPFLAGS.RenderMachineFunction.cpp+= -O0 113CPPFLAGS.RenderMachineFunction.cpp+= -O0
111.else 114.else
112.include <bsd.lib.mk> 115.include <bsd.lib.mk>
113.endif 116.endif

cvs diff -r1.6 -r1.7 src/external/bsd/llvm/lib/libLLVMSupport/Attic/Makefile (switch to unified diff)

--- src/external/bsd/llvm/lib/libLLVMSupport/Attic/Makefile 2011/10/11 13:53:59 1.6
+++ src/external/bsd/llvm/lib/libLLVMSupport/Attic/Makefile 2011/12/19 14:07:40 1.7
@@ -1,103 +1,104 @@ @@ -1,103 +1,104 @@
1# $NetBSD: Makefile,v 1.6 2011/10/11 13:53:59 joerg Exp $ 1# $NetBSD: Makefile,v 1.7 2011/12/19 14:07:40 joerg Exp $
2 2
3LIB= LLVMSupport 3LIB= LLVMSupport
4 4
5NOGCCERROR= yes 5NOGCCERROR= yes
6 6
7.include <bsd.init.mk> 7.include <bsd.init.mk>
8 8
9.PATH: ${LLVM_SRCDIR}/lib/Support 9.PATH: ${LLVM_SRCDIR}/lib/Support
10 10
11SRCS+= APFloat.cpp \ 11SRCS+= APFloat.cpp \
12 APInt.cpp \ 12 APInt.cpp \
13 APSInt.cpp \ 13 APSInt.cpp \
14 Allocator.cpp \ 14 Allocator.cpp \
15 BlockFrequency.cpp \ 15 BlockFrequency.cpp \
16 BranchProbability.cpp \ 16 BranchProbability.cpp \
17 circular_raw_ostream.cpp \ 17 circular_raw_ostream.cpp \
18 CommandLine.cpp \ 18 CommandLine.cpp \
19 ConstantRange.cpp \ 19 ConstantRange.cpp \
20 CrashRecoveryContext.cpp \ 20 CrashRecoveryContext.cpp \
21 DataExtractor.cpp \ 21 DataExtractor.cpp \
22 Debug.cpp \ 22 Debug.cpp \
23 DeltaAlgorithm.cpp \ 23 DeltaAlgorithm.cpp \
24 DAGDeltaAlgorithm.cpp \ 24 DAGDeltaAlgorithm.cpp \
25 Dwarf.cpp \ 25 Dwarf.cpp \
26 ErrorHandling.cpp \ 26 ErrorHandling.cpp \
27 FileUtilities.cpp \ 27 FileUtilities.cpp \
28 FoldingSet.cpp \ 28 FoldingSet.cpp \
29 FormattedStream.cpp \ 29 FormattedStream.cpp \
30 GraphWriter.cpp \ 30 GraphWriter.cpp \
31 IntEqClasses.cpp \ 31 IntEqClasses.cpp \
32 IntervalMap.cpp \ 32 IntervalMap.cpp \
33 IsInf.cpp \ 33 IsInf.cpp \
34 IsNAN.cpp \ 34 IsNAN.cpp \
 35 JSONParser.cpp \
35 ManagedStatic.cpp \ 36 ManagedStatic.cpp \
36 MemoryBuffer.cpp \ 37 MemoryBuffer.cpp \
37 MemoryObject.cpp \ 38 MemoryObject.cpp \
38 PluginLoader.cpp \ 39 PluginLoader.cpp \
39 PrettyStackTrace.cpp \ 40 PrettyStackTrace.cpp \
40 Regex.cpp \ 41 Regex.cpp \
41 SmallPtrSet.cpp \ 42 SmallPtrSet.cpp \
42 SmallVector.cpp \ 43 SmallVector.cpp \
43 SourceMgr.cpp \ 44 SourceMgr.cpp \
44 Statistic.cpp \ 45 Statistic.cpp \
45 StringExtras.cpp \ 46 StringExtras.cpp \
46 StringMap.cpp \ 47 StringMap.cpp \
47 StringPool.cpp \ 48 StringPool.cpp \
48 StringRef.cpp \ 49 StringRef.cpp \
49 SystemUtils.cpp \ 50 SystemUtils.cpp \
50 TargetRegistry.cpp \ 51 TargetRegistry.cpp \
51 Timer.cpp \ 52 Timer.cpp \
52 ToolOutputFile.cpp \ 53 ToolOutputFile.cpp \
53 Triple.cpp \ 54 Triple.cpp \
54 Twine.cpp \ 55 Twine.cpp \
55 raw_os_ostream.cpp \ 56 raw_os_ostream.cpp \
56 raw_ostream.cpp \ 57 raw_ostream.cpp \
57 regcomp.c \ 58 regcomp.c \
58 regerror.c \ 59 regerror.c \
59 regexec.c \ 60 regexec.c \
60 regfree.c \ 61 regfree.c \
61 regstrlcpy.c 62 regstrlcpy.c
62 63
63SRCS+= Atomic.cpp \ 64SRCS+= Atomic.cpp \
64 Disassembler.cpp \ 65 Disassembler.cpp \
65 DynamicLibrary.cpp \ 66 DynamicLibrary.cpp \
66 Errno.cpp \ 67 Errno.cpp \
67 Host.cpp \ 68 Host.cpp \
68 IncludeFile.cpp \ 69 IncludeFile.cpp \
69 Memory.cpp \ 70 Memory.cpp \
70 Mutex.cpp \ 71 Mutex.cpp \
71 Path.cpp \ 72 Path.cpp \
72 PathV2.cpp \ 73 PathV2.cpp \
73 Process.cpp \ 74 Process.cpp \
74 Program.cpp \ 75 Program.cpp \
75 RWMutex.cpp \ 76 RWMutex.cpp \
76 SearchForAddressOfSpecialSymbol.cpp \ 77 SearchForAddressOfSpecialSymbol.cpp \
77 Signals.cpp \ 78 Signals.cpp \
78 system_error.cpp \ 79 system_error.cpp \
79 ThreadLocal.cpp \ 80 ThreadLocal.cpp \
80 Threading.cpp \ 81 Threading.cpp \
81 TimeValue.cpp \ 82 TimeValue.cpp \
82 Valgrind.cpp 83 Valgrind.cpp
83 84
84.PATH: ${LLVM_SRCDIR}/lib/Support/Unix 85.PATH: ${LLVM_SRCDIR}/lib/Support/Unix
85 86
86SRCS+= Host.inc \ 87SRCS+= Host.inc \
87 Memory.inc \ 88 Memory.inc \
88 Mutex.inc \ 89 Mutex.inc \
89 Path.inc \ 90 Path.inc \
90 PathV2.inc \ 91 PathV2.inc \
91 Process.inc \ 92 Process.inc \
92 Program.inc \ 93 Program.inc \
93 RWMutex.inc \ 94 RWMutex.inc \
94 Signals.inc \ 95 Signals.inc \
95 system_error.inc \ 96 system_error.inc \
96 ThreadLocal.inc \ 97 ThreadLocal.inc \
97 TimeValue.inc 98 TimeValue.inc
98 99
99.if defined(HOSTLIB) 100.if defined(HOSTLIB)
100.include <bsd.hostlib.mk> 101.include <bsd.hostlib.mk>
101.else 102.else
102.include <bsd.lib.mk> 103.include <bsd.lib.mk>
103.endif 104.endif

cvs diff -r1.5 -r1.6 src/external/bsd/llvm/lib/libLLVMTarget/Attic/Makefile (switch to unified diff)

--- src/external/bsd/llvm/lib/libLLVMTarget/Attic/Makefile 2011/09/01 12:24:36 1.5
+++ src/external/bsd/llvm/lib/libLLVMTarget/Attic/Makefile 2011/12/19 14:07:40 1.6
@@ -1,26 +1,25 @@ @@ -1,26 +1,25 @@
1# $NetBSD: Makefile,v 1.5 2011/09/01 12:24:36 joerg Exp $ 1# $NetBSD: Makefile,v 1.6 2011/12/19 14:07:40 joerg Exp $
2 2
3LIB= LLVMTarget 3LIB= LLVMTarget
4 4
5.include <bsd.init.mk> 5.include <bsd.init.mk>
6 6
7.PATH: ${LLVM_SRCDIR}/lib/Target 7.PATH: ${LLVM_SRCDIR}/lib/Target
8 8
9SRCS+= Mangler.cpp \ 9SRCS+= Mangler.cpp \
10 Target.cpp \ 10 Target.cpp \
11 TargetData.cpp \ 11 TargetData.cpp \
12 TargetELFWriterInfo.cpp \ 12 TargetELFWriterInfo.cpp \
13 TargetFrameLowering.cpp \ 
14 TargetInstrInfo.cpp \ 13 TargetInstrInfo.cpp \
15 TargetIntrinsicInfo.cpp \ 14 TargetIntrinsicInfo.cpp \
16 TargetLibraryInfo.cpp \ 15 TargetLibraryInfo.cpp \
17 TargetLoweringObjectFile.cpp \ 16 TargetLoweringObjectFile.cpp \
18 TargetMachine.cpp \ 17 TargetMachine.cpp \
19 TargetRegisterInfo.cpp \ 18 TargetRegisterInfo.cpp \
20 TargetSubtargetInfo.cpp 19 TargetSubtargetInfo.cpp
21 20
22.if defined(HOSTLIB) 21.if defined(HOSTLIB)
23.include <bsd.hostlib.mk> 22.include <bsd.hostlib.mk>
24.else 23.else
25.include <bsd.lib.mk> 24.include <bsd.lib.mk>
26.endif 25.endif

cvs diff -r1.6 -r1.7 src/external/bsd/llvm/lib/libLLVMTransformsUtils/Attic/Makefile (switch to unified diff)

--- src/external/bsd/llvm/lib/libLLVMTransformsUtils/Attic/Makefile 2011/12/11 14:58:50 1.6
+++ src/external/bsd/llvm/lib/libLLVMTransformsUtils/Attic/Makefile 2011/12/19 14:07:40 1.7
@@ -1,43 +1,44 @@ @@ -1,43 +1,44 @@
1# $NetBSD: Makefile,v 1.6 2011/12/11 14:58:50 joerg Exp $ 1# $NetBSD: Makefile,v 1.7 2011/12/19 14:07:40 joerg Exp $
2 2
3LIB= LLVMTransformsUtils 3LIB= LLVMTransformsUtils
4 4
5.include <bsd.init.mk> 5.include <bsd.init.mk>
6 6
7.PATH: ${LLVM_SRCDIR}/lib/Transforms/Utils 7.PATH: ${LLVM_SRCDIR}/lib/Transforms/Utils
8 8
9SRCS+= AddrModeMatcher.cpp \ 9SRCS+= AddrModeMatcher.cpp \
10 BasicBlockUtils.cpp \ 10 BasicBlockUtils.cpp \
11 BasicInliner.cpp \ 11 BasicInliner.cpp \
12 BreakCriticalEdges.cpp \ 12 BreakCriticalEdges.cpp \
13 BuildLibCalls.cpp \ 13 BuildLibCalls.cpp \
14 CloneFunction.cpp \ 14 CloneFunction.cpp \
15 CloneModule.cpp \ 15 CloneModule.cpp \
 16 CmpInstAnalysis.cpp \
16 CodeExtractor.cpp \ 17 CodeExtractor.cpp \
17 DemoteRegToStack.cpp \ 18 DemoteRegToStack.cpp \
18 InlineFunction.cpp \ 19 InlineFunction.cpp \
19 InstructionNamer.cpp \ 20 InstructionNamer.cpp \
20 LCSSA.cpp \ 21 LCSSA.cpp \
21 Local.cpp \ 22 Local.cpp \
22 LoopSimplify.cpp \ 23 LoopSimplify.cpp \
23 LoopUnroll.cpp \ 24 LoopUnroll.cpp \
24 LoopUnrollRuntime.cpp \ 25 LoopUnrollRuntime.cpp \
25 LowerExpectIntrinsic.cpp \ 26 LowerExpectIntrinsic.cpp \
26 LowerInvoke.cpp \ 27 LowerInvoke.cpp \
27 LowerSwitch.cpp \ 28 LowerSwitch.cpp \
28 Mem2Reg.cpp \ 29 Mem2Reg.cpp \
29 ModuleUtils.cpp \ 30 ModuleUtils.cpp \
30 PromoteMemoryToRegister.cpp \ 31 PromoteMemoryToRegister.cpp \
31 SSAUpdater.cpp \ 32 SSAUpdater.cpp \
32 SimplifyCFG.cpp \ 33 SimplifyCFG.cpp \
33 SimplifyIndVar.cpp \ 34 SimplifyIndVar.cpp \
34 SimplifyInstructions.cpp \ 35 SimplifyInstructions.cpp \
35 UnifyFunctionExitNodes.cpp \ 36 UnifyFunctionExitNodes.cpp \
36 Utils.cpp \ 37 Utils.cpp \
37 ValueMapper.cpp 38 ValueMapper.cpp
38 39
39.if defined(HOSTLIB) 40.if defined(HOSTLIB)
40.include <bsd.hostlib.mk> 41.include <bsd.hostlib.mk>
41.else 42.else
42.include <bsd.lib.mk> 43.include <bsd.lib.mk>
43.endif 44.endif

cvs diff -r1.1 -r1.2 src/external/bsd/llvm/lib/libclangDriver/Attic/Makefile (switch to unified diff)

--- src/external/bsd/llvm/lib/libclangDriver/Attic/Makefile 2011/02/06 01:14:06 1.1
+++ src/external/bsd/llvm/lib/libclangDriver/Attic/Makefile 2011/12/19 14:07:40 1.2
@@ -1,32 +1,33 @@ @@ -1,32 +1,33 @@
1# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $ 1# $NetBSD: Makefile,v 1.2 2011/12/19 14:07:40 joerg Exp $
2 2
3LIB= clangDriver 3LIB= clangDriver
4 4
5.include <bsd.init.mk> 5.include <bsd.init.mk>
6 6
7.PATH: ${CLANG_SRCDIR}/lib/Driver 7.PATH: ${CLANG_SRCDIR}/lib/Driver
8 8
9SRCS+= Action.cpp \ 9SRCS+= Action.cpp \
10 Arg.cpp \ 10 Arg.cpp \
11 ArgList.cpp \ 11 ArgList.cpp \
12 CC1Options.cpp \ 12 CC1Options.cpp \
13 CC1AsOptions.cpp \ 13 CC1AsOptions.cpp \
14 Compilation.cpp \ 14 Compilation.cpp \
15 Driver.cpp \ 15 Driver.cpp \
16 DriverOptions.cpp \ 16 DriverOptions.cpp \
17 HostInfo.cpp \ 17 HostInfo.cpp \
18 Job.cpp \ 18 Job.cpp \
19 Option.cpp \ 19 Option.cpp \
20 OptTable.cpp \ 20 OptTable.cpp \
21 Phases.cpp \ 21 Phases.cpp \
22 Tool.cpp \ 22 Tool.cpp \
23 ToolChain.cpp \ 23 ToolChain.cpp \
24 ToolChains.cpp \ 24 ToolChains.cpp \
25 Tools.cpp \ 25 Tools.cpp \
26 Types.cpp 26 Types.cpp \
 27 WindowsToolChain.cpp
27 28
28.if defined(HOSTLIB) 29.if defined(HOSTLIB)
29.include <bsd.hostlib.mk> 30.include <bsd.hostlib.mk>
30.else 31.else
31.include <bsd.lib.mk> 32.include <bsd.lib.mk>
32.endif 33.endif

cvs diff -r1.8 -r1.9 src/external/bsd/llvm/lib/libclangFrontend/Attic/Makefile (switch to unified diff)

--- src/external/bsd/llvm/lib/libclangFrontend/Attic/Makefile 2011/12/11 14:58:50 1.8
+++ src/external/bsd/llvm/lib/libclangFrontend/Attic/Makefile 2011/12/19 14:07:40 1.9
@@ -1,39 +1,40 @@ @@ -1,39 +1,40 @@
1# $NetBSD: Makefile,v 1.8 2011/12/11 14:58:50 joerg Exp $ 1# $NetBSD: Makefile,v 1.9 2011/12/19 14:07:40 joerg Exp $
2 2
3LIB= clangFrontend 3LIB= clangFrontend
4 4
5.include <bsd.init.mk> 5.include <bsd.init.mk>
6 6
7.PATH: ${CLANG_SRCDIR}/lib/Frontend 7.PATH: ${CLANG_SRCDIR}/lib/Frontend
8 8
9SRCS+= ASTConsumers.cpp \ 9SRCS+= ASTConsumers.cpp \
10 ASTMerge.cpp \ 10 ASTMerge.cpp \
11 ASTUnit.cpp \ 11 ASTUnit.cpp \
12 CacheTokens.cpp \ 12 CacheTokens.cpp \
13 ChainedIncludesSource.cpp \ 13 ChainedIncludesSource.cpp \
14 CompilerInstance.cpp \ 14 CompilerInstance.cpp \
15 CompilerInvocation.cpp \ 15 CompilerInvocation.cpp \
16 CreateInvocationFromCommandLine.cpp \ 16 CreateInvocationFromCommandLine.cpp \
17 DependencyFile.cpp \ 17 DependencyFile.cpp \
 18 DiagnosticRenderer.cpp \
18 FrontendAction.cpp \ 19 FrontendAction.cpp \
19 FrontendActions.cpp \ 20 FrontendActions.cpp \
20 FrontendOptions.cpp \ 21 FrontendOptions.cpp \
21 HeaderIncludeGen.cpp \ 22 HeaderIncludeGen.cpp \
22 InitHeaderSearch.cpp \ 23 InitHeaderSearch.cpp \
23 InitPreprocessor.cpp \ 24 InitPreprocessor.cpp \
24 LangStandards.cpp \ 25 LangStandards.cpp \
25 LogDiagnosticPrinter.cpp \ 26 LogDiagnosticPrinter.cpp \
26 MultiplexConsumer.cpp \ 27 MultiplexConsumer.cpp \
27 PrintPreprocessedOutput.cpp \ 28 PrintPreprocessedOutput.cpp \
28 SerializedDiagnosticPrinter.cpp \ 29 SerializedDiagnosticPrinter.cpp \
29 TextDiagnostic.cpp \ 30 TextDiagnostic.cpp \
30 TextDiagnosticBuffer.cpp \ 31 TextDiagnosticBuffer.cpp \
31 TextDiagnosticPrinter.cpp \ 32 TextDiagnosticPrinter.cpp \
32 VerifyDiagnosticConsumer.cpp \ 33 VerifyDiagnosticConsumer.cpp \
33 Warnings.cpp 34 Warnings.cpp
34 35
35.if defined(HOSTLIB) 36.if defined(HOSTLIB)
36.include <bsd.hostlib.mk> 37.include <bsd.hostlib.mk>
37.else 38.else
38.include <bsd.lib.mk> 39.include <bsd.lib.mk>
39.endif 40.endif