Update LLVM/Clang snapshot to r182734. Brings initial support for trunk
authorjoerg <joerg@NetBSD.org>
Tue, 28 May 2013 17:37:33 +0000
branchtrunk
changeset 218772 4e9b15779c44
parent 218771 63cd3ac6aec1
child 218773 c6a378242444
Update LLVM/Clang snapshot to r182734. Brings initial support for integrated PowerPC assembler.
distrib/sets/lists/base/mi
distrib/sets/lists/comp/ad.powerpc
distrib/sets/lists/comp/md.amd64
distrib/sets/lists/comp/md.i386
external/bsd/llvm/Makefile.inc
external/bsd/llvm/bin/clang/Makefile
external/bsd/llvm/bin/llc/Makefile
external/bsd/llvm/bin/llvm-mc/Makefile
external/bsd/llvm/bin/llvm-objdump/Makefile
external/bsd/llvm/bin/opt/Makefile
external/bsd/llvm/config/clang/Config/config.h
external/bsd/llvm/config/llvm/Config/config.h.in
external/bsd/llvm/config/llvm/Config/llvm-config.h.in
external/bsd/llvm/include/Makefile
external/bsd/llvm/lib/Makefile
external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile
external/bsd/llvm/lib/libLLVMInstrumentation/Makefile
external/bsd/llvm/lib/libLLVMJIT/Makefile
external/bsd/llvm/lib/libLLVMLinker/Makefile
external/bsd/llvm/lib/libLLVMMC/Makefile
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
external/bsd/llvm/lib/libLLVMObject/Makefile
external/bsd/llvm/lib/libLLVMPowerPCAsmParser/Makefile
external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile
external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile
external/bsd/llvm/lib/libLLVMSupport/Makefile
external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile
external/bsd/llvm/lib/libclangASTMatchersDynamic/Makefile
tools/llvm-lib/libLLVMObject/Makefile
tools/llvm-lib/libLLVMPowerPCAsmParser/Makefile
--- a/distrib/sets/lists/base/mi	Tue May 28 17:29:41 2013 +0000
+++ b/distrib/sets/lists/base/mi	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1029 2013/04/27 23:02:17 joerg Exp $
+# $NetBSD: mi,v 1.1030 2013/05/28 17:37:33 joerg Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -808,7 +808,8 @@
 ./usr/include/cdk				base-obsolete		obsolete
 ./usr/include/clang-3.0				base-obsolete		obsolete
 ./usr/include/clang-3.2				base-obsolete		obsolete
-./usr/include/clang-3.3				base-c-usr
+./usr/include/clang-3.3				base-obsolete		obsolete
+./usr/include/clang-3.4				base-c-usr
 ./usr/include/compat				base-obsolete		obsolete
 ./usr/include/crypto				base-c-usr
 ./usr/include/dev				base-c-usr
--- a/distrib/sets/lists/comp/ad.powerpc	Tue May 28 17:29:41 2013 +0000
+++ b/distrib/sets/lists/comp/ad.powerpc	Tue May 28 17:37:33 2013 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: ad.powerpc,v 1.61 2013/01/23 15:02:53 joerg Exp $
+# $NetBSD: ad.powerpc,v 1.62 2013/05/28 17:37:33 joerg Exp $
 ./usr/bin/elf2aout				comp-sysutil-bin
 ./usr/bin/psim					comp-debug-bin		gdb
 ./usr/include/altivec.h				comp-obsolete		obsolete
 ./usr/include/clang-3.0/altivec.h		comp-obsolete		obsolete
 ./usr/include/clang-3.2/altivec.h		comp-obsolete		obsolete
-./usr/include/clang-3.3/altivec.h		comp-c-include		llvm
+./usr/include/clang-3.3/altivec.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/altivec.h		comp-c-include		llvm
 ./usr/include/gcc-4.1/altivec.h			comp-c-include		gcccmds,gcc=4
 ./usr/include/gcc-4.1/altivec.h			comp-obsolete		gcc=45,obsolete
 ./usr/include/gcc-4.5/altivec.h			comp-c-include		gcccmds,gcc=45
--- a/distrib/sets/lists/comp/md.amd64	Tue May 28 17:29:41 2013 +0000
+++ b/distrib/sets/lists/comp/md.amd64	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.196 2013/04/28 04:05:38 joerg Exp $
+# $NetBSD: md.amd64,v 1.197 2013/05/28 17:37:33 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
@@ -113,34 +113,62 @@
 ./usr/include/clang-3.2/x86intrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.2/xmmintrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.2/xopintrin.h		comp-obsolete		obsolete
-./usr/include/clang-3.3/__wmmintrin_aes.h	comp-c-include		llvm
-./usr/include/clang-3.3/__wmmintrin_pclmul.h	comp-c-include		llvm
-./usr/include/clang-3.3/ammintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/avxintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/avx2intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/bmi2intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/bmiintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/emmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/f16cintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/fma4intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/fmaintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/immintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/lzcntintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/mm3dnow.h		comp-c-include		llvm
-./usr/include/clang-3.3/mm_malloc.h		comp-c-include		llvm
-./usr/include/clang-3.3/mmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/nmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/pmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/prfchwintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/popcntintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/rdseedintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/rtmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/smmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/tmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/wmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/x86intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/xmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/xopintrin.h		comp-c-include		llvm
+./usr/include/clang-3.3/__wmmintrin_aes.h	comp-obsolete		obsolete
+./usr/include/clang-3.3/__wmmintrin_pclmul.h	comp-obsolete		obsolete
+./usr/include/clang-3.3/ammintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/avxintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/avx2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/bmi2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/bmiintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/emmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/f16cintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/fma4intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/fmaintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/immintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/lzcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/mm3dnow.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/mm_malloc.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/mmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/nmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/pmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/prfchwintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/popcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/rdseedintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/rtmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/smmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/tmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/wmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/x86intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/xmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/xopintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/__wmmintrin_aes.h	comp-c-include		llvm
+./usr/include/clang-3.4/__wmmintrin_pclmul.h	comp-c-include		llvm
+./usr/include/clang-3.4/ammintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/avxintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/avx2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/bmi2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/bmiintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/emmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/f16cintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/fma4intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/fmaintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/immintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/lzcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/mm3dnow.h		comp-c-include		llvm
+./usr/include/clang-3.4/mm_malloc.h		comp-c-include		llvm
+./usr/include/clang-3.4/mmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/nmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/pmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/prfchwintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/popcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/rdseedintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/rtmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/smmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/tmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/wmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/x86intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/xmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/xopintrin.h		comp-c-include		llvm
 ./usr/include/emmintrin.h			comp-obsolete		obsolete
 ./usr/include/gcc-4.1/emmintrin.h		comp-c-include		gcccmds,gcc=4
 ./usr/include/gcc-4.1/emmintrin.h		comp-obsolete		gcc=45,obsolete
--- a/distrib/sets/lists/comp/md.i386	Tue May 28 17:29:41 2013 +0000
+++ b/distrib/sets/lists/comp/md.i386	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.134 2013/04/25 13:59:55 joerg Exp $
+# $NetBSD: md.i386,v 1.135 2013/05/28 17:37:33 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
@@ -44,34 +44,62 @@
 ./usr/include/clang-3.2/x86intrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.2/xmmintrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.2/xopintrin.h		comp-obsolete		obsolete
-./usr/include/clang-3.3/__wmmintrin_aes.h	comp-c-include		llvm
-./usr/include/clang-3.3/__wmmintrin_pclmul.h	comp-c-include		llvm
-./usr/include/clang-3.3/ammintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/avxintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/avx2intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/bmi2intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/bmiintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/emmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/f16cintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/fma4intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/fmaintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/immintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/lzcntintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/mm3dnow.h		comp-c-include		llvm
-./usr/include/clang-3.3/mm_malloc.h		comp-c-include		llvm
-./usr/include/clang-3.3/mmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/nmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/pmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/prfchwintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/popcntintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/rdseedintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/rtmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/smmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/tmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/wmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/x86intrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/xmmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.3/xopintrin.h		comp-c-include		llvm
+./usr/include/clang-3.3/__wmmintrin_aes.h	comp-obsolete		obsolete
+./usr/include/clang-3.3/__wmmintrin_pclmul.h	comp-obsolete		obsolete
+./usr/include/clang-3.3/ammintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/avxintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/avx2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/bmi2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/bmiintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/emmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/f16cintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/fma4intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/fmaintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/immintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/lzcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/mm3dnow.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/mm_malloc.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/mmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/nmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/pmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/prfchwintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/popcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/rdseedintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/rtmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/smmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/tmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/wmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/x86intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/xmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.3/xopintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/__wmmintrin_aes.h	comp-c-include		llvm
+./usr/include/clang-3.4/__wmmintrin_pclmul.h	comp-c-include		llvm
+./usr/include/clang-3.4/ammintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/avxintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/avx2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/bmi2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/bmiintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/emmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/f16cintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/fma4intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/fmaintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/immintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/lzcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/mm3dnow.h		comp-c-include		llvm
+./usr/include/clang-3.4/mm_malloc.h		comp-c-include		llvm
+./usr/include/clang-3.4/mmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/nmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/pmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/prfchwintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/popcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/rdseedintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/rtmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/smmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/tmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/wmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/x86intrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/xmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.4/xopintrin.h		comp-c-include		llvm
 ./usr/include/emmintrin.h			comp-obsolete		obsolete
 ./usr/include/gcc-4.1/emmintrin.h		comp-c-include		gcccmds,gcc=4
 ./usr/include/gcc-4.1/emmintrin.h		comp-obsolete		gcc=45,obsolete
--- a/external/bsd/llvm/Makefile.inc	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/Makefile.inc	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.51 2013/04/28 00:41:00 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.52 2013/05/28 17:37:33 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -7,7 +7,7 @@
 
 SVN_ROOT=		http://llvm.org/svn/llvm-project
 
-COMMON_REVISION=	180686
+COMMON_REVISION=	182734
 LLVM_REVISION=		${COMMON_REVISION}
 CLANG_REVISION=		${COMMON_REVISION}
 COMPILER_RT_REVISION=	${COMMON_REVISION}
@@ -15,8 +15,8 @@
 MCLINKER_REVISION=	deeb2a77b4165827316f88e0a7ba4ba6b743a080
 MCLINKER_ROOT=		https://code.google.com/p/mclinker/
 
-LLVM_VERSION=		3.3
-CLANG_VERSION=		3.3
+LLVM_VERSION=		3.4
+CLANG_VERSION=		3.4
 
 LLVM_SRCDIR:=	${.PARSEDIR}/dist/llvm
 CLANG_SRCDIR:=	${.PARSEDIR}/dist/clang
--- a/external/bsd/llvm/bin/clang/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.25 2013/04/25 13:59:55 joerg Exp $
+#	$NetBSD: Makefile,v 1.26 2013/05/28 17:37:33 joerg Exp $
 
 PROG_CXX=	clang
 NOMAN=		yes
@@ -62,6 +62,7 @@
 	PowerPCCodeGen \
 	PowerPCTargetInfo \
 	PowerPCMCTargetDesc \
+	PowerPCAsmParser \
 	PowerPCAsmPrinter \
 	SparcCodeGen \
 	SparcTargetInfo \
@@ -72,6 +73,7 @@
 	X86Utils \
 	X86AsmParser \
 	X86AsmPrinter \
+	Object \
 	SelectionDAG \
 	AsmPrinter \
 	CodeGen \
--- a/external/bsd/llvm/bin/llc/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/bin/llc/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2013/04/25 13:59:55 joerg Exp $
+#	$NetBSD: Makefile,v 1.16 2013/05/28 17:37:34 joerg Exp $
 
 PROG_CXX=	llc
 NOMAN=		yes
@@ -43,6 +43,7 @@
 	X86AsmParser \
 	X86AsmPrinter \
 	X86Utils \
+	Object \
 	SelectionDAG \
 	CodeGen \
 	ScalarOpts \
--- a/external/bsd/llvm/bin/llvm-mc/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/bin/llvm-mc/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2013/02/19 12:35:42 joerg Exp $
+#	$NetBSD: Makefile,v 1.16 2013/05/28 17:37:34 joerg Exp $
 
 PROG_CXX=	llvm-mc
 NOMAN=		yes
@@ -45,6 +45,7 @@
 	X86Disassembler \
 	X86AsmPrinter \
 	X86Utils \
+	Object \
 	SelectionDAG \
 	CodeGen \
 	Target \
--- a/external/bsd/llvm/bin/llvm-objdump/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/bin/llvm-objdump/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2013/02/19 12:35:42 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2013/05/28 17:37:34 joerg Exp $
 
 PROG_CXX=	llvm-objdump
 NOMAN=		yes
@@ -10,8 +10,7 @@
 SRCS=	llvm-objdump.cpp \
 	COFFDump.cpp \
 	ELFDump.cpp \
-	MachODump.cpp \
-	MCFunction.cpp \
+	MachODump.cpp
 
 LLVM_LIBS+= \
 	Object \
--- a/external/bsd/llvm/bin/opt/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/bin/opt/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2013/04/25 13:59:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2013/05/28 17:37:34 joerg Exp $
 
 PROG_CXX=	opt
 NOMAN=		yes
@@ -44,6 +44,7 @@
 	X86TargetInfo \
 	X86Utils \
 	X86AsmPrinter \
+	Object \
 	SelectionDAG \
 	CodeGen \
 	Vectorize \
--- a/external/bsd/llvm/config/clang/Config/config.h	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/config/clang/Config/config.h	Tue May 28 17:37:33 2013 +0000
@@ -11,7 +11,7 @@
 #define CLANG_RESOURCE_DIR ""
 
 /* Directories clang will search for headers */
-#define C_INCLUDE_DIRS "/usr/include/clang-3.3:/usr/include"
+#define C_INCLUDE_DIRS "/usr/include/clang-3.4:/usr/include"
 
 /* Linker version detected at compile time. */
 #define HOST_LINK_VERSION "1"
--- a/external/bsd/llvm/config/llvm/Config/config.h.in	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in	Tue May 28 17:37:33 2013 +0000
@@ -14,7 +14,7 @@
 #define CLANG_RESOURCE_DIR ""
 
 /* Directories clang will search for headers */
-#define C_INCLUDE_DIRS "/usr/include/clang-3.3:/usr/include"
+#define C_INCLUDE_DIRS "/usr/include/clang-3.4:/usr/include"
 
 /* Default <path> to all compiler invocations for --sysroot=<path>. */
 #define DEFAULT_SYSROOT ""
@@ -227,6 +227,9 @@
 /* Define to 1 if you have the `udis86' library (-ludis86). */
 /* #undef HAVE_LIBUDIS86 */
 
+/* Define to 1 if you have the `z' library (-lz). */
+#define HAVE_LIBZ 1
+
 /* Define to 1 if you have the <limits.h> header file. */
 #define HAVE_LIMITS_H 1
 
@@ -504,6 +507,9 @@
 /* Define if the xdot.py program is available */
 /* #undef HAVE_XDOT_PY */
 
+/* Define to 1 if you have the <zlib.h> header file. */
+#define HAVE_ZLIB_H 1
+
 /* Have host's _alloca */
 /* #undef HAVE__ALLOCA */
 
@@ -583,7 +589,7 @@
 #define LLVM_HAS_ATOMICS 1
 
 /* Host triple LLVM will be executed on */
-#define LLVM_HOSTTRIPLE "x86_64--netbsd"
+#define LLVM_HOST_TRIPLE "x86_64--netbsd"
 
 /* Installation directory for include files */
 #define LLVM_INCLUDEDIR "/usr/include"
@@ -664,7 +670,7 @@
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 3
+#define LLVM_VERSION_MINOR 4
 
 /* Define if the OS needs help to load dependent libraries for dlopen(). */
 /* #undef LTDL_DLOPEN_DEPLIBS */
@@ -697,13 +703,13 @@
 #define PACKAGE_NAME "LLVM"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 3.3svn"
+#define PACKAGE_STRING "LLVM 3.4svn"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "llvm"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "3.3svn"
+#define PACKAGE_VERSION "3.4svn"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
--- a/external/bsd/llvm/config/llvm/Config/llvm-config.h.in	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/config/llvm/Config/llvm-config.h.in	Tue May 28 17:37:33 2013 +0000
@@ -42,7 +42,7 @@
 #define LLVM_HAS_ATOMICS 1
 
 /* Host triple LLVM will be executed on */
-#define LLVM_HOSTTRIPLE "x86_64--netbsd"
+#define LLVM_HOST_TRIPLE "x86_64--netbsd"
 
 /* Installation directory for include files */
 #define LLVM_INCLUDEDIR "/usr/include"
@@ -123,6 +123,6 @@
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 3
+#define LLVM_VERSION_MINOR 4
 
 #endif
--- a/external/bsd/llvm/include/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/include/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2013/04/25 13:59:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.19 2013/05/28 17:37:34 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -70,6 +70,7 @@
 	clang/AST/AttrImpl.inc|-gen-clang-attr-impl \
 	clang/Basic/AttrList.inc|-gen-clang-attr-list \
 	clang/Lex/AttrSpellings.inc|-gen-clang-attr-spelling-list \
+	clang/Parse/AttrExprArgs.inc|-gen-clang-attr-expr-args-list \
 	clang/Parse/AttrLateParsed.inc|-gen-clang-attr-late-parsed-list \
 	clang/Sema/AttrTemplateInstantiate.inc|-gen-clang-attr-template-instantiate \
 	clang/Sema/AttrParsedAttrKinds.inc|-gen-clang-attr-parsed-attr-kinds \
--- a/external/bsd/llvm/lib/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2013/04/25 13:59:56 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2013/05/28 17:37:34 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -20,6 +20,7 @@
 	libLLVMMCDisassembler \
 	libLLVMMCParser \
 	libLLVMObjCARC \
+	libLLVMObject \
 	libLLVMScalarOpts \
 	libLLVMSelectionDAG \
 	libLLVMSupport \
@@ -59,6 +60,7 @@
 	libLLVMMipsTargetInfo
 
 SUBDIR+= \
+	libLLVMPowerPCAsmParser \
 	libLLVMPowerPCAsmPrinter \
 	libLLVMPowerPCMCTargetDesc \
 	libLLVMPowerPCTargetInfo
@@ -86,7 +88,6 @@
 	libLLVMInterpreter \
 	libLLVMJIT \
 	libLLVMMCJIT \
-	libLLVMObject \
 	libLLVMOption \
 	libLLVMRuntimeDyld
 .endif
@@ -115,6 +116,7 @@
 .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
 SUBDIR+= \
 	libclangASTMatchers \
+	libclangASTMatchersDynamic \
 	libclangFormat \
 	libclangTooling
 .endif
--- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2013/04/25 13:59:57 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2013/05/28 17:37:34 joerg Exp $
 
 LIB=	LLVMARMMCTargetDesc
 
@@ -16,6 +16,7 @@
 	ARMMCCodeEmitter.cpp \
 	ARMMCExpr.cpp \
 	ARMMCTargetDesc.cpp \
+	ARMMachORelocationInfo.cpp \
 	ARMMachObjectWriter.cpp \
 	ARMUnwindOpAsm.cpp
 
--- a/external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/05/16 19:27:48 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2013/05/28 17:37:34 joerg Exp $
 
 LIB=	LLVMExecutionEngine
 
@@ -8,6 +8,7 @@
 
 SRCS+=	ExecutionEngine.cpp \
 	ExecutionEngineBindings.cpp \
+	RTDyldMemoryManager.cpp \
 	TargetSelect.cpp
 
 .include <bsd.lib.mk>
--- a/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2013/01/23 15:02:59 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2013/05/28 17:37:34 joerg Exp $
 
 LIB=	LLVMInstrumentation
 
@@ -9,6 +9,7 @@
 SRCS+=	AddressSanitizer.cpp \
 	BlackList.cpp \
 	BoundsChecking.cpp \
+	DebugIR.cpp \
 	EdgeProfiling.cpp \
 	GCOVProfiling.cpp \
 	Instrumentation.cpp \
--- a/external/bsd/llvm/lib/libLLVMJIT/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMJIT/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2012/04/04 10:42:03 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2013/05/28 17:37:34 joerg Exp $
 
 LIB=	LLVMJIT
 
@@ -9,7 +9,6 @@
 .PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/JIT
 
 SRCS+=	JIT.cpp \
-	JITDwarfEmitter.cpp \
 	JITEmitter.cpp \
 	JITMemoryManager.cpp
 
--- a/external/bsd/llvm/lib/libLLVMLinker/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMLinker/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2013/02/04 15:00:34 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2013/05/28 17:37:34 joerg Exp $
 
 LIB=	LLVMLinker
 
@@ -6,8 +6,7 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/Linker
 
-SRCS+=	LinkModules.cpp \
-	Linker.cpp
+SRCS+=	LinkModules.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/libLLVMMC/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMMC/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2013/01/23 15:02:59 joerg Exp $
+#	$NetBSD: Makefile,v 1.12 2013/05/28 17:37:34 joerg Exp $
 
 LIB=	LLVMMC
 
@@ -23,6 +23,8 @@
 	MCELFObjectTargetWriter.cpp \
 	MCELFStreamer.cpp \
 	MCExpr.cpp \
+	MCExternalSymbolizer.cpp \
+	MCFunction.cpp \
 	MCInst.cpp \
 	MCInstrAnalysis.cpp \
 	MCInstPrinter.cpp \
@@ -31,17 +33,21 @@
 	MCMachOStreamer.cpp \
 	MCMachObjectTargetWriter.cpp \
 	MCNullStreamer.cpp \
+	MCObjectDisassembler.cpp \
 	MCObjectFileInfo.cpp \
 	MCObjectStreamer.cpp \
+	MCObjectSymbolizer.cpp \
 	MCObjectWriter.cpp \
 	MCPureStreamer.cpp \
 	MCRegisterInfo.cpp \
+	MCRelocationInfo.cpp \
 	MCSection.cpp \
 	MCSectionCOFF.cpp \
 	MCSectionELF.cpp \
 	MCSectionMachO.cpp \
 	MCStreamer.cpp \
 	MCSubtargetInfo.cpp \
+	MCSymbolizer.cpp \
 	MCSymbol.cpp \
 	MCValue.cpp \
 	MCWin64EH.cpp \
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2013/04/25 13:59:57 joerg Exp $
+#	$NetBSD: Makefile,v 1.18 2013/05/28 17:37:35 joerg Exp $
 
 LIB=	LLVMMipsCodeGen
 
@@ -10,6 +10,7 @@
 	Mips16ISelLowering.cpp \
 	Mips16InstrInfo.cpp \
 	Mips16FrameLowering.cpp \
+	Mips16HardFloat.cpp \
 	Mips16RegisterInfo.cpp \
 	MipsAnalyzeImmediate.cpp \
 	MipsAsmPrinter.cpp \
--- a/external/bsd/llvm/lib/libLLVMObject/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMObject/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2013/04/28 00:41:01 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2013/05/28 17:37:35 joerg Exp $
 
 LIB=	LLVMObject
 NOGCCERROR=	yes
@@ -10,10 +10,15 @@
 SRCS+=	Archive.cpp \
 	Binary.cpp \
 	COFFObjectFile.cpp \
+	COFFYAML.cpp \
 	ELFObjectFile.cpp \
 	Error.cpp \
 	MachOObjectFile.cpp \
 	Object.cpp \
 	ObjectFile.cpp
 
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
 .include <bsd.lib.mk>
+.endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMPowerPCAsmParser/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -0,0 +1,18 @@
+#	$NetBSD: Makefile,v 1.1 2013/05/28 17:37:35 joerg Exp $
+
+LIB=	LLVMPowerPCAsmParser
+
+.include <bsd.init.mk>
+
+PPC_OBJDIR!=	cd ${.CURDIR}/../libLLVMPowerPCCodeGen && ${PRINTOBJDIR}
+CPPFLAGS+=	-I${PPC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/PowerPC
+
+.PATH: ${LLVM_SRCDIR}/lib/Target/PowerPC/AsmParser
+
+SRCS+=	PPCAsmParser.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
--- a/external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2013/02/04 15:00:35 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2013/05/28 17:37:35 joerg Exp $
 
 LIB=	LLVMPowerPCCodeGen
 
@@ -22,12 +22,14 @@
 	PPCSelectionDAGInfo.cpp \
 	PPCSubtarget.cpp \
 	PPCTargetMachine.cpp \
+	PPCTargetObjectFile.cpp \
 	PPCTargetTransformInfo.cpp
 
 TABLEGEN_SRC=		PPC.td
 TABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/PowerPC
 TABLEGEN_OUTPUT= \
 	PPCGenAsmWriter.inc|-gen-asm-writer \
+	PPCGenAsmMatcher.inc|-gen-asm-matcher \
 	PPCGenCodeEmitter.inc|-gen-emitter \
 	PPCGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
 	PPCGenRegisterInfo.inc|-gen-register-info \
--- a/external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2012/01/11 23:24:48 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2013/05/28 17:37:35 joerg Exp $
 
 LIB=	LLVMPowerPCMCTargetDesc
 
@@ -13,6 +13,7 @@
 	PPCMCAsmInfo.cpp \
 	PPCELFObjectWriter.cpp \
 	PPCMCCodeEmitter.cpp \
+	PPCMCExpr.cpp \
 	PPCMCTargetDesc.cpp \
 	PPCPredicates.cpp
 
--- a/external/bsd/llvm/lib/libLLVMSupport/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMSupport/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2013/04/28 00:41:01 joerg Exp $
+#	$NetBSD: Makefile,v 1.18 2013/05/28 17:37:35 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -41,6 +41,7 @@
 	IsNAN.cpp \
 	Locale.cpp \
 	LockFileManager.cpp \
+	MD5.cpp \
 	ManagedStatic.cpp \
 	MemoryBuffer.cpp \
 	MemoryObject.cpp \
@@ -56,6 +57,7 @@
 	StringMap.cpp \
 	StringPool.cpp \
 	StringRef.cpp \
+	StringRefMemoryObject.cpp \
 	SystemUtils.cpp \
 	TargetRegistry.cpp \
 	Timer.cpp \
--- a/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile	Tue May 28 17:29:41 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2012/01/11 23:24:48 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2013/05/28 17:37:35 joerg Exp $
 
 LIB=	LLVMX86MCTargetDesc
 
@@ -14,7 +14,9 @@
 	X86MCAsmInfo.cpp \
 	X86MCCodeEmitter.cpp \
 	X86MCTargetDesc.cpp \
+	X86MachORelocationInfo.cpp \
 	X86MachObjectWriter.cpp \
+	X86ELFRelocationInfo.cpp \
 	X86WinCOFFObjectWriter.cpp
 
 .if defined(HOSTLIB)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libclangASTMatchersDynamic/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -0,0 +1,18 @@
+#	$NetBSD: Makefile,v 1.1 2013/05/28 17:37:35 joerg Exp $
+
+LIB=	clangASTMatchersDynamic
+
+.include <bsd.init.mk>
+
+.PATH: ${CLANG_SRCDIR}/lib/ASTMatchers/Dynamic
+
+SRCS+=	Diagnostics.cpp \
+	Parser.cpp \
+	Registry.cpp \
+	VariantValue.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libLLVMObject/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -0,0 +1,3 @@
+#	$NetBSD: Makefile,v 1.1 2013/05/28 17:37:35 joerg Exp $
+
+.include <bsd.init.mk>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libLLVMPowerPCAsmParser/Makefile	Tue May 28 17:37:33 2013 +0000
@@ -0,0 +1,3 @@
+#	$NetBSD: Makefile,v 1.1 2013/05/28 17:37:35 joerg Exp $
+
+.include <bsd.init.mk>