Module Name: src Committed By: joerg Date: Tue Mar 4 21:05:06 UTC 2014
Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/bin: Makefile src/external/bsd/llvm/bin/opt: Makefile src/external/bsd/llvm/lib/libLLVMAArch64CodeGen: Makefile src/external/bsd/llvm/lib/libLLVMCodeGen: Makefile src/external/bsd/llvm/lib/libLLVMMC: Makefile src/external/bsd/llvm/lib/libLLVMMipsCodeGen: Makefile src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc: 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/libclangBasic: Makefile src/external/bsd/llvm/lib/libclangDriver: Makefile src/external/bsd/llvm/lib/liblldReaderWriterPECOFF: Makefile Added Files: src/external/bsd/llvm/bin/llvm-profdata: Makefile Log Message: Update build glue for LLVM/Clang r202566. News: - match ARM CPU default of GCC - better support for SPARC64 - type checkings for abs/fabs - null pointer checks against struct member - various other improvements To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/external/bsd/llvm/Makefile.inc cvs rdiff -u -r1.13 -r1.14 src/external/bsd/llvm/bin/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/bin/llvm-profdata/Makefile cvs rdiff -u -r1.12 -r1.13 src/external/bsd/llvm/bin/opt/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile cvs rdiff -u -r1.26 -r1.27 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile cvs rdiff -u -r1.14 -r1.15 src/external/bsd/llvm/lib/libLLVMMC/Makefile cvs rdiff -u -r1.21 -r1.22 \ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile cvs rdiff -u -r1.9 -r1.10 \ src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile cvs rdiff -u -r1.8 -r1.9 src/external/bsd/llvm/lib/libLLVMObject/Makefile cvs rdiff -u -r1.15 -r1.16 \ src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile cvs rdiff -u -r1.25 -r1.26 src/external/bsd/llvm/lib/libLLVMSupport/Makefile cvs rdiff -u -r1.10 -r1.11 src/external/bsd/llvm/lib/libclangBasic/Makefile cvs rdiff -u -r1.6 -r1.7 src/external/bsd/llvm/lib/libclangDriver/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/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.71 src/external/bsd/llvm/Makefile.inc:1.72 --- src/external/bsd/llvm/Makefile.inc:1.71 Fri Feb 14 20:23:56 2014 +++ src/external/bsd/llvm/Makefile.inc Tue Mar 4 21:05:05 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.71 2014/02/14 20:23:56 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.72 2014/03/04 21:05:05 joerg Exp $ .if !defined(LLVM_TOPLEVEL_MK) LLVM_TOPLEVEL_MK= @@ -8,7 +8,7 @@ LLVM_TOPLEVEL_MK= SVN_ROOT= http://llvm.org/svn/llvm-project SVN_BRANCH= trunk -COMMON_REVISION= 201163 +COMMON_REVISION= 202566 CLANG_REVISION= ${COMMON_REVISION} LLD_REVISION= ${COMMON_REVISION} LLDB_REVISION= ${COMMON_REVISION} Index: src/external/bsd/llvm/bin/Makefile diff -u src/external/bsd/llvm/bin/Makefile:1.13 src/external/bsd/llvm/bin/Makefile:1.14 --- src/external/bsd/llvm/bin/Makefile:1.13 Mon Oct 14 01:37:39 2013 +++ src/external/bsd/llvm/bin/Makefile Tue Mar 4 21:05:05 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2013/10/14 01:37:39 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2014/03/04 21:05:05 joerg Exp $ .include <bsd.own.mk> @@ -39,6 +39,7 @@ SUBDIR+= \ llvm-mc \ llvm-nm \ llvm-objdump \ + llvm-profdata \ llvm-readobj \ llvm-size \ llvm-symbolizer \ Index: src/external/bsd/llvm/bin/opt/Makefile diff -u src/external/bsd/llvm/bin/opt/Makefile:1.12 src/external/bsd/llvm/bin/opt/Makefile:1.13 --- src/external/bsd/llvm/bin/opt/Makefile:1.12 Fri Feb 14 20:23:56 2014 +++ src/external/bsd/llvm/bin/opt/Makefile Tue Mar 4 21:05:05 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2014/02/14 20:23:56 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2014/03/04 21:05:05 joerg Exp $ PROG_CXX= opt NOMAN= yes @@ -8,6 +8,7 @@ NOMAN= yes .PATH: ${LLVM_SRCDIR}/tools/opt SRCS= AnalysisWrappers.cpp \ + BreakpointPrinter.cpp \ GraphPrinters.cpp \ NewPMDriver.cpp \ PassPrinters.cpp \ Index: src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile diff -u src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile:1.2 src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile:1.3 --- src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile:1.2 Tue Feb 19 12:35:42 2013 +++ src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Makefile Tue Mar 4 21:05:05 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/02/19 12:35:42 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2014/03/04 21:05:05 joerg Exp $ LIB= LLVMAArch64CodeGen @@ -20,7 +20,8 @@ SRCS+= AArch64AsmPrinter.cpp \ AArch64SelectionDAGInfo.cpp \ AArch64Subtarget.cpp \ AArch64TargetMachine.cpp \ - AArch64TargetObjectFile.cpp + AArch64TargetObjectFile.cpp \ + AArch64TargetTransformInfo.cpp TABLEGEN_SRC= AArch64.td TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/AArch64 Index: src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile diff -u src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.26 src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.27 --- src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile:1.26 Sun Jan 5 16:38:06 2014 +++ src/external/bsd/llvm/lib/libLLVMCodeGen/Makefile Tue Mar 4 21:05:05 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2014/01/05 16:38:06 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2014/03/04 21:05:05 joerg Exp $ LIB= LLVMCodeGen @@ -14,6 +14,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CodeGen.cpp \ + CodeGenPrepare.cpp \ CriticalAntiDepBreaker.cpp \ DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ Index: src/external/bsd/llvm/lib/libLLVMMC/Makefile diff -u src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.14 src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.15 --- src/external/bsd/llvm/lib/libLLVMMC/Makefile:1.14 Sun Oct 20 14:53:23 2013 +++ src/external/bsd/llvm/lib/libLLVMMC/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2013/10/20 14:53:23 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2014/03/04 21:05:06 joerg Exp $ LIB= LLVMMC @@ -40,7 +40,6 @@ SRCS+= ELFObjectWriter.cpp \ MCObjectStreamer.cpp \ MCObjectSymbolizer.cpp \ MCObjectWriter.cpp \ - MCPureStreamer.cpp \ MCRegisterInfo.cpp \ MCRelocationInfo.cpp \ MCSection.cpp \ Index: src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile diff -u src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.21 src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.22 --- src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.21 Sun Jan 5 16:38:06 2014 +++ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2014/01/05 16:38:06 joerg Exp $ +# $NetBSD: Makefile,v 1.22 2014/03/04 21:05:06 joerg Exp $ LIB= LLVMMipsCodeGen @@ -11,6 +11,7 @@ SRCS+= Mips16ISelDAGToDAG.cpp \ Mips16InstrInfo.cpp \ Mips16FrameLowering.cpp \ Mips16HardFloat.cpp \ + Mips16HardFloatInfo.cpp \ Mips16RegisterInfo.cpp \ MipsAnalyzeImmediate.cpp \ MipsAsmPrinter.cpp \ Index: src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile diff -u src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile:1.9 src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile:1.10 --- src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile:1.9 Fri Feb 14 20:23:56 2014 +++ src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2014/02/14 20:23:56 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2014/03/04 21:05:06 joerg Exp $ LIB= LLVMMipsMCTargetDesc @@ -15,6 +15,7 @@ SRCS+= MipsAsmBackend.cpp \ MipsMCCodeEmitter.cpp \ MipsMCExpr.cpp \ MipsMCTargetDesc.cpp \ + MipsNaClELFStreamer.cpp \ MipsTargetStreamer.cpp .if defined(HOSTLIB) Index: src/external/bsd/llvm/lib/libLLVMObject/Makefile diff -u src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.8 src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.9 --- src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.8 Mon Sep 2 14:34:56 2013 +++ src/external/bsd/llvm/lib/libLLVMObject/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2013/09/02 14:34:56 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2014/03/04 21:05:06 joerg Exp $ LIB= LLVMObject NOGCCERROR= yes @@ -15,10 +15,12 @@ SRCS+= Archive.cpp \ ELFObjectFile.cpp \ ELFYAML.cpp \ Error.cpp \ + IRObjectFile.cpp \ MachOObjectFile.cpp \ MachOUniversal.cpp \ Object.cpp \ ObjectFile.cpp \ + SymbolicFile.cpp \ YAML.cpp .if defined(HOSTLIB) Index: src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile diff -u src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.15 src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.16 --- src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.15 Fri Feb 14 20:23:57 2014 +++ src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2014/02/14 20:23:57 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2014/03/04 21:05:06 joerg Exp $ LIB= LLVMScalarOpts @@ -7,7 +7,6 @@ LIB= LLVMScalarOpts .PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar SRCS+= ADCE.cpp \ - CodeGenPrepare.cpp \ ConstantHoisting.cpp \ ConstantProp.cpp \ CorrelatedValuePropagation.cpp \ Index: src/external/bsd/llvm/lib/libLLVMSupport/Makefile diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.25 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.26 --- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.25 Fri Feb 14 20:23:57 2014 +++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2014/02/14 20:23:57 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2014/03/04 21:05:06 joerg Exp $ LIB= LLVMSupport @@ -40,6 +40,7 @@ SRCS+= APFloat.cpp \ IntrusiveRefCntPtr.cpp \ IsInf.cpp \ IsNAN.cpp \ + LEB128.cpp \ LineIterator.cpp \ Locale.cpp \ LockFileManager.cpp \ Index: src/external/bsd/llvm/lib/libclangBasic/Makefile diff -u src/external/bsd/llvm/lib/libclangBasic/Makefile:1.10 src/external/bsd/llvm/lib/libclangBasic/Makefile:1.11 --- src/external/bsd/llvm/lib/libclangBasic/Makefile:1.10 Thu Apr 25 13:59:58 2013 +++ src/external/bsd/llvm/lib/libclangBasic/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2013/04/25 13:59:58 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2014/03/04 21:05:06 joerg Exp $ LIB= clangBasic @@ -24,7 +24,8 @@ SRCS+= Builtins.cpp \ Targets.cpp \ TokenKinds.cpp \ Version.cpp \ - VersionTuple.cpp + VersionTuple.cpp \ + VirtualFileSystem.cpp CPPFLAGS.Version.cpp= -DSVN_REVISION=\"${CLANG_REVISION}\" \ -DLLVM_REVISION=\"${LLVM_REVISION}\" Index: src/external/bsd/llvm/lib/libclangDriver/Makefile diff -u src/external/bsd/llvm/lib/libclangDriver/Makefile:1.6 src/external/bsd/llvm/lib/libclangDriver/Makefile:1.7 --- src/external/bsd/llvm/lib/libclangDriver/Makefile:1.6 Mon Sep 2 14:34:56 2013 +++ src/external/bsd/llvm/lib/libclangDriver/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2013/09/02 14:34:56 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2014/03/04 21:05:06 joerg Exp $ LIB= clangDriver @@ -12,6 +12,7 @@ SRCS+= Action.cpp \ Driver.cpp \ DriverOptions.cpp \ Job.cpp \ + Multilib.cpp \ Phases.cpp \ SanitizerArgs.cpp \ Tool.cpp \ Index: src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile diff -u src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile:1.2 src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile:1.3 --- src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile:1.2 Sun Jan 5 16:38:07 2014 +++ src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Makefile Tue Mar 4 21:05:06 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2014/01/05 16:38:07 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2014/03/04 21:05:06 joerg Exp $ LIB= lldReaderWriterPECOFF @@ -8,6 +8,7 @@ LIB= lldReaderWriterPECOFF SRCS+= EdataPass.cpp \ IdataPass.cpp \ + LoadConfigPass.cpp \ PECOFFLinkingContext.cpp \ Pass.cpp \ ReaderCOFF.cpp \ Added files: Index: src/external/bsd/llvm/bin/llvm-profdata/Makefile diff -u /dev/null src/external/bsd/llvm/bin/llvm-profdata/Makefile:1.1 --- /dev/null Tue Mar 4 21:05:06 2014 +++ src/external/bsd/llvm/bin/llvm-profdata/Makefile Tue Mar 4 21:05:05 2014 @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2014/03/04 21:05:05 joerg Exp $ + +PROG_CXX= llvm-profdata +NOMAN= yes + +.include <bsd.init.mk> + +.PATH: ${LLVM_SRCDIR}/tools/llvm-profdata + +SRCS= llvm-profdata.cpp + +LLVM_LIBS+= \ + IR \ + Support + +.include "${.PARSEDIR}/../../link.mk" + +.include <bsd.prog.mk>