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 LLVm/Clang to 3.5svn r201163. This ...



details:   https://anonhg.NetBSD.org/src/rev/2d490e423930
branches:  trunk
changeset: 326719:2d490e423930
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Feb 14 20:23:56 2014 +0000

description:
Update LLVm/Clang to 3.5svn r201163. This brings improvements to the
16bit x86 support, self hosting for SPARC64 and improvements to the
NetBSD driver on ARM, AArch64 and MIPS.

diffstat:

 external/bsd/llvm/Makefile.inc                         |   4 +-
 external/bsd/llvm/bin/clang/Makefile                   |   4 +-
 external/bsd/llvm/bin/llc/Makefile                     |   4 +-
 external/bsd/llvm/bin/llvm-objdump/Makefile            |   4 +-
 external/bsd/llvm/bin/llvm-readobj/Makefile            |   3 +-
 external/bsd/llvm/bin/opt/Makefile                     |   3 +-
 external/bsd/llvm/bin/tblgen/Makefile                  |   3 +-
 external/bsd/llvm/config/llvm/Config/config.h.in       |  28 ++++-------------
 external/bsd/llvm/include/Makefile                     |   7 +---
 external/bsd/llvm/lib/Makefile                         |   5 +-
 external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile  |   4 +-
 external/bsd/llvm/lib/libLLVMAnalysis/Makefile         |   3 +-
 external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile       |   5 +-
 external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile |   4 +-
 external/bsd/llvm/lib/libLLVMScalarOpts/Makefile       |   3 +-
 external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile     |   3 +-
 external/bsd/llvm/lib/libLLVMSupport/Makefile          |   3 +-
 17 files changed, 40 insertions(+), 50 deletions(-)

diffs (truncated from 371 to 300 lines):

diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/Makefile.inc    Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.70 2014/01/16 19:08:11 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.71 2014/02/14 20:23:56 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -8,7 +8,7 @@
 SVN_ROOT=              http://llvm.org/svn/llvm-project
 SVN_BRANCH=            trunk
 
-COMMON_REVISION=       199312
+COMMON_REVISION=       201163
 CLANG_REVISION=                ${COMMON_REVISION}
 LLD_REVISION=          ${COMMON_REVISION}
 LLDB_REVISION=         ${COMMON_REVISION}
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile      Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile      Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.29 2014/01/15 22:21:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.30 2014/02/14 20:23:56 joerg Exp $
 
 PROG_CXX=      clang
 NOMAN=         yes
@@ -56,9 +56,9 @@
        ARMAsmPrinter \
        MipsCodeGen \
        MipsTargetInfo \
-       MipsMCTargetDesc \
        MipsAsmPrinter \
        MipsAsmParser \
+       MipsMCTargetDesc \
        PowerPCCodeGen \
        PowerPCTargetInfo \
        PowerPCMCTargetDesc \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/bin/llc/Makefile
--- a/external/bsd/llvm/bin/llc/Makefile        Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/bin/llc/Makefile        Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 2014/01/15 22:21:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.20 2014/02/14 20:23:56 joerg Exp $
 
 PROG_CXX=      llc
 NOMAN=         yes
@@ -28,8 +28,8 @@
        MipsCodeGen \
        MipsTargetInfo \
        MipsAsmParser \
+       MipsAsmPrinter \
        MipsMCTargetDesc \
-       MipsAsmPrinter \
        PowerPCCodeGen \
        PowerPCTargetInfo \
        PowerPCMCTargetDesc \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/bin/llvm-objdump/Makefile
--- a/external/bsd/llvm/bin/llvm-objdump/Makefile       Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/bin/llvm-objdump/Makefile       Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2014/01/15 22:21:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2014/02/14 20:23:56 joerg Exp $
 
 PROG_CXX=      llvm-objdump
 NOMAN=         yes
@@ -26,9 +26,9 @@
        ARMAsmPrinter \
        MipsDisassembler \
        MipsTargetInfo \
+       MipsAsmParser \
        MipsMCTargetDesc \
        MipsAsmPrinter \
-       MipsAsmParser \
        PowerPCDisassembler \
        PowerPCAsmParser \
        PowerPCTargetInfo \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/bin/llvm-readobj/Makefile
--- a/external/bsd/llvm/bin/llvm-readobj/Makefile       Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/bin/llvm-readobj/Makefile       Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2013/07/07 21:36:43 joerg Exp $
+#      $NetBSD: Makefile,v 1.6 2014/02/14 20:23:56 joerg Exp $
 
 PROG_CXX=      llvm-readobj
 NOMAN=         yes
@@ -8,6 +8,7 @@
 .PATH: ${LLVM_SRCDIR}/tools/llvm-readobj
 
 SRCS=  llvm-readobj.cpp \
+       ARMAttributeParser.cpp \
        COFFDumper.cpp \
        ELFDumper.cpp \
        Error.cpp \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/bin/opt/Makefile
--- a/external/bsd/llvm/bin/opt/Makefile        Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/bin/opt/Makefile        Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2014/01/15 22:21:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.12 2014/02/14 20:23:56 joerg Exp $
 
 PROG_CXX=      opt
 NOMAN=         yes
@@ -10,6 +10,7 @@
 SRCS=  AnalysisWrappers.cpp \
        GraphPrinters.cpp \
        NewPMDriver.cpp \
+       PassPrinters.cpp \
        Passes.cpp \
        PrintSCC.cpp \
        opt.cpp
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/bin/tblgen/Makefile
--- a/external/bsd/llvm/bin/tblgen/Makefile     Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/bin/tblgen/Makefile     Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2013/04/25 13:59:56 joerg Exp $
+#      $NetBSD: Makefile,v 1.18 2014/02/14 20:23:56 joerg Exp $
 
 PROG_CXX=      llvm-tblgen
 NOMAN=         yes
@@ -35,7 +35,6 @@
        RegisterInfoEmitter.cpp \
        SetTheory.cpp \
        SubtargetEmitter.cpp \
-       TGValueTypes.cpp \
        TableGen.cpp \
        X86DisassemblerTables.cpp \
        X86ModRMFilters.cpp \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/config/llvm/Config/config.h.in
--- a/external/bsd/llvm/config/llvm/Config/config.h.in  Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in  Fri Feb 14 20:23:56 2014 +0000
@@ -4,9 +4,6 @@
 #ifndef CONFIG_H
 #define CONFIG_H
 
-/* Define if building universal (internal helper macro) */
-/* #undef AC_APPLE_UNIVERSAL_BUILD */
-
 /* Bug report URL. */
 #define BUG_REPORT_URL "http://llvm.org/bugs/";
 
@@ -37,9 +34,6 @@
 /* Directory where gcc is installed. */
 #define GCC_INSTALL_PREFIX ""
 
-/* Define to 1 if you have the `arc4random' function. */
-#define HAVE_ARC4RANDOM 1
-
 /* Define to 1 if you have the `argz_append' function. */
 /* #undef HAVE_ARGZ_APPEND */
 
@@ -79,6 +73,10 @@
 /* Define to 1 if you have the <cxxabi.h> header file. */
 #define HAVE_CXXABI_H 1
 
+/* Define to 1 if you have the declaration of `arc4random', and to 0 if you
+   don't. */
+#define HAVE_DECL_ARC4RANDOM 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
@@ -211,6 +209,9 @@
 /* Define if you have the libdl library or equivalent. */
 #define HAVE_LIBDL 1
 
+/* Define if libedit is available on this platform. */
+#define HAVE_LIBEDIT 1
+
 /* Define to 1 if you have the `imagehlp' library (-limagehlp). */
 /* #undef HAVE_LIBIMAGEHLP */
 
@@ -676,9 +677,6 @@
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "llvm"
 
-/* Define to the home page for this package. */
-/* #undef PACKAGE_URL */
-
 /* Define to the version of this package. */
 #define PACKAGE_VERSION "3.5svn"
 
@@ -703,18 +701,6 @@
 /* Type of 1st arg on ELM Callback */
 /* #undef WIN32_ELMCB_PCSTR */
 
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-   significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-#  define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* #  undef WORDS_BIGENDIAN */
-# endif
-#endif
-
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
 
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/include/Makefile
--- a/external/bsd/llvm/include/Makefile        Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/include/Makefile        Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.29 2014/01/15 22:21:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.30 2014/02/14 20:23:56 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -72,10 +72,7 @@
        clang/AST/AttrVisitor.inc|-gen-clang-attr-ast-visitor \
        clang/Basic/AttrList.inc|-gen-clang-attr-list \
        clang/Lex/AttrSpellings.inc|-gen-clang-attr-spelling-list \
-       clang/Parse/AttrArgContext.inc|-gen-clang-attr-arg-context-list \
-       clang/Parse/AttrIdentifierArg.inc|-gen-clang-attr-identifier-arg-list \
-       clang/Parse/AttrLateParsed.inc|-gen-clang-attr-late-parsed-list \
-       clang/Parse/AttrTypeArg.inc|-gen-clang-attr-type-arg-list \
+       clang/Parse/AttrParserStringSwitches.inc|-gen-clang-attr-parser-string-switches \
        clang/Sema/AttrParsedAttrImpl.inc|-gen-clang-attr-parsed-attr-impl \
        clang/Sema/AttrParsedAttrKinds.inc|-gen-clang-attr-parsed-attr-kinds \
        clang/Sema/AttrParsedAttrList.inc|-gen-clang-attr-parsed-attr-list \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/lib/Makefile
--- a/external/bsd/llvm/lib/Makefile    Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/lib/Makefile    Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2014/01/15 22:21:34 joerg Exp $
+# $NetBSD: Makefile,v 1.39 2014/02/14 20:23:56 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -98,7 +98,8 @@
        libLLVMCppBackendInfo \
        libLLVMHello \
        libLLVMInterpreter \
-       libLLVMLTO
+       libLLVMLTO \
+       libLLVMLineEditor
 .endif
 
 SUBDIR+= \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile     Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile     Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2014/01/15 22:21:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2014/02/14 20:23:56 joerg Exp $
 
 LIB=   LLVMARMMCTargetDesc
 
@@ -10,13 +10,13 @@
 CPPFLAGS+=     -I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM
 
 SRCS+= ARMAsmBackend.cpp \
-       ARMBuildAttrs.cpp \
        ARMELFObjectWriter.cpp \
        ARMELFStreamer.cpp \
        ARMMCAsmInfo.cpp \
        ARMMCCodeEmitter.cpp \
        ARMMCExpr.cpp \
        ARMMCTargetDesc.cpp \
+       ARMTargetStreamer.cpp \
        ARMMachORelocationInfo.cpp \
        ARMMachObjectWriter.cpp \
        ARMUnwindOpAsm.cpp
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/lib/libLLVMAnalysis/Makefile
--- a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile    Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile    Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2013/11/28 14:19:59 joerg Exp $
+#      $NetBSD: Makefile,v 1.17 2014/02/14 20:23:56 joerg Exp $
 
 LIB=   LLVMAnalysis
 
@@ -30,6 +30,7 @@
        InstructionSimplify.cpp \
        Interval.cpp \
        IntervalPartition.cpp \
+       LazyCallGraph.cpp \
        LazyValueInfo.cpp \
        LibCallAliasAnalysis.cpp \
        LibCallSemantics.cpp \
diff -r 40a56c4cad85 -r 2d490e423930 external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile
--- a/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile  Fri Feb 14 20:09:23 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile  Fri Feb 14 20:23:56 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2014/01/05 16:38:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.10 2014/02/14 20:23:56 joerg Exp $
 
 LIB=   LLVMAsmPrinter
 
@@ -19,7 +19,8 @@
        DwarfUnit.cpp \
        ErlangGCPrinter.cpp \
        OcamlGCPrinter.cpp \
-       Win64Exception.cpp
+       Win64Exception.cpp \
+       WinCodeViewLineTables.cpp
 
 .if defined(HOSTLIB)



Home | Main Index | Thread Index | Old Index