Module Name:    src
Committed By:   joerg
Date:           Mon Jul 25 16:32:44 UTC 2011

Modified Files:
        src/external/bsd/llvm: Makefile.inc
        src/external/bsd/llvm/config/llvm/Config: config.h llvm-config.h
        src/external/bsd/llvm/lib/libLLVMARMCodeGen: Makefile
        src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc: Makefile
        src/external/bsd/llvm/lib/libLLVMMC: Makefile
        src/external/bsd/llvm/lib/libLLVMMipsCodeGen: Makefile
        src/external/bsd/llvm/lib/libLLVMSupport: Makefile
        src/external/bsd/llvm/lib/libLLVMTarget: Makefile
        src/external/bsd/llvm/lib/libclangARCMigrate: Makefile

Log Message:
Update to LLVM/Clang snapshot to r135906. Fixes a number of bugs found
in the pkgsrc bulk builds.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/config/llvm/Config/config.h
cvs rdiff -u -r1.2 -r1.3 \
    src/external/bsd/llvm/config/llvm/Config/llvm-config.h
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
cvs rdiff -u -r1.2 -r1.3 \
    src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/lib/libLLVMMC/Makefile
cvs rdiff -u -r1.3 -r1.4 \
    src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/libLLVMSupport/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/lib/libLLVMTarget/Makefile
cvs rdiff -u -r1.1 -r1.2 \
    src/external/bsd/llvm/lib/libclangARCMigrate/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.17 src/external/bsd/llvm/Makefile.inc:1.18
--- src/external/bsd/llvm/Makefile.inc:1.17	Sun Jul 17 20:07:57 2011
+++ src/external/bsd/llvm/Makefile.inc	Mon Jul 25 16:32:43 2011
@@ -1,12 +1,12 @@
-#	$NetBSD: Makefile.inc,v 1.17 2011/07/17 20:07:57 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.18 2011/07/25 16:32:43 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
 
 .include <bsd.own.mk>
 
-LLVM_REVISION=	135360
-CLANG_REVISION=	135360
+LLVM_REVISION=	135906
+CLANG_REVISION=	135906
 
 LLVM_SRCDIR:=	${.PARSEDIR}/dist/llvm
 CLANG_SRCDIR:=	${.PARSEDIR}/dist/clang

Index: src/external/bsd/llvm/config/llvm/Config/config.h
diff -u src/external/bsd/llvm/config/llvm/Config/config.h:1.3 src/external/bsd/llvm/config/llvm/Config/config.h:1.4
--- src/external/bsd/llvm/config/llvm/Config/config.h:1.3	Sun Jul 17 20:07:57 2011
+++ src/external/bsd/llvm/config/llvm/Config/config.h	Mon Jul 25 16:32:43 2011
@@ -4,6 +4,9 @@
 #ifndef CONFIG_H
 #define CONFIG_H
 
+/* Bug report URL. */
+#define BUG_REPORT_URL "http://llvm.org";
+
 /* Relative directory for resource files */
 #define CLANG_RESOURCE_DIR ""
 
@@ -74,11 +77,15 @@
 /* #undef HAVE_CRASHREPORTERCLIENT_H */
 
 /* Define if __crashreporter_info__ exists. */
-#define HAVE_CRASHREPORTER_INFO 1
+#define HAVE_CRASHREPORTER_INFO 0
 
 /* Define to 1 if you have the <ctype.h> header file. */
 #define HAVE_CTYPE_H 1
 
+/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRERROR_S 0
+
 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
    */
 #define HAVE_DIRENT_H 1
@@ -385,9 +392,6 @@
 /* Define to 1 if you have the `strerror_r' function. */
 #define HAVE_STRERROR_R 1
 
-/* Define to 1 if you have the `strerror_s' function. */
-/* #undef HAVE_STRERROR_S */
-
 /* Define to 1 if you have the <strings.h> header file. */
 #define HAVE_STRINGS_H 1
 
@@ -441,6 +445,9 @@
 /* Define to 1 if you have the <sys/types.h> header file. */
 #define HAVE_SYS_TYPES_H 1
 
+/* Define to 1 if you have the <sys/uio.h> header file. */
+#define HAVE_SYS_UIO_H 1
+
 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
 #define HAVE_SYS_WAIT_H 1
 
@@ -468,12 +475,63 @@
 /* Define to 1 if you have the <windows.h> header file. */
 /* #undef HAVE_WINDOWS_H */
 
+/* Define to 1 if you have the `writev' function. */
+#define HAVE_WRITEV 1
+
 /* Define if the xdot.py program is available */
 /* #undef HAVE_XDOT_PY */
 
+/* Have host's _alloca */
+/* #undef HAVE__ALLOCA */
+
+/* Have host's __alloca */
+/* #undef HAVE___ALLOCA */
+
+/* Have host's __ashldi3 */
+/* #undef HAVE___ASHLDI3 */
+
+/* Have host's __ashrdi3 */
+/* #undef HAVE___ASHRDI3 */
+
+/* Have host's __chkstk */
+/* #undef HAVE___CHKSTK */
+
+/* Have host's __cmpdi2 */
+/* #undef HAVE___CMPDI2 */
+
+/* Have host's __divdi3 */
+/* #undef HAVE___DIVDI3 */
+
 /* Define to 1 if you have the `__dso_handle' function. */
 #define HAVE___DSO_HANDLE 1
 
+/* Have host's __fixdfdi */
+/* #undef HAVE___FIXDFDI */
+
+/* Have host's __fixsfdi */
+/* #undef HAVE___FIXSFDI */
+
+/* Have host's __floatdidf */
+/* #undef HAVE___FLOATDIDF */
+
+/* Have host's __lshrdi3 */
+/* #undef HAVE___LSHRDI3 */
+
+/* Have host's __main */
+/* #undef HAVE___MAIN */
+
+/* Have host's __moddi3 */
+/* #undef HAVE___MODDI3 */
+
+/* Have host's __udivdi3 */
+/* #undef HAVE___UDIVDI3 */
+
+/* Have host's __umoddi3 */
+/* #undef HAVE___UMODDI3 */
+
+/* Have host's ___chkstk */
+/* #undef HAVE____CHKSTK */
+
 /* Linker version detected at compile time. */
 #define HOST_LINK_VERSION "1"
 
@@ -481,7 +539,7 @@
 #define LLVM_BINDIR "/usr/bin"
 
 /* Time at which LLVM was configured */
-#define LLVM_CONFIGTIME "Mon Dec  6 18:29:34 UTC 2010"
+#define LLVM_CONFIGTIME "Mon Jul 25 15:20:40 CEST 2011"
 
 /* Installation directory for data files */
 #define LLVM_DATADIR "/usr/share/llvm"
@@ -493,7 +551,7 @@
 #define LLVM_ETCDIR "/usr/etc/llvm"
 
 /* Host triple we were built on */
-#define LLVM_HOSTTRIPLE "x86_64-unknown-netbsd5.99.38"
+#define LLVM_HOSTTRIPLE "x86_64--netbsd"
 
 /* Installation directory for include files */
 #define LLVM_INCLUDEDIR "/usr/include"
@@ -519,8 +577,8 @@
 /* LLVM name for the native AsmPrinter init function, if available */
 #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
 
-/* LLVM name for the native MCAsmInfo init function, if available */
-#define LLVM_NATIVE_MCASMINFO LLVMInitializeX86MCAsmInfo
+/* LLVM name for the native TargetMC init function, if available */
+#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
 
 /* LLVM name for the native Target init function, if available */
 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
@@ -595,13 +653,13 @@
 #define PACKAGE_NAME "llvm"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "llvm 2.9svn"
+#define PACKAGE_STRING "llvm 3.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 "2.9svn"
+#define PACKAGE_VERSION "3.0svn"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -624,6 +682,9 @@
 /* Define if use udis86 library */
 #define USE_UDIS86 0
 
+/* Type of 1st arg on ELM Callback */
+/* #undef WIN32_ELMCB_PCSTR */
+
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
 

Index: src/external/bsd/llvm/config/llvm/Config/llvm-config.h
diff -u src/external/bsd/llvm/config/llvm/Config/llvm-config.h:1.2 src/external/bsd/llvm/config/llvm/Config/llvm-config.h:1.3
--- src/external/bsd/llvm/config/llvm/Config/llvm-config.h:1.2	Sun Jul 17 20:07:57 2011
+++ src/external/bsd/llvm/config/llvm/Config/llvm-config.h	Mon Jul 25 16:32:43 2011
@@ -21,7 +21,7 @@
 #define LLVM_BINDIR "/usr/bin"
 
 /* Time at which LLVM was configured */
-#define LLVM_CONFIGTIME "Mon Dec  6 18:29:34 UTC 2010"
+#define LLVM_CONFIGTIME "Mon Jul 25 15:20:40 CEST 2011"
 
 /* Installation directory for data files */
 #define LLVM_DATADIR "/usr/share/llvm"
@@ -33,7 +33,7 @@
 #define LLVM_ETCDIR "/usr/etc/llvm"
 
 /* Host triple we were built on */
-#define LLVM_HOSTTRIPLE "x86_64-unknown-netbsd5.99.38"
+#define LLVM_HOSTTRIPLE "x86_64--netbsd"
 
 /* Installation directory for include files */
 #define LLVM_INCLUDEDIR "/usr/include"
@@ -59,8 +59,8 @@
 /* LLVM name for the native TargetInfo init function, if available */
 #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
 
-/* LLVM name for the native MCAsmInfo init function, if available */
-#define LLVM_NATIVE_MCASMINFO LLVMInitializeX86MCAsmInfo
+/* LLVM name for the native TargetMC init function, if available */
+#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
 
 /* LLVM name for the native AsmPrinter init function, if available */
 #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter

Index: src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile:1.4
--- src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile:1.3	Sun Jul 17 20:07:57 2011
+++ src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile	Mon Jul 25 16:32:43 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2011/07/17 20:07:57 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2011/07/25 16:32:43 joerg Exp $
 
 LIB=	LLVMARMCodeGen
 
@@ -6,8 +6,7 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/Target/ARM
 
-SRCS+=	ARMAsmBackend.cpp \
-	ARMAsmPrinter.cpp \
+SRCS+=	ARMAsmPrinter.cpp \
 	ARMBaseInstrInfo.cpp \
 	ARMBaseRegisterInfo.cpp \
 	ARMCodeEmitter.cpp \
@@ -23,9 +22,6 @@
 	ARMISelLowering.cpp \
 	ARMInstrInfo.cpp \
 	ARMJITInfo.cpp \
-	ARMMachObjectWriter.cpp \
-	ARMMCCodeEmitter.cpp \
-	ARMMCExpr.cpp \
 	ARMLoadStoreOptimizer.cpp \
 	ARMMCInstLower.cpp \
 	ARMRegisterInfo.cpp \

Index: src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile:1.2 src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile:1.3
--- src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile:1.2	Sun Jul 17 20:07:58 2011
+++ src/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile	Mon Jul 25 16:32:43 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/07/17 20:07:58 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/25 16:32:43 joerg Exp $
 
 LIB=	LLVMARMMCTargetDesc
 
@@ -9,8 +9,12 @@
 ARM_OBJDIR!=	cd ${.CURDIR}/../libLLVMARMCodeGen && ${PRINTOBJDIR}
 CPPFLAGS+=	-I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM
 
-SRCS+=	ARMMCAsmInfo.cpp \
-	ARMMCTargetDesc.cpp
+SRCS+=	ARMAsmBackend.cpp \
+	ARMMCAsmInfo.cpp \
+	ARMMCCodeEmitter.cpp \
+	ARMMCExpr.cpp \
+	ARMMCTargetDesc.cpp \
+	ARMMachObjectWriter.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>

Index: src/external/bsd/llvm/lib/libLLVMMC/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.4 src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.5
--- src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.4	Mon Jul  4 16:10:39 2011
+++ src/external/bsd/llvm/lib/libLLVMMC/Makefile	Mon Jul 25 16:32:43 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2011/07/04 16:10:39 joerg Exp $
+#	$NetBSD: Makefile,v 1.5 2011/07/25 16:32:43 joerg Exp $
 
 LIB=	LLVMMC
 
@@ -12,9 +12,11 @@
 	MCAsmInfoDarwin.cpp \
 	MCAsmStreamer.cpp \
 	MCAssembler.cpp \
+	MCCodeGenInfo.cpp \
 	MCCodeEmitter.cpp \
 	MCContext.cpp \
 	MCDisassembler.cpp \
+	MCDwarf.cpp \
 	MCELF.cpp \
 	MCELFObjectTargetWriter.cpp \
 	MCELFStreamer.cpp \
@@ -22,11 +24,11 @@
 	MCInst.cpp \
 	MCInstPrinter.cpp \
 	MCLabel.cpp \
-	MCDwarf.cpp \
 	MCLoggingStreamer.cpp \
 	MCMachOStreamer.cpp \
 	MCMachObjectTargetWriter.cpp \
 	MCNullStreamer.cpp \
+	MCObjectFileInfo.cpp \
 	MCObjectStreamer.cpp \
 	MCObjectWriter.cpp \
 	MCPureStreamer.cpp \
@@ -43,7 +45,8 @@
 	WinCOFFStreamer.cpp \
 	WinCOFFObjectWriter.cpp \
 	SubtargetFeature.cpp \
-	TargetAsmBackend.cpp
+	TargetAsmBackend.cpp \
+	TargetAsmLexer.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>

Index: src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.4
--- src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.3	Sun Jul 17 20:07:58 2011
+++ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile	Mon Jul 25 16:32:44 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2011/07/17 20:07:58 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2011/07/25 16:32:44 joerg Exp $
 
 LIB=	LLVMMipsCodeGen
 
@@ -7,13 +7,15 @@
 .PATH: ${LLVM_SRCDIR}/lib/Target/Mips
 
 SRCS+=	MipsAsmPrinter.cpp \
+	MipsCodeEmitter.cpp \
 	MipsDelaySlotFiller.cpp \
 	MipsEmitGPRestore.cpp \
 	MipsExpandPseudo.cpp \
+	MipsFrameLowering.cpp \
 	MipsInstrInfo.cpp \
 	MipsISelDAGToDAG.cpp \
 	MipsISelLowering.cpp \
-	MipsFrameLowering.cpp \
+	MipsJITInfo.cpp \
 	MipsMCInstLower.cpp \
 	MipsMCSymbolRefExpr.cpp \
 	MipsRegisterInfo.cpp \

Index: src/external/bsd/llvm/lib/libLLVMSupport/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.2 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.3
--- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.2	Mon Jul  4 16:10:39 2011
+++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile	Mon Jul 25 16:32:44 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/07/04 16:10:39 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/07/25 16:32:44 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -45,7 +45,6 @@
 	StringPool.cpp \
 	StringRef.cpp \
 	SystemUtils.cpp \
-	TargetRegistry.cpp \
 	Timer.cpp \
 	ToolOutputFile.cpp \
 	Triple.cpp \

Index: src/external/bsd/llvm/lib/libLLVMTarget/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.4
--- src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.3	Mon Jul  4 16:10:39 2011
+++ src/external/bsd/llvm/lib/libLLVMTarget/Makefile	Mon Jul 25 16:32:44 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2011/07/04 16:10:39 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2011/07/25 16:32:44 joerg Exp $
 
 LIB=	LLVMTarget
 
@@ -8,8 +8,6 @@
 
 SRCS+=	Mangler.cpp \
 	Target.cpp \
-	TargetAsmInfo.cpp \
-	TargetAsmLexer.cpp \
 	TargetData.cpp \
 	TargetELFWriterInfo.cpp \
 	TargetFrameLowering.cpp \
@@ -19,6 +17,7 @@
 	TargetLoweringObjectFile.cpp \
 	TargetMachine.cpp \
 	TargetRegisterInfo.cpp \
+	TargetRegistry.cpp \
 	TargetSubtargetInfo.cpp
 
 .if defined(HOSTLIB)

Index: src/external/bsd/llvm/lib/libclangARCMigrate/Makefile
diff -u src/external/bsd/llvm/lib/libclangARCMigrate/Makefile:1.1 src/external/bsd/llvm/lib/libclangARCMigrate/Makefile:1.2
--- src/external/bsd/llvm/lib/libclangARCMigrate/Makefile:1.1	Mon Jul  4 16:10:40 2011
+++ src/external/bsd/llvm/lib/libclangARCMigrate/Makefile	Mon Jul 25 16:32:44 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/07/04 16:10:40 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/07/25 16:32:44 joerg Exp $
 
 LIB=	clangARCMigrate
 
@@ -9,6 +9,8 @@
 SRCS+=	ARCMT.cpp \
 	ARCMTActions.cpp \
 	FileRemapper.cpp \
+	PlistReporter.cpp \
+	TransAPIUses.cpp \
 	TransARCAssign.cpp \
 	TransAutoreleasePool.cpp \
 	TransBlockObjCVariable.cpp \

Reply via email to