Update LLVM family to 3.5svn r198450. Interesting changes include: trunk
authorjoerg <joerg@NetBSD.org>
Sun, 05 Jan 2014 16:38:05 +0000
branchtrunk
changeset 223608 7f3569120d75
parent 223607 375846ff0cf6
child 223609 e1e5a4b7b5c2
Update LLVM family to 3.5svn r198450. Interesting changes include: - Improvements in the SPARC64 support - ARM backend can almost build a full NetBSD/EABI system with the integrated assembler - PowerPC grows disassembler support - LLD supports copy relocation, beginning of MIPS backend - New diagnostic for use of bool expression as size_t argument for strncmp and friends
distrib/sets/lists/base/mi
distrib/sets/lists/comp/ad.powerpc
distrib/sets/lists/comp/md.amd64
distrib/sets/lists/comp/md.i386
etc/mtree/NetBSD.dist.base
external/bsd/llvm/Makefile.inc
external/bsd/llvm/bin/clang/Makefile
external/bsd/llvm/bin/llc/Makefile
external/bsd/llvm/bin/lld/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/Disassemblers.def
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/libLLVMAsmPrinter/Makefile
external/bsd/llvm/lib/libLLVMCodeGen/Makefile
external/bsd/llvm/lib/libLLVMIR/Makefile
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile
external/bsd/llvm/lib/libLLVMPowerPCDisassembler/Makefile
external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
external/bsd/llvm/lib/libLLVMSparcAsmPrinter/Makefile
external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile
external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile
external/bsd/llvm/lib/libLLVMSupport/Makefile
external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile
external/bsd/llvm/lib/libclangCodeGen/Makefile
external/bsd/llvm/lib/liblldDriver/Makefile
external/bsd/llvm/lib/liblldReaderWriter/Makefile
external/bsd/llvm/lib/liblldReaderWriterELFMips/Makefile
external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile
external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile
tools/llvm-lib/libLLVMPowerPCDisassembler/Makefile
tools/llvm-lib/libLLVMSparcAsmPrinter/Makefile
tools/llvm-lib/liblldReaderWriterELFMips/Makefile
--- a/distrib/sets/lists/base/mi	Sun Jan 05 16:12:50 2014 +0000
+++ b/distrib/sets/lists/base/mi	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1056 2014/01/02 18:04:28 tho Exp $
+# $NetBSD: mi,v 1.1057 2014/01/05 16:38:05 joerg Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -819,7 +819,8 @@
 ./usr/include/clang-3.0				base-obsolete		obsolete
 ./usr/include/clang-3.2				base-obsolete		obsolete
 ./usr/include/clang-3.3				base-obsolete		obsolete
-./usr/include/clang-3.4				base-c-usr
+./usr/include/clang-3.4				base-obsolete		obsolete
+./usr/include/clang-3.5				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	Sun Jan 05 16:12:50 2014 +0000
+++ b/distrib/sets/lists/comp/ad.powerpc	Sun Jan 05 16:38:05 2014 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: ad.powerpc,v 1.64 2013/11/17 14:34:11 alnsn Exp $
+# $NetBSD: ad.powerpc,v 1.65 2014/01/05 16:38:05 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-obsolete		obsolete
-./usr/include/clang-3.4/altivec.h		comp-c-include		llvm
+./usr/include/clang-3.4/altivec.h		comp-obsolete		obsolete
+./usr/include/clang-3.5/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.1/altivec.h			comp-obsolete		gcc=48,obsolete
--- a/distrib/sets/lists/comp/md.amd64	Sun Jan 05 16:12:50 2014 +0000
+++ b/distrib/sets/lists/comp/md.amd64	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.211 2014/01/02 16:46:40 tho Exp $
+# $NetBSD: md.amd64,v 1.212 2014/01/05 16:38:05 joerg Exp $
 
 ./usr/include/amd64				comp-c-include
 ./usr/include/amd64/ansi.h			comp-c-include
@@ -142,36 +142,66 @@
 ./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/avx2intrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/avxintrin.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/popcntintrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/prfchwintrin.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/shaintrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/smmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/tbmintrin.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/clang-3.4/__wmmintrin_aes.h	comp-obsolete		obsolete
+./usr/include/clang-3.4/__wmmintrin_pclmul.h	comp-obsolete		obsolete
+./usr/include/clang-3.4/ammintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/avx2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/avxintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/bmi2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/bmiintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/emmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/f16cintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/fma4intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/fmaintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/immintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/lzcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/mm3dnow.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/mm_malloc.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/mmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/nmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/pmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/popcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/prfchwintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/rdseedintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/rtmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/shaintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/smmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/tbmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/tmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/wmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/x86intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/xmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/xopintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.5/__wmmintrin_aes.h	comp-c-include		llvm
+./usr/include/clang-3.5/__wmmintrin_pclmul.h	comp-c-include		llvm
+./usr/include/clang-3.5/ammintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/avx2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/avxintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/bmi2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/bmiintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/emmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/f16cintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/fma4intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/fmaintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/immintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/lzcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/mm3dnow.h		comp-c-include		llvm
+./usr/include/clang-3.5/mm_malloc.h		comp-c-include		llvm
+./usr/include/clang-3.5/mmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/nmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/pmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/popcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/prfchwintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/rdseedintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/rtmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/shaintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/smmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/tbmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/tmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/wmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/x86intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/xmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/xopintrin.h		comp-c-include		llvm
 ./usr/include/emmintrin.h			comp-obsolete		obsolete
 ./usr/include/g++/bits/i386			comp-c-include
 ./usr/include/g++/bits/i386/c++config.h		comp-c-include		gcccmds,gcc=48,compat
--- a/distrib/sets/lists/comp/md.i386	Sun Jan 05 16:12:50 2014 +0000
+++ b/distrib/sets/lists/comp/md.i386	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.141 2014/01/02 12:54:36 tho Exp $
+# $NetBSD: md.i386,v 1.142 2014/01/05 16:38:05 joerg Exp $
 ./usr/include/clang-3.0/avx2intrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/avxintrin.h		comp-obsolete		obsolete
 ./usr/include/clang-3.0/bmi2intrin.h		comp-obsolete		obsolete
@@ -72,36 +72,66 @@
 ./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/avx2intrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/avxintrin.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/popcntintrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/prfchwintrin.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/shaintrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/smmintrin.h		comp-c-include		llvm
-./usr/include/clang-3.4/tbmintrin.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/clang-3.4/__wmmintrin_aes.h	comp-obsolete		obsolete
+./usr/include/clang-3.4/__wmmintrin_pclmul.h	comp-obsolete		obsolete
+./usr/include/clang-3.4/ammintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/avx2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/avxintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/bmi2intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/bmiintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/emmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/f16cintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/fma4intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/fmaintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/immintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/lzcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/mm3dnow.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/mm_malloc.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/mmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/nmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/pmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/popcntintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/prfchwintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/rdseedintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/rtmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/shaintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/smmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/tbmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/tmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/wmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/x86intrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/xmmintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.4/xopintrin.h		comp-obsolete		obsolete
+./usr/include/clang-3.5/__wmmintrin_aes.h	comp-c-include		llvm
+./usr/include/clang-3.5/__wmmintrin_pclmul.h	comp-c-include		llvm
+./usr/include/clang-3.5/ammintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/avx2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/avxintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/bmi2intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/bmiintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/emmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/f16cintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/fma4intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/fmaintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/immintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/lzcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/mm3dnow.h		comp-c-include		llvm
+./usr/include/clang-3.5/mm_malloc.h		comp-c-include		llvm
+./usr/include/clang-3.5/mmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/nmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/pmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/popcntintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/prfchwintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/rdseedintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/rtmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/shaintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/smmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/tbmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/tmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/wmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/x86intrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/xmmintrin.h		comp-c-include		llvm
+./usr/include/clang-3.5/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/etc/mtree/NetBSD.dist.base	Sun Jan 05 16:12:50 2014 +0000
+++ b/etc/mtree/NetBSD.dist.base	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: NetBSD.dist.base,v 1.131 2013/12/26 20:14:38 apb Exp $
+#	$NetBSD: NetBSD.dist.base,v 1.132 2014/01/05 16:38:06 joerg Exp $
 #	@(#)4.4BSD.dist	8.1 (Berkeley) 6/13/93
 
 # Do not customize this file as it may be overwritten on upgrades.
@@ -100,7 +100,7 @@
 ./usr/include/c++
 ./usr/include/c++/experimental
 ./usr/include/c++/ext
-./usr/include/clang-3.4
+./usr/include/clang-3.5
 ./usr/include/crypto
 ./usr/include/dev
 ./usr/include/dev/apm
--- a/external/bsd/llvm/Makefile.inc	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/Makefile.inc	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.66 2014/01/05 15:19:39 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.67 2014/01/05 16:38:06 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -6,9 +6,9 @@
 .include <bsd.own.mk>
 
 SVN_ROOT=		http://llvm.org/svn/llvm-project
-SVN_BRANCH=		branches/release_34
+SVN_BRANCH=		trunk
 
-COMMON_REVISION=	196603
+COMMON_REVISION=	198450
 CLANG_REVISION=		${COMMON_REVISION}
 COMPILER_RT_REVISION=	${COMMON_REVISION}
 LLD_REVISION=		${COMMON_REVISION}
@@ -18,8 +18,8 @@
 MCLINKER_REVISION=	deeb2a77b4165827316f88e0a7ba4ba6b743a080
 MCLINKER_ROOT=		https://code.google.com/p/mclinker/
 
-LLVM_VERSION=		3.4
-CLANG_VERSION=		3.4
+LLVM_VERSION=		3.5
+CLANG_VERSION=		3.5
 
 COMPILER_RT_SRCDIR:=	${.PARSEDIR}/dist/compiler-rt
 CLANG_SRCDIR:=	${.PARSEDIR}/dist/clang
--- a/external/bsd/llvm/bin/clang/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.27 2013/07/07 21:36:42 joerg Exp $
+#	$NetBSD: Makefile,v 1.28 2014/01/05 16:38:06 joerg Exp $
 
 PROG_CXX=	clang
 NOMAN=		yes
@@ -67,6 +67,7 @@
 	SparcCodeGen \
 	SparcTargetInfo \
 	SparcMCTargetDesc \
+	SparcAsmPrinter \
 	X86CodeGen \
 	X86MCTargetDesc \
 	X86TargetInfo \
--- a/external/bsd/llvm/bin/llc/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/bin/llc/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2013/07/07 21:36:43 joerg Exp $
+#	$NetBSD: Makefile,v 1.18 2014/01/05 16:38:06 joerg Exp $
 
 PROG_CXX=	llc
 NOMAN=		yes
@@ -38,6 +38,7 @@
 	SparcCodeGen \
 	SparcTargetInfo \
 	SparcMCTargetDesc \
+	SparcAsmPrinter \
 	X86CodeGen \
 	X86TargetInfo \
 	X86MCTargetDesc \
--- a/external/bsd/llvm/bin/lld/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/bin/lld/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:39 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2014/01/05 16:38:06 joerg Exp $
 
 PROG_CXX=	lld
 NOMAN=		yes
@@ -13,6 +13,7 @@
 	lldDriver \
 	lldReaderWriterELF \
 	lldReaderWriterELFHexagon \
+	lldReaderWriterELFMips \
 	lldReaderWriterELFPPC \
 	lldReaderWriterELFX86 \
 	lldReaderWriterELFX86_64 \
--- a/external/bsd/llvm/bin/llvm-mc/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/bin/llvm-mc/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2013/07/07 21:36:43 joerg Exp $
+#	$NetBSD: Makefile,v 1.18 2014/01/05 16:38:06 joerg Exp $
 
 PROG_CXX=	llvm-mc
 NOMAN=		yes
@@ -33,12 +33,14 @@
 	MipsAsmPrinter \
 	PowerPCCodeGen \
 	PowerPCAsmParser \
+	PowerPCDisassembler \
 	PowerPCTargetInfo \
 	PowerPCMCTargetDesc \
 	PowerPCAsmPrinter \
 	SparcCodeGen \
 	SparcTargetInfo \
 	SparcMCTargetDesc \
+	SparcAsmPrinter \
 	X86CodeGen \
 	X86TargetInfo \
 	X86MCTargetDesc \
--- a/external/bsd/llvm/bin/llvm-objdump/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/bin/llvm-objdump/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2013/09/02 14:34:55 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/01/05 16:38:06 joerg Exp $
 
 PROG_CXX=	llvm-objdump
 NOMAN=		yes
@@ -29,12 +29,14 @@
 	MipsMCTargetDesc \
 	MipsAsmPrinter \
 	MipsAsmParser \
+	PowerPCDisassembler \
 	PowerPCAsmParser \
 	PowerPCTargetInfo \
 	PowerPCMCTargetDesc \
 	PowerPCAsmPrinter \
 	SparcTargetInfo \
 	SparcMCTargetDesc \
+	SparcAsmPrinter \
 	X86Disassembler \
 	X86MCTargetDesc \
 	X86TargetInfo \
--- a/external/bsd/llvm/bin/opt/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/bin/opt/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2013/05/28 17:37:34 joerg Exp $
+#	$NetBSD: Makefile,v 1.10 2014/01/05 16:38:06 joerg Exp $
 
 PROG_CXX=	opt
 NOMAN=		yes
@@ -39,6 +39,7 @@
 	SparcCodeGen \
 	SparcTargetInfo \
 	SparcMCTargetDesc \
+	SparcAsmPrinter \
 	X86CodeGen \
 	X86MCTargetDesc \
 	X86TargetInfo \
--- a/external/bsd/llvm/config/clang/Config/config.h	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/config/clang/Config/config.h	Sun Jan 05 16:38:05 2014 +0000
@@ -11,10 +11,10 @@
 #define CLANG_RESOURCE_DIR ""
 
 /* Directories clang will search for headers */
-#define C_INCLUDE_DIRS "/usr/include/clang-3.4:/usr/include"
+#define C_INCLUDE_DIRS "/usr/include/clang-3.5:/usr/include"
 
 /* Linker version detected at compile time. */
-#define HOST_LINK_VERSION "2.23.2"
+#define HOST_LINK_VERSION "2.23.52.20130913"
 
 /* Default <path> to all compiler invocations for --sysroot=<path>. */
 #define DEFAULT_SYSROOT ""
--- a/external/bsd/llvm/config/llvm/Config/Disassemblers.def	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Config/Disassemblers.def	Sun Jan 05 16:38:05 2014 +0000
@@ -24,6 +24,6 @@
 #  error Please define the macro LLVM_DISASSEMBLER(TargetName)
 #endif
 
-LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(AArch64) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) 
+LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(PowerPC) LLVM_DISASSEMBLER(AArch64) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) 
 
 #undef LLVM_DISASSEMBLER
--- a/external/bsd/llvm/config/llvm/Config/config.h.in	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in	Sun Jan 05 16:38:05 2014 +0000
@@ -4,6 +4,9 @@
 #ifndef CONFIG_H
 #define CONFIG_H
 
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
 /* Bug report URL. */
 #define BUG_REPORT_URL "http://llvm.org/bugs/"
 
@@ -14,7 +17,7 @@
 #define CLANG_RESOURCE_DIR ""
 
 /* Directories clang will search for headers */
-#define C_INCLUDE_DIRS "/usr/include/clang-3.4:/usr/include"
+#define C_INCLUDE_DIRS "/usr/include/clang-3.5:/usr/include"
 
 /* Default <path> to all compiler invocations for --sysroot=<path>. */
 #define DEFAULT_SYSROOT ""
@@ -531,7 +534,7 @@
 /* #undef HAVE____CHKSTK */
 
 /* Linker version detected at compile time. */
-#define HOST_LINK_VERSION "2.23.2"
+#define HOST_LINK_VERSION "2.23.52.20130913"
 
 /* Installation directory for binary executables */
 #define LLVM_BINDIR "/usr/bin"
@@ -639,7 +642,7 @@
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 4
+#define LLVM_VERSION_MINOR 5
 
 /* Define if the OS needs help to load dependent libraries for dlopen(). */
 /* #undef LTDL_DLOPEN_DEPLIBS */
@@ -668,13 +671,16 @@
 #define PACKAGE_NAME "LLVM"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 3.4svn"
+#define PACKAGE_STRING "LLVM 3.5svn"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "llvm"
 
+/* Define to the home page for this package. */
+/* #undef PACKAGE_URL */
+
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "3.4svn"
+#define PACKAGE_VERSION "3.5svn"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -697,6 +703,18 @@
 /* Type of 1st arg on ELM Callback */
 /* #undef WIN32_ELMCB_PCSTR */
 
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+   significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+#  define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* #  undef WORDS_BIGENDIAN */
+# endif
+#endif
+
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
 
--- a/external/bsd/llvm/config/llvm/Config/llvm-config.h.in	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Config/llvm-config.h.in	Sun Jan 05 16:38:05 2014 +0000
@@ -120,6 +120,6 @@
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 4
+#define LLVM_VERSION_MINOR 5
 
 #endif
--- a/external/bsd/llvm/include/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/include/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.26 2014/01/05 15:15:34 joerg Exp $
+#	$NetBSD: Makefile,v 1.27 2014/01/05 16:38:06 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -69,6 +69,7 @@
 	clang/AST/Attrs.inc|-gen-clang-attr-classes \
 	clang/AST/AttrDump.inc|-gen-clang-attr-dump \
 	clang/AST/AttrImpl.inc|-gen-clang-attr-impl \
+	clang/AST/AttrVisitor.inc|-gen-clang-attr-ast-visitor \
 	clang/Basic/AttrList.inc|-gen-clang-attr-list \
 	clang/Lex/AttrSpellings.inc|-gen-clang-attr-spelling-list \
 	clang/Parse/AttrIdentifierArg.inc|-gen-clang-attr-identifier-arg-list \
--- a/external/bsd/llvm/lib/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2013/11/28 14:19:59 joerg Exp $
+# $NetBSD: Makefile,v 1.37 2014/01/05 16:38:06 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -63,10 +63,12 @@
 SUBDIR+= \
 	libLLVMPowerPCAsmParser \
 	libLLVMPowerPCAsmPrinter \
+	libLLVMPowerPCDisassembler \
 	libLLVMPowerPCMCTargetDesc \
 	libLLVMPowerPCTargetInfo
 
 SUBDIR+= \
+	libLLVMSparcAsmPrinter \
 	libLLVMSparcMCTargetDesc \
 	libLLVMSparcTargetInfo
 
@@ -135,6 +137,7 @@
 	liblldReaderWriter \
 	liblldReaderWriterELF \
 	liblldReaderWriterELFHexagon \
+	liblldReaderWriterELFMips \
 	liblldReaderWriterELFPPC \
 	liblldReaderWriterELFX86 \
 	liblldReaderWriterELFX86_64 \
--- a/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2013/09/02 14:34:55 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2014/01/05 16:38:06 joerg Exp $
 
 LIB=	LLVMAsmPrinter
 
@@ -14,9 +14,9 @@
 	DIEHash.cpp \
 	DwarfAccelTable.cpp \
 	DwarfCFIException.cpp \
-	DwarfCompileUnit.cpp \
 	DwarfDebug.cpp \
 	DwarfException.cpp \
+	DwarfUnit.cpp \
 	ErlangGCPrinter.cpp \
 	OcamlGCPrinter.cpp \
 	Win64Exception.cpp
--- a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.25 2013/11/11 23:51:36 joerg Exp $
+#	$NetBSD: Makefile,v 1.26 2014/01/05 16:38:06 joerg Exp $
 
 LIB=	LLVMCodeGen
 
@@ -39,10 +39,10 @@
 	LiveInterval.cpp \
 	LiveIntervalAnalysis.cpp \
 	LiveIntervalUnion.cpp \
+	LivePhysRegs.cpp \
 	LiveRangeCalc.cpp \
 	LiveRangeEdit.cpp \
 	LiveRegMatrix.cpp \
-	LiveRegUnits.cpp \
 	LiveStackAnalysis.cpp \
 	LiveVariables.cpp \
 	LocalStackSlotAllocation.cpp \
@@ -102,6 +102,7 @@
 	SpillPlacement.cpp \
 	SplitKit.cpp \
 	StackColoring.cpp \
+	StackMapLivenessAnalysis.cpp \
 	StackMaps.cpp \
 	StackProtector.cpp \
 	StackSlotColoring.cpp \
--- a/external/bsd/llvm/lib/libLLVMIR/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMIR/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2013/11/28 14:19:59 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2014/01/05 16:38:06 joerg Exp $
 
 LIB=	LLVMIR
 
@@ -17,6 +17,8 @@
 	DataLayout.cpp \
 	DebugInfo.cpp \
 	DebugLoc.cpp \
+	DiagnosticInfo.cpp \
+	DiagnosticPrinter.cpp \
 	Dominators.cpp \
 	Function.cpp \
 	GCOV.cpp \
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.21 2014/01/05 16:38:06 joerg Exp $
 
 LIB=	LLVMMipsCodeGen
 
@@ -26,6 +26,7 @@
 	MipsMachineFunction.cpp \
 	MipsModuleISelDAGToDAG.cpp \
 	MipsMCInstLower.cpp \
+	MipsOptimizePICCall.cpp \
 	MipsOs16.cpp \
 	MipsRegisterInfo.cpp \
 	MipsSEISelLowering.cpp \
--- a/external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	LLVMPowerPCCodeGen
 
@@ -29,15 +29,16 @@
 TABLEGEN_SRC=		PPC.td
 TABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/PowerPC
 TABLEGEN_OUTPUT= \
+	PPCGenAsmMatcher.inc|-gen-asm-matcher \
 	PPCGenAsmWriter.inc|-gen-asm-writer \
-	PPCGenAsmMatcher.inc|-gen-asm-matcher \
+	PPCGenCallingConv.inc|-gen-callingconv \
 	PPCGenCodeEmitter.inc|-gen-emitter \
+	PPCGenDAGISel.inc|-gen-dag-isel \
+	PPCGenDisassemblerTables.inc|-gen-disassembler \
 	PPCGenFastISel.inc|-gen-fast-isel \
+	PPCGenInstrInfo.inc|-gen-instr-info \
 	PPCGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
 	PPCGenRegisterInfo.inc|-gen-register-info \
-	PPCGenInstrInfo.inc|-gen-instr-info \
-	PPCGenDAGISel.inc|-gen-dag-isel \
-	PPCGenCallingConv.inc|-gen-callingconv \
 	PPCGenSubtargetInfo.inc|-gen-subtarget
 
 .include "${.PARSEDIR}/../../tablegen.mk"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMPowerPCDisassembler/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -0,0 +1,18 @@
+#	$NetBSD: Makefile,v 1.1 2014/01/05 16:38:07 joerg Exp $
+
+LIB=	LLVMPowerPCDisassembler
+
+.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/Disassembler
+
+SRCS+=	PPCDisassembler.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
--- a/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2013/11/28 14:19:59 joerg Exp $
+#	$NetBSD: Makefile,v 1.14 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	LLVMScalarOpts
 
@@ -37,6 +37,7 @@
 	SampleProfile.cpp \
 	Scalar.cpp \
 	ScalarReplAggregates.cpp \
+	Scalarizer.cpp \
 	SimplifyCFGPass.cpp \
 	Sink.cpp \
 	StructurizeCFG.cpp \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcAsmPrinter/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -0,0 +1,18 @@
+#	$NetBSD: Makefile,v 1.1 2014/01/05 16:38:07 joerg Exp $
+
+LIB=	LLVMSparcAsmPrinter
+
+.include <bsd.init.mk>
+
+.PATH: ${LLVM_SRCDIR}/lib/Target/Sparc/InstPrinter
+
+SPARC_OBJDIR!=	cd ${.CURDIR}/../libLLVMSparcCodeGen && ${PRINTOBJDIR}
+CPPFLAGS+=	-I${SPARC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Sparc
+
+SRCS+=	SparcInstPrinter.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
--- a/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2013/10/14 01:37:39 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	LLVMSparcCodeGen
 
@@ -14,6 +14,7 @@
 	SparcISelLowering.cpp \
 	SparcJITInfo.cpp \
 	SparcFrameLowering.cpp \
+	SparcMCInstLower.cpp \
 	SparcMachineFunctionInfo.cpp \
 	SparcRegisterInfo.cpp \
 	SparcSubtarget.cpp \
--- a/external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/07/17 20:07:58 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	LLVMSparcMCTargetDesc
 
@@ -10,7 +10,9 @@
 .PATH: ${LLVM_SRCDIR}/lib/Target/Sparc/MCTargetDesc
 
 SRCS+=	SparcMCAsmInfo.cpp \
-	SparcMCTargetDesc.cpp
+	SparcMCExpr.cpp \
+	SparcMCTargetDesc.cpp \
+	SparcTargetStreamer.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/libLLVMSupport/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMSupport/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.22 2013/09/21 22:28:12 joerg Exp $
+#	$NetBSD: Makefile,v 1.23 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -39,6 +39,7 @@
 	IntrusiveRefCntPtr.cpp \
 	IsInf.cpp \
 	IsNAN.cpp \
+	LineIterator.cpp \
 	Locale.cpp \
 	LockFileManager.cpp \
 	MD5.cpp \
--- a/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2013/10/30 20:27:39 joerg Exp $
+#	$NetBSD: Makefile,v 1.14 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	LLVMTransformsUtils
 
@@ -6,7 +6,8 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/Transforms/Utils
 
-SRCS+=	BasicBlockUtils.cpp \
+SRCS+=	ASanStackFrameLayout.cpp \
+	BasicBlockUtils.cpp \
 	BreakCriticalEdges.cpp \
 	BuildLibCalls.cpp \
 	BypassSlowDivision.cpp \
--- a/external/bsd/llvm/lib/libclangCodeGen/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/libclangCodeGen/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2013/11/11 23:51:36 joerg Exp $
+#	$NetBSD: Makefile,v 1.8 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	clangCodeGen
 
@@ -45,7 +45,6 @@
 	CodeGenTypes.cpp \
 	ItaniumCXXABI.cpp \
 	MicrosoftCXXABI.cpp \
-	MicrosoftVBTables.cpp \
 	ModuleBuilder.cpp \
 	TargetInfo.cpp
 
--- a/external/bsd/llvm/lib/liblldDriver/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/liblldDriver/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2013/11/28 14:20:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	lldDriver
 
@@ -10,8 +10,10 @@
 	DarwinLdDriver.cpp \
 	Driver.cpp \
 	GnuLdDriver.cpp \
+	GnuLdInputGraph.cpp \
 	UniversalDriver.cpp \
-	WinLinkDriver.cpp
+	WinLinkDriver.cpp \
+	WinLinkInputGraph.cpp
 
 TABLEGEN_SRC=	CoreOptions.td DarwinLdOptions.td GnuLdOptions.td \
 	UniversalDriverOptions.td WinLinkOptions.td
--- a/external/bsd/llvm/lib/liblldReaderWriter/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriter/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	lldReaderWriter
 
@@ -7,9 +7,9 @@
 .PATH: ${LLD_SRCDIR}/lib/ReaderWriter
 
 SRCS+=	CoreLinkingContext.cpp \
+	FileArchive.cpp \
 	LinkerScript.cpp \
 	Reader.cpp \
-	ReaderLinkerScript.cpp \
 	Writer.cpp
 
 .if defined(HOSTLIB)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriterELFMips/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -0,0 +1,19 @@
+#	$NetBSD: Makefile,v 1.1 2014/01/05 16:38:07 joerg Exp $
+
+LIB=	lldReaderWriterELFMips
+
+.include <bsd.init.mk>
+
+.PATH: ${LLD_SRCDIR}/lib/ReaderWriter/ELF/Mips
+
+CPPFLAGS+=	-I${LLD_SRCDIR}/lib/ReaderWriter/ELF
+
+SRCS+=	MipsLinkingContext.cpp \
+	MipsRelocationHandler.cpp \
+	MipsTargetHandler.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
--- a/external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2013/11/11 23:51:36 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	lldReaderWriterMachO
 
@@ -8,8 +8,8 @@
 
 SRCS+=	MachOLinkingContext.cpp \
 	MachONormalizedFileBinaryReader.cpp \
+	MachONormalizedFileBinaryWriter.cpp \
 	MachONormalizedFileFromAtoms.cpp \
-	MachONormalizedFileBinaryWriter.cpp \
 	MachONormalizedFileYAML.cpp \
 	ReferenceKinds.cpp \
 	WriterMachO.cpp
--- a/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile	Sun Jan 05 16:12:50 2014 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/02 14:34:57 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/01/05 16:38:07 joerg Exp $
 
 LIB=	lldReaderWriterPECOFF
 
@@ -6,9 +6,13 @@
 
 .PATH: ${LLD_SRCDIR}/lib/ReaderWriter/PECOFF
 
-SRCS+=	PECOFFLinkingContext.cpp \
+SRCS+=	EdataPass.cpp \
+	IdataPass.cpp \
+	PECOFFLinkingContext.cpp \
+	Pass.cpp \
 	ReaderCOFF.cpp \
 	ReaderImportHeader.cpp \
+	WriterImportLibrary.cpp \
 	WriterPECOFF.cpp
 
 .if defined(HOSTLIB)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libLLVMPowerPCDisassembler/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -0,0 +1,3 @@
+#	$NetBSD: Makefile,v 1.1 2014/01/05 16:38:07 joerg Exp $
+
+.include <bsd.init.mk>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libLLVMSparcAsmPrinter/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -0,0 +1,3 @@
+#	$NetBSD: Makefile,v 1.1 2014/01/05 16:38:07 joerg Exp $
+
+.include <bsd.init.mk>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/liblldReaderWriterELFMips/Makefile	Sun Jan 05 16:38:05 2014 +0000
@@ -0,0 +1,3 @@
+#	$NetBSD: Makefile,v 1.1 2014/01/05 16:38:08 joerg Exp $
+
+.include <bsd.init.mk>