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 (expand / switch to context 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,12 +1,12 @@
-#	$NetBSD: Makefile.inc,v 1.26 2011/12/11 14:58:50 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.27 2011/12/19 14:07:40 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
 
 .include <bsd.own.mk>
 
-LLVM_REVISION=	146325
-CLANG_REVISION=	146325
+LLVM_REVISION=	146851
+CLANG_REVISION=	146851
 
 LLVM_SRCDIR:=	${.PARSEDIR}/dist/llvm
 CLANG_SRCDIR:=	${.PARSEDIR}/dist/clang

cvs diff -r1.11 -r1.12 src/external/bsd/llvm/lib/libLLVMCodeGen/Attic/Makefile (expand / switch to context 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,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2011/12/11 14:58:50 joerg Exp $
+#	$NetBSD: Makefile,v 1.12 2011/12/19 14:07:40 joerg Exp $
 
 LIB=	LLVMCodeGen
 
@@ -53,6 +53,7 @@
 	MachineFunctionPass.cpp \
 	MachineFunctionPrinterPass.cpp \
 	MachineInstr.cpp \
+	MachineInstrBundle.cpp \
 	MachineLICM.cpp \
 	MachineLoopInfo.cpp \
 	MachineLoopRanges.cpp \
@@ -98,8 +99,10 @@
 	StackSlotColoring.cpp \
 	StrongPHIElimination.cpp \
 	TailDuplication.cpp \
+	TargetFrameLoweringImpl.cpp \
 	TargetInstrInfoImpl.cpp \
 	TargetLoweringObjectFileImpl.cpp \
+	TargetOptionsImpl.cpp \
 	TwoAddressInstructionPass.cpp \
 	UnreachableBlockElim.cpp \
 	VirtRegMap.cpp

cvs diff -r1.6 -r1.7 src/external/bsd/llvm/lib/libLLVMSupport/Attic/Makefile (expand / switch to context 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,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2011/10/11 13:53:59 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2011/12/19 14:07:40 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -32,6 +32,7 @@
 	IntervalMap.cpp \
 	IsInf.cpp \
 	IsNAN.cpp \
+	JSONParser.cpp \
 	ManagedStatic.cpp \
 	MemoryBuffer.cpp \
 	MemoryObject.cpp \

cvs diff -r1.5 -r1.6 src/external/bsd/llvm/lib/libLLVMTarget/Attic/Makefile (expand / switch to context 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,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2011/09/01 12:24:36 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2011/12/19 14:07:40 joerg Exp $
 
 LIB=	LLVMTarget
 
@@ -10,7 +10,6 @@
 	Target.cpp \
 	TargetData.cpp \
 	TargetELFWriterInfo.cpp \
-	TargetFrameLowering.cpp \
 	TargetInstrInfo.cpp \
 	TargetIntrinsicInfo.cpp \
 	TargetLibraryInfo.cpp \

cvs diff -r1.6 -r1.7 src/external/bsd/llvm/lib/libLLVMTransformsUtils/Attic/Makefile (expand / switch to context 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,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2011/12/11 14:58:50 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2011/12/19 14:07:40 joerg Exp $
 
 LIB=	LLVMTransformsUtils
 
@@ -13,6 +13,7 @@
 	BuildLibCalls.cpp \
 	CloneFunction.cpp \
 	CloneModule.cpp \
+	CmpInstAnalysis.cpp \
 	CodeExtractor.cpp \
 	DemoteRegToStack.cpp \
 	InlineFunction.cpp \

cvs diff -r1.1 -r1.2 src/external/bsd/llvm/lib/libclangDriver/Attic/Makefile (expand / switch to context 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,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/12/19 14:07:40 joerg Exp $
 
 LIB=	clangDriver
 
@@ -23,7 +23,8 @@
 	ToolChain.cpp \
 	ToolChains.cpp \
 	Tools.cpp \
-	Types.cpp
+	Types.cpp \
+	WindowsToolChain.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>

cvs diff -r1.8 -r1.9 src/external/bsd/llvm/lib/libclangFrontend/Attic/Makefile (expand / switch to context 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,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2011/12/11 14:58:50 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2011/12/19 14:07:40 joerg Exp $
 
 LIB=	clangFrontend
 
@@ -15,6 +15,7 @@
 	CompilerInvocation.cpp \
 	CreateInvocationFromCommandLine.cpp \
 	DependencyFile.cpp \
+	DiagnosticRenderer.cpp \
 	FrontendAction.cpp \
 	FrontendActions.cpp \
 	FrontendOptions.cpp \