Module Name: src
Committed By: joerg
Date: Sat Apr 14 15:11:18 UTC 2012
Modified Files:
src/external/bsd/llvm: Makefile.inc
src/external/bsd/llvm/lib: Makefile
src/external/bsd/llvm/lib/libLLVMSupport: Makefile
src/external/bsd/llvm/lib/libLLVMTarget: Makefile
src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers: Makefile
Added Files:
src/external/bsd/llvm/lib/libclangTooling: Makefile
Log Message:
Update LLVM/Clang to r154578.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/llvm/lib/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/llvm/lib/libLLVMSupport/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/llvm/lib/libLLVMTarget/Makefile
cvs rdiff -u -r1.12 -r1.13 \
src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
cvs rdiff -u -r0 -r1.4 src/external/bsd/llvm/lib/libclangTooling/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.32 src/external/bsd/llvm/Makefile.inc:1.33
--- src/external/bsd/llvm/Makefile.inc:1.32 Wed Apr 4 10:42:00 2012
+++ src/external/bsd/llvm/Makefile.inc Sat Apr 14 15:11:17 2012
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile.inc,v 1.32 2012/04/04 10:42:00 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.33 2012/04/14 15:11:17 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
.include <bsd.own.mk>
-LLVM_REVISION= 153935
-CLANG_REVISION= 153935
+LLVM_REVISION= 154578
+CLANG_REVISION= 154578
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
Index: src/external/bsd/llvm/lib/Makefile
diff -u src/external/bsd/llvm/lib/Makefile:1.20 src/external/bsd/llvm/lib/Makefile:1.21
--- src/external/bsd/llvm/lib/Makefile:1.20 Wed Apr 4 10:42:01 2012
+++ src/external/bsd/llvm/lib/Makefile Sat Apr 14 15:11:18 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2012/04/04 10:42:01 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2012/04/14 15:11:18 joerg Exp $
.include <bsd.own.mk>
@@ -101,4 +101,9 @@ SUBDIR+= \
.WAIT \
libclangStaticAnalyzerFrontend
+.if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
+SUBDIR+= \
+ libclangTooling
+.endif
+
.include <bsd.subdir.mk>
Index: src/external/bsd/llvm/lib/libLLVMSupport/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.10 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.11
--- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.10 Wed Apr 4 10:42:03 2012
+++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile Sat Apr 14 15:11:18 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2012/04/04 10:42:03 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2012/04/14 15:11:18 joerg Exp $
LIB= LLVMSupport
@@ -58,6 +58,7 @@ SRCS+= APFloat.cpp \
ToolOutputFile.cpp \
Triple.cpp \
Twine.cpp \
+ YAMLParser.cpp \
raw_os_ostream.cpp \
raw_ostream.cpp \
regcomp.c \
Index: src/external/bsd/llvm/lib/libLLVMTarget/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.7 src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.8
--- src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.7 Wed Jan 11 23:24:48 2012
+++ src/external/bsd/llvm/lib/libLLVMTarget/Makefile Sat Apr 14 15:11:18 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2012/01/11 23:24:48 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2012/04/14 15:11:18 joerg Exp $
LIB= LLVMTarget
@@ -16,6 +16,7 @@ SRCS+= Mangler.cpp \
TargetLibraryInfo.cpp \
TargetLoweringObjectFile.cpp \
TargetMachine.cpp \
+ TargetMachineC.cpp \
TargetRegisterInfo.cpp \
TargetSubtargetInfo.cpp
Index: src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
diff -u src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.12 src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.13
--- src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.12 Tue Feb 28 17:09:31 2012
+++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile Sat Apr 14 15:11:18 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2012/02/28 17:09:31 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2012/04/14 15:11:18 joerg Exp $
LIB= clangStaticAnalyzerCheckers
@@ -26,6 +26,7 @@ SRCS+= AdjustedReturnValueChecker.cpp \
CheckSizeofPointer.cpp \
CheckerDocumentation.cpp \
ChrootChecker.cpp \
+ CommonBugCategories.cpp \
DeadStoresChecker.cpp \
DebugCheckers.cpp \
DereferenceChecker.cpp \
Added files:
Index: src/external/bsd/llvm/lib/libclangTooling/Makefile
diff -u /dev/null src/external/bsd/llvm/lib/libclangTooling/Makefile:1.4
--- /dev/null Sat Apr 14 15:11:18 2012
+++ src/external/bsd/llvm/lib/libclangTooling/Makefile Sat Apr 14 15:11:18 2012
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.4 2012/04/14 15:11:18 joerg Exp $
+
+LIB= clangTooling
+
+.include <bsd.init.mk>
+
+.PATH: ${CLANG_SRCDIR}/lib/Tooling
+
+SRCS+= CompilationDatabase.cpp \
+ Tooling.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif