Module Name: src Committed By: joerg Date: Thu Feb 17 18:35:37 UTC 2011
Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/bin/clang: Makefile src/external/bsd/llvm/bin/tblgen: Makefile src/external/bsd/llvm/lib: Makefile src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers: Makefile Added Files: src/external/bsd/llvm/lib/libclangStaticAnalyzerCore: Makefile src/external/bsd/llvm/lib/libclangStaticAnalyzerFrontend: Makefile src/tools/llvm-lib/libclangStaticAnalyzerCore: Makefile src/tools/llvm-lib/libclangStaticAnalyzerFrontend: Makefile Removed Files: src/external/bsd/llvm/lib/libclangStaticAnalyzer: Makefile src/tools/llvm-lib/libclangStaticAnalyzer: Makefile Log Message: Update LLVM/clang snapshot. This brings in support for .pushsection/.popsection and fixes clang -B to be incremental. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/Makefile.inc cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/clang/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/tblgen/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/Makefile cvs rdiff -u -r1.1 -r0 \ src/external/bsd/llvm/lib/libclangStaticAnalyzer/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile cvs rdiff -u -r1.1 -r0 src/tools/llvm-lib/libclangStaticAnalyzer/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libclangStaticAnalyzerCore/Makefile cvs rdiff -u -r0 -r1.1 \ src/tools/llvm-lib/libclangStaticAnalyzerFrontend/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.1 src/external/bsd/llvm/Makefile.inc:1.2 --- src/external/bsd/llvm/Makefile.inc:1.1 Sun Feb 6 01:13:43 2011 +++ src/external/bsd/llvm/Makefile.inc Thu Feb 17 18:35:35 2011 @@ -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 Index: src/external/bsd/llvm/bin/clang/Makefile diff -u src/external/bsd/llvm/bin/clang/Makefile:1.1 src/external/bsd/llvm/bin/clang/Makefile:1.2 --- src/external/bsd/llvm/bin/clang/Makefile:1.1 Sun Feb 6 01:13:44 2011 +++ src/external/bsd/llvm/bin/clang/Makefile Thu Feb 17 18:35:35 2011 @@ -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 \ Index: src/external/bsd/llvm/bin/tblgen/Makefile diff -u src/external/bsd/llvm/bin/tblgen/Makefile:1.1 src/external/bsd/llvm/bin/tblgen/Makefile:1.2 --- src/external/bsd/llvm/bin/tblgen/Makefile:1.1 Sun Feb 6 01:13:49 2011 +++ src/external/bsd/llvm/bin/tblgen/Makefile Thu Feb 17 18:35:35 2011 @@ -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 \ Index: src/external/bsd/llvm/lib/Makefile diff -u src/external/bsd/llvm/lib/Makefile:1.1 src/external/bsd/llvm/lib/Makefile:1.2 --- src/external/bsd/llvm/lib/Makefile:1.1 Sun Feb 6 01:13:52 2011 +++ src/external/bsd/llvm/lib/Makefile Thu Feb 17 18:35:35 2011 @@ -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> Index: src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile diff -u src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.1 src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.2 --- src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.1 Sun Feb 6 01:14:10 2011 +++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile Thu Feb 17 18:35:36 2011 @@ -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 Added files: Index: src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile:1.1 --- /dev/null Thu Feb 17 18:35:37 2011 +++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile Thu Feb 17 18:35:36 2011 @@ -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 Index: src/external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile:1.1 --- /dev/null Thu Feb 17 18:35:37 2011 +++ src/external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile Thu Feb 17 18:35:36 2011 @@ -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 Index: src/tools/llvm-lib/libclangStaticAnalyzerCore/Makefile diff -u /dev/null src/tools/llvm-lib/libclangStaticAnalyzerCore/Makefile:1.1 --- /dev/null Thu Feb 17 18:35:37 2011 +++ src/tools/llvm-lib/libclangStaticAnalyzerCore/Makefile Thu Feb 17 18:35:37 2011 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2011/02/17 18:35:37 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libclangStaticAnalyzerFrontend/Makefile diff -u /dev/null src/tools/llvm-lib/libclangStaticAnalyzerFrontend/Makefile:1.1 --- /dev/null Thu Feb 17 18:35:37 2011 +++ src/tools/llvm-lib/libclangStaticAnalyzerFrontend/Makefile Thu Feb 17 18:35:37 2011 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2011/02/17 18:35:37 joerg Exp $ + +.include <bsd.init.mk>