Update build system for LLVM/Clang snapshot r209886. This brings in the trunk
authorjoerg <joerg@NetBSD.org>
Fri, 30 May 2014 18:28:13 +0000
branchtrunk
changeset 227458 450521e500dc
parent 227457 044a3a5c23cb
child 227459 0e3af58da830
Update build system for LLVM/Clang snapshot r209886. This brings in the merged AArch64 backend and the move of eARM to DWARF exception handling for NetBSD. C++11 is required for building.
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/lld/Makefile
external/bsd/llvm/bin/lldb/Makefile
external/bsd/llvm/bin/llvm-readobj/Makefile
external/bsd/llvm/config/clang/Config/config.h
external/bsd/llvm/config/llvm/Config/config.h.in
external/bsd/llvm/config/llvm/Support/DataTypes.h
external/bsd/llvm/include/Makefile
external/bsd/llvm/lib/Makefile
external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile
external/bsd/llvm/lib/libLLVMAArch64Disassembler/Makefile
external/bsd/llvm/lib/libLLVMAArch64MCTargetDesc/Makefile
external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
external/bsd/llvm/lib/libLLVMAnalysis/Makefile
external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile
external/bsd/llvm/lib/libLLVMCodeGen/Makefile
external/bsd/llvm/lib/libLLVMIR/Makefile
external/bsd/llvm/lib/libLLVMMC/Makefile
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile
external/bsd/llvm/lib/libLLVMObject/Makefile
external/bsd/llvm/lib/libLLVMProfileData/Makefile
external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
external/bsd/llvm/lib/libLLVMSupport/Makefile
external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile
external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile
external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile
external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile
external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile
external/bsd/llvm/lib/libclangAnalysis/Makefile
external/bsd/llvm/lib/libclangBasic/Makefile
external/bsd/llvm/lib/libclangCodeGen/Makefile
external/bsd/llvm/lib/libclangFrontend/Makefile
external/bsd/llvm/lib/liblldDriver/Makefile
external/bsd/llvm/lib/liblldReaderWriterELFMips/Makefile
external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile
external/bsd/llvm/lib/liblldbAPI/Makefile
external/bsd/llvm/lib/liblldbCommands/Makefile
external/bsd/llvm/lib/liblldbCore/Makefile
external/bsd/llvm/lib/liblldbHostCommon/Makefile
external/bsd/llvm/lib/liblldbPluginABIMacOSX_arm64/Makefile
external/bsd/llvm/lib/liblldbPluginInstructionARM64/Makefile
external/bsd/llvm/lib/liblldbPluginJITLoaderGDB/Makefile
external/bsd/llvm/lib/liblldbPluginObjectFileJIT/Makefile
external/bsd/llvm/lib/liblldbPluginProcessElfCore/Makefile
external/bsd/llvm/lib/liblldbPluginProcessNetBSD/Makefile
external/bsd/llvm/lib/liblldbPluginProcessPOSIX/Makefile
external/bsd/llvm/lib/liblldbPluginProcessUtility/Makefile
external/bsd/llvm/lib/liblldbTarget/Makefile
external/bsd/llvm/lib/liblldbUtility/Makefile
tools/llvm-lib/libLLVMDebugInfo/Makefile
tools/llvm-lib/libLLVMProfileData/Makefile
--- a/distrib/sets/lists/comp/md.amd64	Fri May 30 18:13:37 2014 +0000
+++ b/distrib/sets/lists/comp/md.amd64	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.219 2014/05/15 16:32:28 apb Exp $
+# $NetBSD: md.amd64,v 1.220 2014/05/30 18:28:13 joerg Exp $
 
 ./usr/include/amd64				comp-c-include
 ./usr/include/amd64/ansi.h			comp-c-include
@@ -183,6 +183,7 @@
 ./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/ia32intrin.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
--- a/distrib/sets/lists/comp/md.i386	Fri May 30 18:13:37 2014 +0000
+++ b/distrib/sets/lists/comp/md.i386	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.145 2014/02/12 23:24:09 dsl Exp $
+# $NetBSD: md.i386,v 1.146 2014/05/30 18:28:13 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
@@ -113,6 +113,7 @@
 ./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/ia32intrin.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
--- a/external/bsd/llvm/Makefile.inc	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/Makefile.inc	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.72 2014/03/04 21:05:05 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.73 2014/05/30 18:28:13 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -8,7 +8,7 @@
 SVN_ROOT=		http://llvm.org/svn/llvm-project
 SVN_BRANCH=		trunk
 
-COMMON_REVISION=	202566
+COMMON_REVISION=	209886
 CLANG_REVISION=		${COMMON_REVISION}
 LLD_REVISION=		${COMMON_REVISION}
 LLDB_REVISION=		${COMMON_REVISION}
@@ -41,18 +41,14 @@
 LLVM_TOOLCONF_OBJDIR!=	cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR}
 HOST_CPPFLAGS+=	${CPPFLAGS}
 HOST_CXXFLAGS+=	-O2 -fno-rtti -fno-exceptions
-.if ${MKLLD:Uno} == "yes"
 HOST_CPPFLAGS+=	-std=c++11
-.endif
 .else
 LLVM_INCLUDE_CONFIG=	${LLVM_TOPLEVEL}/config
 CLANG_INCLUDE_CONFIG=	${LLVM_TOPLEVEL}/config
 MCLINKER_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config/mclinker
 LLVM_INCLUDE_OBJDIR!=	cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR}
 
-.if ${MKLLD:Uno} == "yes" || ${MKLLDB:Uno} == "yes"
 CPPFLAGS+=	-std=c++11
-.endif
 .if ${MKLLDB:Uno} == "yes"
 CPPFLAGS+=	-DLLDB_DISABLE_PYTHON
 .endif
--- a/external/bsd/llvm/bin/clang/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.30 2014/02/14 20:23:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.31 2014/05/30 18:28:13 joerg Exp $
 
 PROG_CXX=	clang
 NOMAN=		yes
@@ -75,10 +75,10 @@
 	X86Utils \
 	X86AsmParser \
 	X86AsmPrinter \
-	Object \
 	SelectionDAG \
 	AsmPrinter \
 	CodeGen \
+	ProfileData \
 	Vectorize \
 	Target \
 	InstCombine \
@@ -88,6 +88,7 @@
 	MCDisassembler \
 	MCParser \
 	MC \
+	Object \
 	Linker \
 	TransformsUtils \
 	ipa \
@@ -97,4 +98,9 @@
 
 .include "${.PARSEDIR}/../../link.mk"
 
+LDADD+=	-lz
+.if !defined(HOSTPROG)
+DPADD+=	${LIBZ}
+.endif
+
 .include <bsd.prog.mk>
--- a/external/bsd/llvm/bin/lld/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/bin/lld/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2014/01/05 16:38:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2014/05/30 18:28:13 joerg Exp $
 
 PROG_CXX=	lld
 NOMAN=		yes
@@ -27,6 +27,9 @@
 
 LLVM_LIBS+= \
 	Object \
+	BitReader \
+	IR \
+	DebugInfo \
 	Option \
 	Support
 
--- a/external/bsd/llvm/bin/lldb/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/bin/lldb/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/10/20 14:53:22 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2014/05/30 18:28:13 joerg Exp $
 
 PROG_CXX=	lldb
 NOMAN=		yes
@@ -8,9 +8,6 @@
 .PATH: ${LLDB_SRCDIR}/tools/driver
 
 SRCS=	Driver.cpp \
-	ELWrapper.cpp \
-	GetOptWrapper.cpp \
-	IOChannel.cpp \
 	Platform.cpp
 
 CPPFLAGS.Driver.cpp+=	-Dgetopt_long_only=getopt_long
@@ -19,6 +16,7 @@
 	API \
 	Log \
 	PluginInstructionARM \
+	PluginInstructionARM64 \
 	PluginProcessGDBRemote \
 	PluginProcessMachCore \
 	PluginProcessPOSIX \
@@ -40,6 +38,7 @@
 	Core \
 	DataFormatters \
 	PluginABIMacOSX_arm \
+	PluginABIMacOSX_arm64 \
 	PluginABIMacOSX_i386 \
 	PluginABISysV_x86_64 \
 	PluginAppleObjCRuntime \
@@ -48,9 +47,11 @@
 	PluginDynamicLoaderMacOSXDYLD \
 	PluginDynamicLoaderPosixDYLD \
 	PluginDynamicLoaderStatic \
+	PluginJITLoaderGDB \
 	PluginObjectContainerBSDArchive \
 	PluginObjectContainerMachOArchive \
 	PluginObjectFileELF \
+	PluginObjectFileJIT \
 	PluginObjectFileMachO \
 	PluginObjectFilePECOFF \
 	PluginPlatformNetBSD \
@@ -89,8 +90,6 @@
 	ipo \
 	IRReader \
 	AsmParser \
-	BitReader \
-	BitWriter \
 	MCDisassembler \
 	AArch64CodeGen \
 	AArch64TargetInfo \
@@ -114,11 +113,15 @@
 	PowerPCCodeGen \
 	PowerPCAsmParser \
 	PowerPCTargetInfo \
+	PowerPCDisassembler \
 	PowerPCMCTargetDesc \
 	PowerPCAsmPrinter \
 	SparcCodeGen \
 	SparcTargetInfo \
+	SparcDisassembler \
 	SparcMCTargetDesc \
+	SparcAsmParser \
+	SparcAsmPrinter \
 	X86CodeGen \
 	X86TargetInfo \
 	X86MCTargetDesc \
@@ -126,7 +129,6 @@
 	X86Disassembler \
 	X86AsmPrinter \
 	X86Utils \
-	Object \
 	SelectionDAG \
 	AsmPrinter \
 	CodeGen \
@@ -138,16 +140,20 @@
 	MCDisassembler \
 	MCParser \
 	MC \
+	Object \
+	BitReader \
+	BitWriter \
 	Linker \
 	TransformsUtils \
 	Analysis \
 	ipa \
 	IR \
+	ProfileData \
 	Option \
 	Support
 
-LDADD+=	-ledit -lterminfo -lexecinfo
-DPADD+=	${LIBEDIT} ${LIBTERMINFO} ${LIBEXECINFO}
+LDADD+=	-ledit -lterminfo -lexecinfo -lz
+DPADD+=	${LIBEDIT} ${LIBTERMINFO} ${LIBEXECINFO} ${LIBZ}
 DBG=-g
 
 .include "${.PARSEDIR}/../../link.mk"
--- a/external/bsd/llvm/bin/llvm-readobj/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/bin/llvm-readobj/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/02/14 20:23:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/05/30 18:28:13 joerg Exp $
 
 PROG_CXX=	llvm-readobj
 NOMAN=		yes
@@ -14,7 +14,8 @@
 	Error.cpp \
 	MachODumper.cpp \
 	ObjDumper.cpp \
-	StreamWriter.cpp
+	StreamWriter.cpp \
+	Win64EHDumper.cpp
 
 LLVM_LIBS+= \
 	AArch64TargetInfo \
--- a/external/bsd/llvm/config/clang/Config/config.h	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/config/clang/Config/config.h	Fri May 30 18:28:13 2014 +0000
@@ -14,7 +14,7 @@
 #define C_INCLUDE_DIRS "/usr/include/clang-3.5:/usr/include"
 
 /* Linker version detected at compile time. */
-#define HOST_LINK_VERSION "2.23.52.20130913"
+#define HOST_LINK_VERSION "1"
 
 /* Default <path> to all compiler invocations for --sysroot=<path>. */
 #define DEFAULT_SYSROOT ""
--- a/external/bsd/llvm/config/llvm/Config/config.h.in	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in	Fri May 30 18:28:13 2014 +0000
@@ -34,24 +34,6 @@
 /* Directory where gcc is installed. */
 #define GCC_INSTALL_PREFIX ""
 
-/* Define to 1 if you have the `argz_append' function. */
-/* #undef HAVE_ARGZ_APPEND */
-
-/* Define to 1 if you have the `argz_create_sep' function. */
-/* #undef HAVE_ARGZ_CREATE_SEP */
-
-/* Define to 1 if you have the <argz.h> header file. */
-/* #undef HAVE_ARGZ_H */
-
-/* Define to 1 if you have the `argz_insert' function. */
-/* #undef HAVE_ARGZ_INSERT */
-
-/* Define to 1 if you have the `argz_next' function. */
-/* #undef HAVE_ARGZ_NEXT */
-
-/* Define to 1 if you have the `argz_stringify' function. */
-/* #undef HAVE_ARGZ_STRINGIFY */
-
 /* Define to 1 if you have the `backtrace' function. */
 /* #undef HAVE_BACKTRACE */
 
@@ -61,9 +43,6 @@
 /* Define if the neat program is available */
 /* #undef HAVE_CIRCO */
 
-/* Define to 1 if you have the `closedir' function. */
-#define HAVE_CLOSEDIR 1
-
 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
 /* #undef HAVE_CRASHREPORTERCLIENT_H */
 
@@ -93,12 +72,6 @@
    */
 #define HAVE_DIRENT_H 1
 
-/* Define if you have the GNU dld library. */
-/* #undef HAVE_DLD */
-
-/* Define to 1 if you have the `dlerror' function. */
-#define HAVE_DLERROR 1
-
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #define HAVE_DLFCN_H 1
 
@@ -111,15 +84,9 @@
 /* Define if the dotty program is available */
 /* #undef HAVE_DOTTY */
 
-/* Define if you have the _dyld_func_lookup function. */
-/* #undef HAVE_DYLD */
-
 /* Define to 1 if you have the <errno.h> header file. */
 #define HAVE_ERRNO_H 1
 
-/* Define to 1 if the system has the type `error_t'. */
-/* #undef HAVE_ERROR_T */
-
 /* Define to 1 if you have the <execinfo.h> header file. */
 #define HAVE_EXECINFO_H 1
 
@@ -206,9 +173,6 @@
 /* Set to 1 if the isnan function is found in <math.h> */
 #define HAVE_ISNAN_IN_MATH_H 1
 
-/* Define if you have the libdl library or equivalent. */
-#define HAVE_LIBDL 1
-
 /* Define if libedit is available on this platform. */
 #define HAVE_LIBEDIT 1
 
@@ -258,9 +222,6 @@
 /* Define to 1 if you have the <mach/mach.h> header file. */
 /* #undef HAVE_MACH_MACH_H */
 
-/* Define to 1 if you have the <mach-o/dyld.h> header file. */
-/* #undef HAVE_MACH_O_DYLD_H */
-
 /* Define if mallinfo() is available on this platform. */
 /* #undef HAVE_MALLINFO */
 
@@ -304,9 +265,6 @@
 /* Define if the neat program is available */
 /* #undef HAVE_NEATO */
 
-/* Define to 1 if you have the `opendir' function. */
-#define HAVE_OPENDIR 1
-
 /* Define to 1 if you have the `posix_spawn' function. */
 #define HAVE_POSIX_SPAWN 1
 
@@ -316,9 +274,6 @@
 /* Define to 1 if you have the `pread' function. */
 #define HAVE_PREAD 1
 
-/* Define if libtool can extract symbol lists from object files. */
-#define HAVE_PRELOADED_SYMBOLS 1
-
 /* Define to have the %a format string */
 #define HAVE_PRINTF_A 1
 
@@ -337,9 +292,6 @@
 /* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
 #define HAVE_RAND48 1
 
-/* Define to 1 if you have the `readdir' function. */
-#define HAVE_READDIR 1
-
 /* Define to 1 if you have the `realpath' function. */
 #define HAVE_REALPATH 1
 
@@ -367,9 +319,6 @@
 /* Define to 1 if you have the `setrlimit' function. */
 #define HAVE_SETRLIMIT 1
 
-/* Define if you have the shl_load function. */
-/* #undef HAVE_SHL_LOAD */
-
 /* Define to 1 if you have the `siglongjmp' function. */
 /* #undef HAVE_SIGLONGJMP */
 
@@ -535,7 +484,7 @@
 /* #undef HAVE____CHKSTK */
 
 /* Linker version detected at compile time. */
-#define HOST_LINK_VERSION "2.23.52.20130913"
+#define HOST_LINK_VERSION "1"
 
 /* Installation directory for binary executables */
 #define LLVM_BINDIR "/usr/bin"
@@ -645,26 +594,16 @@
 /* Minor version of the LLVM API */
 #define LLVM_VERSION_MINOR 5
 
-/* Define if the OS needs help to load dependent libraries for dlopen(). */
-/* #undef LTDL_DLOPEN_DEPLIBS */
+/* Patch version of the LLVM API */
+#define LLVM_VERSION_PATCH 0
 
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
-   */
-#define LTDL_OBJDIR ".libs/"
-
-/* Define to the extension used for shared libraries, say, ".so". */
+/* The shared library extension */
 #define LTDL_SHLIB_EXT ".so"
 
-/* Define to the system default library search path. */
-#define LTDL_SYSSEARCHPATH "/lib:/usr/lib"
-
 /* Define if /dev/zero should be used when mapping RWX memory, or undefine if
    its not necessary */
 /* #undef NEED_DEV_ZERO_FOR_MMAP */
 
-/* Define if dlsym() requires a leading underscore in symbol names. */
-/* #undef NEED_USCORE */
-
 /* Define to the address where bug reports for this package should be sent. */
 #define PACKAGE_BUGREPORT "http://llvm.org/bugs/"
 
@@ -672,13 +611,13 @@
 #define PACKAGE_NAME "LLVM"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 3.5svn"
+#define PACKAGE_STRING "LLVM 3.5.0svn"
 
 /* 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.5svn"
+#define PACKAGE_VERSION "3.5.0svn"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -701,12 +640,6 @@
 /* Type of 1st arg on ELM Callback */
 /* #undef WIN32_ELMCB_PCSTR */
 
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to a type to use for `error_t' if it is not otherwise available. */
-#define error_t int
-
 /* Define to `int' if <sys/types.h> does not define. */
 /* #undef pid_t */
 
--- a/external/bsd/llvm/config/llvm/Support/DataTypes.h	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Support/DataTypes.h	Fri May 30 18:28:13 2014 +0000
@@ -38,6 +38,16 @@
 #include <math.h>
 #endif
 
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#error "Compiler must provide an implementation of stdint.h"
+#endif
+
 #ifndef _MSC_VER
 
 /* Note that this header's correct operation depends on __STDC_LIMIT_MACROS
@@ -56,14 +66,6 @@
 /* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
 #include <sys/types.h>
 
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
-#endif
-
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-
 #ifdef _AIX
 #include "llvm/Support/AIXDataTypesFix.h"
 #endif
@@ -78,8 +80,6 @@
 #endif
 
 #else /* _MSC_VER */
-/* Visual C++ doesn't provide standard integer headers, but it does provide
-   built-in data types. */
 #include <stdlib.h>
 #include <stddef.h>
 #include <sys/types.h>
@@ -88,94 +88,21 @@
 #else
 #include <math.h>
 #endif
-typedef __int64 int64_t;
-typedef unsigned __int64 uint64_t;
-typedef signed int int32_t;
-typedef unsigned int uint32_t;
-typedef short int16_t;
-typedef unsigned short uint16_t;
-typedef signed char int8_t;
-typedef unsigned char uint8_t;
+
 #if defined(_WIN64)
-  typedef signed __int64 ssize_t;
+typedef signed __int64 ssize_t;
 #else
-  typedef signed int ssize_t;
-#endif
+typedef signed int ssize_t;
+#endif /* _WIN64 */
 
-#ifndef INT8_MAX
-# define INT8_MAX 127
-#endif
-#ifndef INT8_MIN
-# define INT8_MIN -128
-#endif
-#ifndef UINT8_MAX
-# define UINT8_MAX 255
-#endif
-#ifndef INT16_MAX
-# define INT16_MAX 32767
-#endif
-#ifndef INT16_MIN
-# define INT16_MIN -32768
-#endif
-#ifndef UINT16_MAX
-# define UINT16_MAX 65535
-#endif
-#ifndef INT32_MAX
-# define INT32_MAX 2147483647
-#endif
-#ifndef INT32_MIN
-/* MSC treats -2147483648 as -(2147483648U). */
-# define INT32_MIN (-INT32_MAX - 1)
-#endif
-#ifndef UINT32_MAX
-# define UINT32_MAX 4294967295U
-#endif
-/* Certain compatibility updates to VC++ introduce the `cstdint'
- * header, which defines the INT*_C macros. On default installs they
- * are absent. */
-#ifndef INT8_C
-# define INT8_C(C)   C##i8
-#endif
-#ifndef UINT8_C
-# define UINT8_C(C)  C##ui8
-#endif
-#ifndef INT16_C
-# define INT16_C(C)  C##i16
-#endif
-#ifndef UINT16_C
-# define UINT16_C(C) C##ui16
-#endif
-#ifndef INT32_C
-# define INT32_C(C)  C##i32
-#endif
-#ifndef UINT32_C
-# define UINT32_C(C) C##ui32
-#endif
-#ifndef INT64_C
-# define INT64_C(C)  C##i64
-#endif
-#ifndef UINT64_C
-# define UINT64_C(C) C##ui64
-#endif
-
-#ifndef PRId64
-# define PRId64 "I64d"
-#endif
-#ifndef PRIi64
-# define PRIi64 "I64i"
-#endif
-#ifndef PRIo64
-# define PRIo64 "I64o"
-#endif
-#ifndef PRIu64
-# define PRIu64 "I64u"
-#endif
-#ifndef PRIx64
-# define PRIx64 "I64x"
-#endif
-#ifndef PRIX64
-# define PRIX64 "I64X"
-#endif
+#ifndef HAVE_INTTYPES_H
+#define PRId64 "I64d"
+#define PRIi64 "I64i"
+#define PRIo64 "I64o"
+#define PRIu64 "I64u"
+#define PRIx64 "I64x"
+#define PRIX64 "I64X"
+#endif /* HAVE_INTTYPES_H */
 
 #endif /* _MSC_VER */
 
--- a/external/bsd/llvm/include/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/include/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.30 2014/02/14 20:23:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.31 2014/05/30 18:28:13 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -16,6 +16,7 @@
 	f16cintrin.h \
 	fmaintrin.h \
 	fma4intrin.h \
+	ia32intrin.h \
 	immintrin.h \
 	lzcntintrin.h \
 	mm3dnow.h \
@@ -71,7 +72,7 @@
 	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/Basic/AttrHasAttributeImpl.inc|-gen-clang-attr-has-attribute-impl \
 	clang/Parse/AttrParserStringSwitches.inc|-gen-clang-attr-parser-string-switches \
 	clang/Sema/AttrParsedAttrImpl.inc|-gen-clang-attr-parsed-attr-impl \
 	clang/Sema/AttrParsedAttrKinds.inc|-gen-clang-attr-parsed-attr-kinds \
--- a/external/bsd/llvm/lib/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/02/14 20:23:56 joerg Exp $
+# $NetBSD: Makefile,v 1.40 2014/05/30 18:28:13 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -22,6 +22,7 @@
 	libLLVMObjCARC \
 	libLLVMObject \
 	libLLVMOption \
+	libLLVMProfileData \
 	libLLVMScalarOpts \
 	libLLVMSelectionDAG \
 	libLLVMSupport \
@@ -90,10 +91,13 @@
 	libLLVMRuntimeDyld
 .endif
 
+.if (${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes") || ${MKLLD} == "yes"
+SUBDIR+= \
+	libLLVMDebugInfo
+.endif
 
 .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
 SUBDIR+= \
-	libLLVMDebugInfo \
 	libLLVMCppBackend \
 	libLLVMCppBackendInfo \
 	libLLVMHello \
@@ -184,6 +188,7 @@
 	liblldbInterpreter \
 	liblldbLog \
 	liblldbPluginABIMacOSX_arm \
+	liblldbPluginABIMacOSX_arm64 \
 	liblldbPluginABIMacOSX_i386 \
 	liblldbPluginABISysV_x86_64 \
 	liblldbPluginAppleObjCRuntime \
@@ -193,9 +198,12 @@
 	liblldbPluginDynamicLoaderPosixDYLD \
 	liblldbPluginDynamicLoaderStatic \
 	liblldbPluginInstructionARM \
+	liblldbPluginInstructionARM64 \
+	liblldbPluginJITLoaderGDB \
 	liblldbPluginObjectContainerBSDArchive \
 	liblldbPluginObjectContainerMachOArchive \
 	liblldbPluginObjectFileELF \
+	liblldbPluginObjectFileJIT \
 	liblldbPluginObjectFileMachO \
 	liblldbPluginObjectFilePECOFF \
 	liblldbPluginPlatformNetBSD \
--- a/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2014/03/04 21:05:05 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2014/05/30 18:28:13 joerg Exp $
 
 LIB=	LLVMAArch64CodeGen
 
@@ -8,16 +8,26 @@
 
 CPPFLAGS+=	-I${LLVM_SRCDIR}/lib/Target/AArch64
 
-SRCS+=	AArch64AsmPrinter.cpp \
-	AArch64BranchFixupPass.cpp \
+SRCS+=	AArch64AddressTypePromotion.cpp \
+	AArch64AdvSIMDScalarPass.cpp \
+	AArch64AsmPrinter.cpp \
+	AArch64BranchRelaxation.cpp \
+	AArch64CleanupLocalDynamicTLSPass.cpp \
+	AArch64CollectLOH.cpp \
+	AArch64ConditionalCompares.cpp \
+	AArch64DeadRegisterDefinitionsPass.cpp \
+	AArch64ExpandPseudoInsts.cpp \
+	AArch64FastISel.cpp \
 	AArch64FrameLowering.cpp \
+	AArch64InstrInfo.cpp \
 	AArch64ISelDAGToDAG.cpp \
 	AArch64ISelLowering.cpp \
-	AArch64InstrInfo.cpp \
-	AArch64MachineFunctionInfo.cpp \
+	AArch64LoadStoreOptimizer.cpp \
 	AArch64MCInstLower.cpp \
+	AArch64PromoteConstant.cpp \
 	AArch64RegisterInfo.cpp \
 	AArch64SelectionDAGInfo.cpp \
+	AArch64StorePairSuppress.cpp \
 	AArch64Subtarget.cpp \
 	AArch64TargetMachine.cpp \
 	AArch64TargetObjectFile.cpp \
@@ -27,14 +37,16 @@
 TABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/AArch64
 TABLEGEN_OUTPUT= \
 	AArch64GenAsmMatcher.inc|-gen-asm-matcher \
+	AArch64GenAsmWriter1.inc|-gen-asm-writer^-asmwriternum=1 \
 	AArch64GenAsmWriter.inc|-gen-asm-writer \
 	AArch64GenCallingConv.inc|-gen-callingconv \
+	AArch64GenDAGISel.inc|-gen-dag-isel \
 	AArch64GenDisassemblerTables.inc|-gen-disassembler \
+	AArch64GenFastISel.inc|-gen-fast-isel \
 	AArch64GenInstrInfo.inc|-gen-instr-info \
 	AArch64GenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
 	AArch64GenMCPseudoLowering.inc|-gen-pseudo-lowering \
 	AArch64GenRegisterInfo.inc|-gen-register-info \
-	AArch64GenDAGISel.inc|-gen-dag-isel \
 	AArch64GenSubtargetInfo.inc|-gen-subtarget
 
 .include "${.PARSEDIR}/../../tablegen.mk"
--- a/external/bsd/llvm/lib/libLLVMAArch64Disassembler/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAArch64Disassembler/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/02/04 15:00:34 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMAArch64Disassembler
 
@@ -9,7 +9,8 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/Target/AArch64/Disassembler
 
-SRCS+=	AArch64Disassembler.cpp
+SRCS+=	AArch64Disassembler.cpp \
+	AArch64ExternalSymbolizer.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/libLLVMAArch64MCTargetDesc/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAArch64MCTargetDesc/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/02/04 15:00:34 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMAArch64MCTargetDesc
 
@@ -15,7 +15,8 @@
 	AArch64MCAsmInfo.cpp \
 	AArch64MCCodeEmitter.cpp \
 	AArch64MCExpr.cpp \
-	AArch64MCTargetDesc.cpp
+	AArch64MCTargetDesc.cpp \
+	AArch64MachObjectWriter.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2013/03/24 13:02:17 joerg Exp $
+#	$NetBSD: Makefile,v 1.13 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMARMCodeGen
 
@@ -23,6 +23,7 @@
 	ARMLoadStoreOptimizer.cpp \
 	ARMMCInstLower.cpp \
 	ARMMachineFunctionInfo.cpp \
+	ARMOptimizeBarriersPass.cpp \
 	ARMRegisterInfo.cpp \
 	ARMSelectionDAGInfo.cpp \
 	ARMSubtarget.cpp \
--- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2014/02/14 20:23:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.10 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMARMMCTargetDesc
 
@@ -19,7 +19,9 @@
 	ARMTargetStreamer.cpp \
 	ARMMachORelocationInfo.cpp \
 	ARMMachObjectWriter.cpp \
-	ARMUnwindOpAsm.cpp
+	ARMUnwindOpAsm.cpp \
+	ARMWinCOFFObjectWriter.cpp \
+	ARMWinCOFFStreamer.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2014/02/14 20:23:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.18 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMAnalysis
 
@@ -14,9 +14,11 @@
 	Analysis.cpp \
 	BasicAliasAnalysis.cpp \
 	BlockFrequencyInfo.cpp \
+	BlockFrequencyInfoImpl.cpp \
 	BranchProbabilityInfo.cpp \
 	CFG.cpp \
 	CFGPrinter.cpp \
+	CGSCCPassManager.cpp \
 	CaptureTracking.cpp \
 	CodeMetrics.cpp \
 	ConstantFolding.cpp \
--- a/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2014/02/14 20:23:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.11 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMAsmPrinter
 
@@ -7,15 +7,19 @@
 .PATH: ${LLVM_SRCDIR}/lib/CodeGen/AsmPrinter
 
 SRCS+=	ARMException.cpp \
+	AddressPool.cpp \
 	AsmPrinter.cpp \
 	AsmPrinterDwarf.cpp \
 	AsmPrinterInlineAsm.cpp \
 	DIE.cpp \
 	DIEHash.cpp \
+	DbgValueHistoryCalculator.cpp \
 	DwarfAccelTable.cpp \
 	DwarfCFIException.cpp \
 	DwarfDebug.cpp \
 	DwarfException.cpp \
+	DwarfFile.cpp \
+	DwarfStringPool.cpp \
 	DwarfUnit.cpp \
 	ErlangGCPrinter.cpp \
 	OcamlGCPrinter.cpp \
--- a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.27 2014/03/04 21:05:05 joerg Exp $
+#	$NetBSD: Makefile,v 1.28 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMCodeGen
 
@@ -9,6 +9,7 @@
 SRCS+=	AggressiveAntiDepBreaker.cpp \
 	AllocationOrder.cpp \
 	Analysis.cpp \
+	AtomicExpandLoadLinkedPass.cpp \
 	BasicTargetTransformInfo.cpp \
 	BranchFolding.cpp \
 	CalcSpillWeights.cpp \
--- a/external/bsd/llvm/lib/libLLVMIR/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMIR/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/01/15 22:21:34 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMIR
 
@@ -11,6 +11,7 @@
 	AutoUpgrade.cpp \
 	BasicBlock.cpp \
 	ConstantFold.cpp \
+	ConstantRange.cpp \
 	Constants.cpp \
 	Core.cpp \
 	DIBuilder.cpp \
@@ -34,6 +35,7 @@
 	LLVMContextImpl.cpp \
 	LeakDetector.cpp \
 	LegacyPassManager.cpp \
+	MDBuilder.cpp \
 	Mangler.cpp \
 	Metadata.cpp \
 	Module.cpp \
--- a/external/bsd/llvm/lib/libLLVMMC/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMMC/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2014/03/04 21:05:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.16 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMMC
 
@@ -30,6 +30,7 @@
 	MCInstrAnalysis.cpp \
 	MCInstPrinter.cpp \
 	MCLabel.cpp \
+	MCLinkerOptimizationHint.cpp \
 	MCModule.cpp \
 	MCMachOStreamer.cpp \
 	MCMachObjectTargetWriter.cpp \
@@ -50,6 +51,7 @@
 	MCSubtargetInfo.cpp \
 	MCSymbolizer.cpp \
 	MCSymbol.cpp \
+	MCTargetOptions.cpp \
 	MCValue.cpp \
 	MCWin64EH.cpp \
 	MachObjectWriter.cpp \
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.22 2014/03/04 21:05:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.23 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMMipsCodeGen
 
@@ -18,6 +18,7 @@
 	MipsCodeEmitter.cpp \
 	MipsConstantIslandPass.cpp \
 	MipsDelaySlotFiller.cpp \
+	MipsFastISel.cpp \
 	MipsFrameLowering.cpp \
 	MipsInstrInfo.cpp \
 	MipsISelDAGToDAG.cpp \
--- a/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2014/03/04 21:05:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.11 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMMipsMCTargetDesc
 
@@ -11,6 +11,7 @@
 
 SRCS+=	MipsAsmBackend.cpp \
 	MipsELFObjectWriter.cpp \
+	MipsELFStreamer.cpp \
 	MipsMCAsmInfo.cpp \
 	MipsMCCodeEmitter.cpp \
 	MipsMCExpr.cpp \
--- a/external/bsd/llvm/lib/libLLVMObject/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMObject/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2014/03/04 21:05:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.10 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMObject
 NOGCCERROR=	yes
@@ -20,6 +20,7 @@
 	MachOUniversal.cpp \
 	Object.cpp \
 	ObjectFile.cpp \
+	StringTableBuilder.cpp \
 	SymbolicFile.cpp \
 	YAML.cpp
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMProfileData/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -0,0 +1,17 @@
+#	$NetBSD: Makefile,v 1.1 2014/05/30 18:28:14 joerg Exp $
+
+LIB=	LLVMProfileData
+
+.include <bsd.init.mk>
+
+.PATH: ${LLVM_SRCDIR}/lib/ProfileData
+
+SRCS+=	InstrProf.cpp \
+	InstrProfReader.cpp \
+	InstrProfWriter.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
--- a/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2014/03/04 21:05:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.17 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMScalarOpts
 
@@ -19,6 +19,7 @@
 	IndVarSimplify.cpp \
 	JumpThreading.cpp \
 	LICM.cpp \
+	LoadCombine.cpp \
 	LoopDeletion.cpp \
 	LoopIdiomRecognize.cpp \
 	LoopInstSimplify.cpp \
@@ -38,6 +39,7 @@
 	Scalar.cpp \
 	ScalarReplAggregates.cpp \
 	Scalarizer.cpp \
+	SeparateConstOffsetFromGEP.cpp \
 	SimplifyCFGPass.cpp \
 	Sink.cpp \
 	StructurizeCFG.cpp \
--- a/external/bsd/llvm/lib/libLLVMSupport/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMSupport/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.26 2014/03/04 21:05:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.27 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -18,7 +18,6 @@
 	circular_raw_ostream.cpp \
 	CommandLine.cpp \
 	Compression.cpp \
-	ConstantRange.cpp \
 	ConvertUTF.c \
 	ConvertUTFWrapper.cpp \
 	CrashRecoveryContext.cpp \
--- a/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2014/01/05 16:38:07 joerg Exp $
+#	$NetBSD: Makefile,v 1.15 2014/05/30 18:28:14 joerg Exp $
 
 LIB=	LLVMTransformsUtils
 
@@ -7,6 +7,7 @@
 .PATH: ${LLVM_SRCDIR}/lib/Transforms/Utils
 
 SRCS+=	ASanStackFrameLayout.cpp \
+	AddDiscriminators.cpp \
 	BasicBlockUtils.cpp \
 	BreakCriticalEdges.cpp \
 	BuildLibCalls.cpp \
@@ -15,6 +16,7 @@
 	CloneModule.cpp \
 	CmpInstAnalysis.cpp \
 	CodeExtractor.cpp \
+	CtorUtils.cpp \
 	DemoteRegToStack.cpp \
 	FlattenCFG.cpp \
 	GlobalStatus.cpp \
--- a/external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/01/23 15:03:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	LLVMX86AsmParser
 
@@ -9,7 +9,8 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/Target/X86/AsmParser
 
-SRCS+=	X86AsmParser.cpp
+SRCS+=	X86AsmParser.cpp \
+	X86AsmInstrumentation.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2013/04/28 00:41:01 joerg Exp $
+#	$NetBSD: Makefile,v 1.11 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	LLVMX86CodeGen
 
@@ -7,7 +7,6 @@
 .PATH: ${LLVM_SRCDIR}/lib/Target/X86
 
 SRCS+=	X86AsmPrinter.cpp \
-	X86COFFMachineModuleInfo.cpp \
 	X86CodeEmitter.cpp \
 	X86FastISel.cpp \
 	X86FixupLEAs.cpp \
--- a/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2013/09/03 14:54:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	LLVMX86Disassembler
 
@@ -10,7 +10,7 @@
 .PATH: ${LLVM_SRCDIR}/lib/Target/X86/Disassembler
 
 SRCS+=	X86Disassembler.cpp \
-	X86DisassemblerDecoder.c
+	X86DisassemblerDecoder.cpp
 
 .for src in ${SRCS:M*.c}
 CPPFLAGS.${src}+=	-std=gnu99
--- a/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2013/05/28 17:37:35 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	LLVMX86MCTargetDesc
 
@@ -17,7 +17,8 @@
 	X86MachORelocationInfo.cpp \
 	X86MachObjectWriter.cpp \
 	X86ELFRelocationInfo.cpp \
-	X86WinCOFFObjectWriter.cpp
+	X86WinCOFFObjectWriter.cpp \
+	X86WinCOFFStreamer.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/libclangAnalysis/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libclangAnalysis/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.11 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	clangAnalysis
 
@@ -25,6 +25,9 @@
 	ReachableCode.cpp \
 	ScanfFormatString.cpp \
 	ThreadSafety.cpp \
+	ThreadSafetyCommon.cpp \
+	ThreadSafetyLogical.cpp \
+	ThreadSafetyTIL.cpp \
 	UninitializedValues.cpp
 
 .if defined(HOSTLIB)
--- a/external/bsd/llvm/lib/libclangBasic/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libclangBasic/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2014/03/04 21:05:06 joerg Exp $
+#	$NetBSD: Makefile,v 1.12 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	clangBasic
 
@@ -6,7 +6,8 @@
 
 .PATH: ${CLANG_SRCDIR}/lib/Basic
 
-SRCS+=	Builtins.cpp \
+SRCS+=	Attributes.cpp \
+	Builtins.cpp \
 	CharInfo.cpp \
 	Diagnostic.cpp \
 	DiagnosticIDs.cpp \
@@ -25,7 +26,8 @@
 	TokenKinds.cpp \
 	Version.cpp \
 	VersionTuple.cpp \
-	VirtualFileSystem.cpp
+	VirtualFileSystem.cpp \
+	Warnings.cpp
 
 CPPFLAGS.Version.cpp=	-DSVN_REVISION=\"${CLANG_REVISION}\" \
 			-DLLVM_REVISION=\"${LLVM_REVISION}\"
--- a/external/bsd/llvm/lib/libclangCodeGen/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libclangCodeGen/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2014/01/15 22:21:35 joerg Exp $
+#	$NetBSD: Makefile,v 1.10 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	clangCodeGen
 
@@ -27,14 +27,17 @@
 	CGExprConstant.cpp \
 	CGExprCXX.cpp \
 	CGExprScalar.cpp \
+	CGLoopInfo.cpp \
 	CGObjC.cpp \
 	CGObjCGNU.cpp \
 	CGObjCMac.cpp \
 	CGObjCRuntime.cpp \
 	CGOpenCLRuntime.cpp \
+	CGOpenMPRuntime.cpp \
 	CGRecordLayoutBuilder.cpp \
 	CGRTTI.cpp \
 	CGStmt.cpp \
+	CGStmtOpenMP.cpp \
 	CGVTables.cpp \
 	CGVTT.cpp \
 	CodeGenABITypes.cpp \
@@ -46,6 +49,7 @@
 	CodeGenTypes.cpp \
 	ItaniumCXXABI.cpp \
 	MicrosoftCXXABI.cpp \
+	MicrosoftRTTI.cpp \
 	ModuleBuilder.cpp \
 	TargetInfo.cpp
 
--- a/external/bsd/llvm/lib/libclangFrontend/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/libclangFrontend/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2012/02/28 17:09:31 joerg Exp $
+#	$NetBSD: Makefile,v 1.12 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	clangFrontend
 
@@ -33,8 +33,7 @@
 	TextDiagnostic.cpp \
 	TextDiagnosticBuffer.cpp \
 	TextDiagnosticPrinter.cpp \
-	VerifyDiagnosticConsumer.cpp \
-	Warnings.cpp
+	VerifyDiagnosticConsumer.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/liblldDriver/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldDriver/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2014/01/05 16:38:07 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	lldDriver
 
@@ -13,7 +13,8 @@
 	GnuLdInputGraph.cpp \
 	UniversalDriver.cpp \
 	WinLinkDriver.cpp \
-	WinLinkInputGraph.cpp
+	WinLinkInputGraph.cpp \
+	WinLinkModuleDef.cpp
 
 TABLEGEN_SRC=	CoreOptions.td DarwinLdOptions.td GnuLdOptions.td \
 	UniversalDriverOptions.td WinLinkOptions.td
--- a/external/bsd/llvm/lib/liblldReaderWriterELFMips/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriterELFMips/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2014/01/05 16:38:07 joerg Exp $
+    #	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	lldReaderWriterELFMips
 
@@ -10,6 +10,7 @@
 
 SRCS+=	MipsLinkingContext.cpp \
 	MipsRelocationHandler.cpp \
+	MipsRelocationPass.cpp \
 	MipsTargetHandler.cpp
 
 .if defined(HOSTLIB)
--- a/external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2014/01/05 16:38:07 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	lldReaderWriterMachO
 
@@ -10,6 +10,7 @@
 	MachONormalizedFileBinaryReader.cpp \
 	MachONormalizedFileBinaryWriter.cpp \
 	MachONormalizedFileFromAtoms.cpp \
+	MachONormalizedFileToAtoms.cpp \
 	MachONormalizedFileYAML.cpp \
 	ReferenceKinds.cpp \
 	WriterMachO.cpp
--- a/external/bsd/llvm/lib/liblldbAPI/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbAPI/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	lldbAPI
 
@@ -26,7 +26,6 @@
 	SBFrame.cpp \
 	SBFunction.cpp \
 	SBHostOS.cpp \
-	SBInputReader.cpp \
 	SBInstruction.cpp \
 	SBInstructionList.cpp \
 	SBLineEntry.cpp \
--- a/external/bsd/llvm/lib/liblldbCommands/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbCommands/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	lldbCommands
 
@@ -6,6 +6,8 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Commands
 
+CPPFLAGS.CommandObjectGUI.cpp+= -DLLDB_DISABLE_CURSES
+
 SRCS+=	CommandCompletions.cpp \
 	CommandObjectApropos.cpp \
 	CommandObjectArgs.cpp \
@@ -15,6 +17,7 @@
 	CommandObjectDisassemble.cpp \
 	CommandObjectExpression.cpp \
 	CommandObjectFrame.cpp \
+	CommandObjectGUI.cpp \
 	CommandObjectHelp.cpp \
 	CommandObjectLog.cpp \
 	CommandObjectMemory.cpp \
--- a/external/bsd/llvm/lib/liblldbCore/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbCore/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	lldbCore
 
@@ -6,6 +6,8 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Core
 
+CPPFLAGS.IOHandler.cpp+= -DLLDB_DISABLE_CURSES
+
 SRCS+=	Address.cpp \
 	AddressRange.cpp \
 	AddressResolver.cpp \
@@ -33,9 +35,7 @@
 	FileLineResolver.cpp \
 	FileSpecList.cpp \
 	History.cpp \
-	InputReader.cpp \
-	InputReaderEZ.cpp \
-	InputReaderStack.cpp \
+	IOHandler.cpp \
 	Language.cpp \
 	Listener.cpp \
 	Log.cpp \
--- a/external/bsd/llvm/lib/liblldbHostCommon/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbHostCommon/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:15 joerg Exp $
 
 LIB=	lldbHostCommon
 
@@ -8,6 +8,7 @@
 
 SRCS+=	Condition.cpp \
 	DynamicLibrary.cpp \
+	Editline.cpp \
 	File.cpp \
 	FileSpec.cpp \
 	Host.cpp \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginABIMacOSX_arm64/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -0,0 +1,15 @@
+#	$NetBSD: Makefile,v 1.1 2014/05/30 18:28:15 joerg Exp $
+
+LIB=	lldbPluginABIMacOSX_arm64
+
+.include <bsd.init.mk>
+
+.PATH: ${LLDB_SRCDIR}/source/Plugins/ABI/MacOSX-arm64
+
+SRCS+=	ABIMacOSX_arm64.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/liblldbPluginInstructionARM64/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -0,0 +1,15 @@
+#	$NetBSD: Makefile,v 1.1 2014/05/30 18:28:15 joerg Exp $
+
+LIB=	lldbPluginInstructionARM64
+
+.include <bsd.init.mk>
+
+.PATH: ${LLDB_SRCDIR}/source/Plugins/Instruction/ARM64
+
+SRCS+=	EmulateInstructionARM64.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/liblldbPluginJITLoaderGDB/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -0,0 +1,15 @@
+#	$NetBSD: Makefile,v 1.1 2014/05/30 18:28:16 joerg Exp $
+
+LIB=	lldbPluginJITLoaderGDB
+
+.include <bsd.init.mk>
+
+.PATH: ${LLDB_SRCDIR}/source/Plugins/JITLoader/GDB
+
+SRCS+=	JITLoaderGDB.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/liblldbPluginObjectFileJIT/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -0,0 +1,15 @@
+#	$NetBSD: Makefile,v 1.1 2014/05/30 18:28:16 joerg Exp $
+
+LIB=	lldbPluginObjectFileJIT
+
+.include <bsd.init.mk>
+
+.PATH: ${LLDB_SRCDIR}/source/Plugins/ObjectFile/JIT
+
+SRCS+=	ObjectFileJIT.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
--- a/external/bsd/llvm/lib/liblldbPluginProcessElfCore/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginProcessElfCore/Makefile	Fri May 30 18:28:13 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/05/30 18:28:16 joerg Exp $
 
 LIB=	lldbPluginProcessElfCore
 
@@ -6,7 +6,9 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Plugins/Process/elf-core
 
-CPPFLAGS.RegisterContextPOSIXCore_mips64.cpp+= -I${LLDB_SRCDIR}/source/Plugins/Process/POSIX
+CPPFLAGS.RegisterContextPOSIXCore_mips64.cpp+= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+CPPFLAGS.RegisterContextPOSIXCore_x86_64.cpp+= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+CPPFLAGS.ThreadElfCore.cpp+= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility
 
 SRCS+=	ProcessElfCore.cpp \
 	RegisterContextPOSIXCore_mips64.cpp \
--- a/external/bsd/llvm/lib/liblldbPluginProcessNetBSD/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginProcessNetBSD/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:16 joerg Exp $
 
 LIB=	lldbPluginProcessNetBSD
 
@@ -6,6 +6,9 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
 
+CPPFLAGS.ProcessFreeBSD.cpp+=	-I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+CPPFLAGS.ProcessMonitor.cpp+=	-I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+
 SRCS+=	ProcessFreeBSD.cpp \
 	ProcessMonitor.cpp
 
--- a/external/bsd/llvm/lib/liblldbPluginProcessPOSIX/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginProcessPOSIX/Makefile	Fri May 30 18:28:13 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/05/30 18:28:16 joerg Exp $
 
 LIB=	lldbPluginProcessPOSIX
 
@@ -6,11 +6,12 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Plugins/Process/POSIX
 
-CPPFLAGS.POSIXThread.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.ProcessPOSIX.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.RegisterContextPOSIX_x86.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.RegisterContextPOSIXProcessMonitor_x86.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.RegisterContextPOSIXProcessMonitor_mips64.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
+CPPFLAGS.POSIXStopInfo.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+CPPFLAGS.POSIXThread.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
+CPPFLAGS.ProcessPOSIX.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
+CPPFLAGS.RegisterContextPOSIX_x86.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+CPPFLAGS.RegisterContextPOSIXProcessMonitor_x86.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
+CPPFLAGS.RegisterContextPOSIXProcessMonitor_mips64.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/Utility -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
 CPPFLAGS.POSIXThread.cpp+=	-I${LLDB_SRCDIR}/source/Plugins/Process/Utility
 
 SRCS+=	POSIXStopInfo.cpp \
@@ -18,13 +19,6 @@
 	ProcessMessage.cpp \
 	ProcessPOSIX.cpp \
 	ProcessPOSIXLog.cpp \
-	RegisterContextPOSIX_mips64.cpp \
-	RegisterContextPOSIX_x86.cpp \
-	RegisterContextFreeBSD_i386.cpp \
-	RegisterContextFreeBSD_mips64.cpp \
-	RegisterContextFreeBSD_x86_64.cpp \
-	RegisterContextLinux_i386.cpp \
-	RegisterContextLinux_x86_64.cpp \
 	RegisterContextPOSIXProcessMonitor_mips64.cpp \
 	RegisterContextPOSIXProcessMonitor_x86.cpp
 
--- a/external/bsd/llvm/lib/liblldbPluginProcessUtility/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginProcessUtility/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/11/11 23:51:36 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2014/05/30 18:28:16 joerg Exp $
 
 LIB=	lldbPluginProcessUtility
 
@@ -7,13 +7,20 @@
 .PATH: ${LLDB_SRCDIR}/source/Plugins/Process/Utility
 
 SRCS+=	DynamicRegisterInfo.cpp \
+	FreeBSDSignals.cpp \
 	HistoryThread.cpp \
 	HistoryUnwind.cpp \
 	InferiorCallPOSIX.cpp \
 	RegisterContextDarwin_arm.cpp \
+	RegisterContextDarwin_arm64.cpp \
 	RegisterContextDarwin_i386.cpp \
 	RegisterContextDarwin_x86_64.cpp \
 	RegisterContextDummy.cpp \
+	RegisterContextFreeBSD_i386.cpp \
+	RegisterContextFreeBSD_mips64.cpp \
+	RegisterContextFreeBSD_x86_64.cpp \
+	RegisterContextLinux_i386.cpp \
+	RegisterContextLinux_x86_64.cpp \
 	RegisterContextHistory.cpp \
 	RegisterContextLLDB.cpp \
 	RegisterContextMach_arm.cpp \
@@ -21,6 +28,8 @@
 	RegisterContextMach_x86_64.cpp \
 	RegisterContextMacOSXFrameBackchain.cpp \
 	RegisterContextMemory.cpp \
+	RegisterContextPOSIX_mips64.cpp \
+	RegisterContextPOSIX_x86.cpp \
 	RegisterContextThreadMemory.cpp \
 	StopInfoMachException.cpp \
 	ThreadMemory.cpp \
--- a/external/bsd/llvm/lib/liblldbTarget/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbTarget/Makefile	Fri May 30 18:28:13 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/05/30 18:28:16 joerg Exp $
 
 LIB=	lldbTarget
 
@@ -11,6 +11,8 @@
 SRCS+=	ABI.cpp \
 	CPPLanguageRuntime.cpp \
 	ExecutionContext.cpp \
+	JITLoader.cpp \
+	JITLoaderList.cpp \
 	LanguageRuntime.cpp \
 	Memory.cpp \
 	ObjCLanguageRuntime.cpp \
@@ -18,7 +20,11 @@
 	PathMappingList.cpp \
 	Platform.cpp \
 	Process.cpp \
+	Queue.cpp \
+	QueueItem.cpp \
+	QueueList.cpp \
 	RegisterContext.cpp \
+	SectionLoadHistory.cpp \
 	SectionLoadList.cpp \
 	StackFrame.cpp \
 	StackFrameList.cpp \
--- a/external/bsd/llvm/lib/liblldbUtility/Makefile	Fri May 30 18:13:37 2014 +0000
+++ b/external/bsd/llvm/lib/liblldbUtility/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:16 joerg Exp $
 
 LIB=	lldbUtility
 
@@ -7,6 +7,7 @@
 .PATH: ${LLDB_SRCDIR}/source/Utility
 
 SRCS+=	ARM_DWARF_Registers.cpp \
+	ARM64_DWARF_Registers.cpp \
 	KQueue.cpp \
 	PseudoTerminal.cpp \
 	Range.cpp \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libLLVMDebugInfo/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -0,0 +1,3 @@
+#	$NetBSD: Makefile,v 1.1 2014/05/30 18:28:16 joerg Exp $
+
+.include <bsd.init.mk>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libLLVMProfileData/Makefile	Fri May 30 18:28:13 2014 +0000
@@ -0,0 +1,3 @@
+#	$NetBSD: Makefile,v 1.1 2014/05/30 18:28:16 joerg Exp $
+
+.include <bsd.init.mk>