Module Name: src
Committed By: joerg
Date: Sun Mar 24 13:02:18 UTC 2013
Modified Files:
src/external/bsd/llvm: Makefile.inc
src/external/bsd/llvm/bin: Makefile
src/external/bsd/llvm/bin/llvm-readobj: Makefile
src/external/bsd/llvm/lib/libLLVMARMCodeGen: Makefile
src/external/bsd/llvm/lib/libLLVMAnalysis: Makefile
src/external/bsd/llvm/lib/libLLVMMipsCodeGen: Makefile
src/external/bsd/llvm/lib/libclangCodeGen: Makefile
src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers: Makefile
Added Files:
src/external/bsd/llvm/bin/clang-format: Makefile
Log Message:
Update LLVM/Clang snapshot to r177512 and MCLinker to deeb2a77.
Most noticably, this brings in the (optional) clang-format tool.
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/llvm/bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/bin/clang-format/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/bin/llvm-readobj/Makefile
cvs rdiff -u -r1.11 -r1.12 \
src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile
cvs rdiff -u -r1.15 -r1.16 \
src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/lib/libclangCodeGen/Makefile
cvs rdiff -u -r1.18 -r1.19 \
src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/llvm/Makefile.inc
diff -u src/external/bsd/llvm/Makefile.inc:1.48 src/external/bsd/llvm/Makefile.inc:1.49
--- src/external/bsd/llvm/Makefile.inc:1.48 Wed Mar 13 13:21:17 2013
+++ src/external/bsd/llvm/Makefile.inc Sun Mar 24 13:02:16 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.48 2013/03/13 13:21:17 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.49 2013/03/24 13:02:16 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
@@ -7,12 +7,12 @@ LLVM_TOPLEVEL_MK=
SVN_ROOT= http://llvm.org/svn/llvm-project
-COMMON_REVISION= 175373
+COMMON_REVISION= 177512
LLVM_REVISION= ${COMMON_REVISION}
CLANG_REVISION= ${COMMON_REVISION}
COMPILER_RT_REVISION= ${COMMON_REVISION}
-MCLINKER_REVISION= 32f0b51103cce6907806e08642ca4a5692c3a66e
+MCLINKER_REVISION= deeb2a77b4165827316f88e0a7ba4ba6b743a080
MCLINKER_ROOT= https://code.google.com/p/mclinker/
LLVM_VERSION= 3.3
Index: src/external/bsd/llvm/bin/Makefile
diff -u src/external/bsd/llvm/bin/Makefile:1.8 src/external/bsd/llvm/bin/Makefile:1.9
--- src/external/bsd/llvm/bin/Makefile:1.8 Wed Feb 27 21:25:08 2013
+++ src/external/bsd/llvm/bin/Makefile Sun Mar 24 13:02:16 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2013/02/27 21:25:08 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2013/03/24 13:02:16 joerg Exp $
.include <bsd.own.mk>
@@ -14,6 +14,7 @@ SUBDIR+= \
.if defined(LLVM_DEVELOPER)
SUBDIR+= \
bugpoint \
+ clang-format \
llc \
lli \
llvm-ar \
Index: src/external/bsd/llvm/bin/llvm-readobj/Makefile
diff -u src/external/bsd/llvm/bin/llvm-readobj/Makefile:1.2 src/external/bsd/llvm/bin/llvm-readobj/Makefile:1.3
--- src/external/bsd/llvm/bin/llvm-readobj/Makefile:1.2 Wed Jan 23 15:02:56 2013
+++ src/external/bsd/llvm/bin/llvm-readobj/Makefile Sun Mar 24 13:02:17 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2013/03/24 13:02:17 joerg Exp $
PROG_CXX= llvm-readobj
NOMAN= yes
@@ -7,7 +7,8 @@ NOMAN= yes
.PATH: ${LLVM_SRCDIR}/tools/llvm-readobj
-SRCS= llvm-readobj.cpp
+SRCS= llvm-readobj.cpp \
+ ELF.cpp
LLVM_LIBS+= \
Archive \
Index: src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile:1.11 src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile:1.12
--- src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile:1.11 Wed Jan 23 15:02:58 2013
+++ src/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile Sun Mar 24 13:02:17 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2013/01/23 15:02:58 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2013/03/24 13:02:17 joerg Exp $
LIB= LLVMARMCodeGen
@@ -29,6 +29,7 @@ SRCS+= ARMAsmPrinter.cpp \
ARMTargetMachine.cpp \
ARMTargetObjectFile.cpp \
ARMTargetTransformInfo.cpp \
+ A15SDOptimizer.cpp \
MLxExpansionPass.cpp \
Thumb1InstrInfo.cpp \
Thumb1FrameLowering.cpp \
Index: src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.12 src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.13
--- src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.12 Mon Feb 4 15:00:34 2013
+++ src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile Sun Mar 24 13:02:17 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2013/02/04 15:00:34 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2013/03/24 13:02:17 joerg Exp $
LIB= LLVMAnalysis
@@ -20,7 +20,6 @@ SRCS+= AliasAnalysis.cpp \
CodeMetrics.cpp \
ConstantFolding.cpp \
CostModel.cpp \
- DbgInfoPrinter.cpp \
DependenceAnalysis.cpp \
DomPrinter.cpp \
DominanceFrontier.cpp \
Index: src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.15 src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.16
--- src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.15 Wed Jan 23 15:02:59 2013
+++ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Mar 24 13:02:17 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2013/01/23 15:02:59 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2013/03/24 13:02:17 joerg Exp $
LIB= LLVMMipsCodeGen
@@ -6,12 +6,15 @@ LIB= LLVMMipsCodeGen
.PATH: ${LLVM_SRCDIR}/lib/Target/Mips
-SRCS+= Mips16InstrInfo.cpp \
+SRCS+= Mips16ISelDAGToDAG.cpp \
+ Mips16ISelLowering.cpp \
+ Mips16InstrInfo.cpp \
Mips16FrameLowering.cpp \
Mips16RegisterInfo.cpp \
MipsAnalyzeImmediate.cpp \
MipsAsmPrinter.cpp \
MipsCodeEmitter.cpp \
+ MipsConstantIslandPass.cpp \
MipsDelaySlotFiller.cpp \
MipsFrameLowering.cpp \
MipsInstrInfo.cpp \
@@ -22,6 +25,8 @@ SRCS+= Mips16InstrInfo.cpp \
MipsMachineFunction.cpp \
MipsMCInstLower.cpp \
MipsRegisterInfo.cpp \
+ MipsSEISelLowering.cpp \
+ MipsSEISelDAGToDAG.cpp \
MipsSEInstrInfo.cpp \
MipsSEFrameLowering.cpp \
MipsSERegisterInfo.cpp \
@@ -30,6 +35,7 @@ SRCS+= Mips16InstrInfo.cpp \
MipsTargetObjectFile.cpp \
MipsSelectionDAGInfo.cpp
+
TABLEGEN_SRC= Mips.td
TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/Mips
TABLEGEN_OUTPUT= \
Index: src/external/bsd/llvm/lib/libclangCodeGen/Makefile
diff -u src/external/bsd/llvm/lib/libclangCodeGen/Makefile:1.4 src/external/bsd/llvm/lib/libclangCodeGen/Makefile:1.5
--- src/external/bsd/llvm/lib/libclangCodeGen/Makefile:1.4 Sun Dec 11 14:58:50 2011
+++ src/external/bsd/llvm/lib/libclangCodeGen/Makefile Sun Mar 24 13:02:17 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/12/11 14:58:50 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2013/03/24 13:02:17 joerg Exp $
LIB= clangCodeGen
@@ -7,6 +7,7 @@ LIB= clangCodeGen
.PATH: ${CLANG_SRCDIR}/lib/CodeGen
SRCS+= BackendUtil.cpp \
+ CGAtomic.cpp \
CGBlocks.cpp \
CGBuiltin.cpp \
CGCUDANV.cpp \
Index: src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
diff -u src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.18 src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.19
--- src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.18 Sat Nov 17 04:57:27 2012
+++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile Sun Mar 24 13:02:17 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/11/17 04:57:27 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2013/03/24 13:02:17 joerg Exp $
LIB= clangStaticAnalyzerCheckers
@@ -9,7 +9,6 @@ LIB= clangStaticAnalyzerCheckers
SRCS+= AnalyzerStatsChecker.cpp \
ArrayBoundChecker.cpp \
ArrayBoundCheckerV2.cpp \
- AttrNonNullChecker.cpp \
BasicObjCFoundationChecks.cpp \
BoolAssignmentChecker.cpp \
BuiltinFunctionChecker.cpp \
@@ -46,6 +45,7 @@ SRCS+= AnalyzerStatsChecker.cpp \
NSAutoreleasePoolChecker.cpp \
NSErrorChecker.cpp \
NoReturnFunctionChecker.cpp \
+ NonNullParamChecker.cpp \
ObjCAtSyncChecker.cpp \
ObjCContainersASTChecker.cpp \
ObjCContainersChecker.cpp \
Added files:
Index: src/external/bsd/llvm/bin/clang-format/Makefile
diff -u /dev/null src/external/bsd/llvm/bin/clang-format/Makefile:1.1
--- /dev/null Sun Mar 24 13:02:18 2013
+++ src/external/bsd/llvm/bin/clang-format/Makefile Sun Mar 24 13:02:17 2013
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2013/03/24 13:02:17 joerg Exp $
+
+PROG_CXX= clang-format
+NOMAN= yes
+
+.include <bsd.init.mk>
+
+.PATH: ${CLANG_SRCDIR}/tools/clang-format
+
+SRCS= ClangFormat.cpp
+
+CLANG_LIBS+= \
+ clangFormat \
+ clangTooling \
+ clangFrontend \
+ clangSerialization \
+ clangDriver \
+ clangParse \
+ clangRewriteFrontend \
+ clangRewriteCore \
+ clangSema \
+ clangEdit \
+ clangAnalysis \
+ clangAST \
+ clangLex \
+ clangBasic
+
+LLVM_LIBS+= \
+ BitReader \
+ MCParser \
+ MC \
+ Support
+
+.include "${.PARSEDIR}/../../link.mk"
+
+.include <bsd.prog.mk>