Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/llvm Update to LLVM/Clang snapshot to r135906. ...
details: https://anonhg.NetBSD.org/src/rev/83a0a16fd671
branches: trunk
changeset: 767638:83a0a16fd671
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Jul 25 16:32:43 2011 +0000
description:
Update to LLVM/Clang snapshot to r135906. Fixes a number of bugs found
in the pkgsrc bulk builds.
diffstat:
external/bsd/llvm/Makefile.inc | 6 +-
external/bsd/llvm/config/llvm/Config/config.h | 81 ++++++++++++++++--
external/bsd/llvm/config/llvm/Config/llvm-config.h | 8 +-
external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile | 8 +-
external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile | 10 +-
external/bsd/llvm/lib/libLLVMMC/Makefile | 9 +-
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile | 6 +-
external/bsd/llvm/lib/libLLVMSupport/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMTarget/Makefile | 5 +-
external/bsd/llvm/lib/libclangARCMigrate/Makefile | 4 +-
10 files changed, 103 insertions(+), 37 deletions(-)
diffs (truncated from 404 to 300 lines):
diff -r 4e4f19e5c829 -r 83a0a16fd671 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc Mon Jul 25 16:31:05 2011 +0000
+++ b/external/bsd/llvm/Makefile.inc Mon Jul 25 16:32:43 2011 +0000
@@ -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
diff -r 4e4f19e5c829 -r 83a0a16fd671 external/bsd/llvm/config/llvm/Config/config.h
--- a/external/bsd/llvm/config/llvm/Config/config.h Mon Jul 25 16:31:05 2011 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h Mon Jul 25 16:32:43 2011 +0000
@@ -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 */
diff -r 4e4f19e5c829 -r 83a0a16fd671 external/bsd/llvm/config/llvm/Config/llvm-config.h
--- a/external/bsd/llvm/config/llvm/Config/llvm-config.h Mon Jul 25 16:31:05 2011 +0000
+++ b/external/bsd/llvm/config/llvm/Config/llvm-config.h Mon Jul 25 16:32:43 2011 +0000
@@ -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
diff -r 4e4f19e5c829 -r 83a0a16fd671 external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile Mon Jul 25 16:31:05 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile Mon Jul 25 16:32:43 2011 +0000
@@ -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 \
diff -r 4e4f19e5c829 -r 83a0a16fd671 external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile Mon Jul 25 16:31:05 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile Mon Jul 25 16:32:43 2011 +0000
@@ -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>
diff -r 4e4f19e5c829 -r 83a0a16fd671 external/bsd/llvm/lib/libLLVMMC/Makefile
--- a/external/bsd/llvm/lib/libLLVMMC/Makefile Mon Jul 25 16:31:05 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMMC/Makefile Mon Jul 25 16:32:43 2011 +0000
@@ -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 \
Home |
Main Index |
Thread Index |
Old Index