Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Update LLVM/Clang snapshot to r164464. This adopts the GCC o...



details:   https://anonhg.NetBSD.org/src/rev/2b27327d2ddd
branches:  trunk
changeset: 781707:2b27327d2ddd
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Sep 23 17:22:22 2012 +0000

description:
Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.

diffstat:

 external/bsd/bind/bin/named/Makefile                          |   4 +-
 external/bsd/bind/lib/libdns/Makefile                         |   4 +-
 external/bsd/llvm/Makefile.inc                                |   4 +-
 external/bsd/llvm/bin/clang-tblgen/Makefile                   |   4 +-
 external/bsd/llvm/bin/clang/Makefile                          |   5 +-
 external/bsd/llvm/bin/lli/Makefile                            |   6 +-
 external/bsd/llvm/bin/llvm-extract/Makefile                   |   4 +-
 external/bsd/llvm/bin/llvm-mc/Makefile                        |   3 +-
 external/bsd/llvm/config/llvm/Config/AsmParsers.def           |  42 +++++-----
 external/bsd/llvm/config/llvm/Config/AsmPrinters.def          |  42 +++++-----
 external/bsd/llvm/config/llvm/Config/Disassemblers.def        |  42 +++++-----
 external/bsd/llvm/config/llvm/Config/config.h.in              |   8 +-
 external/bsd/llvm/config/llvm/Config/llvm-config.h.in         |   3 +
 external/bsd/llvm/config/llvm/Support/DataTypes.h             |  12 ---
 external/bsd/llvm/include/Makefile                            |  16 +++-
 external/bsd/llvm/lib/Makefile                                |   6 +-
 external/bsd/llvm/lib/libLLVMAnalysis/Makefile                |   4 +-
 external/bsd/llvm/lib/libLLVMCodeGen/Makefile                 |   5 +-
 external/bsd/llvm/lib/libLLVMDebugInfo/Makefile               |   3 +-
 external/bsd/llvm/lib/libLLVMInstrumentation/Makefile         |   4 +-
 external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile             |   5 +-
 external/bsd/llvm/lib/libLLVMScalarOpts/Makefile              |   3 +-
 external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile         |   5 +-
 external/bsd/llvm/lib/libclangAST/Makefile                    |   3 +-
 external/bsd/llvm/lib/libclangAnalysis/Makefile               |   4 +-
 external/bsd/llvm/lib/libclangRewrite/Makefile                |  27 -------
 external/bsd/llvm/lib/libclangRewriteCore/Makefile            |  19 ++++
 external/bsd/llvm/lib/libclangRewriteFrontend/Makefile        |  22 +++++
 external/bsd/llvm/lib/libclangSema/Makefile                   |   3 +-
 external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile |   5 +-
 external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile     |   5 +-
 external/bsd/llvm/lib/libclangTooling/Makefile                |   5 +-
 external/gpl2/xcvs/Makefile.inc                               |   5 +-
 share/mk/bsd.sys.mk                                           |   8 +-
 tests/lib/libc/ssp/Makefile                                   |   5 +-
 tools/llvm-lib/libLLVMMipsDisassembler/Makefile               |   3 +
 tools/llvm-lib/libclangRewrite/Makefile                       |   3 -
 tools/llvm-lib/libclangRewriteCore/Makefile                   |   3 +
 tools/llvm-lib/libclangRewriteFrontend/Makefile               |   3 +
 39 files changed, 207 insertions(+), 150 deletions(-)

diffs (truncated from 904 to 300 lines):

diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/bind/bin/named/Makefile
--- a/external/bsd/bind/bin/named/Makefile      Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/bind/bin/named/Makefile      Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2012/08/10 16:10:29 joerg Exp $
+#      $NetBSD: Makefile,v 1.6 2012/09/23 17:22:22 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -19,6 +19,8 @@
 .endfor
 .endif
 
+CWARNFLAGS.clang+=     -Wno-tautological-constant-out-of-range-compare
+
 .PATH: ${DIST}/unix ${DIST}
 
 SRCS_UNIX=     os.c dlz_dlopen_driver.c
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/bind/lib/libdns/Makefile
--- a/external/bsd/bind/lib/libdns/Makefile     Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/bind/lib/libdns/Makefile     Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2012/08/10 16:33:41 joerg Exp $
+#      $NetBSD: Makefile,v 1.8 2012/09/23 17:22:22 joerg Exp $
 
 LIB=dns
 
@@ -12,6 +12,8 @@
 .PATH.c:       ${DIST}/unix ${DIST}/sec/dst ${DIST}
 CPPFLAGS+=     -I${BIND_SRCDIR}/include/dns -I${DIST}
 
+CWARNFLAGS.clang+=     -Wno-tautological-constant-out-of-range-compare
+
 .for f in lookup byaddr request sdb validator
 COPTS.${f}.c+=  -Wno-pointer-sign -fno-strict-aliasing
 .endfor
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/Makefile.inc    Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.40 2012/08/09 14:37:06 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.41 2012/09/23 17:22:22 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -7,7 +7,7 @@
 
 SVN_ROOT=              http://llvm.org/svn/llvm-project
 
-COMMON_REVISION=       161532
+COMMON_REVISION=       164464
 LLVM_REVISION=         ${COMMON_REVISION}
 CLANG_REVISION=                ${COMMON_REVISION}
 COMPILER_RT_REVISION=  ${COMMON_REVISION}
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/bin/clang-tblgen/Makefile
--- a/external/bsd/llvm/bin/clang-tblgen/Makefile       Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/bin/clang-tblgen/Makefile       Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/10/11 13:53:57 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2012/09/23 17:22:22 joerg Exp $
 
 PROG_CXX=      clang-tblgen
 NOMAN=         yes
@@ -9,6 +9,8 @@
 
 SRCS=  ClangASTNodesEmitter.cpp \
        ClangAttrEmitter.cpp \
+       ClangCommentCommandInfoEmitter.cpp \
+       ClangCommentHTMLTagsEmitter.cpp \
        ClangDiagnosticsEmitter.cpp \
        ClangSACheckersEmitter.cpp \
        NeonEmitter.cpp \
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile      Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile      Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2012/04/29 19:19:04 joerg Exp $
+#      $NetBSD: Makefile,v 1.21 2012/09/23 17:22:22 joerg Exp $
 
 PROG_CXX=      clang
 NOMAN=         yes
@@ -30,7 +30,8 @@
        clangParse \
        clangSema \
        clangAnalysis \
-       clangRewrite \
+       clangRewriteFrontend \
+       clangRewriteCore \
        clangAST \
        clangLex \
        clangBasic
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/bin/lli/Makefile
--- a/external/bsd/llvm/bin/lli/Makefile        Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/bin/lli/Makefile        Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2011/10/11 13:53:57 joerg Exp $
+#      $NetBSD: Makefile,v 1.7 2012/09/23 17:22:22 joerg Exp $
 
 PROG_CXX=      lli
 NOMAN=         yes
@@ -7,7 +7,9 @@
 
 .PATH: ${LLVM_SRCDIR}/tools/lli
 
-SRCS=  lli.cpp
+SRCS=  lli.cpp \
+       RecordingMemoryManager.cpp \
+       RemoteTarget.cpp
 
 LLVM_LIBS+= \
        X86CodeGen \
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/bin/llvm-extract/Makefile
--- a/external/bsd/llvm/bin/llvm-extract/Makefile       Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/bin/llvm-extract/Makefile       Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2012/09/23 17:22:22 joerg Exp $
 
 PROG_CXX=      llvm-extract
 NOMAN=         yes
@@ -13,10 +13,10 @@
        AsmParser \
        BitReader \
        BitWriter \
-       Target \
        ipo \
        TransformsUtils \
        Analysis \
+       Target \
        ipa \
        Core \
        Support
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/bin/llvm-mc/Makefile
--- a/external/bsd/llvm/bin/llvm-mc/Makefile    Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/bin/llvm-mc/Makefile    Sun Sep 23 17:22:22 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2012/04/04 10:42:01 joerg Exp $
+#      $NetBSD: Makefile,v 1.12 2012/09/23 17:22:22 joerg Exp $
 
 PROG_CXX=      llvm-mc
 NOMAN=         yes
@@ -21,6 +21,7 @@
        MipsCodeGen \
        MipsTargetInfo \
        MipsAsmParser \
+       MipsDisassembler \
        MipsMCTargetDesc \
        MipsAsmPrinter \
        PowerPCCodeGen \
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/config/llvm/Config/AsmParsers.def
--- a/external/bsd/llvm/config/llvm/Config/AsmParsers.def       Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/AsmParsers.def       Sun Sep 23 17:22:22 2012 +0000
@@ -1,24 +1,24 @@
-//===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file enumerates all of the assembly-language parsers
-// supported by this build of LLVM. Clients of this file should define
-// the LLVM_ASM_PARSER macro to be a function-like macro with a
-// single parameter (the name of the target whose assembly can be
-// generated); including this file will then enumerate all of the
-// targets with assembly parsers.
-//
-// The set of targets supported by LLVM is generated at configuration
-// time, at which point this header is generated. Do not modify this
-// header directly.
-//
-//===----------------------------------------------------------------------===//
+/*===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===*\
+|*                                                                            *|
+|*                     The LLVM Compiler Infrastructure                       *|
+|*                                                                            *|
+|* This file is distributed under the University of Illinois Open Source      *|
+|* License. See LICENSE.TXT for details.                                      *|
+|*                                                                            *|
+|*===----------------------------------------------------------------------===*|
+|*                                                                            *|
+|* This file enumerates all of the assembly-language parsers                  *|
+|* supported by this build of LLVM. Clients of this file should define        *|
+|* the LLVM_ASM_PARSER macro to be a function-like macro with a               *|
+|* single parameter (the name of the target whose assembly can be             *|
+|* generated); including this file will then enumerate all of the             *|
+|* targets with assembly parsers.                                             *|
+|*                                                                            *|
+|* The set of targets supported by LLVM is generated at configuration         *|
+|* time, at which point this header is generated. Do not modify this          *|
+|* header directly.                                                           *|
+|*                                                                            *|
+\*===----------------------------------------------------------------------===*/
 
 #ifndef LLVM_ASM_PARSER
 #  error Please define the macro LLVM_ASM_PARSER(TargetName)
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/config/llvm/Config/AsmPrinters.def
--- a/external/bsd/llvm/config/llvm/Config/AsmPrinters.def      Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/AsmPrinters.def      Sun Sep 23 17:22:22 2012 +0000
@@ -1,24 +1,24 @@
-//===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file enumerates all of the assembly-language printers
-// supported by this build of LLVM. Clients of this file should define
-// the LLVM_ASM_PRINTER macro to be a function-like macro with a
-// single parameter (the name of the target whose assembly can be
-// generated); including this file will then enumerate all of the
-// targets with assembly printers.
-//
-// The set of targets supported by LLVM is generated at configuration
-// time, at which point this header is generated. Do not modify this
-// header directly.
-//
-//===----------------------------------------------------------------------===//
+/*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
+|*                                                                            *|
+|*                     The LLVM Compiler Infrastructure                       *|
+|*                                                                            *|
+|* This file is distributed under the University of Illinois Open Source      *|
+|* License. See LICENSE.TXT for details.                                      *|
+|*                                                                            *|
+|*===----------------------------------------------------------------------===*|
+|*                                                                            *|
+|* This file enumerates all of the assembly-language printers                 *|
+|* supported by this build of LLVM. Clients of this file should define        *|
+|* the LLVM_ASM_PRINTER macro to be a function-like macro with a              *|
+|* single parameter (the name of the target whose assembly can be             *|
+|* generated); including this file will then enumerate all of the             *|
+|* targets with assembly printers.                                            *|
+|*                                                                            *|
+|* The set of targets supported by LLVM is generated at configuration         *|
+|* time, at which point this header is generated. Do not modify this          *|
+|* header directly.                                                           *|
+|*                                                                            *|
+\*===----------------------------------------------------------------------===*/
 
 #ifndef LLVM_ASM_PRINTER
 #  error Please define the macro LLVM_ASM_PRINTER(TargetName)
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/config/llvm/Config/Disassemblers.def
--- a/external/bsd/llvm/config/llvm/Config/Disassemblers.def    Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/Disassemblers.def    Sun Sep 23 17:22:22 2012 +0000
@@ -1,24 +1,24 @@
-//===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file enumerates all of the assembly-language parsers
-// supported by this build of LLVM. Clients of this file should define
-// the LLVM_DISASSEMBLER macro to be a function-like macro with a
-// single parameter (the name of the target whose assembly can be
-// generated); including this file will then enumerate all of the
-// targets with assembly parsers.
-//
-// The set of targets supported by LLVM is generated at configuration
-// time, at which point this header is generated. Do not modify this
-// header directly.
-//
-//===----------------------------------------------------------------------===//
+/*===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===*\
+|*                                                                            *|
+|*                     The LLVM Compiler Infrastructure                       *|
+|*                                                                            *|
+|* This file is distributed under the University of Illinois Open Source      *|
+|* License. See LICENSE.TXT for details.                                      *|
+|*                                                                            *|
+|*===----------------------------------------------------------------------===*|
+|*                                                                            *|
+|* This file enumerates all of the assembly-language parsers                  *|
+|* supported by this build of LLVM. Clients of this file should define        *|
+|* the LLVM_DISASSEMBLER macro to be a function-like macro with a             *|
+|* single parameter (the name of the target whose assembly can be             *|
+|* generated); including this file will then enumerate all of the             *|
+|* targets with assembly parsers.                                             *|
+|*                                                                            *|
+|* The set of targets supported by LLVM is generated at configuration         *|
+|* time, at which point this header is generated. Do not modify this          *|
+|* header directly.                                                           *|
+|*                                                                            *|
+\*===----------------------------------------------------------------------===*/
 
 #ifndef LLVM_DISASSEMBLER
 #  error Please define the macro LLVM_DISASSEMBLER(TargetName)
diff -r 2ace92f24226 -r 2b27327d2ddd external/bsd/llvm/config/llvm/Config/config.h.in
--- a/external/bsd/llvm/config/llvm/Config/config.h.in  Sun Sep 23 15:56:32 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in  Sun Sep 23 17:22:22 2012 +0000
@@ -7,6 +7,9 @@



Home | Main Index | Thread Index | Old Index