Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Update LLVM/clang snapshot. This brings in support for
details: https://anonhg.NetBSD.org/src/rev/c4740c687122
branches: trunk
changeset: 762221:c4740c687122
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 17 18:35:35 2011 +0000
description:
Update LLVM/clang snapshot. This brings in support for
.pushsection/.popsection and fixes clang -B to be incremental.
diffstat:
external/bsd/llvm/Makefile.inc | 6 +-
external/bsd/llvm/bin/clang/Makefile | 5 +-
external/bsd/llvm/bin/tblgen/Makefile | 3 +-
external/bsd/llvm/lib/Makefile | 8 +-
external/bsd/llvm/lib/libclangStaticAnalyzer/Makefile | 47 -----------
external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile | 14 ++-
external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile | 46 ++++++++++
external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile | 20 ++++
tools/llvm-lib/libclangStaticAnalyzer/Makefile | 3 -
tools/llvm-lib/libclangStaticAnalyzerCore/Makefile | 3 +
tools/llvm-lib/libclangStaticAnalyzerFrontend/Makefile | 3 +
11 files changed, 95 insertions(+), 63 deletions(-)
diffs (272 lines):
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc Thu Feb 17 18:32:29 2011 +0000
+++ b/external/bsd/llvm/Makefile.inc Thu Feb 17 18:35:35 2011 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile.inc,v 1.1 2011/02/06 01:13:43 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.2 2011/02/17 18:35:35 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
.include <bsd.own.mk>
-LLVM_REVISION= 124738
-CLANG_REVISION= 124738
+LLVM_REVISION= 125648
+CLANG_REVISION= 125648
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile Thu Feb 17 18:32:29 2011 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile Thu Feb 17 18:35:35 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/02/17 18:35:35 joerg Exp $
PROG_CXX= clang
NOMAN= yes
@@ -18,8 +18,9 @@
CLANG_LIBS+= \
clangFrontendTool \
clangFrontend \
+ clangStaticAnalyzerFrontend \
clangStaticAnalyzerCheckers \
- clangStaticAnalyzer \
+ clangStaticAnalyzerCore \
clangDriver \
clangSerialization \
clangCodeGen \
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/bin/tblgen/Makefile
--- a/external/bsd/llvm/bin/tblgen/Makefile Thu Feb 17 18:32:29 2011 +0000
+++ b/external/bsd/llvm/bin/tblgen/Makefile Thu Feb 17 18:35:35 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:49 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2011/02/17 18:35:35 joerg Exp $
PROG_CXX= llvm-tblgen
NOMAN= yes
@@ -15,6 +15,7 @@
ClangASTNodesEmitter.cpp \
ClangAttrEmitter.cpp \
ClangDiagnosticsEmitter.cpp \
+ ClangSACheckersEmitter.cpp \
CodeEmitterGen.cpp \
CodeGenDAGPatterns.cpp \
CodeGenInstruction.cpp \
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/lib/Makefile
--- a/external/bsd/llvm/lib/Makefile Thu Feb 17 18:32:29 2011 +0000
+++ b/external/bsd/llvm/lib/Makefile Thu Feb 17 18:35:35 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:52 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2011/02/17 18:35:35 joerg Exp $
SUBDIR= \
libLLVMAnalysis \
@@ -60,7 +60,9 @@
libclangRewrite \
libclangSema \
libclangSerialization \
- libclangStaticAnalyzer \
- libclangStaticAnalyzerCheckers
+ libclangStaticAnalyzerCheckers \
+ libclangStaticAnalyzerCore \
+ .WAIT \
+ libclangStaticAnalyzerFrontend
.include <bsd.subdir.mk>
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/lib/libclangStaticAnalyzer/Makefile
--- a/external/bsd/llvm/lib/libclangStaticAnalyzer/Makefile Thu Feb 17 18:32:29 2011 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:10 joerg Exp $
-
-LIB= clangStaticAnalyzer
-
-.include <bsd.init.mk>
-
-.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer
-
-SRCS+= AggExprVisitor.cpp \
- AnalysisManager.cpp \
- AnalyzerStatsChecker.cpp \
- BasicConstraintManager.cpp \
- BasicStore.cpp \
- BasicValueFactory.cpp \
- BugReporter.cpp \
- BugReporterVisitors.cpp \
- CFRefCount.cpp \
- Checker.cpp \
- CheckerHelpers.cpp \
- Environment.cpp \
- ExplodedGraph.cpp \
- FlatStore.cpp \
- BlockCounter.cpp \
- CXXExprEngine.cpp \
- CoreEngine.cpp \
- GRState.cpp \
- HTMLDiagnostics.cpp \
- ManagerRegistry.cpp \
- MemRegion.cpp \
- ObjCMessage.cpp \
- PathDiagnostic.cpp \
- PlistDiagnostics.cpp \
- RangeConstraintManager.cpp \
- RegionStore.cpp \
- SimpleConstraintManager.cpp \
- SimpleSValBuilder.cpp \
- Store.cpp \
- SValBuilder.cpp \
- SVals.cpp \
- SymbolManager.cpp \
- TextPathDiagnostics.cpp
-
-.if defined(HOSTLIB)
-.include <bsd.hostlib.mk>
-.else
-.include <bsd.lib.mk>
-.endif
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
--- a/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile Thu Feb 17 18:32:29 2011 +0000
+++ b/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile Thu Feb 17 18:35:35 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:10 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2011/02/17 18:35:36 joerg Exp $
LIB= clangStaticAnalyzerCheckers
@@ -7,12 +7,13 @@
.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers
SRCS+= AdjustedReturnValueChecker.cpp \
- AnalysisConsumer.cpp \
+ AnalyzerStatsChecker.cpp \
ArrayBoundChecker.cpp \
ArrayBoundCheckerV2.cpp \
AttrNonNullChecker.cpp \
BasicObjCFoundationChecks.cpp \
BuiltinFunctionChecker.cpp \
+ ClangSACheckerProvider.cpp \
CStringChecker.cpp \
CallAndMessageChecker.cpp \
CastSizeChecker.cpp \
@@ -25,10 +26,9 @@
DeadStoresChecker.cpp \
DereferenceChecker.cpp \
DivZeroChecker.cpp \
+ ExperimentalChecks.cpp \
ExprEngine.cpp \
- ExprEngineExperimentalChecks.cpp \
FixedAddressChecker.cpp \
- FrontendActions.cpp \
IdempotentOperationChecker.cpp \
LLVMConventionsChecker.cpp \
MacOSXAPIChecker.cpp \
@@ -56,6 +56,12 @@
UnreachableCodeChecker.cpp \
VLASizeChecker.cpp
+TABLEGEN_SRC= Checkers.td
+TABLEGEN_INCLUDES= -I${CLANG_SRCDIR}/include
+TABLEGEN_OUTPUT= Checkers.inc|-gen-clang-sa-checkers
+
+.include "${.PARSEDIR}/../../tablegen.mk"
+
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile Thu Feb 17 18:35:35 2011 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2011/02/17 18:35:36 joerg Exp $
+
+LIB= clangStaticAnalyzerCore
+
+.include <bsd.init.mk>
+
+.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Core
+
+SRCS+= AggExprVisitor.cpp \
+ AnalysisManager.cpp \
+ BasicConstraintManager.cpp \
+ BasicStore.cpp \
+ BasicValueFactory.cpp \
+ BlockCounter.cpp \
+ BugReporter.cpp \
+ BugReporterVisitors.cpp \
+ CFRefCount.cpp \
+ Checker.cpp \
+ CheckerHelpers.cpp \
+ CheckerManager.cpp \
+ Environment.cpp \
+ ExplodedGraph.cpp \
+ FlatStore.cpp \
+ CXXExprEngine.cpp \
+ CoreEngine.cpp \
+ GRState.cpp \
+ HTMLDiagnostics.cpp \
+ MemRegion.cpp \
+ ObjCMessage.cpp \
+ PathDiagnostic.cpp \
+ PlistDiagnostics.cpp \
+ RangeConstraintManager.cpp \
+ RegionStore.cpp \
+ SimpleConstraintManager.cpp \
+ SimpleSValBuilder.cpp \
+ Store.cpp \
+ SValBuilder.cpp \
+ SVals.cpp \
+ SymbolManager.cpp \
+ TextPathDiagnostics.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
diff -r 500524bc6b8e -r c4740c687122 external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile Thu Feb 17 18:35:35 2011 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2011/02/17 18:35:36 joerg Exp $
+
+LIB= clangStaticAnalyzerFrontend
+
+.include <bsd.init.mk>
+
+.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Frontend
+
+SRCS+= AnalysisConsumer.cpp \
+ CheckerRegistration.cpp \
+ FrontendActions.cpp
+
+CHECKERS_OBJDIR!= cd ${.CURDIR}/../libclangStaticAnalyzerCheckers && ${PRINTOBJDIR}
+CPPFLAGS+= -I${CHECKERS_OBJDIR}
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
diff -r 500524bc6b8e -r c4740c687122 tools/llvm-lib/libclangStaticAnalyzer/Makefile
--- a/tools/llvm-lib/libclangStaticAnalyzer/Makefile Thu Feb 17 18:32:29 2011 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:23 joerg Exp $
-
-.include <bsd.init.mk>
diff -r 500524bc6b8e -r c4740c687122 tools/llvm-lib/libclangStaticAnalyzerCore/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libclangStaticAnalyzerCore/Makefile Thu Feb 17 18:35:35 2011 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile,v 1.1 2011/02/17 18:35:37 joerg Exp $
+
+.include <bsd.init.mk>
diff -r 500524bc6b8e -r c4740c687122 tools/llvm-lib/libclangStaticAnalyzerFrontend/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/llvm-lib/libclangStaticAnalyzerFrontend/Makefile Thu Feb 17 18:35:35 2011 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile,v 1.1 2011/02/17 18:35:37 joerg Exp $
+
+.include <bsd.init.mk>
Home |
Main Index |
Thread Index |
Old Index