Update LLVM/Clang snapshot to r168187 for various bug fixes. trunk
authorjoerg <joerg@NetBSD.org>
Sat, 17 Nov 2012 04:57:25 +0000
branchtrunk
changeset 214542 85d6740b739f
parent 214541 02056582e8c5
child 214543 8a21c4b042d1
Update LLVM/Clang snapshot to r168187 for various bug fixes.
distrib/sets/lists/comp/md.amd64
distrib/sets/lists/comp/md.i386
external/bsd/llvm/Makefile.inc
external/bsd/llvm/bin/Makefile
external/bsd/llvm/bin/llvm-symbolizer/Makefile
external/bsd/llvm/include/Makefile
external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
external/bsd/llvm/lib/libLLVMAnalysis/Makefile
external/bsd/llvm/lib/libLLVMMCJIT/Makefile
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
external/bsd/llvm/lib/libLLVMTarget/Makefile
external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile
external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
--- a/distrib/sets/lists/comp/md.amd64	Fri Nov 16 15:00:18 2012 +0000
+++ b/distrib/sets/lists/comp/md.amd64	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.181 2012/11/15 18:51:55 christos Exp $
+# $NetBSD: md.amd64,v 1.182 2012/11/17 04:57:25 joerg Exp $
 ./usr/include/amd64				comp-c-include
 ./usr/include/amd64/ansi.h			comp-c-include
 ./usr/include/amd64/aout_machdep.h		comp-c-include
@@ -87,6 +87,8 @@
 ./usr/include/clang-3.0/wmmintrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/x86intrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/xmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.2/__wmmintrin_aes.h	comp-c-include		llvm
+./usr/include/clang-3.2/__wmmintrin_pclmul.h	comp-c-include		llvm
 ./usr/include/clang-3.2/ammintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/avxintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/avx2intrin.h		comp-c-include		llvm
@@ -104,6 +106,7 @@
 ./usr/include/clang-3.2/nmmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/pmmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/popcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.2/rtmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/smmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/tmmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/wmmintrin.h		comp-c-include		llvm
--- a/distrib/sets/lists/comp/md.i386	Fri Nov 16 15:00:18 2012 +0000
+++ b/distrib/sets/lists/comp/md.i386	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.130 2012/11/05 20:01:38 alnsn Exp $
+# $NetBSD: md.i386,v 1.131 2012/11/17 04:57:26 joerg Exp $
 ./usr/include/clang-3.0/avxintrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/avx2intrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/bmi2intrin.h		comp-obsolete		obsolete
@@ -18,6 +18,8 @@
 ./usr/include/clang-3.0/wmmintrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/x86intrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/xmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.2/__wmmintrin_aes.h	comp-c-include		llvm
+./usr/include/clang-3.2/__wmmintrin_pclmul.h	comp-c-include		llvm
 ./usr/include/clang-3.2/ammintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/avxintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/avx2intrin.h		comp-c-include		llvm
@@ -35,6 +37,7 @@
 ./usr/include/clang-3.2/nmmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/pmmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/popcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.2/rtmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/smmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/tmmintrin.h		comp-c-include		llvm
 ./usr/include/clang-3.2/wmmintrin.h		comp-c-include		llvm
--- a/external/bsd/llvm/Makefile.inc	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/Makefile.inc	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.42 2012/10/28 17:07:44 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.43 2012/11/17 04:57:26 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -7,7 +7,7 @@
 
 SVN_ROOT=		http://llvm.org/svn/llvm-project
 
-COMMON_REVISION=	166772
+COMMON_REVISION=	168187
 LLVM_REVISION=		${COMMON_REVISION}
 CLANG_REVISION=		${COMMON_REVISION}
 COMPILER_RT_REVISION=	${COMMON_REVISION}
--- a/external/bsd/llvm/bin/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/bin/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2012/04/29 19:19:04 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2012/11/17 04:57:26 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -26,6 +26,7 @@
 	llvm-ranlib \
 	llvm-readobj \
 	llvm-size \
+	llvm-symbolizer \
 	macho-dumpx \
 	opt
 .endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/bin/llvm-symbolizer/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -0,0 +1,19 @@
+#	$NetBSD: Makefile,v 1.1 2012/11/17 04:57:26 joerg Exp $
+
+PROG_CXX=	llvm-symbolizer
+NOMAN=		yes
+
+.include <bsd.init.mk>
+
+.PATH: ${LLVM_SRCDIR}/tools/llvm-symbolizer
+
+SRCS=	llvm-symbolizer.cpp
+
+LLVM_LIBS+= \
+	DebugInfo \
+	Object \
+	Support
+
+.include "${.PARSEDIR}/../../link.mk"
+
+.include <bsd.prog.mk>
--- a/external/bsd/llvm/include/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/include/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,11 +1,13 @@
-#	$NetBSD: Makefile,v 1.14 2012/10/28 17:07:45 joerg Exp $
+#	$NetBSD: Makefile,v 1.15 2012/11/17 04:57:27 joerg Exp $
 
 .include <bsd.init.mk>
 
 .PATH:	${CLANG_SRCDIR}/lib/Headers
 
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-INCS=	ammintrin.h \
+INCS=	__wmmintrin_aes.h \
+	__wmmintrin_pclmul.h \
+	ammintrin.h \
 	avx2intrin.h \
 	avxintrin.h \
 	bmi2intrin.h \
@@ -22,6 +24,7 @@
 	nmmintrin.h \
 	pmmintrin.h \
 	popcntintrin.h \
+	rtmintrin.h \
 	smmintrin.h \
 	tmmintrin.h \
 	wmmintrin.h \
--- a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2012/01/11 23:24:47 joerg Exp $
+#	$NetBSD: Makefile,v 1.10 2012/11/17 04:57:27 joerg Exp $
 
 LIB=	LLVMARMCodeGen
 
@@ -12,7 +12,6 @@
 	ARMCodeEmitter.cpp \
 	ARMConstantIslandPass.cpp \
 	ARMConstantPoolValue.cpp \
-	ARMELFWriterInfo.cpp \
 	ARMExpandPseudoInsts.cpp \
 	ARMFastISel.cpp \
 	ARMFrameLowering.cpp \
--- a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2012/10/28 17:07:45 joerg Exp $
+#	$NetBSD: Makefile,v 1.10 2012/11/17 04:57:27 joerg Exp $
 
 LIB=	LLVMAnalysis
 
@@ -19,6 +19,7 @@
 	CaptureTracking.cpp \
 	CodeMetrics.cpp \
 	ConstantFolding.cpp \
+	CostModel.cpp \
 	DbgInfoPrinter.cpp \
 	DependenceAnalysis.cpp \
 	DomPrinter.cpp \
@@ -34,7 +35,6 @@
 	LibCallSemantics.cpp \
 	Lint.cpp \
 	Loads.cpp \
-	LoopDependenceAnalysis.cpp \
 	LoopInfo.cpp \
 	LoopPass.cpp \
 	MemDepPrinter.cpp \
--- a/external/bsd/llvm/lib/libLLVMMCJIT/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMCJIT/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2012/04/04 10:42:03 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2012/11/17 04:57:27 joerg Exp $
 
 LIB=	LLVMMCJIT
 
@@ -6,7 +6,6 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/MCJIT
 
-SRCS+=	MCJIT.cpp \
-	MCJITMemoryManager.cpp
+SRCS+=	MCJIT.cpp
 
 .include <bsd.lib.mk>
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2012/10/28 17:07:45 joerg Exp $
+#	$NetBSD: Makefile,v 1.14 2012/11/17 04:57:27 joerg Exp $
 
 LIB=	LLVMMipsCodeGen
 
@@ -13,7 +13,6 @@
 	MipsAsmPrinter.cpp \
 	MipsCodeEmitter.cpp \
 	MipsDelaySlotFiller.cpp \
-	MipsELFWriterInfo.cpp \
 	MipsFrameLowering.cpp \
 	MipsInstrInfo.cpp \
 	MipsISelDAGToDAG.cpp \
--- a/external/bsd/llvm/lib/libLLVMTarget/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMTarget/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2012/10/28 17:07:46 joerg Exp $
+#	$NetBSD: Makefile,v 1.10 2012/11/17 04:57:27 joerg Exp $
 
 LIB=	LLVMTarget
 
@@ -8,7 +8,6 @@
 
 SRCS+=	Mangler.cpp \
 	Target.cpp \
-	TargetELFWriterInfo.cpp \
 	TargetInstrInfo.cpp \
 	TargetIntrinsicInfo.cpp \
 	TargetJITInfo.cpp \
--- a/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2012/01/11 23:24:48 joerg Exp $
+#	$NetBSD: Makefile,v 1.8 2012/11/17 04:57:27 joerg Exp $
 
 LIB=	LLVMX86CodeGen
 
@@ -9,7 +9,6 @@
 SRCS+=	X86AsmPrinter.cpp \
 	X86COFFMachineModuleInfo.cpp \
 	X86CodeEmitter.cpp \
-	X86ELFWriterInfo.cpp \
 	X86FastISel.cpp \
 	X86FloatingPoint.cpp \
 	X86FrameLowering.cpp \
--- a/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile	Fri Nov 16 15:00:18 2012 +0000
+++ b/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile	Sat Nov 17 04:57:25 2012 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2012/10/28 17:07:47 joerg Exp $
+#	$NetBSD: Makefile,v 1.18 2012/11/17 04:57:27 joerg Exp $
 
 LIB=	clangStaticAnalyzerCheckers
 
@@ -49,6 +49,7 @@
 	ObjCAtSyncChecker.cpp \
 	ObjCContainersASTChecker.cpp \
 	ObjCContainersChecker.cpp \
+	ObjCMissingSuperCallChecker.cpp \
 	ObjCSelfInitChecker.cpp \
 	ObjCUnusedIVarsChecker.cpp \
 	PointerArithChecker.cpp \
@@ -57,6 +58,7 @@
 	RetainCountChecker.cpp \
 	ReturnPointerRangeChecker.cpp \
 	ReturnUndefChecker.cpp \
+	SimpleStreamChecker.cpp \
 	StackAddrEscapeChecker.cpp \
 	StreamChecker.cpp \
 	TaintTesterChecker.cpp \