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 snapshot to r155677, bri...



details:   https://anonhg.NetBSD.org/src/rev/4a55f7c05ff5
branches:  trunk
changeset: 779064:4a55f7c05ff5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Apr 29 19:19:04 2012 +0000

description:
Update LLVM/Clang snapshot to r155677, bringing in a number of bugfixes.

diffstat:

 external/bsd/llvm/Makefile.inc                         |   6 +-
 external/bsd/llvm/bin/Makefile                         |   4 +-
 external/bsd/llvm/bin/clang/Makefile                   |   3 +-
 external/bsd/llvm/bin/llvm-ld/Makefile                 |  32 ------------------
 external/bsd/llvm/bin/llvm-stub/Makefile               |  12 ------
 external/bsd/llvm/config/clang/Config/config.h         |   3 +
 external/bsd/llvm/config/llvm/Config/config.h          |   4 +-
 external/bsd/llvm/lib/Makefile                         |   3 +-
 external/bsd/llvm/lib/libLLVMCodeGen/Makefile          |   3 +-
 external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile      |   4 +-
 external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile |  18 ++++++++++
 external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile      |   5 +-
 external/bsd/llvm/lib/libLLVMSupport/Makefile          |   4 +-
 external/bsd/llvm/lib/libclangIndex/Makefile           |  25 --------------
 external/bsd/llvm/lib/libclangSema/Makefile            |   3 +-
 15 files changed, 41 insertions(+), 88 deletions(-)

diffs (295 lines):

diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/Makefile.inc    Sun Apr 29 19:19:04 2012 +0000
@@ -1,12 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.33 2012/04/14 15:11:17 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.34 2012/04/29 19:19:04 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
 
 .include <bsd.own.mk>
 
-LLVM_REVISION= 154578
-CLANG_REVISION=        154578
+LLVM_REVISION= 155677
+CLANG_REVISION=        155677
 
 LLVM_SRCDIR:=  ${.PARSEDIR}/dist/llvm
 CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/bin/Makefile
--- a/external/bsd/llvm/bin/Makefile    Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/bin/Makefile    Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2012/04/04 10:42:00 joerg Exp $
+#      $NetBSD: Makefile,v 1.5 2012/04/29 19:19:04 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -19,7 +19,6 @@
        llvm-dis \
        llvm-dwarfdump \
        llvm-extract \
-       llvm-ld \
        llvm-link \
        llvm-mc \
        llvm-nm \
@@ -27,7 +26,6 @@
        llvm-ranlib \
        llvm-readobj \
        llvm-size \
-       llvm-stub \
        macho-dumpx \
        opt
 .endif
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile      Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile      Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 2012/04/04 10:42:00 joerg Exp $
+#      $NetBSD: Makefile,v 1.20 2012/04/29 19:19:04 joerg Exp $
 
 PROG_CXX=      clang
 NOMAN=         yes
@@ -30,7 +30,6 @@
        clangParse \
        clangSema \
        clangAnalysis \
-       clangIndex \
        clangRewrite \
        clangAST \
        clangLex \
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/bin/llvm-ld/Makefile
--- a/external/bsd/llvm/bin/llvm-ld/Makefile    Sun Apr 29 18:31:40 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-#      $NetBSD: Makefile,v 1.3 2012/04/04 10:42:01 joerg Exp $
-
-PROG_CXX=      llvm-ld
-NOMAN=         yes
-
-.include <bsd.init.mk>
-
-.PATH: ${LLVM_SRCDIR}/tools/llvm-ld
-
-SRCS=  Optimize.cpp \
-       llvm-ld.cpp
-
-LLVM_LIBS+= \
-       Linker \
-       Archive \
-       AsmParser \
-       BitReader \
-       BitWriter \
-       InstCombine \
-       ipo \
-       Vectorize \
-       ScalarOpts \
-       TransformsUtils \
-       Analysis \
-       Target \
-       ipa \
-       Core \
-       Support
-
-.include "${.PARSEDIR}/../../link.mk"
-
-.include <bsd.prog.mk>
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/bin/llvm-stub/Makefile
--- a/external/bsd/llvm/bin/llvm-stub/Makefile  Sun Apr 29 18:31:40 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $
-
-PROG=  llvm-stub
-NOMAN=         yes
-
-.include <bsd.init.mk>
-
-.PATH: ${LLVM_SRCDIR}/tools/llvm-stub
-
-SRCS=  llvm-stub.c
-
-.include <bsd.prog.mk>
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/config/clang/Config/config.h
--- a/external/bsd/llvm/config/clang/Config/config.h    Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/config/clang/Config/config.h    Sun Apr 29 19:19:04 2012 +0000
@@ -16,4 +16,7 @@
 /* Directories clang will search for headers */
 #define C_INCLUDE_DIRS "/usr/include/clang-3.0:/usr/include"
 
+/* Default <path> to all compiler invocations for --sysroot=<path>. */
+#define DEFAULT_SYSROOT ""
+
 #endif
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/config/llvm/Config/config.h
--- a/external/bsd/llvm/config/llvm/Config/config.h     Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h     Sun Apr 29 19:19:04 2012 +0000
@@ -13,8 +13,8 @@
 /* Directories clang will search for headers */
 #define C_INCLUDE_DIRS "/usr/include/clang-3.0:/usr/include"
 
-/* Define if CBE is enabled for printf %a output */
-#define ENABLE_CBE_PRINTF_A 1
+/* Default <path> to all compiler invocations for --sysroot=<path>. */
+#define DEFAULT_SYSROOT ""
 
 /* Define if position independent code is enabled */
 #define ENABLE_PIC 1
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/Makefile
--- a/external/bsd/llvm/lib/Makefile    Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/lib/Makefile    Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/04/14 15:11:18 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2012/04/29 19:19:05 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -90,7 +90,6 @@
        libclangEdit \
        libclangFrontend \
        libclangFrontendTool \
-       libclangIndex \
        libclangLex \
        libclangParse \
        libclangRewrite \
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/libLLVMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile     Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile     Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2012/04/04 10:42:02 joerg Exp $
+#      $NetBSD: Makefile,v 1.17 2012/04/29 19:19:05 joerg Exp $
 
 LIB=   LLVMCodeGen
 
@@ -85,6 +85,7 @@
        RegAllocPBQP.cpp \
        RegisterClassInfo.cpp \
        RegisterCoalescer.cpp \
+       RegisterPressure.cpp \
        RegisterScavenging.cpp \
        RenderMachineFunction.cpp \
        ScheduleDAG.cpp \
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2012/02/28 17:09:30 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2012/04/29 19:19:05 joerg Exp $
 
 LIB=   LLVMMipsCodeGen
 
@@ -34,6 +34,8 @@
        MipsGenCallingConv.inc|-gen-callingconv \
        MipsGenCodeEmitter.inc|-gen-emitter \
        MipsGenDAGISel.inc|-gen-dag-isel \
+       MipsGenDisassemblerTables.inc|-gen-disassembler \
+       MipsGenEDInfo.inc|-gen-enhanced-disassembly-info \
        MipsGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
        MipsGenSubtargetInfo.inc|-gen-subtarget
 
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile    Sun Apr 29 19:19:04 2012 +0000
@@ -0,0 +1,18 @@
+#      $NetBSD: Makefile,v 1.1 2012/04/29 19:19:05 joerg Exp $
+
+LIB=   LLVMMipsDisassembler
+
+.include <bsd.init.mk>
+
+MIPS_OBJDIR!=  cd ${.CURDIR}/../libLLVMMipsCodeGen && ${PRINTOBJDIR}
+CPPFLAGS+=     -I${MIPS_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Mips
+
+.PATH: ${LLVM_SRCDIR}/lib/Target/Mips/Disassembler
+
+SRCS+= MipsDisassembler.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile
--- a/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2012/01/17 15:51:56 joerg Exp $
+#      $NetBSD: Makefile,v 1.4 2012/04/29 19:19:05 joerg Exp $
 
 LIB=   LLVMRuntimeDyld
 
@@ -6,7 +6,8 @@
 
 .PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/RuntimeDyld
 
-SRCS+= RuntimeDyld.cpp \
+SRCS+= GDBRegistrar.cpp \
+       RuntimeDyld.cpp \
        RuntimeDyldELF.cpp \
        RuntimeDyldMachO.cpp
 
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/libLLVMSupport/Makefile
--- a/external/bsd/llvm/lib/libLLVMSupport/Makefile     Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMSupport/Makefile     Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2012/04/14 15:11:18 joerg Exp $
+#      $NetBSD: Makefile,v 1.12 2012/04/29 19:19:05 joerg Exp $
 
 LIB=   LLVMSupport
 
@@ -35,7 +35,7 @@
        IntrusiveRefCntPtr.cpp \
        IsInf.cpp \
        IsNAN.cpp \
-       JSONParser.cpp \
+       Locale.cpp \
        LockFileManager.cpp \
        ManagedStatic.cpp \
        MemoryBuffer.cpp \
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/libclangIndex/Makefile
--- a/external/bsd/llvm/lib/libclangIndex/Makefile      Sun Apr 29 18:31:40 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#      $NetBSD: Makefile,v 1.2 2012/04/04 10:42:04 joerg Exp $
-
-LIB=   clangIndex
-
-.include <bsd.init.mk>
-
-.PATH: ${CLANG_SRCDIR}/lib/Index
-
-SRCS+= ASTLocation.cpp \
-       Analyzer.cpp \
-       DeclReferenceMap.cpp \
-       Entity.cpp \
-       GlobalCallGraph.cpp \
-       GlobalSelector.cpp \
-       Handlers.cpp \
-       IndexProvider.cpp \
-       Indexer.cpp \
-       Program.cpp \
-       SelectorMap.cpp
-
-.if defined(HOSTLIB)
-.include <bsd.hostlib.mk>
-.else
-.include <bsd.lib.mk>
-.endif
diff -r d3b50aa1e569 -r 4a55f7c05ff5 external/bsd/llvm/lib/libclangSema/Makefile
--- a/external/bsd/llvm/lib/libclangSema/Makefile       Sun Apr 29 18:31:40 2012 +0000
+++ b/external/bsd/llvm/lib/libclangSema/Makefile       Sun Apr 29 19:19:04 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2012/02/28 17:09:31 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2012/04/29 19:19:06 joerg Exp $
 
 LIB=   clangSema
 
@@ -39,6 +39,7 @@
        SemaOverload.cpp \
        SemaPseudoObject.cpp \
        SemaStmt.cpp \
+       SemaStmtAttr.cpp \
        SemaTemplate.cpp \
        SemaTemplateDeduction.cpp \
        SemaTemplateInstantiate.cpp \



Home | Main Index | Thread Index | Old Index