Update LLVM/Clang snapshot to r192551 for various bug fixes. trunk
authorjoerg <joerg@NetBSD.org>
Mon, 14 Oct 2013 01:37:39 +0000
branchtrunk
changeset 221582 d45af19ba6e8
parent 221581 3fdc9da4bd3c
child 221583 ef4716527158
Update LLVM/Clang snapshot to r192551 for various bug fixes.
distrib/sets/lists/comp/md.amd64
distrib/sets/lists/comp/md.i386
external/bsd/llvm/Makefile.inc
external/bsd/llvm/bin/Makefile
external/bsd/llvm/bin/lld/Makefile
external/bsd/llvm/bin/lli/Makefile
external/bsd/llvm/bin/llvm-prof/Makefile
external/bsd/llvm/include/Makefile
external/bsd/llvm/lib/Makefile.inc
external/bsd/llvm/lib/libLLVMAnalysis/Makefile
external/bsd/llvm/lib/libLLVMInstrumentation/Makefile
external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile
external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile
external/bsd/llvm/lib/libclangAST/Makefile
external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile
external/bsd/llvm/lib/liblldCore/Makefile
external/bsd/llvm/lib/liblldReaderWriter/Makefile
external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile
external/bsd/llvm/lib/liblldbDataFormatters/Makefile
external/bsd/llvm/lib/liblldbPluginProcessElfCore/Makefile
external/bsd/llvm/lib/liblldbPluginProcessMachCore/Makefile
external/bsd/llvm/lib/liblldbPluginProcessPOSIX/Makefile
external/bsd/llvm/lib/liblldbTarget/Makefile
--- a/distrib/sets/lists/comp/md.amd64	Mon Oct 14 01:30:21 2013 +0000
+++ b/distrib/sets/lists/comp/md.amd64	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.200 2013/09/29 21:34:44 htodd Exp $
+# $NetBSD: md.amd64,v 1.201 2013/10/14 01:37:39 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
@@ -165,6 +165,7 @@
 ./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
--- a/distrib/sets/lists/comp/md.i386	Mon Oct 14 01:30:21 2013 +0000
+++ b/distrib/sets/lists/comp/md.i386	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.137 2013/09/21 22:28:12 joerg Exp $
+# $NetBSD: md.i386,v 1.138 2013/10/14 01:37:39 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
@@ -96,6 +96,7 @@
 ./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
--- a/external/bsd/llvm/Makefile.inc	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/Makefile.inc	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.56 2013/09/29 12:11:59 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.57 2013/10/14 01:37:39 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -7,7 +7,7 @@
 
 SVN_ROOT=		http://llvm.org/svn/llvm-project
 
-COMMON_REVISION=	191390
+COMMON_REVISION=	192551
 CLANG_REVISION=		${COMMON_REVISION}
 COMPILER_RT_REVISION=	${COMMON_REVISION}
 LLD_REVISION=		${COMMON_REVISION}
--- a/external/bsd/llvm/bin/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/bin/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2013/09/29 12:11:59 joerg Exp $
+#	$NetBSD: Makefile,v 1.13 2013/10/14 01:37:39 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -39,7 +39,6 @@
 	llvm-mc \
 	llvm-nm \
 	llvm-objdump \
-	llvm-prof \
 	llvm-readobj \
 	llvm-size \
 	llvm-symbolizer \
--- a/external/bsd/llvm/bin/lld/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/bin/lld/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/02 14:34:55 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:39 joerg Exp $
 
 PROG_CXX=	lld
 NOMAN=		yes
@@ -17,12 +17,12 @@
 	lldReaderWriterELFX86 \
 	lldReaderWriterELFX86_64 \
 	lldReaderWriterMachO \
-	lldReaderWriterNative \
 	lldReaderWriterPECOFF \
 	lldReaderWriter \
 	lldReaderWriterYAML \
 	lldPasses \
-	lldCore
+	lldCore \
+	lldReaderWriterNative \
 
 LLVM_LIBS+= \
 	Object \
--- a/external/bsd/llvm/bin/lli/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/bin/lli/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2013/07/07 21:36:43 joerg Exp $
+#	$NetBSD: Makefile,v 1.11 2013/10/14 01:37:39 joerg Exp $
 
 PROG_CXX=	lli
 NOMAN=		yes
@@ -8,8 +8,9 @@
 .PATH: ${LLVM_SRCDIR}/tools/lli
 
 SRCS=	lli.cpp \
-	RecordingMemoryManager.cpp \
-	RemoteTarget.cpp
+	RemoteMemoryManager.cpp \
+	RemoteTarget.cpp \
+	RemoteTargetExternal.cpp
 
 LLVM_LIBS+= \
 	X86CodeGen \
--- a/external/bsd/llvm/bin/llvm-prof/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#	$NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $
-
-PROG_CXX=	llvm-prof
-NOMAN=		yes
-
-.include <bsd.init.mk>
-
-.PATH: ${LLVM_SRCDIR}/tools/llvm-prof
-
-SRCS=	llvm-prof.cpp
-
-LLVM_LIBS+= \
-	BitReader \
-	Analysis \
-	IR \
-	Support
-
-.include "${.PARSEDIR}/../../link.mk"
-
-.include <bsd.prog.mk>
--- a/external/bsd/llvm/include/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/include/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.21 2013/09/21 22:28:12 joerg Exp $
+#	$NetBSD: Makefile,v 1.22 2013/10/14 01:37:39 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -29,6 +29,7 @@
 	rtmintrin.h \
 	shaintrin.h \
 	smmintrin.h \
+	tbmintrin.h \
 	tmmintrin.h \
 	wmmintrin.h \
 	x86intrin.h \
--- a/external/bsd/llvm/lib/Makefile.inc	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/Makefile.inc	Mon Oct 14 01:37:39 2013 +0000
@@ -1,9 +1,10 @@
-#	$NetBSD: Makefile.inc,v 1.2 2013/09/29 12:11:59 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.3 2013/10/14 01:37:39 joerg Exp $
 
 LIBISPRIVATE=	yes
 
 .if !empty(LIB:Mlldb*)
 CPPFLAGS+=	-I${LLDB_SRCDIR}/source
+CPPFLAGS+=	-I${LLDB_SRCDIR}/source/Plugins/Process/POSIX
 .endif
 
 .include "${.PARSEDIR}/../Makefile.inc"
--- a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2013/09/02 14:34:55 joerg Exp $
+#	$NetBSD: Makefile,v 1.15 2013/10/14 01:37:39 joerg Exp $
 
 LIB=	LLVMAnalysis
 
@@ -41,18 +41,8 @@
 	MemoryDependenceAnalysis.cpp \
 	ModuleDebugInfoPrinter.cpp \
 	NoAliasAnalysis.cpp \
-	PathNumbering.cpp \
-	PathProfileInfo.cpp \
-	PathProfileVerifier.cpp \
 	PHITransAddr.cpp \
 	PostDominators.cpp \
-	ProfileDataLoaderPass.cpp \
-	ProfileDataLoader.cpp \
-	ProfileEstimatorPass.cpp \
-	ProfileInfo.cpp \
-	ProfileInfoLoader.cpp \
-	ProfileInfoLoaderPass.cpp \
-	ProfileVerifierPass.cpp \
 	PtrUseVisitor.cpp \
 	RegionInfo.cpp \
 	RegionPass.cpp \
--- a/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.11 2013/10/14 01:37:39 joerg Exp $
 
 LIB=	LLVMInstrumentation
 
@@ -10,12 +10,9 @@
 	BoundsChecking.cpp \
 	DataFlowSanitizer.cpp \
 	DebugIR.cpp \
-	EdgeProfiling.cpp \
 	GCOVProfiling.cpp \
 	Instrumentation.cpp \
 	MemorySanitizer.cpp \
-	OptimalEdgeProfiling.cpp \
-	PathProfiling.cpp \
 	ProfilingUtils.cpp \
 	ThreadSanitizer.cpp
 
--- a/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2013/07/07 21:36:44 joerg Exp $
+#	$NetBSD: Makefile,v 1.7 2013/10/14 01:37:39 joerg Exp $
 
 LIB=	LLVMMipsMCTargetDesc
 
@@ -11,7 +11,6 @@
 
 SRCS+=	MipsAsmBackend.cpp \
 	MipsELFObjectWriter.cpp \
-	MipsELFStreamer.cpp \
 	MipsMCAsmInfo.cpp \
 	MipsMCCodeEmitter.cpp \
 	MipsMCTargetDesc.cpp \
--- a/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2013/07/07 21:36:44 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2013/10/14 01:37:39 joerg Exp $
 
 LIB=	LLVMSparcCodeGen
 
@@ -8,9 +8,11 @@
 
 SRCS+=	DelaySlotFiller.cpp \
 	SparcAsmPrinter.cpp \
+	SparcCodeEmitter.cpp \
 	SparcInstrInfo.cpp \
 	SparcISelDAGToDAG.cpp \
 	SparcISelLowering.cpp \
+	SparcJITInfo.cpp \
 	SparcFrameLowering.cpp \
 	SparcMachineFunctionInfo.cpp \
 	SparcRegisterInfo.cpp \
@@ -22,12 +24,13 @@
 TABLEGEN_SRC=		Sparc.td
 TABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/Sparc
 TABLEGEN_OUTPUT= \
-	SparcGenRegisterInfo.inc|-gen-register-info \
-	SparcGenInstrInfo.inc|-gen-instr-info \
+	SparcGenDAGISel.inc|-gen-dag-isel \
 	SparcGenAsmWriter.inc|-gen-asm-writer \
-	SparcGenDAGISel.inc|-gen-dag-isel \
-	SparcGenSubtargetInfo.inc|-gen-subtarget \
 	SparcGenCallingConv.inc|-gen-callingconv \
+	SparcGenCodeEmitter.inc|-gen-emitter \
+	SparcGenInstrInfo.inc|-gen-instr-info \
+	SparcGenRegisterInfo.inc|-gen-register-info \
+	SparcGenSubtargetInfo.inc|-gen-subtarget
 
 .include "${.PARSEDIR}/../../tablegen.mk"
 
--- a/external/bsd/llvm/lib/libclangAST/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/libclangAST/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2013/07/07 21:36:44 joerg Exp $
+#	$NetBSD: Makefile,v 1.12 2013/10/14 01:37:39 joerg Exp $
 
 LIB=	clangAST
 
@@ -31,7 +31,6 @@
 	DeclOpenMP.cpp \
 	DeclPrinter.cpp \
 	DeclTemplate.cpp \
-	DumpXML.cpp \
 	Expr.cpp \
 	ExprClassification.cpp \
 	ExprConstant.cpp \
--- a/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2013/04/25 13:59:58 joerg Exp $
+#	$NetBSD: Makefile,v 1.21 2013/10/14 01:37:39 joerg Exp $
 
 LIB=	clangStaticAnalyzerCheckers
 
@@ -25,7 +25,6 @@
 	CheckSizeofPointer.cpp \
 	CheckerDocumentation.cpp \
 	ChrootChecker.cpp \
-	CommonBugCategories.cpp \
 	DeadStoresChecker.cpp \
 	DebugCheckers.cpp \
 	DereferenceChecker.cpp \
--- a/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.14 2013/10/14 01:37:39 joerg Exp $
 
 LIB=	clangStaticAnalyzerCore
 
@@ -19,6 +19,7 @@
 	CheckerHelpers.cpp \
 	CheckerManager.cpp \
 	CheckerRegistry.cpp \
+	CommonBugCategories.cpp \
 	ConstraintManager.cpp \
 	CoreEngine.cpp \
 	Environment.cpp \
--- a/external/bsd/llvm/lib/liblldCore/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldCore/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldCore
 
@@ -9,7 +9,6 @@
 SRCS+=	DefinedAtom.cpp \
 	Error.cpp \
 	File.cpp \
-	InputFiles.cpp \
 	LinkingContext.cpp \
 	PassManager.cpp \
 	Resolver.cpp \
--- a/external/bsd/llvm/lib/liblldReaderWriter/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriter/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/02 14:34:57 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldReaderWriter
 
@@ -9,7 +9,6 @@
 SRCS+=	CoreLinkingContext.cpp \
 	LinkerScript.cpp \
 	Reader.cpp \
-	ReaderArchive.cpp \
 	ReaderLinkerScript.cpp \
 	Writer.cpp
 
--- a/external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/02 14:34:57 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldReaderWriterMachO
 
@@ -7,6 +7,7 @@
 .PATH: ${LLD_SRCDIR}/lib/ReaderWriter/MachO
 
 SRCS+=	MachOLinkingContext.cpp \
+	MachONormalizedFileYAML.cpp \
 	ReferenceKinds.cpp \
 	WriterMachO.cpp
 
--- a/external/bsd/llvm/lib/liblldbDataFormatters/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldbDataFormatters/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldbDataFormatters
 
@@ -25,7 +25,8 @@
 	TypeCategoryMap.cpp \
 	TypeFormat.cpp \
 	TypeSummary.cpp \
-	TypeSynthetic.cpp
+	TypeSynthetic.cpp \
+	ValueObjectPrinter.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/liblldbPluginProcessElfCore/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginProcessElfCore/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldbPluginProcessElfCore
 
@@ -6,9 +6,12 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Plugins/Process/elf-core
 
+CPPFLAGS.RegisterContextPOSIXCore_mips64.cpp+= -I${LLDB_SRCDIR}/source/Plugins/Process/POSIX
+
 SRCS+=	ProcessElfCore.cpp \
-	ThreadElfCore.cpp \
-	RegisterContextPOSIXCore_x86_64.cpp
+	RegisterContextPOSIXCore_mips64.cpp \
+	RegisterContextPOSIXCore_x86_64.cpp \
+	ThreadElfCore.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/liblldbPluginProcessMachCore/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginProcessMachCore/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldbPluginProcessMachCore
 
@@ -6,6 +6,8 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Plugins/Process/mach-core
 
+CPPFLAGS.ProcessMachCore.cpp+=	-I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+
 SRCS+=	ProcessMachCore.cpp \
 	ThreadMachCore.cpp
 
--- a/external/bsd/llvm/lib/liblldbPluginProcessPOSIX/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldbPluginProcessPOSIX/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldbPluginProcessPOSIX
 
@@ -8,22 +8,25 @@
 
 CPPFLAGS.POSIXThread.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
 CPPFLAGS.ProcessPOSIX.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.RegisterContextPOSIX_i386.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.RegisterContextPOSIX_x86_64.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.RegisterContextPOSIXProcessMonitor_i386.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
-CPPFLAGS.RegisterContextPOSIXProcessMonitor_x86_64.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.POSIXThread.cpp+=	-I${LLDB_SRCDIR}/source/Plugins/Process/Utility
 
 SRCS+=	POSIXStopInfo.cpp \
 	POSIXThread.cpp \
 	ProcessMessage.cpp \
 	ProcessPOSIX.cpp \
 	ProcessPOSIXLog.cpp \
-	RegisterContextPOSIX_i386.cpp \
-	RegisterContextPOSIX_x86_64.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_i386.cpp \
-	RegisterContextPOSIXProcessMonitor_x86_64.cpp
+	RegisterContextPOSIXProcessMonitor_mips64.cpp \
+	RegisterContextPOSIXProcessMonitor_x86.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
--- a/external/bsd/llvm/lib/liblldbTarget/Makefile	Mon Oct 14 01:30:21 2013 +0000
+++ b/external/bsd/llvm/lib/liblldbTarget/Makefile	Mon Oct 14 01:37:39 2013 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/10/14 01:37:40 joerg Exp $
 
 LIB=	lldbTarget
 
@@ -6,6 +6,8 @@
 
 .PATH: ${LLDB_SRCDIR}/source/Target
 
+CPPFLAGS.Thread.cpp+=	-I${LLDB_SRCDIR}/source/Plugins/Process/Utility
+
 SRCS+=	ABI.cpp \
 	CPPLanguageRuntime.cpp \
 	ExecutionContext.cpp \