summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/clang/Makefile10
-rw-r--r--lang/clang/PLIST114
-rw-r--r--lang/clang/distinfo18
-rw-r--r--lang/clang/patches/patch-ac22
-rw-r--r--lang/clang/patches/patch-include_llvm_Support_Host.h8
5 files changed, 96 insertions, 76 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile
index 76236c17e89..b828f407839 100644
--- a/lang/clang/Makefile
+++ b/lang/clang/Makefile
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.23 2013/12/24 05:57:44 richard Exp $
+# $NetBSD: Makefile,v 1.24 2014/01/19 14:06:41 ryoon Exp $
-DISTNAME= clang-3.3
+DISTNAME= clang-3.4
CATEGORIES= lang
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
DISTFILES= llvm-${PKGVERSION_NOREV}.src.tar.gz \
- cfe-${PKGVERSION_NOREV}.src.tar.gz
+ clang-${PKGVERSION_NOREV}.src.tar.gz
MAINTAINER= adam.hoka@gmail.com
HOMEPAGE= http://llvm.org/
COMMENT= Low Level Virtual Machine compiler infrastructure
LICENSE= modified-bsd
-WRKSRC= ${WRKDIR}/llvm-${PKGVERSION_NOREV}.src
+WRKSRC= ${WRKDIR}/llvm-${PKGVERSION_NOREV}
USE_LANGUAGES= c c++
USE_TOOLS+= chown gmake groff pod2html pod2man
@@ -81,7 +81,7 @@ SUBST_SED.fix-paths+= -e 's,^.*cxa_finalize.*$$, ; //cxa_finalize.o,g'
.endif
post-extract:
- mv ${WRKDIR}/cfe-${PKGVERSION_NOREV}.src ${WRKSRC}/tools/clang
+ mv ${WRKDIR}/clang-${PKGVERSION_NOREV} ${WRKSRC}/tools/clang
.if ${OPSYS} == "SunOS"
${ECHO} "int sun_ld_needs_a_symbol=0;" >> ${WRKSRC}/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp
.endif
diff --git a/lang/clang/PLIST b/lang/clang/PLIST
index 5015673c1e3..d747e882797 100644
--- a/lang/clang/PLIST
+++ b/lang/clang/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2013/07/02 10:33:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2014/01/19 14:06:41 ryoon Exp $
bin/bugpoint
bin/c-index-test
bin/clang
@@ -8,6 +8,7 @@ bin/clang-format
bin/clang-tblgen
bin/llc
bin/lli
+bin/lli-child-target
bin/llvm-ar
bin/llvm-as
bin/llvm-bcanalyzer
@@ -22,7 +23,6 @@ bin/llvm-mc
bin/llvm-mcmarkup
bin/llvm-nm
bin/llvm-objdump
-bin/llvm-prof
bin/llvm-ranlib
bin/llvm-readobj
bin/llvm-rtdyld
@@ -44,7 +44,9 @@ include/clang/AST/AST.h
include/clang/AST/ASTConsumer.h
include/clang/AST/ASTContext.h
include/clang/AST/ASTDiagnostic.h
+include/clang/AST/ASTFwd.h
include/clang/AST/ASTImporter.h
+include/clang/AST/ASTLambda.h
include/clang/AST/ASTMutationListener.h
include/clang/AST/ASTTypeTraits.h
include/clang/AST/ASTUnresolvedSet.h
@@ -94,8 +96,8 @@ include/clang/AST/ExprCXX.h
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/MangleNumberingContext.h
include/clang/AST/NSAPI.h
include/clang/AST/NestedNameSpecifier.h
include/clang/AST/OperationKinds.h
@@ -112,6 +114,7 @@ include/clang/AST/StmtGraphTraits.h
include/clang/AST/StmtIterator.h
include/clang/AST/StmtNodes.inc
include/clang/AST/StmtObjC.h
+include/clang/AST/StmtOpenMP.h
include/clang/AST/StmtVisitor.h
include/clang/AST/TemplateBase.h
include/clang/AST/TemplateName.h
@@ -129,7 +132,12 @@ include/clang/ASTMatchers/ASTMatchFinder.h
include/clang/ASTMatchers/ASTMatchers.h
include/clang/ASTMatchers/ASTMatchersInternal.h
include/clang/ASTMatchers/ASTMatchersMacros.h
+include/clang/ASTMatchers/Dynamic/Diagnostics.h
+include/clang/ASTMatchers/Dynamic/Parser.h
+include/clang/ASTMatchers/Dynamic/Registry.h
+include/clang/ASTMatchers/Dynamic/VariantValue.h
include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
+include/clang/Analysis/Analyses/Consumed.h
include/clang/Analysis/Analyses/Dominators.h
include/clang/Analysis/Analyses/FormatString.h
include/clang/Analysis/Analyses/LiveVariables.h
@@ -148,11 +156,7 @@ include/clang/Analysis/DomainSpecific/ObjCNoReturn.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/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
@@ -167,6 +171,7 @@ include/clang/Basic/BuiltinsMips.def
include/clang/Basic/BuiltinsNVPTX.def
include/clang/Basic/BuiltinsPPC.def
include/clang/Basic/BuiltinsX86.def
+include/clang/Basic/BuiltinsXCore.def
include/clang/Basic/CapturedStmt.h
include/clang/Basic/CharInfo.h
include/clang/Basic/CommentOptions.h
@@ -230,12 +235,12 @@ include/clang/Basic/VersionTuple.h
include/clang/Basic/Visibility.h
include/clang/Basic/arm_neon.inc
include/clang/CodeGen/BackendUtil.h
+include/clang/CodeGen/CGFunctionInfo.h
+include/clang/CodeGen/CodeGenABITypes.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
include/clang/Driver/CC1AsOptions.h
include/clang/Driver/CC1AsOptions.inc
include/clang/Driver/CC1Options.h
@@ -243,12 +248,10 @@ include/clang/Driver/Compilation.h
include/clang/Driver/Driver.h
include/clang/Driver/DriverDiagnostic.h
include/clang/Driver/Job.h
-include/clang/Driver/OptSpecifier.h
-include/clang/Driver/OptTable.h
-include/clang/Driver/Option.h
include/clang/Driver/Options.h
include/clang/Driver/Options.inc
include/clang/Driver/Phases.h
+include/clang/Driver/SanitizerArgs.h
include/clang/Driver/Tool.h
include/clang/Driver/ToolChain.h
include/clang/Driver/Types.def
@@ -290,6 +293,8 @@ include/clang/Frontend/TextDiagnosticPrinter.h
include/clang/Frontend/Utils.h
include/clang/Frontend/VerifyDiagnosticConsumer.h
include/clang/FrontendTool/Utils.h
+include/clang/Index/CommentToXML.h
+include/clang/Index/USRGeneration.h
include/clang/Lex/AttrSpellings.inc
include/clang/Lex/CodeCompletionHandler.h
include/clang/Lex/DirectoryLookup.h
@@ -318,8 +323,9 @@ include/clang/Lex/ScratchBuffer.h
include/clang/Lex/Token.h
include/clang/Lex/TokenConcatenation.h
include/clang/Lex/TokenLexer.h
-include/clang/Parse/AttrExprArgs.inc
+include/clang/Parse/AttrIdentifierArg.inc
include/clang/Parse/AttrLateParsed.inc
+include/clang/Parse/AttrTypeArg.inc
include/clang/Parse/ParseAST.h
include/clang/Parse/ParseDiagnostic.h
include/clang/Parse/Parser.h
@@ -333,6 +339,7 @@ include/clang/Rewrite/Frontend/FixItRewriter.h
include/clang/Rewrite/Frontend/FrontendActions.h
include/clang/Rewrite/Frontend/Rewriters.h
include/clang/Sema/AnalysisBasedWarnings.h
+include/clang/Sema/AttrParsedAttrImpl.inc
include/clang/Sema/AttrParsedAttrKinds.inc
include/clang/Sema/AttrParsedAttrList.inc
include/clang/Sema/AttrSpellingListIndex.inc
@@ -362,6 +369,7 @@ include/clang/Sema/SemaConsumer.h
include/clang/Sema/SemaDiagnostic.h
include/clang/Sema/SemaFixItUtils.h
include/clang/Sema/SemaInternal.h
+include/clang/Sema/SemaLambda.h
include/clang/Sema/Template.h
include/clang/Sema/TemplateDeduction.h
include/clang/Sema/TypoCorrection.h
@@ -378,13 +386,14 @@ 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/LocalCheckers.h
+include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
include/clang/StaticAnalyzer/Core/Analyses.def
include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
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/CommonBugCategories.h
include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
include/clang/StaticAnalyzer/Core/Checker.h
include/clang/StaticAnalyzer/Core/CheckerManager.h
@@ -429,6 +438,7 @@ include/clang/Tooling/FileMatchTrie.h
include/clang/Tooling/JSONCompilationDatabase.h
include/clang/Tooling/Refactoring.h
include/clang/Tooling/RefactoringCallbacks.h
+include/clang/Tooling/ReplacementsYaml.h
include/clang/Tooling/Tooling.h
include/llvm-c/Analysis.h
include/llvm-c/BitReader.h
@@ -436,10 +446,12 @@ include/llvm-c/BitWriter.h
include/llvm-c/Core.h
include/llvm-c/Disassembler.h
include/llvm-c/ExecutionEngine.h
+include/llvm-c/IRReader.h
include/llvm-c/Initialization.h
include/llvm-c/LinkTimeOptimizer.h
include/llvm-c/Linker.h
include/llvm-c/Object.h
+include/llvm-c/Support.h
include/llvm-c/Target.h
include/llvm-c/TargetMachine.h
include/llvm-c/Transforms/IPO.h
@@ -472,7 +484,6 @@ include/llvm/ADT/IntervalMap.h
include/llvm/ADT/IntrusiveRefCntPtr.h
include/llvm/ADT/MapVector.h
include/llvm/ADT/None.h
-include/llvm/ADT/NullablePtr.h
include/llvm/ADT/Optional.h
include/llvm/ADT/OwningPtr.h
include/llvm/ADT/PackedVector.h
@@ -508,11 +519,13 @@ include/llvm/ADT/VariadicFunction.h
include/llvm/ADT/edit_distance.h
include/llvm/ADT/ilist.h
include/llvm/ADT/ilist_node.h
+include/llvm/ADT/polymorphic_ptr.h
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/CFG.h
include/llvm/Analysis/CFGPrinter.h
include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/CallGraphSCCPass.h
@@ -547,14 +560,7 @@ include/llvm/Analysis/MemoryBuiltins.h
include/llvm/Analysis/MemoryDependenceAnalysis.h
include/llvm/Analysis/PHITransAddr.h
include/llvm/Analysis/Passes.h
-include/llvm/Analysis/PathNumbering.h
-include/llvm/Analysis/PathProfileInfo.h
include/llvm/Analysis/PostDominators.h
-include/llvm/Analysis/ProfileDataLoader.h
-include/llvm/Analysis/ProfileDataTypes.h
-include/llvm/Analysis/ProfileInfo.h
-include/llvm/Analysis/ProfileInfoLoader.h
-include/llvm/Analysis/ProfileInfoTypes.h
include/llvm/Analysis/PtrUseVisitor.h
include/llvm/Analysis/RegionInfo.h
include/llvm/Analysis/RegionIterator.h
@@ -574,7 +580,6 @@ include/llvm/Assembly/Parser.h
include/llvm/Assembly/PrintModulePass.h
include/llvm/Assembly/Writer.h
include/llvm/AutoUpgrade.h
-include/llvm/Bitcode/Archive.h
include/llvm/Bitcode/BitCodes.h
include/llvm/Bitcode/BitstreamReader.h
include/llvm/Bitcode/BitstreamWriter.h
@@ -606,6 +611,7 @@ include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/LiveIntervalUnion.h
include/llvm/CodeGen/LiveRangeEdit.h
include/llvm/CodeGen/LiveRegMatrix.h
+include/llvm/CodeGen/LiveRegUnits.h
include/llvm/CodeGen/LiveStackAnalysis.h
include/llvm/CodeGen/LiveVariables.h
include/llvm/CodeGen/MachORelocation.h
@@ -661,6 +667,8 @@ include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGISel.h
include/llvm/CodeGen/SelectionDAGNodes.h
include/llvm/CodeGen/SlotIndexes.h
+include/llvm/CodeGen/StackMaps.h
+include/llvm/CodeGen/StackProtector.h
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
include/llvm/CodeGen/TargetSchedule.h
include/llvm/CodeGen/ValueTypes.h
@@ -687,6 +695,7 @@ include/llvm/ExecutionEngine/OProfileWrapper.h
include/llvm/ExecutionEngine/ObjectBuffer.h
include/llvm/ExecutionEngine/ObjectCache.h
include/llvm/ExecutionEngine/ObjectImage.h
+include/llvm/ExecutionEngine/RTDyldMemoryManager.h
include/llvm/ExecutionEngine/RuntimeDyld.h
include/llvm/ExecutionEngine/SectionMemoryManager.h
include/llvm/GVMaterializer.h
@@ -712,6 +721,7 @@ include/llvm/IR/IntrinsicInst.h
include/llvm/IR/Intrinsics.gen
include/llvm/IR/Intrinsics.h
include/llvm/IR/Intrinsics.td
+include/llvm/IR/IntrinsicsAArch64.td
include/llvm/IR/IntrinsicsARM.td
include/llvm/IR/IntrinsicsHexagon.td
include/llvm/IR/IntrinsicsMips.td
@@ -721,11 +731,14 @@ include/llvm/IR/IntrinsicsR600.td
include/llvm/IR/IntrinsicsX86.td
include/llvm/IR/IntrinsicsXCore.td
include/llvm/IR/LLVMContext.h
+include/llvm/IR/LegacyPassManager.h
+include/llvm/IR/LegacyPassManagers.h
include/llvm/IR/MDBuilder.h
include/llvm/IR/Metadata.h
include/llvm/IR/Module.h
include/llvm/IR/OperandTraits.h
include/llvm/IR/Operator.h
+include/llvm/IR/PassManager.h
include/llvm/IR/SymbolTableListTraits.h
include/llvm/IR/Type.h
include/llvm/IR/TypeBuilder.h
@@ -737,6 +750,8 @@ include/llvm/IR/ValueSymbolTable.h
include/llvm/IRReader/IRReader.h
include/llvm/InitializePasses.h
include/llvm/InstVisitor.h
+include/llvm/LTO/LTOCodeGenerator.h
+include/llvm/LTO/LTOModule.h
include/llvm/LinkAllIR.h
include/llvm/LinkAllPasses.h
include/llvm/Linker.h
@@ -744,6 +759,7 @@ include/llvm/MC/MCAsmBackend.h
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCAsmInfoCOFF.h
include/llvm/MC/MCAsmInfoDarwin.h
+include/llvm/MC/MCAsmInfoELF.h
include/llvm/MC/MCAsmLayout.h
include/llvm/MC/MCAssembler.h
include/llvm/MC/MCAtom.h
@@ -758,9 +774,11 @@ include/llvm/MC/MCELFObjectWriter.h
include/llvm/MC/MCELFStreamer.h
include/llvm/MC/MCELFSymbolFlags.h
include/llvm/MC/MCExpr.h
+include/llvm/MC/MCExternalSymbolizer.h
include/llvm/MC/MCFixedLenDisassembler.h
include/llvm/MC/MCFixup.h
include/llvm/MC/MCFixupKindInfo.h
+include/llvm/MC/MCFunction.h
include/llvm/MC/MCInst.h
include/llvm/MC/MCInstBuilder.h
include/llvm/MC/MCInstPrinter.h
@@ -772,8 +790,11 @@ include/llvm/MC/MCLabel.h
include/llvm/MC/MCMachOSymbolFlags.h
include/llvm/MC/MCMachObjectWriter.h
include/llvm/MC/MCModule.h
+include/llvm/MC/MCModuleYAML.h
+include/llvm/MC/MCObjectDisassembler.h
include/llvm/MC/MCObjectFileInfo.h
include/llvm/MC/MCObjectStreamer.h
+include/llvm/MC/MCObjectSymbolizer.h
include/llvm/MC/MCObjectWriter.h
include/llvm/MC/MCParser/AsmCond.h
include/llvm/MC/MCParser/AsmLexer.h
@@ -782,6 +803,7 @@ 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/MCRelocationInfo.h
include/llvm/MC/MCSchedule.h
include/llvm/MC/MCSection.h
include/llvm/MC/MCSectionCOFF.h
@@ -790,6 +812,7 @@ include/llvm/MC/MCSectionMachO.h
include/llvm/MC/MCStreamer.h
include/llvm/MC/MCSubtargetInfo.h
include/llvm/MC/MCSymbol.h
+include/llvm/MC/MCSymbolizer.h
include/llvm/MC/MCTargetAsmParser.h
include/llvm/MC/MCValue.h
include/llvm/MC/MCWin64EH.h
@@ -800,12 +823,17 @@ include/llvm/MC/SubtargetFeature.h
include/llvm/Object/Archive.h
include/llvm/Object/Binary.h
include/llvm/Object/COFF.h
+include/llvm/Object/COFFYAML.h
include/llvm/Object/ELF.h
+include/llvm/Object/ELFObjectFile.h
+include/llvm/Object/ELFTypes.h
+include/llvm/Object/ELFYAML.h
include/llvm/Object/Error.h
include/llvm/Object/MachO.h
-include/llvm/Object/MachOFormat.h
+include/llvm/Object/MachOUniversal.h
include/llvm/Object/ObjectFile.h
include/llvm/Object/RelocVisitor.h
+include/llvm/Object/YAML.h
include/llvm/Option/Arg.h
include/llvm/Option/ArgList.h
include/llvm/Option/OptParser.td
@@ -815,7 +843,6 @@ include/llvm/Option/Option.h
include/llvm/Pass.h
include/llvm/PassAnalysisSupport.h
include/llvm/PassManager.h
-include/llvm/PassManagers.h
include/llvm/PassRegistry.h
include/llvm/PassSupport.h
include/llvm/Support/AIXDataTypesFix.h
@@ -866,13 +893,12 @@ include/llvm/Support/GraphWriter.h
include/llvm/Support/Host.h
include/llvm/Support/IncludeFile.h
include/llvm/Support/InstIterator.h
-include/llvm/Support/IntegersSubset.h
-include/llvm/Support/IntegersSubsetMapping.h
include/llvm/Support/LEB128.h
include/llvm/Support/LICENSE.TXT
include/llvm/Support/LeakDetector.h
include/llvm/Support/Locale.h
include/llvm/Support/LockFileManager.h
+include/llvm/Support/MD5.h
include/llvm/Support/MachO.h
include/llvm/Support/ManagedStatic.h
include/llvm/Support/MathExtras.h
@@ -885,8 +911,6 @@ include/llvm/Support/NoFolder.h
include/llvm/Support/OutputBuffer.h
include/llvm/Support/PassNameParser.h
include/llvm/Support/Path.h
-include/llvm/Support/PathV1.h
-include/llvm/Support/PathV2.h
include/llvm/Support/PatternMatch.h
include/llvm/Support/PluginLoader.h
include/llvm/Support/PointerLikeTypeTraits.h
@@ -907,6 +931,7 @@ include/llvm/Support/Solaris.h
include/llvm/Support/SourceMgr.h
include/llvm/Support/StreamableMemoryObject.h
include/llvm/Support/StringPool.h
+include/llvm/Support/StringRefMemoryObject.h
include/llvm/Support/SwapByteOrder.h
include/llvm/Support/SystemUtils.h
include/llvm/Support/TargetFolder.h
@@ -917,6 +942,8 @@ include/llvm/Support/Threading.h
include/llvm/Support/TimeValue.h
include/llvm/Support/Timer.h
include/llvm/Support/ToolOutputFile.h
+include/llvm/Support/Unicode.h
+include/llvm/Support/UnicodeCharRanges.h
include/llvm/Support/Valgrind.h
include/llvm/Support/ValueHandle.h
include/llvm/Support/Watchdog.h
@@ -932,6 +959,7 @@ include/llvm/TableGen/Error.h
include/llvm/TableGen/Main.h
include/llvm/TableGen/Record.h
include/llvm/TableGen/StringMatcher.h
+include/llvm/TableGen/StringToOffsetTable.h
include/llvm/TableGen/TableGenBackend.h
include/llvm/Target/CostTable.h
include/llvm/Target/Mangler.h
@@ -961,26 +989,29 @@ include/llvm/Transforms/Instrumentation.h
include/llvm/Transforms/ObjCARC.h
include/llvm/Transforms/Scalar.h
include/llvm/Transforms/Utils/BasicBlockUtils.h
-include/llvm/Transforms/Utils/BlackList.h
include/llvm/Transforms/Utils/BuildLibCalls.h
include/llvm/Transforms/Utils/BypassSlowDivision.h
include/llvm/Transforms/Utils/Cloning.h
include/llvm/Transforms/Utils/CmpInstAnalysis.h
include/llvm/Transforms/Utils/CodeExtractor.h
+include/llvm/Transforms/Utils/GlobalStatus.h
include/llvm/Transforms/Utils/IntegerDivision.h
include/llvm/Transforms/Utils/Local.h
+include/llvm/Transforms/Utils/LoopUtils.h
include/llvm/Transforms/Utils/ModuleUtils.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/SimplifyLibCalls.h
+include/llvm/Transforms/Utils/SpecialCaseList.h
include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
include/llvm/Transforms/Utils/UnrollLoop.h
include/llvm/Transforms/Utils/ValueMapper.h
include/llvm/Transforms/Vectorize.h
-lib/BugpointPasses.${SOEXT}
-lib/LLVMHello.${SOEXT}
+lib/BugpointPasses.so
+lib/LLVMHello.so
+lib/clang/${PKGVERSION}/include/Intrin.h
lib/clang/${PKGVERSION}/include/__wmmintrin_aes.h
lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h
lib/clang/${PKGVERSION}/include/altivec.h
@@ -1010,6 +1041,7 @@ lib/clang/${PKGVERSION}/include/popcntintrin.h
lib/clang/${PKGVERSION}/include/prfchwintrin.h
lib/clang/${PKGVERSION}/include/rdseedintrin.h
lib/clang/${PKGVERSION}/include/rtmintrin.h
+lib/clang/${PKGVERSION}/include/shaintrin.h
lib/clang/${PKGVERSION}/include/smmintrin.h
lib/clang/${PKGVERSION}/include/stdalign.h
lib/clang/${PKGVERSION}/include/stdarg.h
@@ -1017,6 +1049,7 @@ lib/clang/${PKGVERSION}/include/stdbool.h
lib/clang/${PKGVERSION}/include/stddef.h
lib/clang/${PKGVERSION}/include/stdint.h
lib/clang/${PKGVERSION}/include/stdnoreturn.h
+lib/clang/${PKGVERSION}/include/tbmintrin.h
lib/clang/${PKGVERSION}/include/tgmath.h
lib/clang/${PKGVERSION}/include/tmmintrin.h
lib/clang/${PKGVERSION}/include/unwind.h
@@ -1039,7 +1072,6 @@ lib/libLLVMARMDesc.a
lib/libLLVMARMDisassembler.a
lib/libLLVMARMInfo.a
lib/libLLVMAnalysis.a
-lib/libLLVMArchive.a
lib/libLLVMAsmParser.a
lib/libLLVMAsmPrinter.a
lib/libLLVMBitReader.a
@@ -1059,13 +1091,8 @@ lib/libLLVMInstCombine.a
lib/libLLVMInstrumentation.a
lib/libLLVMInterpreter.a
lib/libLLVMJIT.a
+lib/libLLVMLTO.a
lib/libLLVMLinker.a
-lib/libLLVMMBlazeAsmParser.a
-lib/libLLVMMBlazeAsmPrinter.a
-lib/libLLVMMBlazeCodeGen.a
-lib/libLLVMMBlazeDesc.a
-lib/libLLVMMBlazeDisassembler.a
-lib/libLLVMMBlazeInfo.a
lib/libLLVMMC.a
lib/libLLVMMCDisassembler.a
lib/libLLVMMCJIT.a
@@ -1092,6 +1119,10 @@ lib/libLLVMPowerPCAsmPrinter.a
lib/libLLVMPowerPCCodeGen.a
lib/libLLVMPowerPCDesc.a
lib/libLLVMPowerPCInfo.a
+lib/libLLVMR600AsmPrinter.a
+lib/libLLVMR600CodeGen.a
+lib/libLLVMR600Desc.a
+lib/libLLVMR600Info.a
lib/libLLVMRuntimeDyld.a
lib/libLLVMScalarOpts.a
lib/libLLVMSelectionDAG.a
@@ -1103,6 +1134,7 @@ lib/libLLVMSystemZAsmParser.a
lib/libLLVMSystemZAsmPrinter.a
lib/libLLVMSystemZCodeGen.a
lib/libLLVMSystemZDesc.a
+lib/libLLVMSystemZDisassembler.a
lib/libLLVMSystemZInfo.a
lib/libLLVMTableGen.a
lib/libLLVMTarget.a
@@ -1133,10 +1165,12 @@ lib/libclangAnalysis.a
lib/libclangBasic.a
lib/libclangCodeGen.a
lib/libclangDriver.a
+lib/libclangDynamicASTMatchers.a
lib/libclangEdit.a
lib/libclangFormat.a
lib/libclangFrontend.a
lib/libclangFrontendTool.a
+lib/libclangIndex.a
lib/libclangLex.a
lib/libclangParse.a
lib/libclangRewriteCore.a
@@ -1147,8 +1181,6 @@ lib/libclangStaticAnalyzerCheckers.a
lib/libclangStaticAnalyzerCore.a
lib/libclangStaticAnalyzerFrontend.a
lib/libclangTooling.a
-lib/libprofile_rt.${SOEXT}
-lib/libprofile_rt.a
man/man1/clang.1
share/doc/llvm/html.tar.gz
share/doc/llvm/html/Dummy.html
diff --git a/lang/clang/distinfo b/lang/clang/distinfo
index ec280a13bd1..3e4543b8b3b 100644
--- a/lang/clang/distinfo
+++ b/lang/clang/distinfo
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.21 2013/07/09 08:11:05 richard Exp $
+$NetBSD: distinfo,v 1.22 2014/01/19 14:06:41 ryoon Exp $
-SHA1 (cfe-3.3.src.tar.gz) = ccd6dbf2cdb1189a028b70bcb8a22509c25c74c8
-RMD160 (cfe-3.3.src.tar.gz) = ff5d684c83b0c1aa36595dcb457da80b58eaf58f
-Size (cfe-3.3.src.tar.gz) = 9425539 bytes
-SHA1 (llvm-3.3.src.tar.gz) = c6c22d5593419e3cb47cbcf16d967640e5cce133
-RMD160 (llvm-3.3.src.tar.gz) = 22878ad746c50b02a7ac8713dd6f8c95c7af4220
-Size (llvm-3.3.src.tar.gz) = 13602421 bytes
+SHA1 (clang-3.4.src.tar.gz) = a6a3c815dd045e9c13c7ae37d2cfefe65607860d
+RMD160 (clang-3.4.src.tar.gz) = 4fbd7e735edc96e224a82ebe2277c69efc488e6b
+Size (clang-3.4.src.tar.gz) = 10619607 bytes
+SHA1 (llvm-3.4.src.tar.gz) = 10b1fd085b45d8b19adb9a628353ce347bc136b8
+RMD160 (llvm-3.4.src.tar.gz) = 67e3f7baa679ca95d944b9cc3528d1ffbe3cdee0
+Size (llvm-3.4.src.tar.gz) = 15920544 bytes
SHA1 (patch-ab) = 8dd0da6d47a57ac25eea358996cf874dd3289e08
-SHA1 (patch-ac) = d94fdd7508302e6fb6acbf58f7b2305c3db5cf08
+SHA1 (patch-ac) = 0f0cc98d443ec957fc5374fb491809d27e4f9d4e
SHA1 (patch-ad) = ad1f6720e4c73e57fce10ba968b03637a133602d
-SHA1 (patch-include_llvm_Support_Host.h) = 102a76575b94f3d1b5fe0b138eb0ad54efd08b05
+SHA1 (patch-include_llvm_Support_Host.h) = 545f9542cd2aaa6cea58d3653902b4e1a9e7189a
SHA1 (patch-utils_lit_utils_check-coverage) = aec7c140d5b9e8cc38a0022533a5848d6b1ff0b8
SHA1 (patch-utils_lit_utils_check-sdist) = df63c41b07f7531e787b54f6994458869023b66c
diff --git a/lang/clang/patches/patch-ac b/lang/clang/patches/patch-ac
index 378438b4297..04975e50ad1 100644
--- a/lang/clang/patches/patch-ac
+++ b/lang/clang/patches/patch-ac
@@ -1,20 +1,8 @@
-$NetBSD: patch-ac,v 1.8 2013/07/02 10:33:02 adam Exp $
+$NetBSD: patch-ac,v 1.9 2014/01/19 14:06:41 ryoon Exp $
---- Makefile.rules.orig 2013-05-03 21:53:50.000000000 +0000
+--- Makefile.rules.orig 2013-11-14 23:51:29.000000000 +0000
+++ Makefile.rules
-@@ -640,11 +640,6 @@ ifneq ($(HOST_OS), $(filter $(HOST_OS),
- ifneq ($(HOST_OS), Darwin)
- ifdef TOOLNAME
- LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
-- ifdef EXAMPLE_TOOL
-- LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(DynamicFlag)
-- else
-- LD.Flags += $(RPATH) -Wl,$(ToolDir) $(DynamicFlag)
-- endif
- endif
- else
- ifneq ($(DARWIN_MAJVERS),4)
-@@ -842,9 +837,6 @@ endif
+@@ -808,9 +808,6 @@ endif
# in the file so they get built before dependencies
#---------------------------------------------------------
@@ -24,7 +12,7 @@ $NetBSD: patch-ac,v 1.8 2013/07/02 10:33:02 adam Exp $
# To create other directories, as needed, and timestamp their creation
%/.dir:
$(Verb) $(MKDIR) $* > /dev/null
-@@ -979,7 +971,9 @@ install-local::
+@@ -954,7 +951,9 @@ install-local::
uninstall-local::
$(Echo) UnInstall circumvented with NO_INSTALL
else
@@ -35,7 +23,7 @@ $NetBSD: patch-ac,v 1.8 2013/07/02 10:33:02 adam Exp $
$(Echo) Installing Configuration Files To $(DESTDIR)$(PROJ_etcdir)
$(Verb)for file in $(CONFIG_FILES); do \
if test -f $(PROJ_OBJ_DIR)/$${file} ; then \
-@@ -1401,7 +1395,7 @@ install-local:: $(DestArchiveLib)
+@@ -1248,7 +1247,7 @@ install-local:: $(DestArchiveLib)
$(DestArchiveLib): $(LibName.A) $(DESTDIR)$(PROJ_libdir)
$(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib)
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_libdir)
diff --git a/lang/clang/patches/patch-include_llvm_Support_Host.h b/lang/clang/patches/patch-include_llvm_Support_Host.h
index 1970495c68f..123cec01b56 100644
--- a/lang/clang/patches/patch-include_llvm_Support_Host.h
+++ b/lang/clang/patches/patch-include_llvm_Support_Host.h
@@ -1,13 +1,13 @@
-$NetBSD: patch-include_llvm_Support_Host.h,v 1.1 2013/07/09 08:11:05 richard Exp $
+$NetBSD: patch-include_llvm_Support_Host.h,v 1.2 2014/01/19 14:06:41 ryoon Exp $
Fix lack of machine/endian.h on solaris
http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225
---- include/llvm/Support/Host.h.orig 2013-04-15 20:13:59.000000000 +0000
+--- include/llvm/Support/Host.h.orig 2013-06-05 09:17:26.000000000 +0000
+++ include/llvm/Support/Host.h
@@ -18,6 +18,20 @@
- #if defined(__linux__)
+ #if defined(__linux__) || defined(__GNU__)
#include <endian.h>
+#elif defined(__sun) & defined(__SVR4)
+# ifndef BYTE_ORDER
@@ -24,5 +24,5 @@ http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225
+# endif /* sun */
+# endif /* BYTE_ORDER */
#else
- #ifndef LLVM_ON_WIN32
+ #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32)
#include <machine/endian.h>