pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/clang Changes 3.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eead0f3e2708
branches:  trunk
changeset: 604130:eead0f3e2708
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 23 11:02:41 2012 +0000

description:
Changes 3.1:
* Major New Features
  - AddressSanitizer, a fast memory error detector.
  - MachineInstr Bundles, Support to model instruction bundling / packing.
  - ARM Integrated Assembler, A full featured assembler and direct-to-object
    support for ARM.
  - Basic Block Placement Probability driven basic block placement.
* LLVM IR and Core Improvements
  - A new type representing 16 bit half floating point values has been added.
  - IR now supports vectors of pointers, including vector GEPs.
  - Module flags have been introduced. They convey information about the module
    as a whole to LLVM subsystems. This is currently used to encode Objective C
    ABI information.
  - Loads can now have range metadata attached to them to describe the possible
    values being loaded.
  - The llvm.ctlz and llvm.cttz intrinsics now have an additional argument which
    indicates whether the behavior of the intrinsic is undefined on a zero
    input. This can be used to generate more efficient code on platforms that
    only have instructions which don't return the type size when counting bits
    in 0.
* Optimizer Improvements
  - The loop unroll pass now is able to unroll loops with run-time trip counts.
    This feature is turned off by default, and is enabled with the
    -unroll-runtime flag.
  - A new basic-block autovectorization pass is available. Pass -vectorize to
    run this pass along with some associated post-vectorization cleanup passes.
    For more information, see the EuroLLVM 2012 slides: Autovectorization with
    LLVM.
  - Inline cost heuristics have been completely overhauled and now closely model
    constant propagation through call sites, disregard trivially dead code
    costs, and can model C++ STL iterator patterns.

diffstat:

 lang/clang/Makefile |   17 ++---
 lang/clang/PLIST    |  145 +++++++++++++++++++++++++++++++++++----------------
 lang/clang/distinfo |   14 ++--
 3 files changed, 114 insertions(+), 62 deletions(-)

diffs (truncated from 729 to 300 lines):

diff -r 8bfdefeeca9c -r eead0f3e2708 lang/clang/Makefile
--- a/lang/clang/Makefile       Wed May 23 10:09:45 2012 +0000
+++ b/lang/clang/Makefile       Wed May 23 11:02:41 2012 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.11 2011/12/02 14:42:12 adam Exp $
+# $NetBSD: Makefile,v 1.12 2012/05/23 11:02:41 adam Exp $
 
-DISTNAME=      clang-3.0
+DISTNAME=      clang-3.1
 CATEGORIES=    lang
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
-DISTFILES=     llvm-${PKGVERSION_NOREV}.tar.gz clang-${PKGVERSION_NOREV}.tar.gz
+DISTFILES=     llvm-${PKGVERSION_NOREV}.src.tar.gz \
+               clang-${PKGVERSION_NOREV}.src.tar.gz
 
 MAINTAINER=    adam.hoka%gmail.com@localhost
 HOMEPAGE=      http://llvm.org/
@@ -15,12 +16,13 @@
 WRKSRC=                        ${WRKDIR}/llvm-${PKGVERSION_NOREV}.src
 
 USE_LANGUAGES=         c c++
-USE_TOOLS+=            chown perl:build gmake
+USE_TOOLS+=            chown gmake
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-assertions
 CONFIGURE_ARGS+=       --disable-bindings      # disable OCaml
 CONFIGURE_ARGS+=       --disable-timestamps
 CONFIGURE_ARGS+=       --enable-optimized
+#CONFIGURE_ARGS+=      --enable-shared
 
 MAKE_DIRS+=            etc/llvm
 
@@ -38,13 +40,8 @@
 PLIST_SUBST+=          SOEXT="so"
 .endif
 
-SUBST_CLASSES+=                perl
-SUBST_MESSAGE.perl=    Fixing llvm-configure PERL path
-SUBST_STAGE.perl=      post-patch
-SUBST_FILES.perl=      tools/llvm-config/llvm-config.in.in
-SUBST_SED.perl=                -e 's,@PERL@,${PERL5},'
-
 post-extract:
        mv ${WRKDIR}/clang-${PKGVERSION_NOREV}.src ${WRKSRC}/tools/clang
 
+.include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8bfdefeeca9c -r eead0f3e2708 lang/clang/PLIST
--- a/lang/clang/PLIST  Wed May 23 10:09:45 2012 +0000
+++ b/lang/clang/PLIST  Wed May 23 11:02:41 2012 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2011/12/06 20:03:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2012/05/23 11:02:41 adam Exp $
 bin/bugpoint
 bin/c-index-test
 bin/clang
@@ -22,8 +22,10 @@
 bin/llvm-objdump
 bin/llvm-prof
 bin/llvm-ranlib
+bin/llvm-readobj
 bin/llvm-rtdyld
 bin/llvm-size
+bin/llvm-stress
 bin/llvm-stub
 bin/llvm-tblgen
 bin/macho-dump
@@ -44,6 +46,7 @@
 include/clang/AST/AttrImpl.inc
 include/clang/AST/Attrs.inc
 include/clang/AST/BaseSubobject.h
+include/clang/AST/BuiltinTypes.def
 include/clang/AST/CXXInheritance.h
 include/clang/AST/CanonicalType.h
 include/clang/AST/CharUnits.h
@@ -54,6 +57,7 @@
 include/clang/AST/DeclContextInternals.h
 include/clang/AST/DeclFriend.h
 include/clang/AST/DeclGroup.h
+include/clang/AST/DeclLookups.h
 include/clang/AST/DeclNodes.inc
 include/clang/AST/DeclObjC.h
 include/clang/AST/DeclTemplate.h
@@ -66,7 +70,9 @@
 include/clang/AST/ExprObjC.h
 include/clang/AST/ExternalASTSource.h
 include/clang/AST/GlobalDecl.h
+include/clang/AST/LambdaMangleContext.h
 include/clang/AST/Mangle.h
+include/clang/AST/NSAPI.h
 include/clang/AST/NestedNameSpecifier.h
 include/clang/AST/OperationKinds.h
 include/clang/AST/ParentMap.h
@@ -92,12 +98,13 @@
 include/clang/AST/TypeOrdering.h
 include/clang/AST/TypeVisitor.h
 include/clang/AST/UnresolvedSet.h
-include/clang/AST/UsuallyTinyPtrVector.h
 include/clang/AST/VTTBuilder.h
 include/clang/AST/VTableBuilder.h
 include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
+include/clang/Analysis/Analyses/Dominators.h
 include/clang/Analysis/Analyses/FormatString.h
 include/clang/Analysis/Analyses/LiveVariables.h
+include/clang/Analysis/Analyses/PostOrderCFGView.h
 include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
 include/clang/Analysis/Analyses/ReachableCode.h
 include/clang/Analysis/Analyses/ThreadSafety.h
@@ -106,28 +113,29 @@
 include/clang/Analysis/AnalysisDiagnostic.h
 include/clang/Analysis/CFG.h
 include/clang/Analysis/CFGStmtMap.h
+include/clang/Analysis/CallGraph.h
 include/clang/Analysis/DomainSpecific/CocoaConventions.h
 include/clang/Analysis/FlowSensitive/DataflowSolver.h
 include/clang/Analysis/FlowSensitive/DataflowValues.h
 include/clang/Analysis/ProgramPoint.h
 include/clang/Analysis/Support/BlkExprDeclBitVector.h
 include/clang/Analysis/Support/BumpVector.h
-include/clang/Analysis/Support/SaveAndRestore.h
 include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
 include/clang/Analysis/Visitors/CFGRecStmtVisitor.h
 include/clang/Analysis/Visitors/CFGStmtVisitor.h
 include/clang/Basic/ABI.h
 include/clang/Basic/AddressSpaces.h
+include/clang/Basic/AllDiagnostics.h
 include/clang/Basic/AttrKinds.h
 include/clang/Basic/AttrList.inc
 include/clang/Basic/Builtins.def
 include/clang/Basic/Builtins.h
 include/clang/Basic/BuiltinsARM.def
+include/clang/Basic/BuiltinsHexagon.def
 include/clang/Basic/BuiltinsPPC.def
 include/clang/Basic/BuiltinsPTX.def
 include/clang/Basic/BuiltinsX86.def
 include/clang/Basic/ConvertUTF.h
-include/clang/Basic/DelayedCleanupPool.h
 include/clang/Basic/Diagnostic.h
 include/clang/Basic/DiagnosticASTKinds.inc
 include/clang/Basic/DiagnosticAnalysisKinds.inc
@@ -141,6 +149,7 @@
 include/clang/Basic/DiagnosticLexKinds.inc
 include/clang/Basic/DiagnosticParseKinds.inc
 include/clang/Basic/DiagnosticSemaKinds.inc
+include/clang/Basic/DiagnosticSerializationKinds.inc
 include/clang/Basic/ExceptionSpecificationType.h
 include/clang/Basic/ExpressionTraits.h
 include/clang/Basic/FileManager.h
@@ -148,10 +157,12 @@
 include/clang/Basic/FileSystemStatCache.h
 include/clang/Basic/IdentifierTable.h
 include/clang/Basic/LLVM.h
+include/clang/Basic/Lambda.h
 include/clang/Basic/LangOptions.def
 include/clang/Basic/LangOptions.h
 include/clang/Basic/Linkage.h
 include/clang/Basic/MacroBuilder.h
+include/clang/Basic/Module.h
 include/clang/Basic/OnDiskHashTable.h
 include/clang/Basic/OpenCL.h
 include/clang/Basic/OpenCLExtensions.def
@@ -178,6 +189,7 @@
 include/clang/CodeGen/BackendUtil.h
 include/clang/CodeGen/CodeGenAction.h
 include/clang/CodeGen/ModuleBuilder.h
+include/clang/Config/config.h
 include/clang/Driver/Action.h
 include/clang/Driver/Arg.h
 include/clang/Driver/ArgList.h
@@ -188,7 +200,6 @@
 include/clang/Driver/Compilation.h
 include/clang/Driver/Driver.h
 include/clang/Driver/DriverDiagnostic.h
-include/clang/Driver/HostInfo.h
 include/clang/Driver/Job.h
 include/clang/Driver/ObjCRuntime.h
 include/clang/Driver/OptSpecifier.h
@@ -202,17 +213,24 @@
 include/clang/Driver/Types.def
 include/clang/Driver/Types.h
 include/clang/Driver/Util.h
+include/clang/Edit/Commit.h
+include/clang/Edit/EditedSource.h
+include/clang/Edit/EditsReceiver.h
+include/clang/Edit/FileOffset.h
+include/clang/Edit/Rewriters.h
 include/clang/Frontend/ASTConsumers.h
 include/clang/Frontend/ASTUnit.h
 include/clang/Frontend/Analyses.def
 include/clang/Frontend/AnalyzerOptions.h
 include/clang/Frontend/ChainedDiagnosticConsumer.h
+include/clang/Frontend/ChainedIncludesSource.h
 include/clang/Frontend/CodeGenOptions.h
 include/clang/Frontend/CommandLineSourceLoc.h
 include/clang/Frontend/CompilerInstance.h
 include/clang/Frontend/CompilerInvocation.h
 include/clang/Frontend/DependencyOutputOptions.h
 include/clang/Frontend/DiagnosticOptions.h
+include/clang/Frontend/DiagnosticRenderer.h
 include/clang/Frontend/FrontendAction.h
 include/clang/Frontend/FrontendActions.h
 include/clang/Frontend/FrontendDiagnostic.h
@@ -221,28 +239,19 @@
 include/clang/Frontend/HeaderSearchOptions.h
 include/clang/Frontend/LangStandard.h
 include/clang/Frontend/LangStandards.def
+include/clang/Frontend/LayoutOverrideSource.h
 include/clang/Frontend/LogDiagnosticPrinter.h
+include/clang/Frontend/MigratorOptions.h
 include/clang/Frontend/MultiplexConsumer.h
 include/clang/Frontend/PreprocessorOptions.h
 include/clang/Frontend/PreprocessorOutputOptions.h
+include/clang/Frontend/SerializedDiagnosticPrinter.h
+include/clang/Frontend/TextDiagnostic.h
 include/clang/Frontend/TextDiagnosticBuffer.h
 include/clang/Frontend/TextDiagnosticPrinter.h
 include/clang/Frontend/Utils.h
 include/clang/Frontend/VerifyDiagnosticConsumer.h
 include/clang/FrontendTool/Utils.h
-include/clang/Index/ASTLocation.h
-include/clang/Index/Analyzer.h
-include/clang/Index/CallGraph.h
-include/clang/Index/DeclReferenceMap.h
-include/clang/Index/Entity.h
-include/clang/Index/GlobalSelector.h
-include/clang/Index/Handlers.h
-include/clang/Index/IndexProvider.h
-include/clang/Index/Indexer.h
-include/clang/Index/Program.h
-include/clang/Index/STLExtras.h
-include/clang/Index/SelectorMap.h
-include/clang/Index/TranslationUnit.h
 include/clang/Lex/AttrSpellings.inc
 include/clang/Lex/CodeCompletionHandler.h
 include/clang/Lex/DirectoryLookup.h
@@ -254,6 +263,7 @@
 include/clang/Lex/LiteralSupport.h
 include/clang/Lex/MacroInfo.h
 include/clang/Lex/ModuleLoader.h
+include/clang/Lex/ModuleMap.h
 include/clang/Lex/MultipleIncludeOpt.h
 include/clang/Lex/PPCallbacks.h
 include/clang/Lex/PTHLexer.h
@@ -280,6 +290,9 @@
 include/clang/Rewrite/Rewriters.h
 include/clang/Rewrite/TokenRewriter.h
 include/clang/Sema/AnalysisBasedWarnings.h
+include/clang/Sema/AttrParsedAttrKinds.inc
+include/clang/Sema/AttrParsedAttrList.inc
+include/clang/Sema/AttrTemplateInstantiate.inc
 include/clang/Sema/AttributeList.h
 include/clang/Sema/CXXFieldCollector.h
 include/clang/Sema/CodeCompleteConsumer.h
@@ -291,7 +304,6 @@
 include/clang/Sema/Initialization.h
 include/clang/Sema/LocInfoType.h
 include/clang/Sema/Lookup.h
-include/clang/Sema/MultiInitializer.h
 include/clang/Sema/ObjCMethodList.h
 include/clang/Sema/Overload.h
 include/clang/Sema/Ownership.h
@@ -314,11 +326,12 @@
 include/clang/Serialization/ASTWriter.h
 include/clang/Serialization/AttrPCHRead.inc
 include/clang/Serialization/AttrPCHWrite.inc
-include/clang/Serialization/ChainedIncludesSource.h
 include/clang/Serialization/ContinuousRangeMap.h
 include/clang/Serialization/Module.h
 include/clang/Serialization/ModuleManager.h
+include/clang/Serialization/SerializationDiagnostic.h
 include/clang/StaticAnalyzer/Checkers/ClangCheckers.h
+include/clang/StaticAnalyzer/Checkers/CommonBugCategories.h
 include/clang/StaticAnalyzer/Checkers/DereferenceChecker.h
 include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
 include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
@@ -340,11 +353,12 @@
 include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h
 include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
 include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngineBuilders.h
+include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h
 include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
 include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h
 include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
 include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h
 include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
 include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
 include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
@@ -352,9 +366,13 @@
 include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
 include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h
 include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h
 include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h
 include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
 include/clang/StaticAnalyzer/Frontend/FrontendActions.h
+include/clang/Tooling/CompilationDatabase.h
+include/clang/Tooling/Tooling.h



Home | Main Index | Thread Index | Old Index