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 r180686. All...



details:   https://anonhg.NetBSD.org/src/rev/ef178f43cd8c
branches:  trunk
changeset: 786404:ef178f43cd8c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Apr 28 00:41:00 2013 +0000

description:
Update to LLVM/Clang snapshot r180686. Allows building without cxxabi.h.

diffstat:

 external/bsd/llvm/Makefile.inc                        |   4 +-
 external/bsd/llvm/config/clang/Config/config.h        |   2 +-
 external/bsd/llvm/config/llvm/Config/config.h.in      |  36 ++++++++++++++++--
 external/bsd/llvm/config/llvm/Config/llvm-config.h.in |   8 +++-
 external/bsd/llvm/lib/libLLVMObject/Makefile          |   3 +-
 external/bsd/llvm/lib/libLLVMSupport/Makefile         |   3 +-
 external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile      |   3 +-
 7 files changed, 46 insertions(+), 13 deletions(-)

diffs (202 lines):

diff -r 0e2e5fa10813 -r ef178f43cd8c external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Sun Apr 28 00:14:14 2013 +0000
+++ b/external/bsd/llvm/Makefile.inc    Sun Apr 28 00:41:00 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.50 2013/04/25 13:59:55 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.51 2013/04/28 00:41:00 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -7,7 +7,7 @@
 
 SVN_ROOT=              http://llvm.org/svn/llvm-project
 
-COMMON_REVISION=       180004
+COMMON_REVISION=       180686
 LLVM_REVISION=         ${COMMON_REVISION}
 CLANG_REVISION=                ${COMMON_REVISION}
 COMPILER_RT_REVISION=  ${COMMON_REVISION}
diff -r 0e2e5fa10813 -r ef178f43cd8c external/bsd/llvm/config/clang/Config/config.h
--- a/external/bsd/llvm/config/clang/Config/config.h    Sun Apr 28 00:14:14 2013 +0000
+++ b/external/bsd/llvm/config/clang/Config/config.h    Sun Apr 28 00:41:00 2013 +0000
@@ -14,7 +14,7 @@
 #define C_INCLUDE_DIRS "/usr/include/clang-3.3:/usr/include"
 
 /* Linker version detected at compile time. */
-#define HOST_LINK_VERSION "2.22"
+#define HOST_LINK_VERSION "1"
 
 /* Default <path> to all compiler invocations for --sysroot=<path>. */
 #define DEFAULT_SYSROOT ""
diff -r 0e2e5fa10813 -r ef178f43cd8c external/bsd/llvm/config/llvm/Config/config.h.in
--- a/external/bsd/llvm/config/llvm/Config/config.h.in  Sun Apr 28 00:14:14 2013 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in  Sun Apr 28 00:41:00 2013 +0000
@@ -19,6 +19,9 @@
 /* Default <path> to all compiler invocations for --sysroot=<path>. */
 #define DEFAULT_SYSROOT ""
 
+/* Define if you want backtraces on crash */
+#define ENABLE_BACKTRACES 1
+
 /* Define if position independent code is enabled */
 #define ENABLE_PIC 1
 
@@ -76,6 +79,14 @@
 /* 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 `FE_ALL_EXCEPT', and to 0 if you
+   don't. */
+#define HAVE_DECL_FE_ALL_EXCEPT 1
+
+/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
+   don't. */
+#define HAVE_DECL_FE_INEXACT 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
@@ -120,6 +131,12 @@
 /* Define to 1 if you have the <execinfo.h> header file. */
 #define HAVE_EXECINFO_H 1
 
+/* Define to 1 if you have the `exp' function. */
+#define HAVE_EXP 1
+
+/* Define to 1 if you have the `exp2' function. */
+#define HAVE_EXP2 1
+
 /* Define to 1 if you have the <fcntl.h> header file. */
 #define HAVE_FCNTL_H 1
 
@@ -223,6 +240,15 @@
    the current directory to the dynamic linker search path. */
 #define HAVE_LINK_R 1
 
+/* Define to 1 if you have the `log' function. */
+#define HAVE_LOG 1
+
+/* Define to 1 if you have the `log10' function. */
+#define HAVE_LOG10 1
+
+/* Define to 1 if you have the `log2' function. */
+#define HAVE_LOG2 1
+
 /* Define to 1 if you have the `longjmp' function. */
 /* #undef HAVE_LONGJMP */
 
@@ -276,7 +302,7 @@
 /* #undef HAVE_NDIR_H */
 
 /* Define to 1 if you have the `nearbyintf' function. */
-/* #undef HAVE_NEARBYINTF */
+#define HAVE_NEARBYINTF 1
 
 /* Define if the neat program is available */
 /* #undef HAVE_NEATO */
@@ -530,7 +556,7 @@
 /* #undef HAVE____CHKSTK */
 
 /* Linker version detected at compile time. */
-#define HOST_LINK_VERSION "2.22"
+#define HOST_LINK_VERSION "1"
 
 /* Installation directory for binary executables */
 #define LLVM_BINDIR "/usr/bin"
@@ -638,7 +664,7 @@
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 2
+#define LLVM_VERSION_MINOR 3
 
 /* Define if the OS needs help to load dependent libraries for dlopen(). */
 /* #undef LTDL_DLOPEN_DEPLIBS */
@@ -671,13 +697,13 @@
 #define PACKAGE_NAME "LLVM"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 3.2svn"
+#define PACKAGE_STRING "LLVM 3.3svn"
 
 /* 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.2svn"
+#define PACKAGE_VERSION "3.3svn"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
diff -r 0e2e5fa10813 -r ef178f43cd8c external/bsd/llvm/config/llvm/Config/llvm-config.h.in
--- a/external/bsd/llvm/config/llvm/Config/llvm-config.h.in     Sun Apr 28 00:14:14 2013 +0000
+++ b/external/bsd/llvm/config/llvm/Config/llvm-config.h.in     Sun Apr 28 00:41:00 2013 +0000
@@ -113,10 +113,16 @@
 /* Installation prefix directory */
 #define LLVM_PREFIX "/usr"
 
+/* Define if we have the Intel JIT API runtime support library */
+#define LLVM_USE_INTEL_JITEVENTS 0
+
+/* Define if we have the oprofile JIT-support library */
+#define LLVM_USE_OPROFILE 0
+
 /* Major version of the LLVM API */
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 2
+#define LLVM_VERSION_MINOR 3
 
 #endif
diff -r 0e2e5fa10813 -r ef178f43cd8c external/bsd/llvm/lib/libLLVMObject/Makefile
--- a/external/bsd/llvm/lib/libLLVMObject/Makefile      Sun Apr 28 00:14:14 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMObject/Makefile      Sun Apr 28 00:41:00 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2011/10/11 13:53:59 joerg Exp $
+#      $NetBSD: Makefile,v 1.5 2013/04/28 00:41:01 joerg Exp $
 
 LIB=   LLVMObject
 NOGCCERROR=    yes
@@ -12,7 +12,6 @@
        COFFObjectFile.cpp \
        ELFObjectFile.cpp \
        Error.cpp \
-       MachOObject.cpp \
        MachOObjectFile.cpp \
        Object.cpp \
        ObjectFile.cpp
diff -r 0e2e5fa10813 -r ef178f43cd8c external/bsd/llvm/lib/libLLVMSupport/Makefile
--- a/external/bsd/llvm/lib/libLLVMSupport/Makefile     Sun Apr 28 00:14:14 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMSupport/Makefile     Sun Apr 28 00:41:00 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2013/04/25 13:59:57 joerg Exp $
+#      $NetBSD: Makefile,v 1.17 2013/04/28 00:41:01 joerg Exp $
 
 LIB=   LLVMSupport
 
@@ -16,6 +16,7 @@
        BranchProbability.cpp \
        circular_raw_ostream.cpp \
        CommandLine.cpp \
+       Compression.cpp \
        ConstantRange.cpp \
        ConvertUTF.c \
        ConvertUTFWrapper.cpp \
diff -r 0e2e5fa10813 -r ef178f43cd8c external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile  Sun Apr 28 00:14:14 2013 +0000
+++ b/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile  Sun Apr 28 00:41:00 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2013/01/23 15:03:00 joerg Exp $
+#      $NetBSD: Makefile,v 1.10 2013/04/28 00:41:01 joerg Exp $
 
 LIB=   LLVMX86CodeGen
 
@@ -10,6 +10,7 @@
        X86COFFMachineModuleInfo.cpp \
        X86CodeEmitter.cpp \
        X86FastISel.cpp \
+       X86FixupLEAs.cpp \
        X86FloatingPoint.cpp \
        X86FrameLowering.cpp \
        X86ISelDAGToDAG.cpp \



Home | Main Index | Thread Index | Old Index