Module Name: src Committed By: joerg Date: Fri Mar 18 23:32:05 UTC 2011
Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/bin/bugpoint: Makefile src/external/bsd/llvm/bin/llc: Makefile src/external/bsd/llvm/bin/lli: Makefile src/external/bsd/llvm/bin/llvm-diff: Makefile src/external/bsd/llvm/bin/llvm-dis: Makefile src/external/bsd/llvm/bin/llvm-ld: Makefile src/external/bsd/llvm/bin/llvm-mc: Makefile src/external/bsd/llvm/bin/opt: Makefile src/external/bsd/llvm/lib/libLLVMAnalysis: Makefile src/external/bsd/llvm/lib/libLLVMAsmPrinter: Makefile src/external/bsd/llvm/lib/libLLVMCore: Makefile src/external/bsd/llvm/lib/libLLVMMC: Makefile src/external/bsd/llvm/lib/libLLVMScalarOpts: Makefile src/external/bsd/llvm/lib/libclangAST: Makefile src/external/bsd/llvm/lib/libclangAnalysis: Makefile src/external/bsd/llvm/lib/libclangFrontend: Makefile src/external/bsd/llvm/lib/libclangSerialization: Makefile src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers: Makefile src/external/bsd/llvm/lib/libclangStaticAnalyzerCore: Makefile src/tools/llvm: Makefile src/tools/llvm-clang: Makefile Log Message: Update LLVM snapshot. This allows deriving the target from the binary name, provides a proper CPP mode and fixes a number of compat issues in the integrated assembler. Build the toolchain compiler optimized and without assertions now. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/Makefile.inc cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/bugpoint/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/llc/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/lli/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/llvm-diff/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/llvm-dis/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/llvm-ld/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/llvm-mc/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/opt/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMCore/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMMC/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libclangAST/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libclangAnalysis/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libclangFrontend/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/bsd/llvm/lib/libclangSerialization/Makefile cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile cvs rdiff -u -r1.1 -r1.2 src/tools/llvm/Makefile cvs rdiff -u -r1.1 -r1.2 src/tools/llvm-clang/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.3 src/external/bsd/llvm/Makefile.inc:1.4 --- src/external/bsd/llvm/Makefile.inc:1.3 Wed Feb 23 03:09:02 2011 +++ src/external/bsd/llvm/Makefile.inc Fri Mar 18 23:32:01 2011 @@ -1,12 +1,12 @@ -# $NetBSD: Makefile.inc,v 1.3 2011/02/23 03:09:02 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.4 2011/03/18 23:32:01 joerg Exp $ .if !defined(LLVM_TOPLEVEL_MK) LLVM_TOPLEVEL_MK= .include <bsd.own.mk> -LLVM_REVISION= 126223 -CLANG_REVISION= 126223 +LLVM_REVISION= 127912 +CLANG_REVISION= 127912 LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang Index: src/external/bsd/llvm/bin/bugpoint/Makefile diff -u src/external/bsd/llvm/bin/bugpoint/Makefile:1.1 src/external/bsd/llvm/bin/bugpoint/Makefile:1.2 --- src/external/bsd/llvm/bin/bugpoint/Makefile:1.1 Sun Feb 6 01:13:44 2011 +++ src/external/bsd/llvm/bin/bugpoint/Makefile Fri Mar 18 23:32:01 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ PROG_CXX= bugpoint NOMAN= yes @@ -25,10 +25,10 @@ Instrumentation \ Linker \ ScalarOpts \ - Analysis \ Target \ ipo \ TransformsUtils \ + Analysis \ ipa \ Core \ Support Index: src/external/bsd/llvm/bin/llc/Makefile diff -u src/external/bsd/llvm/bin/llc/Makefile:1.1 src/external/bsd/llvm/bin/llc/Makefile:1.2 --- src/external/bsd/llvm/bin/llc/Makefile:1.1 Sun Feb 6 01:13:44 2011 +++ src/external/bsd/llvm/bin/llc/Makefile Fri Mar 18 23:32:01 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ PROG_CXX= llc NOMAN= yes @@ -17,14 +17,15 @@ X86TargetInfo \ X86AsmParser \ X86AsmPrinter \ + X86Utils \ SelectionDAG \ CodeGen \ Target \ ScalarOpts \ + TransformsUtils \ Analysis \ MCParser \ MC \ - TransformsUtils \ Core \ Support Index: src/external/bsd/llvm/bin/lli/Makefile diff -u src/external/bsd/llvm/bin/lli/Makefile:1.1 src/external/bsd/llvm/bin/lli/Makefile:1.2 --- src/external/bsd/llvm/bin/lli/Makefile:1.1 Sun Feb 6 01:13:44 2011 +++ src/external/bsd/llvm/bin/lli/Makefile Fri Mar 18 23:32:01 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ PROG_CXX= lli NOMAN= yes @@ -18,13 +18,14 @@ ExecutionEngine \ X86CodeGen \ X86TargetInfo \ + X86Utils \ SelectionDAG \ CodeGen \ Target \ ScalarOpts \ + TransformsUtils \ Analysis \ MC \ - TransformsUtils \ Core \ Support Index: src/external/bsd/llvm/bin/llvm-diff/Makefile diff -u src/external/bsd/llvm/bin/llvm-diff/Makefile:1.1 src/external/bsd/llvm/bin/llvm-diff/Makefile:1.2 --- src/external/bsd/llvm/bin/llvm-diff/Makefile:1.1 Sun Feb 6 01:13:45 2011 +++ src/external/bsd/llvm/bin/llvm-diff/Makefile Fri Mar 18 23:32:01 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ PROG_CXX= llvm-diff NOMAN= yes @@ -8,6 +8,8 @@ .PATH: ${LLVM_SRCDIR}/tools/llvm-diff SRCS= llvm-diff.cpp \ + DiffConsumer.cpp \ + DiffLog.cpp \ DifferenceEngine.cpp LLVM_LIBS+= \ Index: src/external/bsd/llvm/bin/llvm-dis/Makefile diff -u src/external/bsd/llvm/bin/llvm-dis/Makefile:1.1 src/external/bsd/llvm/bin/llvm-dis/Makefile:1.2 --- src/external/bsd/llvm/bin/llvm-dis/Makefile:1.1 Sun Feb 6 01:13:46 2011 +++ src/external/bsd/llvm/bin/llvm-dis/Makefile Fri Mar 18 23:32:02 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ PROG_CXX= llvm-dis NOMAN= yes @@ -10,6 +10,7 @@ SRCS= llvm-dis.cpp LLVM_LIBS+= \ + Analysis \ BitReader \ Core \ Support Index: src/external/bsd/llvm/bin/llvm-ld/Makefile diff -u src/external/bsd/llvm/bin/llvm-ld/Makefile:1.1 src/external/bsd/llvm/bin/llvm-ld/Makefile:1.2 --- src/external/bsd/llvm/bin/llvm-ld/Makefile:1.1 Sun Feb 6 01:13:46 2011 +++ src/external/bsd/llvm/bin/llvm-ld/Makefile Fri Mar 18 23:32:02 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ PROG_CXX= llvm-ld NOMAN= yes @@ -17,11 +17,11 @@ BitReader \ BitWriter \ InstCombine \ + ipo \ ScalarOpts \ + TransformsUtils \ Analysis \ Target \ - ipo \ - TransformsUtils \ ipa \ Core \ Support Index: src/external/bsd/llvm/bin/llvm-mc/Makefile diff -u src/external/bsd/llvm/bin/llvm-mc/Makefile:1.1 src/external/bsd/llvm/bin/llvm-mc/Makefile:1.2 --- src/external/bsd/llvm/bin/llvm-mc/Makefile:1.1 Sun Feb 6 01:13:47 2011 +++ src/external/bsd/llvm/bin/llvm-mc/Makefile Fri Mar 18 23:32:02 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ PROG_CXX= llvm-mc NOMAN= yes @@ -16,16 +16,17 @@ X86AsmParser \ X86Disassembler \ X86AsmPrinter \ + X86Utils \ SelectionDAG \ CodeGen \ Target \ ScalarOpts \ + TransformsUtils \ Analysis \ AsmPrinter \ MCDisassembler \ MCParser \ MC \ - TransformsUtils \ Core \ Support Index: src/external/bsd/llvm/bin/opt/Makefile diff -u src/external/bsd/llvm/bin/opt/Makefile:1.1 src/external/bsd/llvm/bin/opt/Makefile:1.2 --- src/external/bsd/llvm/bin/opt/Makefile:1.1 Sun Feb 6 01:13:48 2011 +++ src/external/bsd/llvm/bin/opt/Makefile Fri Mar 18 23:32:02 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ PROG_CXX= opt NOMAN= yes @@ -18,11 +18,11 @@ BitWriter \ InstCombine \ Instrumentation \ + ipo \ ScalarOpts \ + TransformsUtils \ Analysis \ Target \ - ipo \ - TransformsUtils \ ipa \ Core \ Support Index: src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile diff -u src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.1 Sun Feb 6 01:13:53 2011 +++ src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile Fri Mar 18 23:32:02 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ LIB= LLVMAnalysis @@ -31,7 +31,6 @@ LibCallAliasAnalysis.cpp \ LibCallSemantics.cpp \ Lint.cpp \ - LiveValues.cpp \ Loads.cpp \ LoopDependenceAnalysis.cpp \ LoopInfo.cpp \ Index: src/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile diff -u src/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile:1.1 Sun Feb 6 01:13:53 2011 +++ src/external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile Fri Mar 18 23:32:02 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ LIB= LLVMAsmPrinter @@ -6,7 +6,8 @@ .PATH: ${LLVM_SRCDIR}/lib/CodeGen/AsmPrinter -SRCS+= AsmPrinter.cpp \ +SRCS+= ARMException.cpp \ + AsmPrinter.cpp \ AsmPrinterDwarf.cpp \ AsmPrinterInlineAsm.cpp \ DIE.cpp \ Index: src/external/bsd/llvm/lib/libLLVMCore/Makefile diff -u src/external/bsd/llvm/lib/libLLVMCore/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMCore/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMCore/Makefile:1.1 Sun Feb 6 01:13:56 2011 +++ src/external/bsd/llvm/lib/libLLVMCore/Makefile Fri Mar 18 23:32:03 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:56 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ LIB= LLVMCore @@ -13,6 +13,7 @@ ConstantFold.cpp \ Constants.cpp \ Core.cpp \ + DebugInfoProbe.cpp \ DebugLoc.cpp \ Dominators.cpp \ Function.cpp \ Index: src/external/bsd/llvm/lib/libLLVMMC/Makefile diff -u src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.1 Sun Feb 6 01:13:59 2011 +++ src/external/bsd/llvm/lib/libLLVMMC/Makefile Fri Mar 18 23:32:03 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:59 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ LIB= LLVMMC @@ -15,6 +15,7 @@ MCCodeEmitter.cpp \ MCContext.cpp \ MCDisassembler.cpp \ + MCELF.cpp \ MCELFObjectTargetWriter.cpp \ MCELFStreamer.cpp \ MCExpr.cpp \ Index: src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile diff -u src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.1 Sun Feb 6 01:14:01 2011 +++ src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile Fri Mar 18 23:32:03 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:01 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ LIB= LLVMScalarOpts @@ -14,7 +14,6 @@ DCE.cpp \ DeadStoreElimination.cpp \ EarlyCSE.cpp \ - GEPSplitter.cpp \ GVN.cpp \ IndVarSimplify.cpp \ JumpThreading.cpp \ @@ -34,7 +33,6 @@ Scalar.cpp \ ScalarReplAggregates.cpp \ SimplifyCFGPass.cpp \ - SimplifyHalfPowrLibCalls.cpp \ SimplifyLibCalls.cpp \ Sink.cpp \ TailDuplication.cpp \ Index: src/external/bsd/llvm/lib/libclangAST/Makefile diff -u src/external/bsd/llvm/lib/libclangAST/Makefile:1.1 src/external/bsd/llvm/lib/libclangAST/Makefile:1.2 --- src/external/bsd/llvm/lib/libclangAST/Makefile:1.1 Sun Feb 6 01:14:05 2011 +++ src/external/bsd/llvm/lib/libclangAST/Makefile Fri Mar 18 23:32:03 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ LIB= clangAST @@ -27,6 +27,7 @@ ExprClassification.cpp \ ExprConstant.cpp \ ExprCXX.cpp \ + ExternalASTSource.cpp \ InheritViz.cpp \ ItaniumCXXABI.cpp \ ItaniumMangle.cpp \ Index: src/external/bsd/llvm/lib/libclangAnalysis/Makefile diff -u src/external/bsd/llvm/lib/libclangAnalysis/Makefile:1.1 src/external/bsd/llvm/lib/libclangAnalysis/Makefile:1.2 --- src/external/bsd/llvm/lib/libclangAnalysis/Makefile:1.1 Sun Feb 6 01:14:06 2011 +++ src/external/bsd/llvm/lib/libclangAnalysis/Makefile Fri Mar 18 23:32:03 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ LIB= clangAnalysis @@ -8,6 +8,7 @@ SRCS+= AnalysisContext.cpp \ CFG.cpp \ + CFGReachabilityAnalysis.cpp \ CFGStmtMap.cpp \ CocoaConventions.cpp \ FormatString.cpp \ @@ -16,8 +17,7 @@ PseudoConstantAnalysis.cpp \ ReachableCode.cpp \ ScanfFormatString.cpp \ - UninitializedValues.cpp \ - UninitializedValuesV2.cpp + UninitializedValues.cpp .if defined(HOSTLIB) .include <bsd.hostlib.mk> Index: src/external/bsd/llvm/lib/libclangFrontend/Makefile diff -u src/external/bsd/llvm/lib/libclangFrontend/Makefile:1.1 src/external/bsd/llvm/lib/libclangFrontend/Makefile:1.2 --- src/external/bsd/llvm/lib/libclangFrontend/Makefile:1.1 Sun Feb 6 01:14:07 2011 +++ src/external/bsd/llvm/lib/libclangFrontend/Makefile Fri Mar 18 23:32:04 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:07 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ LIB= clangFrontend @@ -13,10 +13,8 @@ CacheTokens.cpp \ CompilerInstance.cpp \ CompilerInvocation.cpp \ - DeclXML.cpp \ DependencyFile.cpp \ DiagChecker.cpp \ - DocumentXML.cpp \ FrontendAction.cpp \ FrontendActions.cpp \ FrontendOptions.cpp \ @@ -26,10 +24,8 @@ LangStandards.cpp \ MultiplexConsumer.cpp \ PrintPreprocessedOutput.cpp \ - StmtXML.cpp \ TextDiagnosticBuffer.cpp \ TextDiagnosticPrinter.cpp \ - TypeXML.cpp \ VerifyDiagnosticsClient.cpp \ Warnings.cpp Index: src/external/bsd/llvm/lib/libclangSerialization/Makefile diff -u src/external/bsd/llvm/lib/libclangSerialization/Makefile:1.1 src/external/bsd/llvm/lib/libclangSerialization/Makefile:1.2 --- src/external/bsd/llvm/lib/libclangSerialization/Makefile:1.1 Sun Feb 6 01:14:10 2011 +++ src/external/bsd/llvm/lib/libclangSerialization/Makefile Fri Mar 18 23:32:04 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:10 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ LIB= clangSerialization @@ -6,14 +6,15 @@ .PATH: ${CLANG_SRCDIR}/lib/Serialization -SRCS+= GeneratePCH.cpp \ - ASTCommon.cpp \ +SRCS+= ASTCommon.cpp \ ASTReader.cpp \ ASTReaderDecl.cpp \ ASTReaderStmt.cpp \ ASTWriter.cpp \ ASTWriterDecl.cpp \ - ASTWriterStmt.cpp + ASTWriterStmt.cpp \ + ChainedIncludesSource.cpp \ + GeneratePCH.cpp .if defined(HOSTLIB) .include <bsd.hostlib.mk> Index: src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile diff -u src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.3 src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.4 --- src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile:1.3 Wed Feb 23 03:09:04 2011 +++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile Fri Mar 18 23:32:04 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/02/23 03:09:04 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2011/03/18 23:32:04 joerg Exp $ LIB= clangStaticAnalyzerCheckers @@ -27,10 +27,9 @@ DebugCheckers.cpp \ DereferenceChecker.cpp \ DivZeroChecker.cpp \ - ExperimentalChecks.cpp \ - ExprEngine.cpp \ FixedAddressChecker.cpp \ IdempotentOperationChecker.cpp \ + IteratorsChecker.cpp \ LLVMConventionsChecker.cpp \ MacOSXAPIChecker.cpp \ MallocChecker.cpp \ @@ -46,7 +45,7 @@ PthreadLockChecker.cpp \ ReturnPointerRangeChecker.cpp \ ReturnUndefChecker.cpp \ - StackAddrLeakChecker.cpp \ + StackAddrEscapeChecker.cpp \ StreamChecker.cpp \ UndefBranchChecker.cpp \ UndefCapturedBlockVarChecker.cpp \ Index: src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile diff -u src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile:1.1 src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile:1.2 --- src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile:1.1 Thu Feb 17 18:35:36 2011 +++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile Fri Mar 18 23:32:04 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/17 18:35:36 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ LIB= clangStaticAnalyzerCore @@ -15,14 +15,15 @@ BugReporter.cpp \ BugReporterVisitors.cpp \ CFRefCount.cpp \ - Checker.cpp \ + CXXExprEngine.cpp \ + CheckerContext.cpp \ CheckerHelpers.cpp \ CheckerManager.cpp \ + CoreEngine.cpp \ Environment.cpp \ ExplodedGraph.cpp \ + ExprEngine.cpp \ FlatStore.cpp \ - CXXExprEngine.cpp \ - CoreEngine.cpp \ GRState.cpp \ HTMLDiagnostics.cpp \ MemRegion.cpp \ Index: src/tools/llvm/Makefile diff -u src/tools/llvm/Makefile:1.1 src/tools/llvm/Makefile:1.2 --- src/tools/llvm/Makefile:1.1 Sun Feb 6 01:14:11 2011 +++ src/tools/llvm/Makefile Fri Mar 18 23:32:04 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ .include <bsd.init.mk> @@ -20,8 +20,9 @@ config/config.status: ${LLVM_SRCDIR}/configure mkdir -p config cd config && ${LLVM_SRCDIR}/configure --prefix=/usr \ - --enable-targets=x86 --host=x86_64--netbsd --with-clang-resource-dir=${DESTDIR}/usr/lib - + --enable-targets=x86 --host=x86_64--netbsd \ + --with-clang-resource-dir=${DESTDIR}/usr/lib \ + --enable-optimized --disable--assertions need-dl: printf '#include <dlfcn.h>\nint main(void){void *p; return dladdr(p, p);}' > need-dl.c if ${HOST_CC} -o need-dl.out -D_GNU_SOURCE need-dl.c > /dev/null 2>&1; then \ Index: src/tools/llvm-clang/Makefile diff -u src/tools/llvm-clang/Makefile:1.1 src/tools/llvm-clang/Makefile:1.2 --- src/tools/llvm-clang/Makefile:1.1 Sun Feb 6 01:14:11 2011 +++ src/tools/llvm-clang/Makefile Fri Mar 18 23:32:04 2011 @@ -1,20 +1,20 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ -HOSTPROGNAME= ${_TOOL_PREFIX}clang -HOSTPROG_CXX= ${_TOOL_PREFIX}clang +HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-clang +HOSTPROG_CXX= ${MACHINE_GNU_PLATFORM}-clang HOST_SRCDIR= external/bsd/llvm/bin/clang .include "${.CURDIR}/../Makefile.host" -install.host: ${HOST_BINDIR}/${_TOOL_PREFIX}clang++ ${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp +install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++ +install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp -${HOST_BINDIR}/${_TOOL_PREFIX}clang++: +${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++: ${_MKTARGET_INSTALL} mkdir -p ${HOST_BINDIR} ${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET} -${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp: +${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp: ${_MKTARGET_INSTALL} mkdir -p ${HOST_BINDIR} - printf '#!/bin/sh\nexec ${HOST_BINDIR}/${_TOOL_PREFIX}clang -x c -E "$$@"' > ${.TARGET} - chmod a+x ${.TARGET} + ${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET}