diff options
-rw-r--r-- | devel/llvm/Makefile | 16 | ||||
-rw-r--r-- | devel/llvm/distinfo | 4 | ||||
-rw-r--r-- | devel/llvm/files/patch-Makefile | 11 | ||||
-rw-r--r-- | devel/llvm/files/patch-lib_Target_X86_X86ISelLowering.cpp | 27 | ||||
-rw-r--r-- | devel/llvm/pkg-plist | 129 | ||||
-rw-r--r-- | devel/llvm29/Makefile | 16 | ||||
-rw-r--r-- | devel/llvm29/distinfo | 4 | ||||
-rw-r--r-- | devel/llvm29/files/patch-Makefile | 11 | ||||
-rw-r--r-- | devel/llvm29/files/patch-lib_Target_X86_X86ISelLowering.cpp | 27 | ||||
-rw-r--r-- | devel/llvm29/pkg-plist | 129 | ||||
-rw-r--r-- | lang/clang/Makefile | 13 | ||||
-rw-r--r-- | lang/clang/distinfo | 10 | ||||
-rw-r--r-- | lang/clang/files/patch-Makefile | 14 | ||||
-rw-r--r-- | lang/clang/files/patch-tools_clang_Makefile | 14 | ||||
-rw-r--r-- | lang/clang/pkg-plist | 162 | ||||
-rw-r--r-- | lang/llvm-gcc4/Makefile | 2 | ||||
-rw-r--r-- | lang/llvm-gcc4/distinfo | 5 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_common.opt | 16 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_config.gcc | 31 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c | 11 | ||||
-rw-r--r-- | lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h | 35 |
21 files changed, 346 insertions, 341 deletions
diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile index e0b0ff3f3d1c..c30e8bc10297 100644 --- a/devel/llvm/Makefile +++ b/devel/llvm/Makefile @@ -6,8 +6,7 @@ # PORTNAME= llvm -PORTVERSION= 2.8 -PORTREVISION= 3 +PORTVERSION= 2.9 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ EXTRACT_SUFX= .tgz @@ -43,9 +42,7 @@ CONFIGURE_ARGS+= --enable-bindings=none OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off .if defined(NOPORTDOCS) -DOCSRCDIR= -.else -DOCSRCDIR= docs +CONFIGURE_ARGS+= --disable-docs .endif MAN1= bugpoint.1 lit.1 llc.1 lli.1 llvm-ar.1 \ @@ -79,8 +76,6 @@ post-patch: ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in - ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ - ${WRKSRC}/Makefile .if defined(NOPORTDOCS) post-build: @@ -106,16 +101,17 @@ PLIST_FILE_LIST= bin/bugpoint \ bin/llc \ bin/lli \ bin/llvm* \ + bin/macho-dump \ bin/opt \ bin/tblgen \ - lib/libBugpointPasses.so \ + lib/BugpointPasses.so \ lib/libCompilerDriver.a \ lib/libEnhancedDisassembly.so \ lib/libEnhancedDisassembly.a \ + lib/LLVMHello.so \ lib/libLTO.* \ lib/libLLVM* \ - lib/libUnitTestMain.a \ - lib/libprofile_rt.so + lib/profile_rt.so PLIST_DIR_LIST= include/llvm-c \ include/llvm build-plist: diff --git a/devel/llvm/distinfo b/devel/llvm/distinfo index 4d8a8661e393..324c661a74d9 100644 --- a/devel/llvm/distinfo +++ b/devel/llvm/distinfo @@ -1,2 +1,2 @@ -SHA256 (llvm-2.8.tgz) = 25addb742f1c6cc12877ed0ee924dda962d848368ee095be8e48342ae613d43b -SIZE (llvm-2.8.tgz) = 9112527 +SHA256 (llvm-2.9.tgz) = 661236cfa17428b48cfa9cbb9909f7569c64b8ecd219fd91dbc00e3b557b3779 +SIZE (llvm-2.9.tgz) = 9574781 diff --git a/devel/llvm/files/patch-Makefile b/devel/llvm/files/patch-Makefile deleted file mode 100644 index cb94b0f8e06a..000000000000 --- a/devel/llvm/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2010-02-25 07:34:33.000000000 +0100 -+++ Makefile 2010-04-27 11:16:37.007130964 +0200 -@@ -31,7 +31,7 @@ - OPTIONAL_DIRS := - else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ -- tools/llvm-config tools runtime docs unittests -+ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests - OPTIONAL_DIRS := projects bindings - endif - diff --git a/devel/llvm/files/patch-lib_Target_X86_X86ISelLowering.cpp b/devel/llvm/files/patch-lib_Target_X86_X86ISelLowering.cpp deleted file mode 100644 index 1b18d8007d66..000000000000 --- a/devel/llvm/files/patch-lib_Target_X86_X86ISelLowering.cpp +++ /dev/null @@ -1,27 +0,0 @@ - -$FreeBSD$ - ---- lib/Target/X86/X86ISelLowering.cpp.orig -+++ lib/Target/X86/X86ISelLowering.cpp -@@ -5414,11 +5414,19 @@ - return getMOVL(DAG, dl, VT, V2, V1); - } - -- if (X86::isUNPCKL_v_undef_Mask(SVOp) || X86::isUNPCKLMask(SVOp)) -+ if (X86::isUNPCKL_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKLMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V2, DAG); - -- if (X86::isUNPCKH_v_undef_Mask(SVOp) || X86::isUNPCKHMask(SVOp)) -+ if (X86::isUNPCKH_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKHMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V2, DAG); - diff --git a/devel/llvm/pkg-plist b/devel/llvm/pkg-plist index 8e7c232f3bd2..fa8d3c179435 100644 --- a/devel/llvm/pkg-plist +++ b/devel/llvm/pkg-plist @@ -12,10 +12,12 @@ bin/llvm-ld bin/llvm-link bin/llvm-mc bin/llvm-nm +bin/llvm-objdump bin/llvm-prof bin/llvm-ranlib bin/llvm-stub bin/llvmc +bin/macho-dump bin/opt bin/tblgen include/llvm-c/Analysis.h @@ -24,6 +26,7 @@ include/llvm-c/BitWriter.h include/llvm-c/Core.h include/llvm-c/EnhancedDisassembly.h include/llvm-c/ExecutionEngine.h +include/llvm-c/Initialization.h include/llvm-c/LinkTimeOptimizer.h include/llvm-c/Target.h include/llvm-c/Transforms/IPO.h @@ -32,6 +35,7 @@ include/llvm-c/lto.h include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h include/llvm/ADT/APSInt.h +include/llvm/ADT/ArrayRef.h include/llvm/ADT/BitVector.h include/llvm/ADT/DAGDeltaAlgorithm.h include/llvm/ADT/DeltaAlgorithm.h @@ -46,7 +50,10 @@ include/llvm/ADT/ImmutableIntervalMap.h include/llvm/ADT/ImmutableList.h include/llvm/ADT/ImmutableMap.h include/llvm/ADT/ImmutableSet.h +include/llvm/ADT/InMemoryStruct.h include/llvm/ADT/IndexedMap.h +include/llvm/ADT/IntEqClasses.h +include/llvm/ADT/IntervalMap.h include/llvm/ADT/IntrusiveRefCntPtr.h include/llvm/ADT/NullablePtr.h include/llvm/ADT/Optional.h @@ -89,9 +96,11 @@ include/llvm/Analysis/CaptureTracking.h include/llvm/Analysis/CodeMetrics.h include/llvm/Analysis/ConstantFolding.h include/llvm/Analysis/ConstantsScanner.h +include/llvm/Analysis/DIBuilder.h include/llvm/Analysis/DOTGraphTraitsPass.h include/llvm/Analysis/DebugInfo.h include/llvm/Analysis/DomPrinter.h +include/llvm/Analysis/DominanceFrontier.h include/llvm/Analysis/DominatorInternals.h include/llvm/Analysis/Dominators.h include/llvm/Analysis/FindUsedTypes.h @@ -105,7 +114,6 @@ include/llvm/Analysis/LazyValueInfo.h include/llvm/Analysis/LibCallAliasAnalysis.h include/llvm/Analysis/LibCallSemantics.h include/llvm/Analysis/Lint.h -include/llvm/Analysis/LiveValues.h include/llvm/Analysis/Loads.h include/llvm/Analysis/LoopDependenceAnalysis.h include/llvm/Analysis/LoopInfo.h @@ -114,13 +122,15 @@ include/llvm/Analysis/MemoryBuiltins.h include/llvm/Analysis/MemoryDependenceAnalysis.h include/llvm/Analysis/PHITransAddr.h include/llvm/Analysis/Passes.h -include/llvm/Analysis/PointerTracking.h +include/llvm/Analysis/PathNumbering.h +include/llvm/Analysis/PathProfileInfo.h include/llvm/Analysis/PostDominators.h include/llvm/Analysis/ProfileInfo.h include/llvm/Analysis/ProfileInfoLoader.h include/llvm/Analysis/ProfileInfoTypes.h include/llvm/Analysis/RegionInfo.h include/llvm/Analysis/RegionIterator.h +include/llvm/Analysis/RegionPass.h include/llvm/Analysis/RegionPrinter.h include/llvm/Analysis/ScalarEvolution.h include/llvm/Analysis/ScalarEvolutionExpander.h @@ -144,7 +154,6 @@ include/llvm/Bitcode/BitstreamReader.h include/llvm/Bitcode/BitstreamWriter.h include/llvm/Bitcode/LLVMBitCodes.h include/llvm/Bitcode/ReaderWriter.h -include/llvm/CMakeLists.txt include/llvm/CallGraphSCCPass.h include/llvm/CallingConv.h include/llvm/CodeGen/Analysis.h @@ -152,6 +161,7 @@ include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/BinaryObject.h include/llvm/CodeGen/CalcSpillWeights.h include/llvm/CodeGen/CallingConvLower.h +include/llvm/CodeGen/EdgeBundles.h include/llvm/CodeGen/FastISel.h include/llvm/CodeGen/FunctionLoweringInfo.h include/llvm/CodeGen/GCMetadata.h @@ -183,6 +193,7 @@ 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 include/llvm/CodeGen/MachineModuleInfo.h include/llvm/CodeGen/MachineModuleInfoImpls.h @@ -192,10 +203,16 @@ include/llvm/CodeGen/MachineRegisterInfo.h include/llvm/CodeGen/MachineRelocation.h include/llvm/CodeGen/MachineSSAUpdater.h include/llvm/CodeGen/ObjectCodeEmitter.h +include/llvm/CodeGen/PBQP/Graph.h +include/llvm/CodeGen/PBQP/HeuristicBase.h +include/llvm/CodeGen/PBQP/HeuristicSolver.h +include/llvm/CodeGen/PBQP/Heuristics/Briggs.h +include/llvm/CodeGen/PBQP/Math.h +include/llvm/CodeGen/PBQP/Solution.h include/llvm/CodeGen/Passes.h -include/llvm/CodeGen/PostRAHazardRecognizer.h include/llvm/CodeGen/ProcessImplicitDefs.h 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 @@ -203,6 +220,7 @@ include/llvm/CodeGen/RuntimeLibcalls.h include/llvm/CodeGen/ScheduleDAG.h include/llvm/CodeGen/ScheduleHazardRecognizer.h include/llvm/CodeGen/SchedulerRegistry.h +include/llvm/CodeGen/ScoreboardHazardRecognizer.h include/llvm/CodeGen/SelectionDAG.h include/llvm/CodeGen/SelectionDAGISel.h include/llvm/CodeGen/SelectionDAGNodes.h @@ -224,9 +242,7 @@ include/llvm/Config/AsmPrinters.def include/llvm/Config/Disassemblers.def include/llvm/Config/Targets.def include/llvm/Config/config.h -include/llvm/Config/config.h.cmake include/llvm/Config/llvm-config.h -include/llvm/Config/llvm-config.h.cmake include/llvm/Constant.h include/llvm/Constants.h include/llvm/DerivedTypes.h @@ -236,11 +252,13 @@ include/llvm/ExecutionEngine/Interpreter.h include/llvm/ExecutionEngine/JIT.h include/llvm/ExecutionEngine/JITEventListener.h include/llvm/ExecutionEngine/JITMemoryManager.h +include/llvm/ExecutionEngine/MCJIT.h include/llvm/Function.h include/llvm/GVMaterializer.h include/llvm/GlobalAlias.h include/llvm/GlobalValue.h include/llvm/GlobalVariable.h +include/llvm/InitializePasses.h include/llvm/InlineAsm.h include/llvm/InstrTypes.h include/llvm/Instruction.def @@ -253,6 +271,7 @@ include/llvm/Intrinsics.td include/llvm/IntrinsicsARM.td include/llvm/IntrinsicsAlpha.td include/llvm/IntrinsicsCellSPU.td +include/llvm/IntrinsicsPTX.td include/llvm/IntrinsicsPowerPC.td include/llvm/IntrinsicsX86.td include/llvm/IntrinsicsXCore.td @@ -261,7 +280,6 @@ include/llvm/LinkAllPasses.h include/llvm/LinkAllVMCore.h include/llvm/Linker.h include/llvm/MC/EDInstInfo.h -include/llvm/MC/ELFObjectWriter.h include/llvm/MC/MCAsmInfo.h include/llvm/MC/MCAsmInfoCOFF.h include/llvm/MC/MCAsmInfoDarwin.h @@ -272,13 +290,16 @@ include/llvm/MC/MCContext.h include/llvm/MC/MCDirectives.h include/llvm/MC/MCDisassembler.h include/llvm/MC/MCDwarf.h +include/llvm/MC/MCELFObjectWriter.h include/llvm/MC/MCELFSymbolFlags.h include/llvm/MC/MCExpr.h include/llvm/MC/MCFixup.h +include/llvm/MC/MCFixupKindInfo.h include/llvm/MC/MCInst.h include/llvm/MC/MCInstPrinter.h include/llvm/MC/MCLabel.h include/llvm/MC/MCMachOSymbolFlags.h +include/llvm/MC/MCMachObjectWriter.h include/llvm/MC/MCObjectStreamer.h include/llvm/MC/MCObjectWriter.h include/llvm/MC/MCParser/AsmCond.h @@ -294,10 +315,12 @@ include/llvm/MC/MCSectionMachO.h include/llvm/MC/MCStreamer.h include/llvm/MC/MCSymbol.h include/llvm/MC/MCValue.h -include/llvm/MC/MachObjectWriter.h include/llvm/MC/SectionKind.h include/llvm/Metadata.h include/llvm/Module.h +include/llvm/Object/MachOFormat.h +include/llvm/Object/MachOObject.h +include/llvm/Object/ObjectFile.h include/llvm/OperandTraits.h include/llvm/Operator.h include/llvm/Pass.h @@ -306,8 +329,10 @@ include/llvm/PassManager.h include/llvm/PassManagers.h include/llvm/PassRegistry.h include/llvm/PassSupport.h +include/llvm/Support/AIXDataTypesFix.h include/llvm/Support/AlignOf.h include/llvm/Support/Allocator.h +include/llvm/Support/Atomic.h include/llvm/Support/CFG.h include/llvm/Support/COFF.h include/llvm/Support/CallSite.h @@ -319,95 +344,99 @@ include/llvm/Support/ConstantRange.h include/llvm/Support/CrashRecoveryContext.h include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataFlow.h +include/llvm/Support/DataTypes.h include/llvm/Support/Debug.h include/llvm/Support/DebugLoc.h +include/llvm/Support/Disassembler.h include/llvm/Support/Dwarf.h -include/llvm/Support/DynamicLinker.h +include/llvm/Support/DynamicLibrary.h include/llvm/Support/ELF.h +include/llvm/Support/Endian.h +include/llvm/Support/Errno.h include/llvm/Support/ErrorHandling.h +include/llvm/Support/FEnv.h +include/llvm/Support/FileSystem.h include/llvm/Support/FileUtilities.h include/llvm/Support/Format.h include/llvm/Support/FormattedStream.h include/llvm/Support/GetElementPtrTypeIterator.h include/llvm/Support/GraphWriter.h +include/llvm/Support/Host.h include/llvm/Support/IRBuilder.h include/llvm/Support/IRReader.h +include/llvm/Support/IncludeFile.h include/llvm/Support/InstIterator.h include/llvm/Support/InstVisitor.h +include/llvm/Support/LICENSE.TXT include/llvm/Support/LeakDetector.h include/llvm/Support/MachO.h include/llvm/Support/ManagedStatic.h include/llvm/Support/MathExtras.h +include/llvm/Support/Memory.h include/llvm/Support/MemoryBuffer.h include/llvm/Support/MemoryObject.h +include/llvm/Support/Mutex.h include/llvm/Support/MutexGuard.h 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 include/llvm/Support/PredIteratorCache.h include/llvm/Support/PrettyStackTrace.h +include/llvm/Support/Process.h +include/llvm/Support/Program.h +include/llvm/Support/RWMutex.h include/llvm/Support/Recycler.h include/llvm/Support/RecyclingAllocator.h include/llvm/Support/Regex.h include/llvm/Support/Registry.h include/llvm/Support/RegistryParser.h include/llvm/Support/SMLoc.h +include/llvm/Support/Signals.h +include/llvm/Support/Solaris.h include/llvm/Support/SourceMgr.h -include/llvm/Support/StableBasicBlockNumbering.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/ThreadLocal.h +include/llvm/Support/Threading.h +include/llvm/Support/TimeValue.h include/llvm/Support/Timer.h +include/llvm/Support/ToolOutputFile.h include/llvm/Support/TypeBuilder.h +include/llvm/Support/Valgrind.h include/llvm/Support/ValueHandle.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/System/AIXDataTypesFix.h -include/llvm/System/Alarm.h -include/llvm/System/Atomic.h -include/llvm/System/DataTypes.h -include/llvm/System/DataTypes.h.cmake -include/llvm/System/Disassembler.h -include/llvm/System/DynamicLibrary.h -include/llvm/System/Errno.h -include/llvm/System/Host.h -include/llvm/System/IncludeFile.h -include/llvm/System/LICENSE.TXT -include/llvm/System/Memory.h -include/llvm/System/Mutex.h -include/llvm/System/Path.h -include/llvm/System/Process.h -include/llvm/System/Program.h -include/llvm/System/RWMutex.h -include/llvm/System/Signals.h -include/llvm/System/Solaris.h -include/llvm/System/ThreadLocal.h -include/llvm/System/Threading.h -include/llvm/System/TimeValue.h -include/llvm/System/Valgrind.h 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/TargetFrameInfo.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 include/llvm/Target/TargetLowering.h include/llvm/Target/TargetLoweringObjectFile.h include/llvm/Target/TargetMachine.h @@ -423,7 +452,6 @@ include/llvm/Target/TargetSubtarget.h include/llvm/Transforms/IPO.h include/llvm/Transforms/IPO/InlinerPass.h include/llvm/Transforms/Instrumentation.h -include/llvm/Transforms/RSProfiling.h include/llvm/Transforms/Scalar.h include/llvm/Transforms/Utils/AddrModeMatcher.h include/llvm/Transforms/Utils/BasicBlockUtils.h @@ -444,7 +472,8 @@ include/llvm/Use.h include/llvm/User.h include/llvm/Value.h include/llvm/ValueSymbolTable.h -lib/libBugpointPasses.so +lib/BugpointPasses.so +lib/LLVMHello.so lib/libCompilerDriver.a lib/libEnhancedDisassembly.a lib/libEnhancedDisassembly.so @@ -453,7 +482,6 @@ lib/libLLVMARMAsmPrinter.a lib/libLLVMARMCodeGen.a lib/libLLVMARMDisassembler.a lib/libLLVMARMInfo.a -lib/libLLVMAlphaAsmPrinter.a lib/libLLVMAlphaCodeGen.a lib/libLLVMAlphaInfo.a lib/libLLVMAnalysis.a @@ -462,12 +490,10 @@ lib/libLLVMAsmParser.a lib/libLLVMAsmPrinter.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a -lib/libLLVMBlackfinAsmPrinter.a lib/libLLVMBlackfinCodeGen.a lib/libLLVMBlackfinInfo.a lib/libLLVMCBackend.a lib/libLLVMCBackendInfo.a -lib/libLLVMCellSPUAsmPrinter.a lib/libLLVMCellSPUCodeGen.a lib/libLLVMCellSPUInfo.a lib/libLLVMCodeGen.a @@ -475,38 +501,36 @@ lib/libLLVMCore.a lib/libLLVMCppBackend.a lib/libLLVMCppBackendInfo.a lib/libLLVMExecutionEngine.a -lib/libLLVMHello.so lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a lib/libLLVMInterpreter.a lib/libLLVMJIT.a lib/libLLVMLinker.a +lib/libLLVMMBlazeAsmParser.a lib/libLLVMMBlazeAsmPrinter.a lib/libLLVMMBlazeCodeGen.a +lib/libLLVMMBlazeDisassembler.a lib/libLLVMMBlazeInfo.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a +lib/libLLVMMCJIT.a lib/libLLVMMCParser.a lib/libLLVMMSP430AsmPrinter.a lib/libLLVMMSP430CodeGen.a lib/libLLVMMSP430Info.a -lib/libLLVMMipsAsmPrinter.a lib/libLLVMMipsCodeGen.a lib/libLLVMMipsInfo.a -lib/libLLVMPIC16AsmPrinter.a -lib/libLLVMPIC16CodeGen.a -lib/libLLVMPIC16Info.a +lib/libLLVMObject.a +lib/libLLVMPTXCodeGen.a +lib/libLLVMPTXInfo.a lib/libLLVMPowerPCAsmPrinter.a lib/libLLVMPowerPCCodeGen.a lib/libLLVMPowerPCInfo.a lib/libLLVMScalarOpts.a lib/libLLVMSelectionDAG.a -lib/libLLVMSparcAsmPrinter.a lib/libLLVMSparcCodeGen.a lib/libLLVMSparcInfo.a lib/libLLVMSupport.a -lib/libLLVMSystem.a -lib/libLLVMSystemZAsmPrinter.a lib/libLLVMSystemZCodeGen.a lib/libLLVMSystemZInfo.a lib/libLLVMTarget.a @@ -516,16 +540,14 @@ lib/libLLVMX86AsmPrinter.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a -lib/libLLVMXCoreAsmPrinter.a +lib/libLLVMX86Utils.a lib/libLLVMXCoreCodeGen.a lib/libLLVMXCoreInfo.a lib/libLLVMipa.a lib/libLLVMipo.a -lib/libLLVMpic16passes.a lib/libLTO.a lib/libLTO.so -lib/libUnitTestMain.a -lib/libprofile_rt.so +lib/profile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz %%PORTDOCS%%%%DOCSDIR%%/html/AliasAnalysis.html %%PORTDOCS%%%%DOCSDIR%%/html/BitCodeFormat.html @@ -614,6 +636,7 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl5.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl6.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl7.html +%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl8.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/index.html %%PORTDOCS%%%%DOCSDIR%%/ps/FileCheck.ps %%PORTDOCS%%%%DOCSDIR%%/ps/bugpoint.ps @@ -641,13 +664,15 @@ lib/libprofile_rt.so @dirrm include/llvm/Transforms/IPO @dirrm include/llvm/Transforms @dirrm include/llvm/Target -@dirrm include/llvm/System @dirrm include/llvm/Support +@dirrm include/llvm/Object @dirrm include/llvm/MC/MCParser @dirrm include/llvm/MC @dirrm include/llvm/ExecutionEngine @dirrm include/llvm/Config @dirrm include/llvm/CompilerDriver +@dirrm include/llvm/CodeGen/PBQP/Heuristics +@dirrm include/llvm/CodeGen/PBQP @dirrm include/llvm/CodeGen @dirrm include/llvm/Bitcode @dirrm include/llvm/Assembly diff --git a/devel/llvm29/Makefile b/devel/llvm29/Makefile index e0b0ff3f3d1c..c30e8bc10297 100644 --- a/devel/llvm29/Makefile +++ b/devel/llvm29/Makefile @@ -6,8 +6,7 @@ # PORTNAME= llvm -PORTVERSION= 2.8 -PORTREVISION= 3 +PORTVERSION= 2.9 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ EXTRACT_SUFX= .tgz @@ -43,9 +42,7 @@ CONFIGURE_ARGS+= --enable-bindings=none OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off .if defined(NOPORTDOCS) -DOCSRCDIR= -.else -DOCSRCDIR= docs +CONFIGURE_ARGS+= --disable-docs .endif MAN1= bugpoint.1 lit.1 llc.1 lli.1 llvm-ar.1 \ @@ -79,8 +76,6 @@ post-patch: ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in - ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ - ${WRKSRC}/Makefile .if defined(NOPORTDOCS) post-build: @@ -106,16 +101,17 @@ PLIST_FILE_LIST= bin/bugpoint \ bin/llc \ bin/lli \ bin/llvm* \ + bin/macho-dump \ bin/opt \ bin/tblgen \ - lib/libBugpointPasses.so \ + lib/BugpointPasses.so \ lib/libCompilerDriver.a \ lib/libEnhancedDisassembly.so \ lib/libEnhancedDisassembly.a \ + lib/LLVMHello.so \ lib/libLTO.* \ lib/libLLVM* \ - lib/libUnitTestMain.a \ - lib/libprofile_rt.so + lib/profile_rt.so PLIST_DIR_LIST= include/llvm-c \ include/llvm build-plist: diff --git a/devel/llvm29/distinfo b/devel/llvm29/distinfo index 4d8a8661e393..324c661a74d9 100644 --- a/devel/llvm29/distinfo +++ b/devel/llvm29/distinfo @@ -1,2 +1,2 @@ -SHA256 (llvm-2.8.tgz) = 25addb742f1c6cc12877ed0ee924dda962d848368ee095be8e48342ae613d43b -SIZE (llvm-2.8.tgz) = 9112527 +SHA256 (llvm-2.9.tgz) = 661236cfa17428b48cfa9cbb9909f7569c64b8ecd219fd91dbc00e3b557b3779 +SIZE (llvm-2.9.tgz) = 9574781 diff --git a/devel/llvm29/files/patch-Makefile b/devel/llvm29/files/patch-Makefile deleted file mode 100644 index cb94b0f8e06a..000000000000 --- a/devel/llvm29/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2010-02-25 07:34:33.000000000 +0100 -+++ Makefile 2010-04-27 11:16:37.007130964 +0200 -@@ -31,7 +31,7 @@ - OPTIONAL_DIRS := - else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ -- tools/llvm-config tools runtime docs unittests -+ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests - OPTIONAL_DIRS := projects bindings - endif - diff --git a/devel/llvm29/files/patch-lib_Target_X86_X86ISelLowering.cpp b/devel/llvm29/files/patch-lib_Target_X86_X86ISelLowering.cpp deleted file mode 100644 index 1b18d8007d66..000000000000 --- a/devel/llvm29/files/patch-lib_Target_X86_X86ISelLowering.cpp +++ /dev/null @@ -1,27 +0,0 @@ - -$FreeBSD$ - ---- lib/Target/X86/X86ISelLowering.cpp.orig -+++ lib/Target/X86/X86ISelLowering.cpp -@@ -5414,11 +5414,19 @@ - return getMOVL(DAG, dl, VT, V2, V1); - } - -- if (X86::isUNPCKL_v_undef_Mask(SVOp) || X86::isUNPCKLMask(SVOp)) -+ if (X86::isUNPCKL_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKLMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V2, DAG); - -- if (X86::isUNPCKH_v_undef_Mask(SVOp) || X86::isUNPCKHMask(SVOp)) -+ if (X86::isUNPCKH_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKHMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V2, DAG); - diff --git a/devel/llvm29/pkg-plist b/devel/llvm29/pkg-plist index 8e7c232f3bd2..fa8d3c179435 100644 --- a/devel/llvm29/pkg-plist +++ b/devel/llvm29/pkg-plist @@ -12,10 +12,12 @@ bin/llvm-ld bin/llvm-link bin/llvm-mc bin/llvm-nm +bin/llvm-objdump bin/llvm-prof bin/llvm-ranlib bin/llvm-stub bin/llvmc +bin/macho-dump bin/opt bin/tblgen include/llvm-c/Analysis.h @@ -24,6 +26,7 @@ include/llvm-c/BitWriter.h include/llvm-c/Core.h include/llvm-c/EnhancedDisassembly.h include/llvm-c/ExecutionEngine.h +include/llvm-c/Initialization.h include/llvm-c/LinkTimeOptimizer.h include/llvm-c/Target.h include/llvm-c/Transforms/IPO.h @@ -32,6 +35,7 @@ include/llvm-c/lto.h include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h include/llvm/ADT/APSInt.h +include/llvm/ADT/ArrayRef.h include/llvm/ADT/BitVector.h include/llvm/ADT/DAGDeltaAlgorithm.h include/llvm/ADT/DeltaAlgorithm.h @@ -46,7 +50,10 @@ include/llvm/ADT/ImmutableIntervalMap.h include/llvm/ADT/ImmutableList.h include/llvm/ADT/ImmutableMap.h include/llvm/ADT/ImmutableSet.h +include/llvm/ADT/InMemoryStruct.h include/llvm/ADT/IndexedMap.h +include/llvm/ADT/IntEqClasses.h +include/llvm/ADT/IntervalMap.h include/llvm/ADT/IntrusiveRefCntPtr.h include/llvm/ADT/NullablePtr.h include/llvm/ADT/Optional.h @@ -89,9 +96,11 @@ include/llvm/Analysis/CaptureTracking.h include/llvm/Analysis/CodeMetrics.h include/llvm/Analysis/ConstantFolding.h include/llvm/Analysis/ConstantsScanner.h +include/llvm/Analysis/DIBuilder.h include/llvm/Analysis/DOTGraphTraitsPass.h include/llvm/Analysis/DebugInfo.h include/llvm/Analysis/DomPrinter.h +include/llvm/Analysis/DominanceFrontier.h include/llvm/Analysis/DominatorInternals.h include/llvm/Analysis/Dominators.h include/llvm/Analysis/FindUsedTypes.h @@ -105,7 +114,6 @@ include/llvm/Analysis/LazyValueInfo.h include/llvm/Analysis/LibCallAliasAnalysis.h include/llvm/Analysis/LibCallSemantics.h include/llvm/Analysis/Lint.h -include/llvm/Analysis/LiveValues.h include/llvm/Analysis/Loads.h include/llvm/Analysis/LoopDependenceAnalysis.h include/llvm/Analysis/LoopInfo.h @@ -114,13 +122,15 @@ include/llvm/Analysis/MemoryBuiltins.h include/llvm/Analysis/MemoryDependenceAnalysis.h include/llvm/Analysis/PHITransAddr.h include/llvm/Analysis/Passes.h -include/llvm/Analysis/PointerTracking.h +include/llvm/Analysis/PathNumbering.h +include/llvm/Analysis/PathProfileInfo.h include/llvm/Analysis/PostDominators.h include/llvm/Analysis/ProfileInfo.h include/llvm/Analysis/ProfileInfoLoader.h include/llvm/Analysis/ProfileInfoTypes.h include/llvm/Analysis/RegionInfo.h include/llvm/Analysis/RegionIterator.h +include/llvm/Analysis/RegionPass.h include/llvm/Analysis/RegionPrinter.h include/llvm/Analysis/ScalarEvolution.h include/llvm/Analysis/ScalarEvolutionExpander.h @@ -144,7 +154,6 @@ include/llvm/Bitcode/BitstreamReader.h include/llvm/Bitcode/BitstreamWriter.h include/llvm/Bitcode/LLVMBitCodes.h include/llvm/Bitcode/ReaderWriter.h -include/llvm/CMakeLists.txt include/llvm/CallGraphSCCPass.h include/llvm/CallingConv.h include/llvm/CodeGen/Analysis.h @@ -152,6 +161,7 @@ include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/BinaryObject.h include/llvm/CodeGen/CalcSpillWeights.h include/llvm/CodeGen/CallingConvLower.h +include/llvm/CodeGen/EdgeBundles.h include/llvm/CodeGen/FastISel.h include/llvm/CodeGen/FunctionLoweringInfo.h include/llvm/CodeGen/GCMetadata.h @@ -183,6 +193,7 @@ 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 include/llvm/CodeGen/MachineModuleInfo.h include/llvm/CodeGen/MachineModuleInfoImpls.h @@ -192,10 +203,16 @@ include/llvm/CodeGen/MachineRegisterInfo.h include/llvm/CodeGen/MachineRelocation.h include/llvm/CodeGen/MachineSSAUpdater.h include/llvm/CodeGen/ObjectCodeEmitter.h +include/llvm/CodeGen/PBQP/Graph.h +include/llvm/CodeGen/PBQP/HeuristicBase.h +include/llvm/CodeGen/PBQP/HeuristicSolver.h +include/llvm/CodeGen/PBQP/Heuristics/Briggs.h +include/llvm/CodeGen/PBQP/Math.h +include/llvm/CodeGen/PBQP/Solution.h include/llvm/CodeGen/Passes.h -include/llvm/CodeGen/PostRAHazardRecognizer.h include/llvm/CodeGen/ProcessImplicitDefs.h 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 @@ -203,6 +220,7 @@ include/llvm/CodeGen/RuntimeLibcalls.h include/llvm/CodeGen/ScheduleDAG.h include/llvm/CodeGen/ScheduleHazardRecognizer.h include/llvm/CodeGen/SchedulerRegistry.h +include/llvm/CodeGen/ScoreboardHazardRecognizer.h include/llvm/CodeGen/SelectionDAG.h include/llvm/CodeGen/SelectionDAGISel.h include/llvm/CodeGen/SelectionDAGNodes.h @@ -224,9 +242,7 @@ include/llvm/Config/AsmPrinters.def include/llvm/Config/Disassemblers.def include/llvm/Config/Targets.def include/llvm/Config/config.h -include/llvm/Config/config.h.cmake include/llvm/Config/llvm-config.h -include/llvm/Config/llvm-config.h.cmake include/llvm/Constant.h include/llvm/Constants.h include/llvm/DerivedTypes.h @@ -236,11 +252,13 @@ include/llvm/ExecutionEngine/Interpreter.h include/llvm/ExecutionEngine/JIT.h include/llvm/ExecutionEngine/JITEventListener.h include/llvm/ExecutionEngine/JITMemoryManager.h +include/llvm/ExecutionEngine/MCJIT.h include/llvm/Function.h include/llvm/GVMaterializer.h include/llvm/GlobalAlias.h include/llvm/GlobalValue.h include/llvm/GlobalVariable.h +include/llvm/InitializePasses.h include/llvm/InlineAsm.h include/llvm/InstrTypes.h include/llvm/Instruction.def @@ -253,6 +271,7 @@ include/llvm/Intrinsics.td include/llvm/IntrinsicsARM.td include/llvm/IntrinsicsAlpha.td include/llvm/IntrinsicsCellSPU.td +include/llvm/IntrinsicsPTX.td include/llvm/IntrinsicsPowerPC.td include/llvm/IntrinsicsX86.td include/llvm/IntrinsicsXCore.td @@ -261,7 +280,6 @@ include/llvm/LinkAllPasses.h include/llvm/LinkAllVMCore.h include/llvm/Linker.h include/llvm/MC/EDInstInfo.h -include/llvm/MC/ELFObjectWriter.h include/llvm/MC/MCAsmInfo.h include/llvm/MC/MCAsmInfoCOFF.h include/llvm/MC/MCAsmInfoDarwin.h @@ -272,13 +290,16 @@ include/llvm/MC/MCContext.h include/llvm/MC/MCDirectives.h include/llvm/MC/MCDisassembler.h include/llvm/MC/MCDwarf.h +include/llvm/MC/MCELFObjectWriter.h include/llvm/MC/MCELFSymbolFlags.h include/llvm/MC/MCExpr.h include/llvm/MC/MCFixup.h +include/llvm/MC/MCFixupKindInfo.h include/llvm/MC/MCInst.h include/llvm/MC/MCInstPrinter.h include/llvm/MC/MCLabel.h include/llvm/MC/MCMachOSymbolFlags.h +include/llvm/MC/MCMachObjectWriter.h include/llvm/MC/MCObjectStreamer.h include/llvm/MC/MCObjectWriter.h include/llvm/MC/MCParser/AsmCond.h @@ -294,10 +315,12 @@ include/llvm/MC/MCSectionMachO.h include/llvm/MC/MCStreamer.h include/llvm/MC/MCSymbol.h include/llvm/MC/MCValue.h -include/llvm/MC/MachObjectWriter.h include/llvm/MC/SectionKind.h include/llvm/Metadata.h include/llvm/Module.h +include/llvm/Object/MachOFormat.h +include/llvm/Object/MachOObject.h +include/llvm/Object/ObjectFile.h include/llvm/OperandTraits.h include/llvm/Operator.h include/llvm/Pass.h @@ -306,8 +329,10 @@ include/llvm/PassManager.h include/llvm/PassManagers.h include/llvm/PassRegistry.h include/llvm/PassSupport.h +include/llvm/Support/AIXDataTypesFix.h include/llvm/Support/AlignOf.h include/llvm/Support/Allocator.h +include/llvm/Support/Atomic.h include/llvm/Support/CFG.h include/llvm/Support/COFF.h include/llvm/Support/CallSite.h @@ -319,95 +344,99 @@ include/llvm/Support/ConstantRange.h include/llvm/Support/CrashRecoveryContext.h include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataFlow.h +include/llvm/Support/DataTypes.h include/llvm/Support/Debug.h include/llvm/Support/DebugLoc.h +include/llvm/Support/Disassembler.h include/llvm/Support/Dwarf.h -include/llvm/Support/DynamicLinker.h +include/llvm/Support/DynamicLibrary.h include/llvm/Support/ELF.h +include/llvm/Support/Endian.h +include/llvm/Support/Errno.h include/llvm/Support/ErrorHandling.h +include/llvm/Support/FEnv.h +include/llvm/Support/FileSystem.h include/llvm/Support/FileUtilities.h include/llvm/Support/Format.h include/llvm/Support/FormattedStream.h include/llvm/Support/GetElementPtrTypeIterator.h include/llvm/Support/GraphWriter.h +include/llvm/Support/Host.h include/llvm/Support/IRBuilder.h include/llvm/Support/IRReader.h +include/llvm/Support/IncludeFile.h include/llvm/Support/InstIterator.h include/llvm/Support/InstVisitor.h +include/llvm/Support/LICENSE.TXT include/llvm/Support/LeakDetector.h include/llvm/Support/MachO.h include/llvm/Support/ManagedStatic.h include/llvm/Support/MathExtras.h +include/llvm/Support/Memory.h include/llvm/Support/MemoryBuffer.h include/llvm/Support/MemoryObject.h +include/llvm/Support/Mutex.h include/llvm/Support/MutexGuard.h 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 include/llvm/Support/PredIteratorCache.h include/llvm/Support/PrettyStackTrace.h +include/llvm/Support/Process.h +include/llvm/Support/Program.h +include/llvm/Support/RWMutex.h include/llvm/Support/Recycler.h include/llvm/Support/RecyclingAllocator.h include/llvm/Support/Regex.h include/llvm/Support/Registry.h include/llvm/Support/RegistryParser.h include/llvm/Support/SMLoc.h +include/llvm/Support/Signals.h +include/llvm/Support/Solaris.h include/llvm/Support/SourceMgr.h -include/llvm/Support/StableBasicBlockNumbering.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/ThreadLocal.h +include/llvm/Support/Threading.h +include/llvm/Support/TimeValue.h include/llvm/Support/Timer.h +include/llvm/Support/ToolOutputFile.h include/llvm/Support/TypeBuilder.h +include/llvm/Support/Valgrind.h include/llvm/Support/ValueHandle.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/System/AIXDataTypesFix.h -include/llvm/System/Alarm.h -include/llvm/System/Atomic.h -include/llvm/System/DataTypes.h -include/llvm/System/DataTypes.h.cmake -include/llvm/System/Disassembler.h -include/llvm/System/DynamicLibrary.h -include/llvm/System/Errno.h -include/llvm/System/Host.h -include/llvm/System/IncludeFile.h -include/llvm/System/LICENSE.TXT -include/llvm/System/Memory.h -include/llvm/System/Mutex.h -include/llvm/System/Path.h -include/llvm/System/Process.h -include/llvm/System/Program.h -include/llvm/System/RWMutex.h -include/llvm/System/Signals.h -include/llvm/System/Solaris.h -include/llvm/System/ThreadLocal.h -include/llvm/System/Threading.h -include/llvm/System/TimeValue.h -include/llvm/System/Valgrind.h 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/TargetFrameInfo.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 include/llvm/Target/TargetLowering.h include/llvm/Target/TargetLoweringObjectFile.h include/llvm/Target/TargetMachine.h @@ -423,7 +452,6 @@ include/llvm/Target/TargetSubtarget.h include/llvm/Transforms/IPO.h include/llvm/Transforms/IPO/InlinerPass.h include/llvm/Transforms/Instrumentation.h -include/llvm/Transforms/RSProfiling.h include/llvm/Transforms/Scalar.h include/llvm/Transforms/Utils/AddrModeMatcher.h include/llvm/Transforms/Utils/BasicBlockUtils.h @@ -444,7 +472,8 @@ include/llvm/Use.h include/llvm/User.h include/llvm/Value.h include/llvm/ValueSymbolTable.h -lib/libBugpointPasses.so +lib/BugpointPasses.so +lib/LLVMHello.so lib/libCompilerDriver.a lib/libEnhancedDisassembly.a lib/libEnhancedDisassembly.so @@ -453,7 +482,6 @@ lib/libLLVMARMAsmPrinter.a lib/libLLVMARMCodeGen.a lib/libLLVMARMDisassembler.a lib/libLLVMARMInfo.a -lib/libLLVMAlphaAsmPrinter.a lib/libLLVMAlphaCodeGen.a lib/libLLVMAlphaInfo.a lib/libLLVMAnalysis.a @@ -462,12 +490,10 @@ lib/libLLVMAsmParser.a lib/libLLVMAsmPrinter.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a -lib/libLLVMBlackfinAsmPrinter.a lib/libLLVMBlackfinCodeGen.a lib/libLLVMBlackfinInfo.a lib/libLLVMCBackend.a lib/libLLVMCBackendInfo.a -lib/libLLVMCellSPUAsmPrinter.a lib/libLLVMCellSPUCodeGen.a lib/libLLVMCellSPUInfo.a lib/libLLVMCodeGen.a @@ -475,38 +501,36 @@ lib/libLLVMCore.a lib/libLLVMCppBackend.a lib/libLLVMCppBackendInfo.a lib/libLLVMExecutionEngine.a -lib/libLLVMHello.so lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a lib/libLLVMInterpreter.a lib/libLLVMJIT.a lib/libLLVMLinker.a +lib/libLLVMMBlazeAsmParser.a lib/libLLVMMBlazeAsmPrinter.a lib/libLLVMMBlazeCodeGen.a +lib/libLLVMMBlazeDisassembler.a lib/libLLVMMBlazeInfo.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a +lib/libLLVMMCJIT.a lib/libLLVMMCParser.a lib/libLLVMMSP430AsmPrinter.a lib/libLLVMMSP430CodeGen.a lib/libLLVMMSP430Info.a -lib/libLLVMMipsAsmPrinter.a lib/libLLVMMipsCodeGen.a lib/libLLVMMipsInfo.a -lib/libLLVMPIC16AsmPrinter.a -lib/libLLVMPIC16CodeGen.a -lib/libLLVMPIC16Info.a +lib/libLLVMObject.a +lib/libLLVMPTXCodeGen.a +lib/libLLVMPTXInfo.a lib/libLLVMPowerPCAsmPrinter.a lib/libLLVMPowerPCCodeGen.a lib/libLLVMPowerPCInfo.a lib/libLLVMScalarOpts.a lib/libLLVMSelectionDAG.a -lib/libLLVMSparcAsmPrinter.a lib/libLLVMSparcCodeGen.a lib/libLLVMSparcInfo.a lib/libLLVMSupport.a -lib/libLLVMSystem.a -lib/libLLVMSystemZAsmPrinter.a lib/libLLVMSystemZCodeGen.a lib/libLLVMSystemZInfo.a lib/libLLVMTarget.a @@ -516,16 +540,14 @@ lib/libLLVMX86AsmPrinter.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a -lib/libLLVMXCoreAsmPrinter.a +lib/libLLVMX86Utils.a lib/libLLVMXCoreCodeGen.a lib/libLLVMXCoreInfo.a lib/libLLVMipa.a lib/libLLVMipo.a -lib/libLLVMpic16passes.a lib/libLTO.a lib/libLTO.so -lib/libUnitTestMain.a -lib/libprofile_rt.so +lib/profile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz %%PORTDOCS%%%%DOCSDIR%%/html/AliasAnalysis.html %%PORTDOCS%%%%DOCSDIR%%/html/BitCodeFormat.html @@ -614,6 +636,7 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl5.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl6.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl7.html +%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl8.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/index.html %%PORTDOCS%%%%DOCSDIR%%/ps/FileCheck.ps %%PORTDOCS%%%%DOCSDIR%%/ps/bugpoint.ps @@ -641,13 +664,15 @@ lib/libprofile_rt.so @dirrm include/llvm/Transforms/IPO @dirrm include/llvm/Transforms @dirrm include/llvm/Target -@dirrm include/llvm/System @dirrm include/llvm/Support +@dirrm include/llvm/Object @dirrm include/llvm/MC/MCParser @dirrm include/llvm/MC @dirrm include/llvm/ExecutionEngine @dirrm include/llvm/Config @dirrm include/llvm/CompilerDriver +@dirrm include/llvm/CodeGen/PBQP/Heuristics +@dirrm include/llvm/CodeGen/PBQP @dirrm include/llvm/CodeGen @dirrm include/llvm/Bitcode @dirrm include/llvm/Assembly diff --git a/lang/clang/Makefile b/lang/clang/Makefile index 50f49b6ab3b5..c38ddd9bf5b1 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -6,8 +6,7 @@ # PORTNAME= clang -PORTVERSION= 2.8 -PORTREVISION= 2 +PORTVERSION= 2.9 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ EXTRACT_SUFX= .tgz @@ -57,9 +56,7 @@ CONFIGURE_ARGS+= --enable-optimized .endif .if defined(NOPORTDOCS) -DOCSRCDIR= -.else -DOCSRCDIR= docs +CONFIGURE_ARGS+= --disable-docs .endif MAN1= clang.1 @@ -80,8 +77,6 @@ post-patch: ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in - ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ - ${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile ${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \ -e 's|%%DATADIR%%|${DATADIR}|' \ ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ @@ -91,7 +86,8 @@ post-patch: ${WRKSRC}/tools/clang/tools/scan-view/scan-view pre-build: - ${LN} -s ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/ + ${LN} -sf ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/ + cd ${WRKSRC}/utils/unittest && ${GMAKE} .if defined(NOPORTDOCS) post-build: @@ -131,7 +127,6 @@ regression-test: ${BUILD_COOKIE} PLIST_FILE_LIST= bin/ccc-analyzer \ bin/c++-analyzer \ - bin/c-index-test \ bin/clang \ bin/clang++ \ bin/scan-build \ diff --git a/lang/clang/distinfo b/lang/clang/distinfo index cc5227dab937..2702663a0017 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,6 +1,4 @@ -MD5 (clang-2.8.tgz) = 10e14c901fc3728eecbd5b829e011b59 -SHA256 (clang-2.8.tgz) = ed83481553e6a39a8a2953e89630d881d87833506f096a90f18d93ec2bdee0c1 -SIZE (clang-2.8.tgz) = 5666777 -MD5 (llvm-2.8.tgz) = 220d361b4d17051ff4bb21c64abe05ba -SHA256 (llvm-2.8.tgz) = 25addb742f1c6cc12877ed0ee924dda962d848368ee095be8e48342ae613d43b -SIZE (llvm-2.8.tgz) = 9112527 +SHA256 (clang-2.9.tgz) = 70c41f3f782a71cbaa7bc8d6ea29fce4263ad3e8558dfecc6dc11cdef17909df +SIZE (clang-2.9.tgz) = 6243772 +SHA256 (llvm-2.9.tgz) = 661236cfa17428b48cfa9cbb9909f7569c64b8ecd219fd91dbc00e3b557b3779 +SIZE (llvm-2.9.tgz) = 9574781 diff --git a/lang/clang/files/patch-Makefile b/lang/clang/files/patch-Makefile deleted file mode 100644 index 2c887b01275d..000000000000 --- a/lang/clang/files/patch-Makefile +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -31,7 +31,7 @@ - OPTIONAL_DIRS := - else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ -- tools/llvm-config tools runtime docs unittests -+ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests - OPTIONAL_DIRS := projects bindings - endif - diff --git a/lang/clang/files/patch-tools_clang_Makefile b/lang/clang/files/patch-tools_clang_Makefile deleted file mode 100644 index 331b1a29c15e..000000000000 --- a/lang/clang/files/patch-tools_clang_Makefile +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- tools/clang/Makefile.orig -+++ tools/clang/Makefile -@@ -14,7 +14,7 @@ - - IS_TOP_LEVEL := 1 - CLANG_LEVEL := . --DIRS := include lib tools runtime docs -+DIRS := include lib tools runtime %%DOCSRCDIR%% - - PARALLEL_DIRS := - diff --git a/lang/clang/pkg-plist b/lang/clang/pkg-plist index dfc49ae6dd9e..2af2781663cc 100644 --- a/lang/clang/pkg-plist +++ b/lang/clang/pkg-plist @@ -1,5 +1,4 @@ bin/c++-analyzer -bin/c-index-test bin/ccc-analyzer bin/clang bin/clang++ @@ -12,6 +11,7 @@ include/clang/AST/ASTConsumer.h include/clang/AST/ASTContext.h include/clang/AST/ASTDiagnostic.h include/clang/AST/ASTImporter.h +include/clang/AST/ASTMutationListener.h include/clang/AST/ASTVector.h include/clang/AST/Attr.h include/clang/AST/AttrImpl.inc @@ -32,11 +32,12 @@ include/clang/AST/DeclTemplate.h include/clang/AST/DeclVisitor.h include/clang/AST/DeclarationName.h include/clang/AST/DependentDiagnostic.h +include/clang/AST/EvaluatedExprVisitor.h include/clang/AST/Expr.h include/clang/AST/ExprCXX.h include/clang/AST/ExprObjC.h include/clang/AST/ExternalASTSource.h -include/clang/AST/FullExpr.h +include/clang/AST/Mangle.h include/clang/AST/NestedNameSpecifier.h include/clang/AST/OperationKinds.h include/clang/AST/ParentMap.h @@ -44,10 +45,6 @@ include/clang/AST/PrettyPrinter.h include/clang/AST/RecordLayout.h include/clang/AST/RecursiveASTVisitor.h include/clang/AST/Redeclarable.h -include/clang/AST/Release/AttrImpl.inc.tmp -include/clang/AST/Release/Attrs.inc.tmp -include/clang/AST/Release/DeclNodes.inc.tmp -include/clang/AST/Release/StmtNodes.inc.tmp include/clang/AST/Stmt.h include/clang/AST/StmtCXX.h include/clang/AST/StmtGraphTraits.h @@ -59,7 +56,6 @@ include/clang/AST/TemplateBase.h include/clang/AST/TemplateName.h include/clang/AST/Type.h include/clang/AST/TypeLoc.h -include/clang/AST/TypeLocBuilder.h include/clang/AST/TypeLocNodes.def include/clang/AST/TypeLocVisitor.h include/clang/AST/TypeNodes.def @@ -67,15 +63,18 @@ include/clang/AST/TypeOrdering.h include/clang/AST/TypeVisitor.h include/clang/AST/UnresolvedSet.h include/clang/AST/UsuallyTinyPtrVector.h +include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h include/clang/Analysis/Analyses/FormatString.h include/clang/Analysis/Analyses/LiveVariables.h include/clang/Analysis/Analyses/PseudoConstantAnalysis.h include/clang/Analysis/Analyses/ReachableCode.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 include/clang/Analysis/CFGStmtMap.h +include/clang/Analysis/DomainSpecific/CocoaConventions.h include/clang/Analysis/FlowSensitive/DataflowSolver.h include/clang/Analysis/FlowSensitive/DataflowValues.h include/clang/Analysis/ProgramPoint.h @@ -85,6 +84,7 @@ 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/AttrKinds.h include/clang/Basic/AttrList.inc include/clang/Basic/Builtins.def @@ -100,31 +100,23 @@ 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/DiagnosticLexKinds.inc include/clang/Basic/DiagnosticParseKinds.inc include/clang/Basic/DiagnosticSemaKinds.inc include/clang/Basic/FileManager.h +include/clang/Basic/FileSystemOptions.h +include/clang/Basic/FileSystemStatCache.h include/clang/Basic/IdentifierTable.h include/clang/Basic/LangOptions.h include/clang/Basic/Linkage.h include/clang/Basic/MacroBuilder.h include/clang/Basic/OnDiskHashTable.h +include/clang/Basic/OpenCLExtensions.def include/clang/Basic/OperatorKinds.def include/clang/Basic/OperatorKinds.h include/clang/Basic/PartialDiagnostic.h include/clang/Basic/PrettyStackTrace.h -include/clang/Basic/Release/AttrList.inc.tmp -include/clang/Basic/Release/DiagnosticASTKinds.inc.tmp -include/clang/Basic/Release/DiagnosticAnalysisKinds.inc.tmp -include/clang/Basic/Release/DiagnosticCommonKinds.inc.tmp -include/clang/Basic/Release/DiagnosticDriverKinds.inc.tmp -include/clang/Basic/Release/DiagnosticFrontendKinds.inc.tmp -include/clang/Basic/Release/DiagnosticGroups.inc.tmp -include/clang/Basic/Release/DiagnosticLexKinds.inc.tmp -include/clang/Basic/Release/DiagnosticParseKinds.inc.tmp -include/clang/Basic/Release/DiagnosticSemaKinds.inc.tmp -include/clang/Basic/Release/Version.inc.tmp -include/clang/Basic/Release/arm_neon.inc.tmp include/clang/Basic/SourceLocation.h include/clang/Basic/SourceManager.h include/clang/Basic/SourceManagerInternals.h @@ -138,44 +130,8 @@ include/clang/Basic/TokenKinds.h include/clang/Basic/TypeTraits.h include/clang/Basic/Version.h include/clang/Basic/Version.inc +include/clang/Basic/Visibility.h include/clang/Basic/arm_neon.inc -include/clang/Checker/AnalysisConsumer.h -include/clang/Checker/BugReporter/BugReporter.h -include/clang/Checker/BugReporter/BugType.h -include/clang/Checker/BugReporter/PathDiagnostic.h -include/clang/Checker/Checkers/DereferenceChecker.h -include/clang/Checker/Checkers/LocalCheckers.h -include/clang/Checker/DomainSpecific/CocoaConventions.h -include/clang/Checker/FrontendActions.h -include/clang/Checker/ManagerRegistry.h -include/clang/Checker/PathDiagnosticClients.h -include/clang/Checker/PathSensitive/AnalysisManager.h -include/clang/Checker/PathSensitive/BasicValueFactory.h -include/clang/Checker/PathSensitive/Checker.h -include/clang/Checker/PathSensitive/CheckerHelpers.h -include/clang/Checker/PathSensitive/CheckerVisitor.def -include/clang/Checker/PathSensitive/CheckerVisitor.h -include/clang/Checker/PathSensitive/ConstraintManager.h -include/clang/Checker/PathSensitive/Environment.h -include/clang/Checker/PathSensitive/ExplodedGraph.h -include/clang/Checker/PathSensitive/GRAuditor.h -include/clang/Checker/PathSensitive/GRBlockCounter.h -include/clang/Checker/PathSensitive/GRCoreEngine.h -include/clang/Checker/PathSensitive/GRExprEngine.h -include/clang/Checker/PathSensitive/GRExprEngineBuilders.h -include/clang/Checker/PathSensitive/GRSimpleAPICheck.h -include/clang/Checker/PathSensitive/GRState.h -include/clang/Checker/PathSensitive/GRStateTrait.h -include/clang/Checker/PathSensitive/GRSubEngine.h -include/clang/Checker/PathSensitive/GRTransferFuncs.h -include/clang/Checker/PathSensitive/GRWorkList.h -include/clang/Checker/PathSensitive/MemRegion.h -include/clang/Checker/PathSensitive/SVals.h -include/clang/Checker/PathSensitive/SValuator.h -include/clang/Checker/PathSensitive/Store.h -include/clang/Checker/PathSensitive/SummaryManager.h -include/clang/Checker/PathSensitive/SymbolManager.h -include/clang/Checker/PathSensitive/ValueManager.h include/clang/CodeGen/BackendUtil.h include/clang/CodeGen/CodeGenAction.h include/clang/CodeGen/ModuleBuilder.h @@ -197,9 +153,6 @@ include/clang/Driver/Option.h include/clang/Driver/Options.h include/clang/Driver/Options.inc include/clang/Driver/Phases.h -include/clang/Driver/Release/CC1AsOptions.inc.tmp -include/clang/Driver/Release/CC1Options.inc.tmp -include/clang/Driver/Release/Options.inc.tmp include/clang/Driver/Tool.h include/clang/Driver/ToolChain.h include/clang/Driver/Types.def @@ -214,12 +167,8 @@ include/clang/Frontend/CodeGenOptions.h include/clang/Frontend/CommandLineSourceLoc.h include/clang/Frontend/CompilerInstance.h include/clang/Frontend/CompilerInvocation.h -include/clang/Frontend/DeclContextXML.def -include/clang/Frontend/DeclXML.def include/clang/Frontend/DependencyOutputOptions.h include/clang/Frontend/DiagnosticOptions.h -include/clang/Frontend/DocumentXML.def -include/clang/Frontend/DocumentXML.h include/clang/Frontend/FrontendAction.h include/clang/Frontend/FrontendActions.h include/clang/Frontend/FrontendDiagnostic.h @@ -228,12 +177,11 @@ include/clang/Frontend/FrontendPluginRegistry.h include/clang/Frontend/HeaderSearchOptions.h include/clang/Frontend/LangStandard.h include/clang/Frontend/LangStandards.def +include/clang/Frontend/MultiplexConsumer.h include/clang/Frontend/PreprocessorOptions.h include/clang/Frontend/PreprocessorOutputOptions.h -include/clang/Frontend/StmtXML.def include/clang/Frontend/TextDiagnosticBuffer.h include/clang/Frontend/TextDiagnosticPrinter.h -include/clang/Frontend/TypeXML.def include/clang/Frontend/Utils.h include/clang/Frontend/VerifyDiagnosticsClient.h include/clang/FrontendTool/Utils.h @@ -250,6 +198,7 @@ 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 include/clang/Lex/ExternalPreprocessorSource.h @@ -310,28 +259,60 @@ include/clang/Sema/TemplateDeduction.h 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/Release/AttrPCHRead.inc.tmp -include/clang/Serialization/Release/AttrPCHWrite.inc.tmp -lib/clang/2.8/include/arm_neon.h -lib/clang/2.8/include/emmintrin.h -lib/clang/2.8/include/immintrin.h -lib/clang/2.8/include/mm_malloc.h -lib/clang/2.8/include/mmintrin.h -lib/clang/2.8/include/nmmintrin.h -lib/clang/2.8/include/pmmintrin.h -lib/clang/2.8/include/smmintrin.h -lib/clang/2.8/include/tmmintrin.h -lib/clang/2.8/include/wmmintrin.h -lib/clang/2.8/include/xmmintrin.h +include/clang/StaticAnalyzer/Checkers/DereferenceChecker.h +include/clang/StaticAnalyzer/Checkers/LocalCheckers.h +include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.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/PathSensitive/AnalysisManager.h +include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h +include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h +include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h +include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h +include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h +include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h +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/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/SValBuilder.h +include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +include/clang/StaticAnalyzer/Core/PathSensitive/Store.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/CheckerRegistration.h +include/clang/StaticAnalyzer/Frontend/FrontendActions.h +lib/clang/2.9/include/arm_neon.h +lib/clang/2.9/include/emmintrin.h +lib/clang/2.9/include/immintrin.h +lib/clang/2.9/include/mm_malloc.h +lib/clang/2.9/include/mmintrin.h +lib/clang/2.9/include/nmmintrin.h +lib/clang/2.9/include/pmmintrin.h +lib/clang/2.9/include/smmintrin.h +lib/clang/2.9/include/tmmintrin.h +lib/clang/2.9/include/wmmintrin.h +lib/clang/2.9/include/xmmintrin.h lib/libclang.a lib/libclang.so lib/libclangAST.a lib/libclangAnalysis.a lib/libclangBasic.a -lib/libclangChecker.a lib/libclangCodeGen.a lib/libclangDriver.a lib/libclangFrontend.a @@ -342,6 +323,9 @@ lib/libclangParse.a lib/libclangRewrite.a lib/libclangSema.a lib/libclangSerialization.a +lib/libclangStaticAnalyzerCheckers.a +lib/libclangStaticAnalyzerCore.a +lib/libclangStaticAnalyzerFrontend.a %%DATADIR%%/scanview.css %%DATADIR%%/sorttable.js %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz @@ -364,10 +348,15 @@ lib/libclangSerialization.a %%PYTHON_SITELIBDIR%%/Resources/bugcatcher.ico %%PYTHON_SITELIBDIR%%/ScanView.py %%PYTHON_SITELIBDIR%%/startfile.py -@dirrm lib/clang/2.8/include -@dirrm lib/clang/2.8 +@dirrm lib/clang/2.9/include +@dirrm lib/clang/2.9 @dirrm lib/clang -@dirrm include/clang/Serialization/Release +@dirrm include/clang/StaticAnalyzer/Frontend +@dirrm include/clang/StaticAnalyzer/Core/PathSensitive +@dirrm include/clang/StaticAnalyzer/Core/BugReporter +@dirrm include/clang/StaticAnalyzer/Core +@dirrm include/clang/StaticAnalyzer/Checkers +@dirrm include/clang/StaticAnalyzer @dirrm include/clang/Serialization @dirrm include/clang/Sema @dirrm include/clang/Rewrite @@ -376,22 +365,15 @@ lib/libclangSerialization.a @dirrm include/clang/Index @dirrm include/clang/FrontendTool @dirrm include/clang/Frontend -@dirrm include/clang/Driver/Release @dirrm include/clang/Driver @dirrm include/clang/CodeGen -@dirrm include/clang/Checker/PathSensitive -@dirrm include/clang/Checker/DomainSpecific -@dirrm include/clang/Checker/Checkers -@dirrm include/clang/Checker/BugReporter -@dirrm include/clang/Checker -@dirrm include/clang/Basic/Release @dirrm include/clang/Basic @dirrm include/clang/Analysis/Visitors @dirrm include/clang/Analysis/Support @dirrm include/clang/Analysis/FlowSensitive +@dirrm include/clang/Analysis/DomainSpecific @dirrm include/clang/Analysis/Analyses @dirrm include/clang/Analysis -@dirrm include/clang/AST/Release @dirrm include/clang/AST @dirrm include/clang-c @dirrm include/clang diff --git a/lang/llvm-gcc4/Makefile b/lang/llvm-gcc4/Makefile index bf0ff00e3f09..8affd42d48e9 100644 --- a/lang/llvm-gcc4/Makefile +++ b/lang/llvm-gcc4/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gcc4 -PORTVERSION= 2.8 +PORTVERSION= 2.9 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= llvm- diff --git a/lang/llvm-gcc4/distinfo b/lang/llvm-gcc4/distinfo index 5e4c0ca0c1f5..9312812cf3a8 100644 --- a/lang/llvm-gcc4/distinfo +++ b/lang/llvm-gcc4/distinfo @@ -1,3 +1,2 @@ -MD5 (llvm-gcc-4.2-2.8.source.tgz) = e5b0569f5f018086c62201d87e161154 -SHA256 (llvm-gcc-4.2-2.8.source.tgz) = 04785a0031c1aa1e3a89926ac6a069c96276074ea711958306b8bf96d9d49e4d -SIZE (llvm-gcc-4.2-2.8.source.tgz) = 55748118 +SHA256 (llvm-gcc-4.2-2.9.source.tgz) = 2ad04e0bbedb9781aa068e216d455b92ba5e577db6ae24aef9ac449cb2eb7f54 +SIZE (llvm-gcc-4.2-2.9.source.tgz) = 53637392 diff --git a/lang/llvm-gcc4/files/patch-.._gcc_common.opt b/lang/llvm-gcc4/files/patch-.._gcc_common.opt new file mode 100644 index 000000000000..22cdc80ddb4f --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_common.opt @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- ../gcc/common.opt.orig ++++ ../gcc/common.opt +@@ -730,8 +730,8 @@ + + ; APPLE LOCAL begin optimization pragmas 3124235/3420242 + fmath-errno +-Common Report Var(flag_errno_math) Init(1) PerFunc +-Set errno after built-in math functions ++Common Report Var(flag_errno_math) Init(0) PerFunc ++FreeBSD does not set errno after built-in math functions + ; APPLE LOCAL end optimization pragmas 3124235/3420242 + + fmem-report diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config.gcc b/lang/llvm-gcc4/files/patch-.._gcc_config.gcc new file mode 100644 index 000000000000..092883adc7a2 --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_config.gcc @@ -0,0 +1,31 @@ +--- ../gcc/config.gcc.orig 2011-02-23 22:07:15.000000000 +0000 ++++ ../gcc/config.gcc 2011-02-24 10:11:03.000000000 +0000 +@@ -1131,9 +1131,11 @@ + ;; + i[34567]86-*-freebsd*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h" ++ tmake_file="$(tmake_file) i386/t-crtstuff" + ;; + x86_64-*-freebsd*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h" ++ tmake_file="$(tmake_file) i386/t-crtstuff" + ;; + i[34567]86-*-netbsdelf*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" +@@ -2629,6 +2631,16 @@ + # A Cirrus ARM variant. + with_cpu="ep9312" + ;; ++ i386-*-freebsd*) ++ if test $fbsd_major -ge 6; then ++ arch=i486 ++ else ++ arch=i386 ++ fi ++ cpu=generic ++ arch_without_sse2=yes ++ arch_without_64bit=yes ++ ;; + # APPLE LOCAL begin mainline 2006-04-19 4434601 + i386-*-*) + with_cpu=i386 diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c b/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c new file mode 100644 index 000000000000..28c5e57b8d69 --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c @@ -0,0 +1,11 @@ +--- ../gcc/config/i386/i386.c.orig 2011-02-20 21:45:59.000000000 +0000 ++++ ../gcc/config/i386/i386.c 2011-02-20 21:47:35.000000000 +0000 +@@ -1762,7 +1762,7 @@ + "-mtune=generic instead as appropriate."); + + if (!ix86_arch_string) +- ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386"; ++ ix86_arch_string = TARGET_64BIT ? "x86-64" : "i486"; + /* APPLE LOCAL begin mainline */ + else + ix86_arch_specified = 1; diff --git a/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h b/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h new file mode 100644 index 000000000000..6f8f3dd0a15a --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h @@ -0,0 +1,35 @@ +--- ../gcc/gthr-posix.h 2007/08/14 02:45:23 171825 ++++ ../gcc/gthr-posix.h 2008/04/21 20:40:42 178388 +@@ -152,9 +152,12 @@ + it is passed so we cannot pretend that the interface is active if -pthreads + is not specified. On Solaris 2.5.1, the interface is not exposed at all so + we need to play the usual game with weak symbols. On Solaris 10 and up, a +- working interface is always exposed. */ ++ working interface is always exposed. On FreeBSD 6 and later, libc also ++ exposes a dummy POSIX threads interface, similar to what Solaris 2.6 up ++ to 9 does. FreeBSD >= 700014 even provides a pthread_cancel stub in libc, ++ which means the alternate __gthread_active_p below cannot be used there. */ + +-#if defined(__sun) && defined(__svr4__) ++#if defined(__FreeBSD__) || (defined(__sun) && defined(__svr4__)) + + static volatile int __gthread_active = -1; + +@@ -197,7 +200,7 @@ + return __gthread_active_latest_value != 0; + } + +-#else /* not Solaris */ ++#else /* neither FreeBSD nor Solaris */ + + static inline int + __gthread_active_p (void) +@@ -207,7 +210,7 @@ + return __gthread_active_ptr != 0; + } + +-#endif /* Solaris */ ++#endif /* FreeBSD or Solaris */ + + #else /* not SUPPORTS_WEAK */ + |