Module Name:    src
Committed By:   joerg
Date:           Sun Apr 29 19:19:06 UTC 2012

Modified Files:
        src/external/bsd/llvm: Makefile.inc
        src/external/bsd/llvm/bin: Makefile
        src/external/bsd/llvm/bin/clang: Makefile
        src/external/bsd/llvm/config/clang/Config: config.h
        src/external/bsd/llvm/config/llvm/Config: config.h
        src/external/bsd/llvm/lib: Makefile
        src/external/bsd/llvm/lib/libLLVMCodeGen: Makefile
        src/external/bsd/llvm/lib/libLLVMMipsCodeGen: Makefile
        src/external/bsd/llvm/lib/libLLVMRuntimeDyld: Makefile
        src/external/bsd/llvm/lib/libLLVMSupport: Makefile
        src/external/bsd/llvm/lib/libclangSema: Makefile
Added Files:
        src/external/bsd/llvm/lib/libLLVMMipsDisassembler: Makefile
Removed Files:
        src/external/bsd/llvm/bin/llvm-ld: Makefile
        src/external/bsd/llvm/bin/llvm-stub: Makefile
        src/external/bsd/llvm/lib/libclangIndex: Makefile

Log Message:
Update LLVM/Clang snapshot to r155677, bringing in a number of bugfixes.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/bin/Makefile
cvs rdiff -u -r1.19 -r1.20 src/external/bsd/llvm/bin/clang/Makefile
cvs rdiff -u -r1.3 -r0 src/external/bsd/llvm/bin/llvm-ld/Makefile
cvs rdiff -u -r1.1 -r0 src/external/bsd/llvm/bin/llvm-stub/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/config/clang/Config/config.h
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/llvm/config/llvm/Config/config.h
cvs rdiff -u -r1.21 -r1.22 src/external/bsd/llvm/lib/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile
cvs rdiff -u -r1.8 -r1.9 \
    src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
cvs rdiff -u -r0 -r1.1 \
    src/external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile
cvs rdiff -u -r1.3 -r1.4 \
    src/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/llvm/lib/libLLVMSupport/Makefile
cvs rdiff -u -r1.2 -r0 src/external/bsd/llvm/lib/libclangIndex/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/llvm/lib/libclangSema/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/llvm/Makefile.inc
diff -u src/external/bsd/llvm/Makefile.inc:1.33 src/external/bsd/llvm/Makefile.inc:1.34
--- src/external/bsd/llvm/Makefile.inc:1.33	Sat Apr 14 15:11:17 2012
+++ src/external/bsd/llvm/Makefile.inc	Sun Apr 29 19:19:04 2012
@@ -1,12 +1,12 @@
-#	$NetBSD: Makefile.inc,v 1.33 2012/04/14 15:11:17 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.34 2012/04/29 19:19:04 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
 
 .include <bsd.own.mk>
 
-LLVM_REVISION=	154578
-CLANG_REVISION=	154578
+LLVM_REVISION=	155677
+CLANG_REVISION=	155677
 
 LLVM_SRCDIR:=	${.PARSEDIR}/dist/llvm
 CLANG_SRCDIR:=	${.PARSEDIR}/dist/clang

Index: src/external/bsd/llvm/bin/Makefile
diff -u src/external/bsd/llvm/bin/Makefile:1.4 src/external/bsd/llvm/bin/Makefile:1.5
--- src/external/bsd/llvm/bin/Makefile:1.4	Wed Apr  4 10:42:00 2012
+++ src/external/bsd/llvm/bin/Makefile	Sun Apr 29 19:19:04 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2012/04/04 10:42:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2012/04/29 19:19:04 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -19,7 +19,6 @@ SUBDIR+= \
 	llvm-dis \
 	llvm-dwarfdump \
 	llvm-extract \
-	llvm-ld \
 	llvm-link \
 	llvm-mc \
 	llvm-nm \
@@ -27,7 +26,6 @@ SUBDIR+= \
 	llvm-ranlib \
 	llvm-readobj \
 	llvm-size \
-	llvm-stub \
 	macho-dumpx \
 	opt
 .endif

Index: src/external/bsd/llvm/bin/clang/Makefile
diff -u src/external/bsd/llvm/bin/clang/Makefile:1.19 src/external/bsd/llvm/bin/clang/Makefile:1.20
--- src/external/bsd/llvm/bin/clang/Makefile:1.19	Wed Apr  4 10:42:00 2012
+++ src/external/bsd/llvm/bin/clang/Makefile	Sun Apr 29 19:19:04 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2012/04/04 10:42:00 joerg Exp $
+#	$NetBSD: Makefile,v 1.20 2012/04/29 19:19:04 joerg Exp $
 
 PROG_CXX=	clang
 NOMAN=		yes
@@ -30,7 +30,6 @@ CLANG_LIBS+= \
 	clangParse \
 	clangSema \
 	clangAnalysis \
-	clangIndex \
 	clangRewrite \
 	clangAST \
 	clangLex \

Index: src/external/bsd/llvm/config/clang/Config/config.h
diff -u src/external/bsd/llvm/config/clang/Config/config.h:1.1 src/external/bsd/llvm/config/clang/Config/config.h:1.2
--- src/external/bsd/llvm/config/clang/Config/config.h:1.1	Tue Feb 28 17:09:30 2012
+++ src/external/bsd/llvm/config/clang/Config/config.h	Sun Apr 29 19:19:05 2012
@@ -16,4 +16,7 @@
 /* Directories clang will search for headers */
 #define C_INCLUDE_DIRS "/usr/include/clang-3.0:/usr/include"
 
+/* Default <path> to all compiler invocations for --sysroot=<path>. */
+#define DEFAULT_SYSROOT ""
+
 #endif

Index: src/external/bsd/llvm/config/llvm/Config/config.h
diff -u src/external/bsd/llvm/config/llvm/Config/config.h:1.7 src/external/bsd/llvm/config/llvm/Config/config.h:1.8
--- src/external/bsd/llvm/config/llvm/Config/config.h:1.7	Tue Feb 28 17:09:30 2012
+++ src/external/bsd/llvm/config/llvm/Config/config.h	Sun Apr 29 19:19:05 2012
@@ -13,8 +13,8 @@
 /* Directories clang will search for headers */
 #define C_INCLUDE_DIRS "/usr/include/clang-3.0:/usr/include"
 
-/* Define if CBE is enabled for printf %a output */
-#define ENABLE_CBE_PRINTF_A 1
+/* Default <path> to all compiler invocations for --sysroot=<path>. */
+#define DEFAULT_SYSROOT ""
 
 /* Define if position independent code is enabled */
 #define ENABLE_PIC 1

Index: src/external/bsd/llvm/lib/Makefile
diff -u src/external/bsd/llvm/lib/Makefile:1.21 src/external/bsd/llvm/lib/Makefile:1.22
--- src/external/bsd/llvm/lib/Makefile:1.21	Sat Apr 14 15:11:18 2012
+++ src/external/bsd/llvm/lib/Makefile	Sun Apr 29 19:19:05 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/04/14 15:11:18 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2012/04/29 19:19:05 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -90,7 +90,6 @@ SUBDIR+= \
 	libclangEdit \
 	libclangFrontend \
 	libclangFrontendTool \
-	libclangIndex \
 	libclangLex \
 	libclangParse \
 	libclangRewrite \

Index: src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.16 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.17
--- src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.16	Wed Apr  4 10:42:02 2012
+++ src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile	Sun Apr 29 19:19:05 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2012/04/04 10:42:02 joerg Exp $
+#	$NetBSD: Makefile,v 1.17 2012/04/29 19:19:05 joerg Exp $
 
 LIB=	LLVMCodeGen
 
@@ -85,6 +85,7 @@ SRCS+=	AggressiveAntiDepBreaker.cpp \
 	RegAllocPBQP.cpp \
 	RegisterClassInfo.cpp \
 	RegisterCoalescer.cpp \
+	RegisterPressure.cpp \
 	RegisterScavenging.cpp \
 	RenderMachineFunction.cpp \
 	ScheduleDAG.cpp \

Index: src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.8 src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.9
--- src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.8	Tue Feb 28 17:09:30 2012
+++ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Sun Apr 29 19:19:05 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2012/02/28 17:09:30 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2012/04/29 19:19:05 joerg Exp $
 
 LIB=	LLVMMipsCodeGen
 
@@ -34,6 +34,8 @@ TABLEGEN_OUTPUT= \
 	MipsGenCallingConv.inc|-gen-callingconv \
 	MipsGenCodeEmitter.inc|-gen-emitter \
 	MipsGenDAGISel.inc|-gen-dag-isel \
+	MipsGenDisassemblerTables.inc|-gen-disassembler \
+	MipsGenEDInfo.inc|-gen-enhanced-disassembly-info \
 	MipsGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
 	MipsGenSubtargetInfo.inc|-gen-subtarget
 

Index: src/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile:1.4
--- src/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile:1.3	Tue Jan 17 15:51:56 2012
+++ src/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile	Sun Apr 29 19:19:05 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2012/01/17 15:51:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2012/04/29 19:19:05 joerg Exp $
 
 LIB=	LLVMRuntimeDyld
 
@@ -6,7 +6,8 @@ LIB=	LLVMRuntimeDyld
 
 .PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/RuntimeDyld
 
-SRCS+=	RuntimeDyld.cpp \
+SRCS+=	GDBRegistrar.cpp \
+	RuntimeDyld.cpp \
 	RuntimeDyldELF.cpp \
 	RuntimeDyldMachO.cpp
 

Index: src/external/bsd/llvm/lib/libLLVMSupport/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.11 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.12
--- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.11	Sat Apr 14 15:11:18 2012
+++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile	Sun Apr 29 19:19:05 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2012/04/14 15:11:18 joerg Exp $
+#	$NetBSD: Makefile,v 1.12 2012/04/29 19:19:05 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -35,7 +35,7 @@ SRCS+=	APFloat.cpp \
 	IntrusiveRefCntPtr.cpp \
 	IsInf.cpp \
 	IsNAN.cpp \
-	JSONParser.cpp \
+	Locale.cpp \
 	LockFileManager.cpp \
 	ManagedStatic.cpp \
 	MemoryBuffer.cpp \

Index: src/external/bsd/llvm/lib/libclangSema/Makefile
diff -u src/external/bsd/llvm/lib/libclangSema/Makefile:1.8 src/external/bsd/llvm/lib/libclangSema/Makefile:1.9
--- src/external/bsd/llvm/lib/libclangSema/Makefile:1.8	Tue Feb 28 17:09:31 2012
+++ src/external/bsd/llvm/lib/libclangSema/Makefile	Sun Apr 29 19:19:06 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2012/02/28 17:09:31 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2012/04/29 19:19:06 joerg Exp $
 
 LIB=	clangSema
 
@@ -39,6 +39,7 @@ SRCS+=	AnalysisBasedWarnings.cpp \
 	SemaOverload.cpp \
 	SemaPseudoObject.cpp \
 	SemaStmt.cpp \
+	SemaStmtAttr.cpp \
 	SemaTemplate.cpp \
 	SemaTemplateDeduction.cpp \
 	SemaTemplateInstantiate.cpp \

Added files:

Index: src/external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile
diff -u /dev/null src/external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile:1.1
--- /dev/null	Sun Apr 29 19:19:06 2012
+++ src/external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile	Sun Apr 29 19:19:05 2012
@@ -0,0 +1,18 @@
+#	$NetBSD: Makefile,v 1.1 2012/04/29 19:19:05 joerg Exp $
+
+LIB=	LLVMMipsDisassembler
+
+.include <bsd.init.mk>
+
+MIPS_OBJDIR!=	cd ${.CURDIR}/../libLLVMMipsCodeGen && ${PRINTOBJDIR}
+CPPFLAGS+=	-I${MIPS_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Mips
+
+.PATH: ${LLVM_SRCDIR}/lib/Target/Mips/Disassembler
+
+SRCS+=	MipsDisassembler.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif

Reply via email to