Source-Changes-HG archive

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

[src/trunk]: src Update LLVM snapshot. This allows deriving the target from t...



details:   https://anonhg.NetBSD.org/src/rev/b4f7d44a7441
branches:  trunk
changeset: 763420:b4f7d44a7441
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Mar 18 23:32:01 2011 +0000

description:
Update LLVM snapshot. This allows deriving the target from the binary
name, provides a proper CPP mode and fixes a number of compat issues
in the integrated assembler.

Build the toolchain compiler optimized and without assertions now.

diffstat:

 external/bsd/llvm/Makefile.inc                                |   6 ++--
 external/bsd/llvm/bin/bugpoint/Makefile                       |   4 +-
 external/bsd/llvm/bin/llc/Makefile                            |   5 ++-
 external/bsd/llvm/bin/lli/Makefile                            |   5 ++-
 external/bsd/llvm/bin/llvm-diff/Makefile                      |   4 ++-
 external/bsd/llvm/bin/llvm-dis/Makefile                       |   3 +-
 external/bsd/llvm/bin/llvm-ld/Makefile                        |   6 ++--
 external/bsd/llvm/bin/llvm-mc/Makefile                        |   5 ++-
 external/bsd/llvm/bin/opt/Makefile                            |   6 ++--
 external/bsd/llvm/lib/libLLVMAnalysis/Makefile                |   3 +-
 external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile              |   5 ++-
 external/bsd/llvm/lib/libLLVMCore/Makefile                    |   3 +-
 external/bsd/llvm/lib/libLLVMMC/Makefile                      |   3 +-
 external/bsd/llvm/lib/libLLVMScalarOpts/Makefile              |   4 +--
 external/bsd/llvm/lib/libclangAST/Makefile                    |   3 +-
 external/bsd/llvm/lib/libclangAnalysis/Makefile               |   6 ++--
 external/bsd/llvm/lib/libclangFrontend/Makefile               |   6 +---
 external/bsd/llvm/lib/libclangSerialization/Makefile          |   9 +++--
 external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile |   7 ++--
 external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile     |   9 +++--
 tools/llvm-clang/Makefile                                     |  16 +++++-----
 tools/llvm/Makefile                                           |   7 ++--
 22 files changed, 65 insertions(+), 60 deletions(-)

diffs (truncated from 509 to 300 lines):

diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/Makefile.inc    Fri Mar 18 23:32:01 2011 +0000
@@ -1,12 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.3 2011/02/23 03:09:02 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2011/03/18 23:32:01 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
 
 .include <bsd.own.mk>
 
-LLVM_REVISION= 126223
-CLANG_REVISION=        126223
+LLVM_REVISION= 127912
+CLANG_REVISION=        127912
 
 LLVM_SRCDIR:=  ${.PARSEDIR}/dist/llvm
 CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/bugpoint/Makefile
--- a/external/bsd/llvm/bin/bugpoint/Makefile   Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/bugpoint/Makefile   Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $
 
 PROG_CXX=      bugpoint
 NOMAN=         yes
@@ -25,10 +25,10 @@
        Instrumentation \
        Linker \
        ScalarOpts \
-       Analysis \
        Target \
        ipo \
        TransformsUtils \
+       Analysis \
        ipa \
        Core \
        Support
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/llc/Makefile
--- a/external/bsd/llvm/bin/llc/Makefile        Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/llc/Makefile        Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $
 
 PROG_CXX=      llc
 NOMAN=         yes
@@ -17,14 +17,15 @@
        X86TargetInfo \
        X86AsmParser \
        X86AsmPrinter \
+       X86Utils \
        SelectionDAG \
        CodeGen \
        Target \
        ScalarOpts \
+       TransformsUtils \
        Analysis \
        MCParser \
        MC \
-       TransformsUtils \
        Core \
        Support
 
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/lli/Makefile
--- a/external/bsd/llvm/bin/lli/Makefile        Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/lli/Makefile        Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $
 
 PROG_CXX=      lli
 NOMAN=         yes
@@ -18,13 +18,14 @@
        ExecutionEngine \
        X86CodeGen \
        X86TargetInfo \
+       X86Utils \
        SelectionDAG \
        CodeGen \
        Target \
        ScalarOpts \
+       TransformsUtils \
        Analysis \
        MC \
-       TransformsUtils \
        Core \
        Support
 
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/llvm-diff/Makefile
--- a/external/bsd/llvm/bin/llvm-diff/Makefile  Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/llvm-diff/Makefile  Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $
 
 PROG_CXX=      llvm-diff
 NOMAN=         yes
@@ -8,6 +8,8 @@
 .PATH: ${LLVM_SRCDIR}/tools/llvm-diff
 
 SRCS=  llvm-diff.cpp \
+       DiffConsumer.cpp \
+       DiffLog.cpp \
        DifferenceEngine.cpp
 
 LLVM_LIBS+= \
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/llvm-dis/Makefile
--- a/external/bsd/llvm/bin/llvm-dis/Makefile   Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/llvm-dis/Makefile   Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
 
 PROG_CXX=      llvm-dis
 NOMAN=         yes
@@ -10,6 +10,7 @@
 SRCS=  llvm-dis.cpp
 
 LLVM_LIBS+= \
+       Analysis \
        BitReader \
        Core \
        Support
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/llvm-ld/Makefile
--- a/external/bsd/llvm/bin/llvm-ld/Makefile    Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/llvm-ld/Makefile    Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
 
 PROG_CXX=      llvm-ld
 NOMAN=         yes
@@ -17,11 +17,11 @@
        BitReader \
        BitWriter \
        InstCombine \
+       ipo \
        ScalarOpts \
+       TransformsUtils \
        Analysis \
        Target \
-       ipo \
-       TransformsUtils \
        ipa \
        Core \
        Support
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/llvm-mc/Makefile
--- a/external/bsd/llvm/bin/llvm-mc/Makefile    Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/llvm-mc/Makefile    Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
 
 PROG_CXX=      llvm-mc
 NOMAN=         yes
@@ -16,16 +16,17 @@
        X86AsmParser \
        X86Disassembler \
        X86AsmPrinter \
+       X86Utils \
        SelectionDAG \
        CodeGen \
        Target \
        ScalarOpts \
+       TransformsUtils \
        Analysis \
        AsmPrinter \
        MCDisassembler \
        MCParser \
        MC \
-       TransformsUtils \
        Core \
        Support
 
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/bin/opt/Makefile
--- a/external/bsd/llvm/bin/opt/Makefile        Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/bin/opt/Makefile        Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
 
 PROG_CXX=      opt
 NOMAN=         yes
@@ -18,11 +18,11 @@
        BitWriter \
        InstCombine \
        Instrumentation \
+       ipo \
        ScalarOpts \
+       TransformsUtils \
        Analysis \
        Target \
-       ipo \
-       TransformsUtils \
        ipa \
        Core \
        Support
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/lib/libLLVMAnalysis/Makefile
--- a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile    Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile    Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
 
 LIB=   LLVMAnalysis
 
@@ -31,7 +31,6 @@
        LibCallAliasAnalysis.cpp \
        LibCallSemantics.cpp \
        Lint.cpp \
-       LiveValues.cpp \
        Loads.cpp \
        LoopDependenceAnalysis.cpp \
        LoopInfo.cpp \
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile
--- a/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile  Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile  Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
 
 LIB=   LLVMAsmPrinter
 
@@ -6,7 +6,8 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/CodeGen/AsmPrinter
 
-SRCS+= AsmPrinter.cpp \
+SRCS+= ARMException.cpp \
+       AsmPrinter.cpp \
        AsmPrinterDwarf.cpp \
        AsmPrinterInlineAsm.cpp \
        DIE.cpp \
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/lib/libLLVMCore/Makefile
--- a/external/bsd/llvm/lib/libLLVMCore/Makefile        Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMCore/Makefile        Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:56 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $
 
 LIB=   LLVMCore
 
@@ -13,6 +13,7 @@
        ConstantFold.cpp \
        Constants.cpp \
        Core.cpp \
+       DebugInfoProbe.cpp \
        DebugLoc.cpp \
        Dominators.cpp \
        Function.cpp \
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/lib/libLLVMMC/Makefile
--- a/external/bsd/llvm/lib/libLLVMMC/Makefile  Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMMC/Makefile  Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:59 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $
 
 LIB=   LLVMMC
 
@@ -15,6 +15,7 @@
        MCCodeEmitter.cpp \
        MCContext.cpp \
        MCDisassembler.cpp \
+       MCELF.cpp \
        MCELFObjectTargetWriter.cpp \
        MCELFStreamer.cpp \
        MCExpr.cpp \
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
--- a/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile  Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile  Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:14:01 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $
 
 LIB=   LLVMScalarOpts
 
@@ -14,7 +14,6 @@
        DCE.cpp \
        DeadStoreElimination.cpp \
        EarlyCSE.cpp \
-       GEPSplitter.cpp \
        GVN.cpp \
        IndVarSimplify.cpp \
        JumpThreading.cpp \
@@ -34,7 +33,6 @@
        Scalar.cpp \
        ScalarReplAggregates.cpp \
        SimplifyCFGPass.cpp \
-       SimplifyHalfPowrLibCalls.cpp \
        SimplifyLibCalls.cpp \
        Sink.cpp \
        TailDuplication.cpp \
diff -r 7e7aae0a4ae3 -r b4f7d44a7441 external/bsd/llvm/lib/libclangAST/Makefile
--- a/external/bsd/llvm/lib/libclangAST/Makefile        Fri Mar 18 22:24:57 2011 +0000
+++ b/external/bsd/llvm/lib/libclangAST/Makefile        Fri Mar 18 23:32:01 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $



Home | Main Index | Thread Index | Old Index