Source-Changes-HG archive

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

[src/trunk]: src Update build glue for LLVM/Clang 3.5svn r199312. Noticable c...



details:   https://anonhg.NetBSD.org/src/rev/c6f9c43cb2ed
branches:  trunk
changeset: 792754:c6f9c43cb2ed
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Jan 15 22:21:33 2014 +0000

description:
Update build glue for LLVM/Clang 3.5svn r199312. Noticable changes
include bug fixes for the loop vectorizer, initial work for assembler
parser/disassembler on SPARC, improvements to ARM assembler and .code16
support on x86.

diffstat:

 external/bsd/llvm/Makefile.inc                                |   4 +-
 external/bsd/llvm/bin/clang/Makefile                          |   3 +-
 external/bsd/llvm/bin/llc/Makefile                            |   3 +-
 external/bsd/llvm/bin/llvm-mc/Makefile                        |   4 +-
 external/bsd/llvm/bin/llvm-objdump/Makefile                   |   4 +-
 external/bsd/llvm/bin/opt/Makefile                            |   4 +-
 external/bsd/llvm/config/llvm/Config/AsmParsers.def           |   2 +-
 external/bsd/llvm/config/llvm/Config/Disassemblers.def        |   2 +-
 external/bsd/llvm/include/Makefile                            |   3 +-
 external/bsd/llvm/lib/Makefile                                |   4 +-
 external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile         |   3 +-
 external/bsd/llvm/lib/libLLVMIR/Makefile                      |   5 +-
 external/bsd/llvm/lib/libLLVMSparcAsmParser/Makefile          |  18 +++++++++++
 external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile            |   5 ++-
 external/bsd/llvm/lib/libLLVMSparcDisassembler/Makefile       |  18 +++++++++++
 external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile       |   7 +++-
 external/bsd/llvm/lib/libLLVMTarget/Makefile                  |   5 +-
 external/bsd/llvm/lib/libclangCodeGen/Makefile                |   3 +-
 external/bsd/llvm/lib/libclangSema/Makefile                   |   3 +-
 external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile |   3 +-
 tools/llvm-lib/libLLVMSparcAsmParser/Makefile                 |   3 +
 tools/llvm-lib/libLLVMSparcDisassembler/Makefile              |   3 +
 22 files changed, 84 insertions(+), 25 deletions(-)

diffs (truncated from 387 to 300 lines):

diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/Makefile.inc    Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.68 2014/01/15 20:53:00 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.69 2014/01/15 22:21:34 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=       198450
+COMMON_REVISION=       199312
 CLANG_REVISION=                ${COMMON_REVISION}
 LLD_REVISION=          ${COMMON_REVISION}
 LLDB_REVISION=         ${COMMON_REVISION}
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile      Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile      Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2014/01/05 16:38:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.29 2014/01/15 22:21:34 joerg Exp $
 
 PROG_CXX=      clang
 NOMAN=         yes
@@ -67,6 +67,7 @@
        SparcCodeGen \
        SparcTargetInfo \
        SparcMCTargetDesc \
+       SparcAsmParser \
        SparcAsmPrinter \
        X86CodeGen \
        X86MCTargetDesc \
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/bin/llc/Makefile
--- a/external/bsd/llvm/bin/llc/Makefile        Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/bin/llc/Makefile        Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2014/01/05 16:38:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.19 2014/01/15 22:21:34 joerg Exp $
 
 PROG_CXX=      llc
 NOMAN=         yes
@@ -38,6 +38,7 @@
        SparcCodeGen \
        SparcTargetInfo \
        SparcMCTargetDesc \
+       SparcAsmParser \
        SparcAsmPrinter \
        X86CodeGen \
        X86TargetInfo \
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/bin/llvm-mc/Makefile
--- a/external/bsd/llvm/bin/llvm-mc/Makefile    Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/bin/llvm-mc/Makefile    Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2014/01/05 16:38:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.19 2014/01/15 22:21:34 joerg Exp $
 
 PROG_CXX=      llvm-mc
 NOMAN=         yes
@@ -37,9 +37,11 @@
        PowerPCTargetInfo \
        PowerPCMCTargetDesc \
        PowerPCAsmPrinter \
+       SparcAsmParser \
        SparcCodeGen \
        SparcTargetInfo \
        SparcMCTargetDesc \
+       SparcDisassembler \
        SparcAsmPrinter \
        X86CodeGen \
        X86TargetInfo \
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/bin/llvm-objdump/Makefile
--- a/external/bsd/llvm/bin/llvm-objdump/Makefile       Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/bin/llvm-objdump/Makefile       Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2014/01/05 16:38:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.8 2014/01/15 22:21:34 joerg Exp $
 
 PROG_CXX=      llvm-objdump
 NOMAN=         yes
@@ -34,6 +34,8 @@
        PowerPCTargetInfo \
        PowerPCMCTargetDesc \
        PowerPCAsmPrinter \
+       SparcDisassembler \
+       SparcAsmParser \
        SparcTargetInfo \
        SparcMCTargetDesc \
        SparcAsmPrinter \
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/bin/opt/Makefile
--- a/external/bsd/llvm/bin/opt/Makefile        Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/bin/opt/Makefile        Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2014/01/05 16:38:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.11 2014/01/15 22:21:34 joerg Exp $
 
 PROG_CXX=      opt
 NOMAN=         yes
@@ -9,6 +9,8 @@
 
 SRCS=  AnalysisWrappers.cpp \
        GraphPrinters.cpp \
+       NewPMDriver.cpp \
+       Passes.cpp \
        PrintSCC.cpp \
        opt.cpp
 
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/config/llvm/Config/AsmParsers.def
--- a/external/bsd/llvm/config/llvm/Config/AsmParsers.def       Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Config/AsmParsers.def       Wed Jan 15 22:21:33 2014 +0000
@@ -24,6 +24,6 @@
 #  error Please define the macro LLVM_ASM_PARSER(TargetName)
 #endif
 
-LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(PowerPC) LLVM_ASM_PARSER(AArch64) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) 
+LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(PowerPC) LLVM_ASM_PARSER(Sparc) LLVM_ASM_PARSER(AArch64) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) 
 
 #undef LLVM_ASM_PARSER
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/config/llvm/Config/Disassemblers.def
--- a/external/bsd/llvm/config/llvm/Config/Disassemblers.def    Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/config/llvm/Config/Disassemblers.def    Wed Jan 15 22:21:33 2014 +0000
@@ -24,6 +24,6 @@
 #  error Please define the macro LLVM_DISASSEMBLER(TargetName)
 #endif
 
-LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(PowerPC) LLVM_DISASSEMBLER(AArch64) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) 
+LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(PowerPC) LLVM_DISASSEMBLER(Sparc) LLVM_DISASSEMBLER(AArch64) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) 
 
 #undef LLVM_DISASSEMBLER
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/include/Makefile
--- a/external/bsd/llvm/include/Makefile        Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/include/Makefile        Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2014/01/07 01:59:36 joerg Exp $
+#      $NetBSD: Makefile,v 1.29 2014/01/15 22:21:34 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -72,6 +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 \
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/lib/Makefile
--- a/external/bsd/llvm/lib/Makefile    Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/lib/Makefile    Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2014/01/05 16:38:06 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2014/01/15 22:21:34 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -68,7 +68,9 @@
        libLLVMPowerPCTargetInfo
 
 SUBDIR+= \
+       libLLVMSparcAsmParser \
        libLLVMSparcAsmPrinter \
+       libLLVMSparcDisassembler \
        libLLVMSparcMCTargetDesc \
        libLLVMSparcTargetInfo
 
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile     Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile     Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2013/05/28 17:37:34 joerg Exp $
+#      $NetBSD: Makefile,v 1.8 2014/01/15 22:21:34 joerg Exp $
 
 LIB=   LLVMARMMCTargetDesc
 
@@ -10,6 +10,7 @@
 CPPFLAGS+=     -I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM
 
 SRCS+= ARMAsmBackend.cpp \
+       ARMBuildAttrs.cpp \
        ARMELFObjectWriter.cpp \
        ARMELFStreamer.cpp \
        ARMMCAsmInfo.cpp \
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/lib/libLLVMIR/Makefile
--- a/external/bsd/llvm/lib/libLLVMIR/Makefile  Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMIR/Makefile  Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2014/01/05 16:38:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.6 2014/01/15 22:21:34 joerg Exp $
 
 LIB=   LLVMIR
 
@@ -25,6 +25,7 @@
        GVMaterializer.cpp \
        Globals.cpp \
        IRBuilder.cpp \
+       IRPrintingPasses.cpp \
        InlineAsm.cpp \
        Instruction.cpp \
        Instructions.cpp \
@@ -33,12 +34,12 @@
        LLVMContextImpl.cpp \
        LeakDetector.cpp \
        LegacyPassManager.cpp \
+       Mangler.cpp \
        Metadata.cpp \
        Module.cpp \
        Pass.cpp \
        PassManager.cpp \
        PassRegistry.cpp \
-       PrintModulePass.cpp \
        Type.cpp \
        TypeFinder.cpp \
        Use.cpp \
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/lib/libLLVMSparcAsmParser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcAsmParser/Makefile      Wed Jan 15 22:21:33 2014 +0000
@@ -0,0 +1,18 @@
+#      $NetBSD: Makefile,v 1.1 2014/01/15 22:21:34 joerg Exp $
+
+LIB=   LLVMSparcAsmParser
+
+.include <bsd.init.mk>
+
+SPARC_OBJDIR!= cd ${.CURDIR}/../libLLVMSparcCodeGen && ${PRINTOBJDIR}
+CPPFLAGS+=     -I${SPARC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Sparc
+
+.PATH: ${LLVM_SRCDIR}/lib/Target/Sparc/AsmParser
+
+SRCS+= SparcAsmParser.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile        Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile        Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2014/01/05 16:38:07 joerg Exp $
+#      $NetBSD: Makefile,v 1.7 2014/01/15 22:21:34 joerg Exp $
 
 LIB=   LLVMSparcCodeGen
 
@@ -26,10 +26,13 @@
 TABLEGEN_INCLUDES=     -I${LLVM_SRCDIR}/lib/Target/Sparc
 TABLEGEN_OUTPUT= \
        SparcGenDAGISel.inc|-gen-dag-isel \
+       SparcGenAsmMatcher.inc|-gen-asm-matcher \
        SparcGenAsmWriter.inc|-gen-asm-writer \
        SparcGenCallingConv.inc|-gen-callingconv \
        SparcGenCodeEmitter.inc|-gen-emitter \
+       SparcGenDisassemblerTables.inc|-gen-disassembler \
        SparcGenInstrInfo.inc|-gen-instr-info \
+       SparcGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
        SparcGenRegisterInfo.inc|-gen-register-info \
        SparcGenSubtargetInfo.inc|-gen-subtarget
 
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/lib/libLLVMSparcDisassembler/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcDisassembler/Makefile   Wed Jan 15 22:21:33 2014 +0000
@@ -0,0 +1,18 @@
+#      $NetBSD: Makefile,v 1.1 2014/01/15 22:21:34 joerg Exp $
+
+LIB=   LLVMSparcDisassembler
+
+.include <bsd.init.mk>
+
+SPARC_OBJDIR!= cd ${.CURDIR}/../libLLVMSparcCodeGen && ${PRINTOBJDIR}
+CPPFLAGS+=     -I${SPARC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Sparc
+
+.PATH: ${LLVM_SRCDIR}/lib/Target/Sparc/Disassembler
+
+SRCS+= SparcDisassembler.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
diff -r c5c0043983a1 -r c6f9c43cb2ed external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile
--- a/external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile   Wed Jan 15 21:52:13 2014 +0000
+++ b/external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile   Wed Jan 15 22:21:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2014/01/05 16:38:07 joerg Exp $
+#      $NetBSD: Makefile,v 1.3 2014/01/15 22:21:34 joerg Exp $
 
 LIB=   LLVMSparcMCTargetDesc
 
@@ -9,7 +9,10 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/Target/Sparc/MCTargetDesc
 
-SRCS+= SparcMCAsmInfo.cpp \
+SRCS+= SparcAsmBackend.cpp \
+       SparcELFObjectWriter.cpp \
+       SparcMCAsmInfo.cpp \
+       SparcMCCodeEmitter.cpp \



Home | Main Index | Thread Index | Old Index