Module Name: src Committed By: joerg Date: Mon Jul 4 16:10:40 UTC 2011
Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/bin/clang: Makefile src/external/bsd/llvm/bin/tblgen: Makefile src/external/bsd/llvm/lib: Makefile src/external/bsd/llvm/lib/libLLVMAnalysis: Makefile src/external/bsd/llvm/lib/libLLVMCodeGen: Makefile src/external/bsd/llvm/lib/libLLVMMC: Makefile src/external/bsd/llvm/lib/libLLVMObject: Makefile src/external/bsd/llvm/lib/libLLVMScalarOpts: Makefile src/external/bsd/llvm/lib/libLLVMSupport: Makefile src/external/bsd/llvm/lib/libLLVMTarget: Makefile src/external/bsd/llvm/lib/libLLVMTransformsUtils: Makefile src/external/bsd/llvm/lib/libLLVMX86CodeGen: Makefile src/external/bsd/llvm/lib/libclangSema: Makefile Added Files: src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc: Makefile src/external/bsd/llvm/lib/libclangARCMigrate: Makefile src/tools/llvm-lib/libclangARCMigrate: Makefile Log Message: Update LLVM/Clang to r134374. This brings the xstorerng alias for Via PadLock, a bugfix for the C++ ABI in one edge condition and various compiler improvements. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/bsd/llvm/Makefile.inc cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/bin/clang/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/bin/tblgen/Makefile cvs rdiff -u -r1.5 -r1.6 src/external/bsd/llvm/lib/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/lib/libLLVMMC/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/libLLVMObject/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMSupport/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/libLLVMTarget/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libclangARCMigrate/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/lib/libclangSema/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libclangARCMigrate/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/llvm/Makefile.inc diff -u src/external/bsd/llvm/Makefile.inc:1.11 src/external/bsd/llvm/Makefile.inc:1.12 --- src/external/bsd/llvm/Makefile.inc:1.11 Wed Jun 8 08:48:38 2011 +++ src/external/bsd/llvm/Makefile.inc Mon Jul 4 16:10:38 2011 @@ -1,12 +1,12 @@ -# $NetBSD: Makefile.inc,v 1.11 2011/06/08 08:48:38 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.12 2011/07/04 16:10:38 joerg Exp $ .if !defined(LLVM_TOPLEVEL_MK) LLVM_TOPLEVEL_MK= .include <bsd.own.mk> -LLVM_REVISION= 132736 -CLANG_REVISION= 132736 +LLVM_REVISION= 134374 +CLANG_REVISION= 134374 LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang Index: src/external/bsd/llvm/bin/clang/Makefile diff -u src/external/bsd/llvm/bin/clang/Makefile:1.4 src/external/bsd/llvm/bin/clang/Makefile:1.5 --- src/external/bsd/llvm/bin/clang/Makefile:1.4 Thu May 12 14:56:22 2011 +++ src/external/bsd/llvm/bin/clang/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/05/12 14:56:22 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2011/07/04 16:10:39 joerg Exp $ PROG_CXX= clang NOMAN= yes @@ -18,6 +18,7 @@ CLANG_LIBS+= \ clangFrontendTool \ clangFrontend \ + clangARCMigrate \ clangStaticAnalyzerFrontend \ clangStaticAnalyzerCheckers \ clangStaticAnalyzerCore \ Index: src/external/bsd/llvm/bin/tblgen/Makefile diff -u src/external/bsd/llvm/bin/tblgen/Makefile:1.4 src/external/bsd/llvm/bin/tblgen/Makefile:1.5 --- src/external/bsd/llvm/bin/tblgen/Makefile:1.4 Wed Jun 8 08:48:38 2011 +++ src/external/bsd/llvm/bin/tblgen/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/06/08 08:48:38 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2011/07/04 16:10:39 joerg Exp $ PROG_CXX= llvm-tblgen NOMAN= yes @@ -19,6 +19,7 @@ CodeEmitterGen.cpp \ CodeGenDAGPatterns.cpp \ CodeGenInstruction.cpp \ + CodeGenRegisters.cpp \ CodeGenTarget.cpp \ DAGISelEmitter.cpp \ DAGISelMatcher.cpp \ @@ -27,6 +28,7 @@ DAGISelMatcherOpt.cpp \ DisassemblerEmitter.cpp \ EDEmitter.cpp \ + Error.cpp \ FastISelEmitter.cpp \ FixedLenDecoderEmitter.cpp \ FixedLenDecoderEmitter.h \ Index: src/external/bsd/llvm/lib/Makefile diff -u src/external/bsd/llvm/lib/Makefile:1.5 src/external/bsd/llvm/lib/Makefile:1.6 --- src/external/bsd/llvm/lib/Makefile:1.5 Thu May 12 14:56:23 2011 +++ src/external/bsd/llvm/lib/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2011/05/12 14:56:23 joerg Exp $ +# $NetBSD: Makefile,v 1.6 2011/07/04 16:10:39 joerg Exp $ .include <bsd.own.mk> @@ -49,11 +49,13 @@ libLLVMLinker \ libLLVMMCJIT \ libLLVMObject \ - libLLVMRuntimeDyld + libLLVMRuntimeDyld \ + libLLVMX86MCTargetDesc .endif SUBDIR+= \ libclangAnalysis \ + libclangARCMigrate \ libclangAST \ libclangBasic \ libclangCodeGen \ Index: src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile diff -u src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.4 --- src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile:1.3 Wed Jun 8 08:48:38 2011 +++ src/external/bsd/llvm/lib/libLLVMAnalysis/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/06/08 08:48:38 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2011/07/04 16:10:39 joerg Exp $ LIB= LLVMAnalysis @@ -13,6 +13,7 @@ AliasSetTracker.cpp \ Analysis.cpp \ BasicAliasAnalysis.cpp \ + BlockFrequency.cpp \ BranchProbabilityInfo.cpp \ CFGPrinter.cpp \ CaptureTracking.cpp \ Index: src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile diff -u src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.4 --- src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.3 Wed Jun 8 08:48:39 2011 +++ src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/06/08 08:48:39 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2011/07/04 16:10:39 joerg Exp $ LIB= LLVMCodeGen @@ -40,6 +40,7 @@ LocalStackSlotAllocation.cpp \ LowerSubregs.cpp \ MachineBasicBlock.cpp \ + MachineBranchProbabilityInfo.cpp \ MachineCSE.cpp \ MachineDominators.cpp \ MachineFunction.cpp \ @@ -66,7 +67,6 @@ PeepholeOptimizer.cpp \ ScoreboardHazardRecognizer.cpp \ PostRASchedulerList.cpp \ - PreAllocSplitting.cpp \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoSourceValue.cpp \ @@ -85,7 +85,6 @@ ScheduleDAGPrinter.cpp \ ShadowStackGC.cpp \ ShrinkWrapping.cpp \ - SimpleRegisterCoalescing.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ Spiller.cpp \ Index: src/external/bsd/llvm/lib/libLLVMMC/Makefile diff -u src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.4 --- src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.3 Wed Jun 1 14:13:42 2011 +++ src/external/bsd/llvm/lib/libLLVMMC/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/06/01 14:13:42 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2011/07/04 16:10:39 joerg Exp $ LIB= LLVMMC @@ -35,12 +35,14 @@ MCSectionELF.cpp \ MCSectionMachO.cpp \ MCStreamer.cpp \ + MCSubtargetInfo.cpp \ MCSymbol.cpp \ MCValue.cpp \ MCWin64EH.cpp \ MachObjectWriter.cpp \ WinCOFFStreamer.cpp \ WinCOFFObjectWriter.cpp \ + SubtargetFeature.cpp \ TargetAsmBackend.cpp .if defined(HOSTLIB) Index: src/external/bsd/llvm/lib/libLLVMObject/Makefile diff -u src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.2 src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.3 --- src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.2 Thu May 12 14:56:23 2011 +++ src/external/bsd/llvm/lib/libLLVMObject/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/05/12 14:56:23 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2011/07/04 16:10:39 joerg Exp $ LIB= LLVMObject NOGCCERROR= yes @@ -7,8 +7,10 @@ .PATH: ${LLVM_SRCDIR}/lib/Object -SRCS+= COFFObjectFile.cpp \ +SRCS+= Binary.cpp \ + COFFObjectFile.cpp \ ELFObjectFile.cpp \ + Error.cpp \ MachOObject.cpp \ MachOObjectFile.cpp \ Object.cpp \ Index: src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile diff -u src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.2 src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.3 --- src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.2 Fri Mar 18 23:32:03 2011 +++ src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2011/07/04 16:10:39 joerg Exp $ LIB= LLVMScalarOpts @@ -27,6 +27,7 @@ LoopUnswitch.cpp \ LowerAtomic.cpp \ MemCpyOptimizer.cpp \ + ObjCARC.cpp \ Reassociate.cpp \ Reg2Mem.cpp \ SCCP.cpp \ Index: src/external/bsd/llvm/lib/libLLVMSupport/Makefile diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.1 Sun Feb 6 01:14:01 2011 +++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:01 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/07/04 16:10:39 joerg Exp $ LIB= LLVMSupport @@ -12,6 +12,7 @@ APInt.cpp \ APSInt.cpp \ Allocator.cpp \ + BranchProbability.cpp \ circular_raw_ostream.cpp \ CommandLine.cpp \ ConstantRange.cpp \ Index: src/external/bsd/llvm/lib/libLLVMTarget/Makefile diff -u src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.2 src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.3 --- src/external/bsd/llvm/lib/libLLVMTarget/Makefile:1.2 Wed Feb 23 03:09:04 2011 +++ src/external/bsd/llvm/lib/libLLVMTarget/Makefile Mon Jul 4 16:10:39 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/02/23 03:09:04 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2011/07/04 16:10:39 joerg Exp $ LIB= LLVMTarget @@ -7,7 +7,6 @@ .PATH: ${LLVM_SRCDIR}/lib/Target SRCS+= Mangler.cpp \ - SubtargetFeature.cpp \ Target.cpp \ TargetAsmInfo.cpp \ TargetAsmLexer.cpp \ @@ -20,7 +19,7 @@ TargetLoweringObjectFile.cpp \ TargetMachine.cpp \ TargetRegisterInfo.cpp \ - TargetSubtarget.cpp + TargetSubtargetInfo.cpp .if defined(HOSTLIB) .include <bsd.hostlib.mk> Index: src/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile diff -u src/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile:1.1 Sun Feb 6 01:14:02 2011 +++ src/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile Mon Jul 4 16:10:40 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:02 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/07/04 16:10:40 joerg Exp $ LIB= LLVMTransformsUtils @@ -12,7 +12,6 @@ BreakCriticalEdges.cpp \ BuildLibCalls.cpp \ CloneFunction.cpp \ - CloneLoop.cpp \ CloneModule.cpp \ CodeExtractor.cpp \ DemoteRegToStack.cpp \ Index: src/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile diff -u src/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile:1.1 src/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile:1.2 --- src/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile:1.1 Sun Feb 6 01:14:03 2011 +++ src/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile Mon Jul 4 16:10:40 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:03 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/07/04 16:10:40 joerg Exp $ LIB= LLVMX86CodeGen @@ -32,20 +32,17 @@ TABLEGEN_SRC= X86.td TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/X86 TABLEGEN_OUTPUT= \ - X86GenRegisterInfo.h.inc|-gen-register-desc-header \ - X86GenRegisterNames.inc|-gen-register-enums \ - X86GenRegisterInfo.inc|-gen-register-desc \ - X86GenDisassemblerTables.inc|-gen-disassembler \ - X86GenInstrNames.inc|-gen-instr-enums \ - X86GenInstrInfo.inc|-gen-instr-desc \ + X86GenAsmMatcher.inc|-gen-asm-matcher \ X86GenAsmWriter.inc|-gen-asm-writer \ X86GenAsmWriter1.inc|-gen-asm-writer^-asmwriternum=1 \ - X86GenAsmMatcher.inc|-gen-asm-matcher \ + X86GenCallingConv.inc|-gen-callingconv \ X86GenDAGISel.inc|-gen-dag-isel \ + X86GenDisassemblerTables.inc|-gen-disassembler \ + X86GenEDInfo.inc|-gen-enhanced-disassembly-info \ X86GenFastISel.inc|-gen-fast-isel \ - X86GenCallingConv.inc|-gen-callingconv \ - X86GenSubtarget.inc|-gen-subtarget \ - X86GenEDInfo.inc|-gen-enhanced-disassembly-info + X86GenInstrInfo.inc|-gen-instr-info \ + X86GenRegisterInfo.inc|-gen-register-info \ + X86GenSubtargetInfo.inc|-gen-subtarget .include "${.PARSEDIR}/../../tablegen.mk" Index: src/external/bsd/llvm/lib/libclangSema/Makefile diff -u src/external/bsd/llvm/lib/libclangSema/Makefile:1.2 src/external/bsd/llvm/lib/libclangSema/Makefile:1.3 --- src/external/bsd/llvm/lib/libclangSema/Makefile:1.2 Thu May 12 14:56:24 2011 +++ src/external/bsd/llvm/lib/libclangSema/Makefile Mon Jul 4 16:10:40 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2011/07/04 16:10:40 joerg Exp $ LIB= clangSema @@ -29,6 +29,7 @@ SemaExpr.cpp \ SemaExprCXX.cpp \ SemaExprObjC.cpp \ + SemaExprMember.cpp \ SemaInit.cpp \ SemaLookup.cpp \ SemaObjCProperty.cpp \ Added files: Index: src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile:1.1 --- /dev/null Mon Jul 4 16:10:41 2011 +++ src/external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile Mon Jul 4 16:10:40 2011 @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2011/07/04 16:10:40 joerg Exp $ + +LIB= LLVMX86MCTargetDesc + +.include <bsd.init.mk> + +.PATH: ${LLVM_SRCDIR}/lib/Target/X86/MCTargetDesc + +X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR} +CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86 + +SRCS+= X86TargetDesc.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libclangARCMigrate/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libclangARCMigrate/Makefile:1.1 --- /dev/null Mon Jul 4 16:10:41 2011 +++ src/external/bsd/llvm/lib/libclangARCMigrate/Makefile Mon Jul 4 16:10:40 2011 @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2011/07/04 16:10:40 joerg Exp $ + +LIB= clangARCMigrate + +.include <bsd.init.mk> + +.PATH: ${CLANG_SRCDIR}/lib/ARCMigrate + +SRCS+= ARCMT.cpp \ + ARCMTActions.cpp \ + FileRemapper.cpp \ + TransARCAssign.cpp \ + TransAutoreleasePool.cpp \ + TransBlockObjCVariable.cpp \ + TransEmptyStatementsAndDealloc.cpp \ + TransProperties.cpp \ + TransRetainReleaseDealloc.cpp \ + TransUnbridgedCasts.cpp \ + TransUnusedInitDelegate.cpp \ + TransZeroOutPropsInDealloc.cpp \ + Transforms.cpp \ + TransformActions.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/tools/llvm-lib/libclangARCMigrate/Makefile diff -u /dev/null src/tools/llvm-lib/libclangARCMigrate/Makefile:1.1 --- /dev/null Mon Jul 4 16:10:41 2011 +++ src/tools/llvm-lib/libclangARCMigrate/Makefile Mon Jul 4 16:10:40 2011 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2011/07/04 16:10:40 joerg Exp $ + +.include <bsd.init.mk>