On Tue, Nov 15, 2011 at 09:33:21AM +0000, Stuart Henderson wrote: > On 2011-10-26, Sebastian Reitenbach <sebas...@l00-bugdead-prods.de> wrote: > > attached patch to update llvm to 3.0 rc1. The 3.0 is supposed to > > be released in a couple of weeks > > release is scheduled for tomorrow; here is an updated diff for rc3, > also switching the build to cmake. > > any opinions on splitting clang off into a separate subpackage? i could > do so if it might be useful to someone, but haven't seen any point in this > yet.
Why switch to cmake? There have been problems updating it in the past and gmake works fine. Anyway here is a quick rc4 port that includes a diff to ignore -Wbounded, this doesn't have your changes the Lexer.cpp diff isn't yet removed and the various Makefile changes aren't here. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/llvm/Makefile,v retrieving revision 1.34 diff -u -p -r1.34 Makefile --- Makefile 16 Sep 2011 09:24:52 -0000 1.34 +++ Makefile 24 Nov 2011 03:03:55 -0000 @@ -2,9 +2,8 @@ COMMENT = Low Level Virtual Machine (LLVM) compiler infrastructure -LLVM_V = 2.9 +LLVM_V = 3.0rc4 DISTNAME = llvm-${LLVM_V} -REVISION = 3 CATEGORIES = devel @@ -23,12 +22,14 @@ PERMIT_DISTFILES_FTP = Yes WANTLIB = c m pthread stdc++ -MASTER_SITES = http://llvm.org/releases/${LLVM_V}/ +#MASTER_SITES = http://llvm.org/releases/${LLVM_V}/ +MASTER_SITES = http://llvm.org/pre-releases/3.0/rc4/ -DISTFILES= ${DISTNAME}.tgz clang-${LLVM_V}.tgz +DISTFILES= ${DISTNAME}.src.tar.gz clang-${LLVM_V}.src.tar.gz +WRKDIST= ${WRKDIR}/llvm-${LLVM_V}.src post-extract: - @mv ${WRKDIR}/clang-${LLVM_V} ${WRKDIST}/tools/clang + @mv ${WRKDIR}/clang-${LLVM_V}.src ${WRKDIST}/tools/clang MODULES = lang/python @@ -62,7 +63,7 @@ CONFIGURE_ARGS = --enable-bindings=no \ MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/autoconf -CLANG_INCLUDE_PATH = lib/clang/${LLVM_V}/include +CLANG_INCLUDE_PATH = lib/clang/${LLVM_V:C/rc.*$//}/include SUBST_VARS += CLANG_INCLUDE_PATH pre-configure: Index: distinfo =================================================================== RCS file: /cvs/ports/devel/llvm/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 9 Apr 2011 21:43:39 -0000 1.8 +++ distinfo 24 Nov 2011 03:03:55 -0000 @@ -1,10 +1,10 @@ -MD5 (clang-2.9.tgz) = Y03hjQS3pN7RnsTBfSPPyg== -MD5 (llvm-2.9.tgz) = eTE4QS0q8sfH9UYV+JQ3cQ== -RMD160 (clang-2.9.tgz) = SrecvQ4q0loicubuL7v1RoGNvXM= -RMD160 (llvm-2.9.tgz) = yuqgZ/2h6zQZazVqCHZF+Dcxz7c= -SHA1 (clang-2.9.tgz) = X9O1zsBQ7BKFjBYCsjzwligq1KQ= -SHA1 (llvm-2.9.tgz) = UA9Yf4QBmaxTxPx1coOdCPqdkSM= -SHA256 (clang-2.9.tgz) = cMQfP3gqccuqe8jW6in85CY60+hVjf7MbcEc3vF5Cd8= -SHA256 (llvm-2.9.tgz) = ZhI2z6F0KLSM+py7mQn3VpxkuOzSGf2R28AOO1V7N3k= -SIZE (clang-2.9.tgz) = 6243772 -SIZE (llvm-2.9.tgz) = 9574781 +MD5 (clang-3.0rc4.src.tar.gz) = rvN4zb918DT+yAdgxO4Rcg== +MD5 (llvm-3.0rc4.src.tar.gz) = A61cynTmYq5lVxp6Hnr4pQ== +RMD160 (clang-3.0rc4.src.tar.gz) = /IvLmEtV0Kzbq4c/zxqeSqmbPuc= +RMD160 (llvm-3.0rc4.src.tar.gz) = cQISwvoRwBRxMPYErLatf04IN4E= +SHA1 (clang-3.0rc4.src.tar.gz) = sTFHq8zIOwUppDvEnH6/XSmnEQs= +SHA1 (llvm-3.0rc4.src.tar.gz) = LEKfb4RxNCrUNC5iCLCiyBqTYVA= +SHA256 (clang-3.0rc4.src.tar.gz) = pe0GN0jKIaPyMTNq9wiPColF/eNHgzIGXG47LKgUPtg= +SHA256 (llvm-3.0rc4.src.tar.gz) = eA6eT5RmbKebyPGju4IbHP7z6NS013t7gaFLR9a72CE= +SIZE (clang-3.0rc4.src.tar.gz) = 7308666 +SIZE (llvm-3.0rc4.src.tar.gz) = 10526647 Index: patches/patch-tools_clang_lib_Lex_Lexer_cpp =================================================================== RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Lex_Lexer_cpp,v retrieving revision 1.6 diff -u -p -r1.6 patch-tools_clang_lib_Lex_Lexer_cpp --- patches/patch-tools_clang_lib_Lex_Lexer_cpp 13 Jan 2011 00:15:50 -0000 1.6 +++ patches/patch-tools_clang_lib_Lex_Lexer_cpp 24 Nov 2011 03:03:55 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-tools_clang_lib_Lex_Lexer_cpp,v 1.6 2011/01/13 00:15:50 jeremy Exp $ ---- tools/clang/lib/Lex/Lexer.cpp.orig Tue Aug 31 09:42:00 2010 -+++ tools/clang/lib/Lex/Lexer.cpp Thu Jan 6 11:26:07 2011 -@@ -1334,6 +1334,7 @@ static bool isEndOfBlockCommentWithEscapedNewLine(cons +--- tools/clang/lib/Lex/Lexer.cpp.orig Sat Oct 15 12:18:56 2011 ++++ tools/clang/lib/Lex/Lexer.cpp Thu Nov 24 12:32:48 2011 +@@ -1853,6 +1853,7 @@ static bool isEndOfBlockCommentWithEscapedNewLine(cons return true; } Index: patches/patch-tools_clang_lib_Sema_AttributeList_cpp =================================================================== RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_lib_Sema_AttributeList_cpp,v retrieving revision 1.1 diff -u -p -r1.1 patch-tools_clang_lib_Sema_AttributeList_cpp --- patches/patch-tools_clang_lib_Sema_AttributeList_cpp 13 Jan 2011 00:15:50 -0000 1.1 +++ patches/patch-tools_clang_lib_Sema_AttributeList_cpp 24 Nov 2011 03:03:55 -0000 @@ -1,10 +1,11 @@ $OpenBSD: patch-tools_clang_lib_Sema_AttributeList_cpp,v 1.1 2011/01/13 00:15:50 jeremy Exp $ ---- tools/clang/lib/Sema/AttributeList.cpp.orig Thu Jan 6 11:31:26 2011 -+++ tools/clang/lib/Sema/AttributeList.cpp Thu Jan 6 11:32:32 2011 -@@ -132,5 +132,6 @@ AttributeList::Kind AttributeList::getKind(const Ident +--- tools/clang/lib/Sema/AttributeList.cpp.orig Tue Oct 4 01:59:42 2011 ++++ tools/clang/lib/Sema/AttributeList.cpp Thu Nov 24 12:32:48 2011 +@@ -201,6 +201,7 @@ AttributeList::Kind AttributeList::getKind(const Ident .Case("__fastcall", AT_fastcall) .Case("__thiscall", AT_thiscall) .Case("__pascal", AT_pascal) + .Case("bounded", IgnoredAttribute) // XXX - .Default(UnknownAttribute); - } + .Case("constant", AT_constant) + .Case("device", AT_device) + .Case("global", AT_global) Index: patches/patch-tools_clang_tools_scan-build_scan-build =================================================================== RCS file: /cvs/ports/devel/llvm/patches/patch-tools_clang_tools_scan-build_scan-build,v retrieving revision 1.2 diff -u -p -r1.2 patch-tools_clang_tools_scan-build_scan-build --- patches/patch-tools_clang_tools_scan-build_scan-build 13 Jan 2011 00:15:50 -0000 1.2 +++ patches/patch-tools_clang_tools_scan-build_scan-build 24 Nov 2011 03:03:55 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-tools_clang_tools_scan-build_scan-build,v 1.2 2011/01/13 00:15:50 jeremy Exp $ ---- tools/clang/tools/scan-build/scan-build.orig Fri Mar 26 17:20:01 2010 -+++ tools/clang/tools/scan-build/scan-build Thu Jan 6 13:36:35 2011 -@@ -382,7 +382,7 @@ sub CopyFiles { +--- tools/clang/tools/scan-build/scan-build.orig Sun Aug 28 21:50:56 2011 ++++ tools/clang/tools/scan-build/scan-build Thu Nov 24 12:32:48 2011 +@@ -401,7 +401,7 @@ sub CopyFiles { my $Dir = shift; @@ -10,7 +10,7 @@ $OpenBSD: patch-tools_clang_tools_scan-b DieDiag("Cannot find 'sorttable.js'.\n") if (! -r $JS); -@@ -392,7 +392,7 @@ sub CopyFiles { +@@ -411,7 +411,7 @@ sub CopyFiles { DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n") if (! -r "$Dir/sorttable.js"); Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/llvm/pkg/PLIST,v retrieving revision 1.14 diff -u -p -r1.14 PLIST --- pkg/PLIST 9 Apr 2011 21:43:39 -0000 1.14 +++ pkg/PLIST 24 Nov 2011 03:03:55 -0000 @@ -1,17 +1,21 @@ @comment $OpenBSD: PLIST,v 1.14 2011/04/09 21:43:39 jsg Exp $ @bin bin/bugpoint bin/c++-analyzer +@bin bin/c-index-test bin/ccc-analyzer @bin bin/clang bin/clang++ +@bin bin/clang-tblgen @bin bin/llc @bin bin/lli @bin bin/llvm-ar @bin bin/llvm-as @bin bin/llvm-bcanalyzer bin/llvm-config +@bin bin/llvm-cov @bin bin/llvm-diff @bin bin/llvm-dis +@bin bin/llvm-dwarfdump @bin bin/llvm-extract @bin bin/llvm-ld @bin bin/llvm-link @@ -20,15 +24,20 @@ bin/llvm-config @bin bin/llvm-objdump @bin bin/llvm-prof @bin bin/llvm-ranlib +@bin bin/llvm-rtdyld +@bin bin/llvm-size @bin bin/llvm-stub -@bin bin/llvmc +@bin bin/llvm-tblgen @bin bin/macho-dump @bin bin/opt bin/scan-build -@bin bin/tblgen include/clang/ include/clang-c/ include/clang-c/Index.h +include/clang/ARCMigrate/ +include/clang/ARCMigrate/ARCMT.h +include/clang/ARCMigrate/ARCMTActions.h +include/clang/ARCMigrate/FileRemapper.h include/clang/AST/ include/clang/AST/APValue.h include/clang/AST/AST.h @@ -41,6 +50,7 @@ include/clang/AST/ASTVector.h include/clang/AST/Attr.h include/clang/AST/AttrImpl.inc include/clang/AST/Attrs.inc +include/clang/AST/BaseSubobject.h include/clang/AST/CXXInheritance.h include/clang/AST/CanonicalType.h include/clang/AST/CharUnits.h @@ -62,6 +72,7 @@ include/clang/AST/Expr.h include/clang/AST/ExprCXX.h include/clang/AST/ExprObjC.h include/clang/AST/ExternalASTSource.h +include/clang/AST/GlobalDecl.h include/clang/AST/Mangle.h include/clang/AST/NestedNameSpecifier.h include/clang/AST/OperationKinds.h @@ -70,6 +81,7 @@ include/clang/AST/PrettyPrinter.h include/clang/AST/RecordLayout.h include/clang/AST/RecursiveASTVisitor.h include/clang/AST/Redeclarable.h +include/clang/AST/SelectorLocationsKind.h include/clang/AST/Stmt.h include/clang/AST/StmtCXX.h include/clang/AST/StmtGraphTraits.h @@ -88,6 +100,8 @@ 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/ include/clang/Analysis/Analyses/ include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h @@ -95,8 +109,8 @@ include/clang/Analysis/Analyses/FormatSt include/clang/Analysis/Analyses/LiveVariables.h include/clang/Analysis/Analyses/PseudoConstantAnalysis.h include/clang/Analysis/Analyses/ReachableCode.h +include/clang/Analysis/Analyses/ThreadSafety.h include/clang/Analysis/Analyses/UninitializedValues.h -include/clang/Analysis/Analyses/UninitializedValuesV2.h include/clang/Analysis/AnalysisContext.h include/clang/Analysis/AnalysisDiagnostic.h include/clang/Analysis/CFG.h @@ -117,33 +131,43 @@ include/clang/Analysis/Visitors/CFGRecSt include/clang/Analysis/Visitors/CFGStmtVisitor.h include/clang/Basic/ include/clang/Basic/ABI.h +include/clang/Basic/AddressSpaces.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/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 +include/clang/Basic/DiagnosticCategories.h include/clang/Basic/DiagnosticCommonKinds.inc include/clang/Basic/DiagnosticDriverKinds.inc include/clang/Basic/DiagnosticFrontendKinds.inc include/clang/Basic/DiagnosticGroups.inc include/clang/Basic/DiagnosticIDs.h +include/clang/Basic/DiagnosticIndexName.inc include/clang/Basic/DiagnosticLexKinds.inc include/clang/Basic/DiagnosticParseKinds.inc include/clang/Basic/DiagnosticSemaKinds.inc +include/clang/Basic/ExceptionSpecificationType.h +include/clang/Basic/ExpressionTraits.h include/clang/Basic/FileManager.h include/clang/Basic/FileSystemOptions.h include/clang/Basic/FileSystemStatCache.h include/clang/Basic/IdentifierTable.h +include/clang/Basic/LLVM.h +include/clang/Basic/LangOptions.def include/clang/Basic/LangOptions.h include/clang/Basic/Linkage.h include/clang/Basic/MacroBuilder.h include/clang/Basic/OnDiskHashTable.h +include/clang/Basic/OpenCL.h include/clang/Basic/OpenCLExtensions.def include/clang/Basic/OperatorKinds.def include/clang/Basic/OperatorKinds.h @@ -162,6 +186,7 @@ include/clang/Basic/TokenKinds.h include/clang/Basic/TypeTraits.h include/clang/Basic/Version.h include/clang/Basic/Version.inc +include/clang/Basic/VersionTuple.h include/clang/Basic/Visibility.h include/clang/Basic/arm_neon.inc include/clang/CodeGen/ @@ -181,6 +206,7 @@ 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 include/clang/Driver/OptTable.h include/clang/Driver/Option.h @@ -197,7 +223,7 @@ include/clang/Frontend/ASTConsumers.h include/clang/Frontend/ASTUnit.h include/clang/Frontend/Analyses.def include/clang/Frontend/AnalyzerOptions.h -include/clang/Frontend/ChainedDiagnosticClient.h +include/clang/Frontend/ChainedDiagnosticConsumer.h include/clang/Frontend/CodeGenOptions.h include/clang/Frontend/CommandLineSourceLoc.h include/clang/Frontend/CompilerInstance.h @@ -212,13 +238,14 @@ include/clang/Frontend/FrontendPluginReg include/clang/Frontend/HeaderSearchOptions.h include/clang/Frontend/LangStandard.h include/clang/Frontend/LangStandards.def +include/clang/Frontend/LogDiagnosticPrinter.h include/clang/Frontend/MultiplexConsumer.h include/clang/Frontend/PreprocessorOptions.h include/clang/Frontend/PreprocessorOutputOptions.h include/clang/Frontend/TextDiagnosticBuffer.h include/clang/Frontend/TextDiagnosticPrinter.h include/clang/Frontend/Utils.h -include/clang/Frontend/VerifyDiagnosticsClient.h +include/clang/Frontend/VerifyDiagnosticConsumer.h include/clang/FrontendTool/ include/clang/FrontendTool/Utils.h include/clang/Index/ @@ -246,6 +273,7 @@ include/clang/Lex/LexDiagnostic.h include/clang/Lex/Lexer.h include/clang/Lex/LiteralSupport.h include/clang/Lex/MacroInfo.h +include/clang/Lex/ModuleLoader.h include/clang/Lex/MultipleIncludeOpt.h include/clang/Lex/PPCallbacks.h include/clang/Lex/PTHLexer.h @@ -259,6 +287,7 @@ include/clang/Lex/Token.h include/clang/Lex/TokenConcatenation.h include/clang/Lex/TokenLexer.h include/clang/Parse/ +include/clang/Parse/AttrLateParsed.inc include/clang/Parse/ParseAST.h include/clang/Parse/ParseDiagnostic.h include/clang/Parse/Parser.h @@ -283,7 +312,9 @@ include/clang/Sema/Designator.h include/clang/Sema/ExternalSemaSource.h include/clang/Sema/IdentifierResolver.h 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 @@ -294,30 +325,39 @@ include/clang/Sema/ScopeInfo.h include/clang/Sema/Sema.h include/clang/Sema/SemaConsumer.h include/clang/Sema/SemaDiagnostic.h +include/clang/Sema/SemaFixItUtils.h include/clang/Sema/SemaInternal.h include/clang/Sema/Template.h include/clang/Sema/TemplateDeduction.h +include/clang/Sema/TypoCorrection.h +include/clang/Sema/Weak.h include/clang/Serialization/ include/clang/Serialization/ASTBitCodes.h include/clang/Serialization/ASTDeserializationListener.h include/clang/Serialization/ASTReader.h -include/clang/Serialization/ASTSerializationListener.h 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/StaticAnalyzer/ include/clang/StaticAnalyzer/Checkers/ +include/clang/StaticAnalyzer/Checkers/ClangCheckers.h include/clang/StaticAnalyzer/Checkers/DereferenceChecker.h include/clang/StaticAnalyzer/Checkers/LocalCheckers.h include/clang/StaticAnalyzer/Core/ include/clang/StaticAnalyzer/Core/BugReporter/ include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h +include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h include/clang/StaticAnalyzer/Core/BugReporter/BugType.h include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h include/clang/StaticAnalyzer/Core/Checker.h include/clang/StaticAnalyzer/Core/CheckerManager.h -include/clang/StaticAnalyzer/Core/CheckerProvider.h -include/clang/StaticAnalyzer/Core/PathDiagnosticClients.h +include/clang/StaticAnalyzer/Core/CheckerOptInfo.h +include/clang/StaticAnalyzer/Core/CheckerRegistry.h +include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h include/clang/StaticAnalyzer/Core/PathSensitive/ include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h @@ -330,17 +370,17 @@ include/clang/StaticAnalyzer/Core/PathSe 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/GRState.h -include/clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.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/SValBuilder.h include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h include/clang/StaticAnalyzer/Core/PathSensitive/Store.h +include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h 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/TransferFuncs.h include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h include/clang/StaticAnalyzer/Frontend/ include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h @@ -351,13 +391,16 @@ include/llvm-c/Analysis.h include/llvm-c/BitReader.h include/llvm-c/BitWriter.h include/llvm-c/Core.h +include/llvm-c/Disassembler.h include/llvm-c/EnhancedDisassembly.h include/llvm-c/ExecutionEngine.h include/llvm-c/Initialization.h include/llvm-c/LinkTimeOptimizer.h +include/llvm-c/Object.h include/llvm-c/Target.h include/llvm-c/Transforms/ include/llvm-c/Transforms/IPO.h +include/llvm-c/Transforms/PassManagerBuilder.h include/llvm-c/Transforms/Scalar.h include/llvm-c/lto.h include/llvm/ADT/ @@ -387,6 +430,7 @@ include/llvm/ADT/IntrusiveRefCntPtr.h include/llvm/ADT/NullablePtr.h include/llvm/ADT/Optional.h include/llvm/ADT/OwningPtr.h +include/llvm/ADT/PackedVector.h include/llvm/ADT/PointerIntPair.h include/llvm/ADT/PointerUnion.h include/llvm/ADT/PostOrderIterator.h @@ -408,6 +452,7 @@ include/llvm/ADT/StringMap.h include/llvm/ADT/StringRef.h include/llvm/ADT/StringSet.h include/llvm/ADT/StringSwitch.h +include/llvm/ADT/TinyPtrVector.h include/llvm/ADT/Trie.h include/llvm/ADT/Triple.h include/llvm/ADT/Twine.h @@ -416,10 +461,12 @@ include/llvm/ADT/ValueMap.h include/llvm/ADT/VectorExtras.h include/llvm/ADT/ilist.h include/llvm/ADT/ilist_node.h -include/llvm/AbstractTypeUser.h include/llvm/Analysis/ include/llvm/Analysis/AliasAnalysis.h include/llvm/Analysis/AliasSetTracker.h +include/llvm/Analysis/BlockFrequencyImpl.h +include/llvm/Analysis/BlockFrequencyInfo.h +include/llvm/Analysis/BranchProbabilityInfo.h include/llvm/Analysis/CFGPrinter.h include/llvm/Analysis/CallGraph.h include/llvm/Analysis/CaptureTracking.h @@ -447,6 +494,7 @@ include/llvm/Analysis/Lint.h include/llvm/Analysis/Loads.h include/llvm/Analysis/LoopDependenceAnalysis.h include/llvm/Analysis/LoopInfo.h +include/llvm/Analysis/LoopIterator.h include/llvm/Analysis/LoopPass.h include/llvm/Analysis/MemoryBuiltins.h include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -505,6 +553,7 @@ include/llvm/CodeGen/ISDOpcodes.h include/llvm/CodeGen/IntrinsicLowering.h include/llvm/CodeGen/JITCodeEmitter.h include/llvm/CodeGen/LatencyPriorityQueue.h +include/llvm/CodeGen/LexicalScopes.h include/llvm/CodeGen/LinkAllAsmWriterComponents.h include/llvm/CodeGen/LinkAllCodegenComponents.h include/llvm/CodeGen/LiveInterval.h @@ -513,6 +562,8 @@ include/llvm/CodeGen/LiveStackAnalysis.h include/llvm/CodeGen/LiveVariables.h include/llvm/CodeGen/MachORelocation.h include/llvm/CodeGen/MachineBasicBlock.h +include/llvm/CodeGen/MachineBlockFrequencyInfo.h +include/llvm/CodeGen/MachineBranchProbabilityInfo.h include/llvm/CodeGen/MachineCodeEmitter.h include/llvm/CodeGen/MachineCodeInfo.h include/llvm/CodeGen/MachineConstantPool.h @@ -524,7 +575,6 @@ include/llvm/CodeGen/MachineFunctionPass include/llvm/CodeGen/MachineInstr.h include/llvm/CodeGen/MachineInstrBuilder.h include/llvm/CodeGen/MachineJumpTableInfo.h -include/llvm/CodeGen/MachineLocation.h include/llvm/CodeGen/MachineLoopInfo.h include/llvm/CodeGen/MachineLoopRanges.h include/llvm/CodeGen/MachineMemOperand.h @@ -549,7 +599,6 @@ include/llvm/CodeGen/ProcessImplicitDefs include/llvm/CodeGen/PseudoSourceValue.h include/llvm/CodeGen/RegAllocPBQP.h include/llvm/CodeGen/RegAllocRegistry.h -include/llvm/CodeGen/RegisterCoalescer.h include/llvm/CodeGen/RegisterScavenging.h include/llvm/CodeGen/RuntimeLibcalls.h include/llvm/CodeGen/ScheduleDAG.h @@ -563,16 +612,6 @@ include/llvm/CodeGen/SlotIndexes.h include/llvm/CodeGen/TargetLoweringObjectFileImpl.h include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td -include/llvm/CompilerDriver/ -include/llvm/CompilerDriver/Action.h -include/llvm/CompilerDriver/AutoGenerated.h -include/llvm/CompilerDriver/BuiltinOptions.h -include/llvm/CompilerDriver/Common.td -include/llvm/CompilerDriver/CompilationGraph.h -include/llvm/CompilerDriver/Error.h -include/llvm/CompilerDriver/Main.h -include/llvm/CompilerDriver/Main.inc -include/llvm/CompilerDriver/Tool.h include/llvm/Config/ include/llvm/Config/AsmParsers.def include/llvm/Config/AsmPrinters.def @@ -582,6 +621,10 @@ include/llvm/Config/config.h include/llvm/Config/llvm-config.h include/llvm/Constant.h include/llvm/Constants.h +include/llvm/DebugInfo/ +include/llvm/DebugInfo/DIContext.h +include/llvm/DebugInfoProbe.h +include/llvm/DefaultPasses.h include/llvm/DerivedTypes.h include/llvm/ExecutionEngine/ include/llvm/ExecutionEngine/ExecutionEngine.h @@ -591,6 +634,7 @@ include/llvm/ExecutionEngine/JIT.h include/llvm/ExecutionEngine/JITEventListener.h include/llvm/ExecutionEngine/JITMemoryManager.h include/llvm/ExecutionEngine/MCJIT.h +include/llvm/ExecutionEngine/RuntimeDyld.h include/llvm/Function.h include/llvm/GVMaterializer.h include/llvm/GlobalAlias.h @@ -619,12 +663,15 @@ include/llvm/LinkAllVMCore.h include/llvm/Linker.h include/llvm/MC/ include/llvm/MC/EDInstInfo.h +include/llvm/MC/MCAsmBackend.h include/llvm/MC/MCAsmInfo.h include/llvm/MC/MCAsmInfoCOFF.h include/llvm/MC/MCAsmInfoDarwin.h include/llvm/MC/MCAsmLayout.h include/llvm/MC/MCAssembler.h +include/llvm/MC/MCAtom.h include/llvm/MC/MCCodeEmitter.h +include/llvm/MC/MCCodeGenInfo.h include/llvm/MC/MCContext.h include/llvm/MC/MCDirectives.h include/llvm/MC/MCDisassembler.h @@ -636,9 +683,15 @@ include/llvm/MC/MCFixup.h include/llvm/MC/MCFixupKindInfo.h include/llvm/MC/MCInst.h include/llvm/MC/MCInstPrinter.h +include/llvm/MC/MCInstrAnalysis.h +include/llvm/MC/MCInstrDesc.h +include/llvm/MC/MCInstrInfo.h +include/llvm/MC/MCInstrItineraries.h include/llvm/MC/MCLabel.h include/llvm/MC/MCMachOSymbolFlags.h include/llvm/MC/MCMachObjectWriter.h +include/llvm/MC/MCModule.h +include/llvm/MC/MCObjectFileInfo.h include/llvm/MC/MCObjectStreamer.h include/llvm/MC/MCObjectWriter.h include/llvm/MC/MCParser/ @@ -648,17 +701,29 @@ include/llvm/MC/MCParser/MCAsmLexer.h include/llvm/MC/MCParser/MCAsmParser.h include/llvm/MC/MCParser/MCAsmParserExtension.h include/llvm/MC/MCParser/MCParsedAsmOperand.h +include/llvm/MC/MCRegisterInfo.h include/llvm/MC/MCSection.h include/llvm/MC/MCSectionCOFF.h include/llvm/MC/MCSectionELF.h include/llvm/MC/MCSectionMachO.h include/llvm/MC/MCStreamer.h +include/llvm/MC/MCSubtargetInfo.h include/llvm/MC/MCSymbol.h +include/llvm/MC/MCTargetAsmLexer.h +include/llvm/MC/MCTargetAsmParser.h include/llvm/MC/MCValue.h +include/llvm/MC/MCWin64EH.h +include/llvm/MC/MachineLocation.h include/llvm/MC/SectionKind.h +include/llvm/MC/SubtargetFeature.h include/llvm/Metadata.h include/llvm/Module.h include/llvm/Object/ +include/llvm/Object/Archive.h +include/llvm/Object/Binary.h +include/llvm/Object/COFF.h +include/llvm/Object/Error.h +include/llvm/Object/MachO.h include/llvm/Object/MachOFormat.h include/llvm/Object/MachOObject.h include/llvm/Object/ObjectFile.h @@ -675,16 +740,21 @@ include/llvm/Support/AIXDataTypesFix.h include/llvm/Support/AlignOf.h include/llvm/Support/Allocator.h include/llvm/Support/Atomic.h +include/llvm/Support/BlockFrequency.h +include/llvm/Support/BranchProbability.h include/llvm/Support/CFG.h include/llvm/Support/COFF.h include/llvm/Support/CallSite.h +include/llvm/Support/Capacity.h include/llvm/Support/Casting.h +include/llvm/Support/CodeGen.h include/llvm/Support/CommandLine.h include/llvm/Support/Compiler.h include/llvm/Support/ConstantFolder.h include/llvm/Support/ConstantRange.h include/llvm/Support/CrashRecoveryContext.h include/llvm/Support/DOTGraphTraits.h +include/llvm/Support/DataExtractor.h include/llvm/Support/DataFlow.h include/llvm/Support/DataTypes.h include/llvm/Support/Debug.h @@ -701,6 +771,7 @@ include/llvm/Support/FileSystem.h include/llvm/Support/FileUtilities.h include/llvm/Support/Format.h include/llvm/Support/FormattedStream.h +include/llvm/Support/GCOV.h include/llvm/Support/GetElementPtrTypeIterator.h include/llvm/Support/GraphWriter.h include/llvm/Support/Host.h @@ -742,11 +813,12 @@ include/llvm/Support/SMLoc.h include/llvm/Support/Signals.h include/llvm/Support/Solaris.h include/llvm/Support/SourceMgr.h -include/llvm/Support/StandardPasses.h include/llvm/Support/StringPool.h include/llvm/Support/SwapByteOrder.h include/llvm/Support/SystemUtils.h include/llvm/Support/TargetFolder.h +include/llvm/Support/TargetRegistry.h +include/llvm/Support/TargetSelect.h include/llvm/Support/ThreadLocal.h include/llvm/Support/Threading.h include/llvm/Support/TimeValue.h @@ -755,28 +827,28 @@ include/llvm/Support/ToolOutputFile.h include/llvm/Support/TypeBuilder.h include/llvm/Support/Valgrind.h include/llvm/Support/ValueHandle.h +include/llvm/Support/Win64EH.h include/llvm/Support/circular_raw_ostream.h include/llvm/Support/raw_os_ostream.h include/llvm/Support/raw_ostream.h include/llvm/Support/system_error.h include/llvm/Support/type_traits.h include/llvm/SymbolTableListTraits.h +include/llvm/TableGen/ +include/llvm/TableGen/Error.h +include/llvm/TableGen/Main.h +include/llvm/TableGen/Record.h +include/llvm/TableGen/TableGenAction.h +include/llvm/TableGen/TableGenBackend.h include/llvm/Target/ include/llvm/Target/Mangler.h -include/llvm/Target/SubtargetFeature.h include/llvm/Target/Target.td -include/llvm/Target/TargetAsmBackend.h -include/llvm/Target/TargetAsmInfo.h -include/llvm/Target/TargetAsmLexer.h -include/llvm/Target/TargetAsmParser.h include/llvm/Target/TargetCallingConv.h include/llvm/Target/TargetCallingConv.td include/llvm/Target/TargetData.h include/llvm/Target/TargetELFWriterInfo.h include/llvm/Target/TargetFrameLowering.h -include/llvm/Target/TargetInstrDesc.h include/llvm/Target/TargetInstrInfo.h -include/llvm/Target/TargetInstrItineraries.h include/llvm/Target/TargetIntrinsicInfo.h include/llvm/Target/TargetJITInfo.h include/llvm/Target/TargetLibraryInfo.h @@ -786,16 +858,15 @@ include/llvm/Target/TargetMachine.h include/llvm/Target/TargetOpcodes.h include/llvm/Target/TargetOptions.h include/llvm/Target/TargetRegisterInfo.h -include/llvm/Target/TargetRegistry.h include/llvm/Target/TargetSchedule.td -include/llvm/Target/TargetSelect.h include/llvm/Target/TargetSelectionDAG.td include/llvm/Target/TargetSelectionDAGInfo.h -include/llvm/Target/TargetSubtarget.h +include/llvm/Target/TargetSubtargetInfo.h include/llvm/Transforms/ include/llvm/Transforms/IPO/ include/llvm/Transforms/IPO.h include/llvm/Transforms/IPO/InlinerPass.h +include/llvm/Transforms/IPO/PassManagerBuilder.h include/llvm/Transforms/Instrumentation.h include/llvm/Transforms/Scalar.h include/llvm/Transforms/Utils/ @@ -809,18 +880,18 @@ include/llvm/Transforms/Utils/Local.h include/llvm/Transforms/Utils/PromoteMemToReg.h include/llvm/Transforms/Utils/SSAUpdater.h include/llvm/Transforms/Utils/SSAUpdaterImpl.h +include/llvm/Transforms/Utils/SimplifyIndVar.h include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h include/llvm/Transforms/Utils/UnrollLoop.h include/llvm/Transforms/Utils/ValueMapper.h include/llvm/Type.h -include/llvm/TypeSymbolTable.h include/llvm/Use.h include/llvm/User.h include/llvm/Value.h include/llvm/ValueSymbolTable.h lib/BugpointPasses.so lib/clang/ -lib/clang/2.9/ +lib/clang/3.0/ ${CLANG_INCLUDE_PATH}/ ${CLANG_INCLUDE_PATH}/altivec.h ${CLANG_INCLUDE_PATH}/arm_neon.h @@ -830,11 +901,13 @@ ${CLANG_INCLUDE_PATH}/float.h ${CLANG_INCLUDE_PATH}/immintrin.h ${CLANG_INCLUDE_PATH}/iso646.h ${CLANG_INCLUDE_PATH}/limits.h +${CLANG_INCLUDE_PATH}/mm3dnow.h ${CLANG_INCLUDE_PATH}/mm_malloc.h ${CLANG_INCLUDE_PATH}/mmintrin.h ${CLANG_INCLUDE_PATH}/nmmintrin.h ${CLANG_INCLUDE_PATH}/pmmintrin.h ${CLANG_INCLUDE_PATH}/smmintrin.h +${CLANG_INCLUDE_PATH}/stdalign.h ${CLANG_INCLUDE_PATH}/stdarg.h ${CLANG_INCLUDE_PATH}/stdbool.h ${CLANG_INCLUDE_PATH}/stddef.h @@ -845,15 +918,15 @@ ${CLANG_INCLUDE_PATH}/varargs.h ${CLANG_INCLUDE_PATH}/wmmintrin.h ${CLANG_INCLUDE_PATH}/x86intrin.h ${CLANG_INCLUDE_PATH}/xmmintrin.h -lib/libCompilerDriver.a lib/libEnhancedDisassembly.a -lib/libEnhancedDisassembly.so lib/libLLVMARMAsmParser.a lib/libLLVMARMAsmPrinter.a lib/libLLVMARMCodeGen.a +lib/libLLVMARMDesc.a lib/libLLVMARMDisassembler.a lib/libLLVMARMInfo.a lib/libLLVMAlphaCodeGen.a +lib/libLLVMAlphaDesc.a lib/libLLVMAlphaInfo.a lib/libLLVMAnalysis.a lib/libLLVMArchive.a @@ -862,15 +935,18 @@ lib/libLLVMAsmPrinter.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a lib/libLLVMBlackfinCodeGen.a +lib/libLLVMBlackfinDesc.a lib/libLLVMBlackfinInfo.a lib/libLLVMCBackend.a lib/libLLVMCBackendInfo.a lib/libLLVMCellSPUCodeGen.a +lib/libLLVMCellSPUDesc.a lib/libLLVMCellSPUInfo.a lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMCppBackend.a lib/libLLVMCppBackendInfo.a +lib/libLLVMDebugInfo.a lib/libLLVMExecutionEngine.a lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a @@ -880,6 +956,7 @@ lib/libLLVMLinker.a lib/libLLVMMBlazeAsmParser.a lib/libLLVMMBlazeAsmPrinter.a lib/libLLVMMBlazeCodeGen.a +lib/libLLVMMBlazeDesc.a lib/libLLVMMBlazeDisassembler.a lib/libLLVMMBlazeInfo.a lib/libLLVMMC.a @@ -888,31 +965,43 @@ lib/libLLVMMCJIT.a lib/libLLVMMCParser.a lib/libLLVMMSP430AsmPrinter.a lib/libLLVMMSP430CodeGen.a +lib/libLLVMMSP430Desc.a lib/libLLVMMSP430Info.a +lib/libLLVMMipsAsmPrinter.a lib/libLLVMMipsCodeGen.a +lib/libLLVMMipsDesc.a lib/libLLVMMipsInfo.a lib/libLLVMObject.a +lib/libLLVMPTXAsmPrinter.a lib/libLLVMPTXCodeGen.a +lib/libLLVMPTXDesc.a lib/libLLVMPTXInfo.a lib/libLLVMPowerPCAsmPrinter.a lib/libLLVMPowerPCCodeGen.a +lib/libLLVMPowerPCDesc.a lib/libLLVMPowerPCInfo.a +lib/libLLVMRuntimeDyld.a lib/libLLVMScalarOpts.a lib/libLLVMSelectionDAG.a lib/libLLVMSparcCodeGen.a +lib/libLLVMSparcDesc.a lib/libLLVMSparcInfo.a lib/libLLVMSupport.a lib/libLLVMSystemZCodeGen.a +lib/libLLVMSystemZDesc.a lib/libLLVMSystemZInfo.a +lib/libLLVMTableGen.a lib/libLLVMTarget.a lib/libLLVMTransformUtils.a lib/libLLVMX86AsmParser.a lib/libLLVMX86AsmPrinter.a lib/libLLVMX86CodeGen.a +lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMX86Utils.a lib/libLLVMXCoreCodeGen.a +lib/libLLVMXCoreDesc.a lib/libLLVMXCoreInfo.a lib/libLLVMipa.a lib/libLLVMipo.a @@ -920,6 +1009,7 @@ lib/libLTO.a lib/libLTO.so lib/libclang.a lib/libclang.so +lib/libclangARCMigrate.a lib/libclangAST.a lib/libclangAnalysis.a lib/libclangBasic.a @@ -936,7 +1026,8 @@ lib/libclangSerialization.a lib/libclangStaticAnalyzerCheckers.a lib/libclangStaticAnalyzerCore.a lib/libclangStaticAnalyzerFrontend.a -lib/profile_rt.so +lib/libprofile_rt.a +lib/libprofile_rt.so @man man/man1/bugpoint.1 @man man/man1/clang.1 @man man/man1/lit.1 @@ -954,9 +1045,6 @@ lib/profile_rt.so @man man/man1/llvm-nm.1 @man man/man1/llvm-prof.1 @man man/man1/llvm-ranlib.1 -@man man/man1/llvmc.1 -@man man/man1/llvmgcc.1 -@man man/man1/llvmgxx.1 @man man/man1/opt.1 @man man/man1/tblgen.1 share/doc/llvm/ @@ -964,7 +1052,10 @@ share/doc/llvm/html/ share/doc/llvm/html.tar.gz share/doc/llvm/html/AliasAnalysis.html share/doc/llvm/html/AnalyzerRegions.html +share/doc/llvm/html/Atomics.html +share/doc/llvm/html/AutomaticReferenceCounting.html share/doc/llvm/html/BitCodeFormat.html +share/doc/llvm/html/BranchWeightMetadata.html share/doc/llvm/html/Bugpoint.html share/doc/llvm/html/CFEBuildInstrs.html share/doc/llvm/html/CMake.html @@ -989,15 +1080,10 @@ share/doc/llvm/html/CommandGuide/llvm-li share/doc/llvm/html/CommandGuide/llvm-nm.html share/doc/llvm/html/CommandGuide/llvm-prof.html share/doc/llvm/html/CommandGuide/llvm-ranlib.html -share/doc/llvm/html/CommandGuide/llvmc.html -share/doc/llvm/html/CommandGuide/llvmgcc.html -share/doc/llvm/html/CommandGuide/llvmgxx.html share/doc/llvm/html/CommandGuide/manpage.css share/doc/llvm/html/CommandGuide/opt.html share/doc/llvm/html/CommandGuide/tblgen.html share/doc/llvm/html/CommandLine.html -share/doc/llvm/html/CompilerDriver.html -share/doc/llvm/html/CompilerDriverTutorial.html share/doc/llvm/html/CompilerWriterInfo.html share/doc/llvm/html/DebuggingJITedCode.html share/doc/llvm/html/DeveloperPolicy.html @@ -1026,6 +1112,7 @@ share/doc/llvm/html/Passes.html share/doc/llvm/html/ProgrammersManual.html share/doc/llvm/html/Projects.html share/doc/llvm/html/ReleaseNotes.html +share/doc/llvm/html/SegmentedStacks.html share/doc/llvm/html/SourceLevelDebugging.html share/doc/llvm/html/SystemLibrary.html share/doc/llvm/html/TableGenFundamentals.html @@ -1045,13 +1132,13 @@ share/doc/llvm/html/img/lines.gif share/doc/llvm/html/img/objdeps.gif share/doc/llvm/html/img/venusflytrap.jpg share/doc/llvm/html/index.html -share/doc/llvm/html/libIndex.html share/doc/llvm/html/llvm.css share/doc/llvm/html/tutorial/ share/doc/llvm/html/tutorial/LangImpl1.html share/doc/llvm/html/tutorial/LangImpl2.html share/doc/llvm/html/tutorial/LangImpl3.html share/doc/llvm/html/tutorial/LangImpl4.html +share/doc/llvm/html/tutorial/LangImpl5-cfg.png share/doc/llvm/html/tutorial/LangImpl5.html share/doc/llvm/html/tutorial/LangImpl6.html share/doc/llvm/html/tutorial/LangImpl7.html @@ -1084,9 +1171,6 @@ share/doc/llvm/ps/llvm-link.ps share/doc/llvm/ps/llvm-nm.ps share/doc/llvm/ps/llvm-prof.ps share/doc/llvm/ps/llvm-ranlib.ps -share/doc/llvm/ps/llvmc.ps -share/doc/llvm/ps/llvmgcc.ps -share/doc/llvm/ps/llvmgxx.ps share/doc/llvm/ps/opt.ps share/doc/llvm/ps/tblgen.ps share/llvm/ --- /dev/null Thu Nov 24 14:04:39 2011 +++ patches/patch-tools_clang_include_clang_Basic_DiagnosticGroups_td Thu Nov 24 12:36:10 2011 @@ -0,0 +1,11 @@ +$OpenBSD$ +--- tools/clang/include/clang/Basic/DiagnosticGroups.td.orig Thu Nov 24 12:35:28 2011 ++++ tools/clang/include/clang/Basic/DiagnosticGroups.td Thu Nov 24 12:35:41 2011 +@@ -35,6 +35,7 @@ def : DiagGroup<"ctor-dtor-privacy">; + def : DiagGroup<"declaration-after-statement">; + def DefaultArgSpecialMember : DiagGroup<"default-arg-special-member">; + def GNUDesignator : DiagGroup<"gnu-designator">; ++def : DiagGroup<"bounded">; + + def DeleteNonVirtualDtor : DiagGroup<"delete-non-virtual-dtor">; +