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 improvementsdiff -r1.71 -r1.72 src/external/bsd/llvm/Makefile.inc
(joerg)
--- src/external/bsd/llvm/Attic/Makefile.inc 2014/02/14 20:23:56 1.71
+++ src/external/bsd/llvm/Attic/Makefile.inc 2014/03/04 21:05:05 1.72
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | # $NetBSD: Makefile.inc,v 1.71 2014/02/14 20:23:56 joerg Exp $ | 1 | # $NetBSD: Makefile.inc,v 1.72 2014/03/04 21:05:05 joerg Exp $ | |
2 | 2 | |||
3 | .if !defined(LLVM_TOPLEVEL_MK) | 3 | .if !defined(LLVM_TOPLEVEL_MK) | |
4 | LLVM_TOPLEVEL_MK= | 4 | LLVM_TOPLEVEL_MK= | |
5 | 5 | |||
6 | .include <bsd.own.mk> | 6 | .include <bsd.own.mk> | |
7 | 7 | |||
8 | SVN_ROOT= http://llvm.org/svn/llvm-project | 8 | SVN_ROOT= http://llvm.org/svn/llvm-project | |
9 | SVN_BRANCH= trunk | 9 | SVN_BRANCH= trunk | |
10 | 10 | |||
11 | COMMON_REVISION= 201163 | 11 | COMMON_REVISION= 202566 | |
12 | CLANG_REVISION= ${COMMON_REVISION} | 12 | CLANG_REVISION= ${COMMON_REVISION} | |
13 | LLD_REVISION= ${COMMON_REVISION} | 13 | LLD_REVISION= ${COMMON_REVISION} | |
14 | LLDB_REVISION= ${COMMON_REVISION} | 14 | LLDB_REVISION= ${COMMON_REVISION} | |
15 | LLVM_REVISION= ${COMMON_REVISION} | 15 | LLVM_REVISION= ${COMMON_REVISION} | |
16 | 16 | |||
17 | MCLINKER_REVISION= deeb2a77b4165827316f88e0a7ba4ba6b743a080 | 17 | MCLINKER_REVISION= deeb2a77b4165827316f88e0a7ba4ba6b743a080 | |
18 | MCLINKER_ROOT= https://code.google.com/p/mclinker/ | 18 | MCLINKER_ROOT= https://code.google.com/p/mclinker/ | |
19 | 19 | |||
20 | LLVM_VERSION= 3.5 | 20 | LLVM_VERSION= 3.5 | |
21 | CLANG_VERSION= 3.5 | 21 | CLANG_VERSION= 3.5 | |
22 | 22 | |||
23 | CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang | 23 | CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang | |
24 | LLD_SRCDIR:= ${.PARSEDIR}/dist/lld | 24 | LLD_SRCDIR:= ${.PARSEDIR}/dist/lld |
--- src/external/bsd/llvm/bin/Attic/Makefile 2013/10/14 01:37:39 1.13
+++ src/external/bsd/llvm/bin/Attic/Makefile 2014/03/04 21:05:05 1.14
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2013/10/14 01:37:39 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2014/03/04 21:05:05 joerg Exp $ | |
2 | 2 | |||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> | |
4 | 4 | |||
5 | SUBDIR= clang \ | 5 | SUBDIR= clang \ | |
6 | clang-tblgen \ | 6 | clang-tblgen \ | |
7 | tblgen | 7 | tblgen | |
8 | 8 | |||
9 | .if ${MKLLD} != "no" | 9 | .if ${MKLLD} != "no" | |
10 | SUBDIR+= \ | 10 | SUBDIR+= \ | |
11 | lld | 11 | lld | |
12 | .endif | 12 | .endif | |
13 | 13 | |||
14 | .if ${MKLLDB} != "no" | 14 | .if ${MKLLDB} != "no" | |
@@ -29,21 +29,22 @@ SUBDIR+= \ | @@ -29,21 +29,22 @@ SUBDIR+= \ | |||
29 | lli \ | 29 | lli \ | |
30 | llvm-ar \ | 30 | llvm-ar \ | |
31 | llvm-as \ | 31 | llvm-as \ | |
32 | llvm-bcanalyzer \ | 32 | llvm-bcanalyzer \ | |
33 | llvm-cov \ | 33 | llvm-cov \ | |
34 | llvm-diff \ | 34 | llvm-diff \ | |
35 | llvm-dis \ | 35 | llvm-dis \ | |
36 | llvm-dwarfdump \ | 36 | llvm-dwarfdump \ | |
37 | llvm-extract \ | 37 | llvm-extract \ | |
38 | llvm-link \ | 38 | llvm-link \ | |
39 | llvm-mc \ | 39 | llvm-mc \ | |
40 | llvm-nm \ | 40 | llvm-nm \ | |
41 | llvm-objdump \ | 41 | llvm-objdump \ | |
42 | llvm-profdata \ | |||
42 | llvm-readobj \ | 43 | llvm-readobj \ | |
43 | llvm-size \ | 44 | llvm-size \ | |
44 | llvm-symbolizer \ | 45 | llvm-symbolizer \ | |
45 | macho-dumpx \ | 46 | macho-dumpx \ | |
46 | opt | 47 | opt | |
47 | .endif | 48 | .endif | |
48 | 49 | |||
49 | .include <bsd.subdir.mk> | 50 | .include <bsd.subdir.mk> |
# $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>
--- src/external/bsd/llvm/bin/opt/Attic/Makefile 2014/02/14 20:23:56 1.12
+++ src/external/bsd/llvm/bin/opt/Attic/Makefile 2014/03/04 21:05:05 1.13
@@ -1,23 +1,24 @@ | @@ -1,23 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.12 2014/02/14 20:23:56 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.13 2014/03/04 21:05:05 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= opt | 3 | PROG_CXX= opt | |
4 | NOMAN= yes | 4 | NOMAN= yes | |
5 | 5 | |||
6 | .include <bsd.init.mk> | 6 | .include <bsd.init.mk> | |
7 | 7 | |||
8 | .PATH: ${LLVM_SRCDIR}/tools/opt | 8 | .PATH: ${LLVM_SRCDIR}/tools/opt | |
9 | 9 | |||
10 | SRCS= AnalysisWrappers.cpp \ | 10 | SRCS= AnalysisWrappers.cpp \ | |
11 | BreakpointPrinter.cpp \ | |||
11 | GraphPrinters.cpp \ | 12 | GraphPrinters.cpp \ | |
12 | NewPMDriver.cpp \ | 13 | NewPMDriver.cpp \ | |
13 | PassPrinters.cpp \ | 14 | PassPrinters.cpp \ | |
14 | Passes.cpp \ | 15 | Passes.cpp \ | |
15 | PrintSCC.cpp \ | 16 | PrintSCC.cpp \ | |
16 | opt.cpp | 17 | opt.cpp | |
17 | 18 | |||
18 | LLVM_LIBS+= \ | 19 | LLVM_LIBS+= \ | |
19 | ObjCARC \ | 20 | ObjCARC \ | |
20 | ipo \ | 21 | ipo \ | |
21 | IRReader \ | 22 | IRReader \ | |
22 | AsmParser \ | 23 | AsmParser \ | |
23 | BitReader \ | 24 | BitReader \ |
--- src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Attic/Makefile 2013/02/19 12:35:42 1.2
+++ src/external/bsd/llvm/lib/libLLVMAArch64CodeGen/Attic/Makefile 2014/03/04 21:05:05 1.3
@@ -1,36 +1,37 @@ | @@ -1,36 +1,37 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2013/02/19 12:35:42 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2014/03/04 21:05:05 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMAArch64CodeGen | 3 | LIB= LLVMAArch64CodeGen | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/Target/AArch64 | 7 | .PATH: ${LLVM_SRCDIR}/lib/Target/AArch64 | |
8 | 8 | |||
9 | CPPFLAGS+= -I${LLVM_SRCDIR}/lib/Target/AArch64 | 9 | CPPFLAGS+= -I${LLVM_SRCDIR}/lib/Target/AArch64 | |
10 | 10 | |||
11 | SRCS+= AArch64AsmPrinter.cpp \ | 11 | SRCS+= AArch64AsmPrinter.cpp \ | |
12 | AArch64BranchFixupPass.cpp \ | 12 | AArch64BranchFixupPass.cpp \ | |
13 | AArch64FrameLowering.cpp \ | 13 | AArch64FrameLowering.cpp \ | |
14 | AArch64ISelDAGToDAG.cpp \ | 14 | AArch64ISelDAGToDAG.cpp \ | |
15 | AArch64ISelLowering.cpp \ | 15 | AArch64ISelLowering.cpp \ | |
16 | AArch64InstrInfo.cpp \ | 16 | AArch64InstrInfo.cpp \ | |
17 | AArch64MachineFunctionInfo.cpp \ | 17 | AArch64MachineFunctionInfo.cpp \ | |
18 | AArch64MCInstLower.cpp \ | 18 | AArch64MCInstLower.cpp \ | |
19 | AArch64RegisterInfo.cpp \ | 19 | AArch64RegisterInfo.cpp \ | |
20 | AArch64SelectionDAGInfo.cpp \ | 20 | AArch64SelectionDAGInfo.cpp \ | |
21 | AArch64Subtarget.cpp \ | 21 | AArch64Subtarget.cpp \ | |
22 | AArch64TargetMachine.cpp \ | 22 | AArch64TargetMachine.cpp \ | |
23 | AArch64TargetObjectFile.cpp | 23 | AArch64TargetObjectFile.cpp \ | |
24 | AArch64TargetTransformInfo.cpp | |||
24 | 25 | |||
25 | TABLEGEN_SRC= AArch64.td | 26 | TABLEGEN_SRC= AArch64.td | |
26 | TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/AArch64 | 27 | TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/AArch64 | |
27 | TABLEGEN_OUTPUT= \ | 28 | TABLEGEN_OUTPUT= \ | |
28 | AArch64GenAsmMatcher.inc|-gen-asm-matcher \ | 29 | AArch64GenAsmMatcher.inc|-gen-asm-matcher \ | |
29 | AArch64GenAsmWriter.inc|-gen-asm-writer \ | 30 | AArch64GenAsmWriter.inc|-gen-asm-writer \ | |
30 | AArch64GenCallingConv.inc|-gen-callingconv \ | 31 | AArch64GenCallingConv.inc|-gen-callingconv \ | |
31 | AArch64GenDisassemblerTables.inc|-gen-disassembler \ | 32 | AArch64GenDisassemblerTables.inc|-gen-disassembler \ | |
32 | AArch64GenInstrInfo.inc|-gen-instr-info \ | 33 | AArch64GenInstrInfo.inc|-gen-instr-info \ | |
33 | AArch64GenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \ | 34 | AArch64GenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \ | |
34 | AArch64GenMCPseudoLowering.inc|-gen-pseudo-lowering \ | 35 | AArch64GenMCPseudoLowering.inc|-gen-pseudo-lowering \ | |
35 | AArch64GenRegisterInfo.inc|-gen-register-info \ | 36 | AArch64GenRegisterInfo.inc|-gen-register-info \ | |
36 | AArch64GenDAGISel.inc|-gen-dag-isel \ | 37 | AArch64GenDAGISel.inc|-gen-dag-isel \ |
--- src/external/bsd/llvm/lib/libLLVMCodeGen/Attic/Makefile 2014/01/05 16:38:06 1.26
+++ src/external/bsd/llvm/lib/libLLVMCodeGen/Attic/Makefile 2014/03/04 21:05:05 1.27
@@ -1,29 +1,30 @@ | @@ -1,29 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.26 2014/01/05 16:38:06 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.27 2014/03/04 21:05:05 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMCodeGen | 3 | LIB= LLVMCodeGen | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/CodeGen | 7 | .PATH: ${LLVM_SRCDIR}/lib/CodeGen | |
8 | 8 | |||
9 | SRCS+= AggressiveAntiDepBreaker.cpp \ | 9 | SRCS+= AggressiveAntiDepBreaker.cpp \ | |
10 | AllocationOrder.cpp \ | 10 | AllocationOrder.cpp \ | |
11 | Analysis.cpp \ | 11 | Analysis.cpp \ | |
12 | BasicTargetTransformInfo.cpp \ | 12 | BasicTargetTransformInfo.cpp \ | |
13 | BranchFolding.cpp \ | 13 | BranchFolding.cpp \ | |
14 | CalcSpillWeights.cpp \ | 14 | CalcSpillWeights.cpp \ | |
15 | CallingConvLower.cpp \ | 15 | CallingConvLower.cpp \ | |
16 | CodeGen.cpp \ | 16 | CodeGen.cpp \ | |
17 | CodeGenPrepare.cpp \ | |||
17 | CriticalAntiDepBreaker.cpp \ | 18 | CriticalAntiDepBreaker.cpp \ | |
18 | DFAPacketizer.cpp \ | 19 | DFAPacketizer.cpp \ | |
19 | DeadMachineInstructionElim.cpp \ | 20 | DeadMachineInstructionElim.cpp \ | |
20 | DwarfEHPrepare.cpp \ | 21 | DwarfEHPrepare.cpp \ | |
21 | EarlyIfConversion.cpp \ | 22 | EarlyIfConversion.cpp \ | |
22 | EdgeBundles.cpp \ | 23 | EdgeBundles.cpp \ | |
23 | ErlangGC.cpp \ | 24 | ErlangGC.cpp \ | |
24 | ExecutionDepsFix.cpp \ | 25 | ExecutionDepsFix.cpp \ | |
25 | ExpandISelPseudos.cpp \ | 26 | ExpandISelPseudos.cpp \ | |
26 | ExpandPostRAPseudos.cpp \ | 27 | ExpandPostRAPseudos.cpp \ | |
27 | GCMetadata.cpp \ | 28 | GCMetadata.cpp \ | |
28 | GCMetadataPrinter.cpp \ | 29 | GCMetadataPrinter.cpp \ | |
29 | GCStrategy.cpp \ | 30 | GCStrategy.cpp \ |
--- src/external/bsd/llvm/lib/libLLVMMC/Attic/Makefile 2013/10/20 14:53:23 1.14
+++ src/external/bsd/llvm/lib/libLLVMMC/Attic/Makefile 2014/03/04 21:05:06 1.15
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.14 2013/10/20 14:53:23 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.15 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMMC | 3 | LIB= LLVMMC | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/MC | 7 | .PATH: ${LLVM_SRCDIR}/lib/MC | |
8 | 8 | |||
9 | SRCS+= ELFObjectWriter.cpp \ | 9 | SRCS+= ELFObjectWriter.cpp \ | |
10 | MCAsmBackend.cpp \ | 10 | MCAsmBackend.cpp \ | |
11 | MCAsmInfo.cpp \ | 11 | MCAsmInfo.cpp \ | |
12 | MCAsmInfoCOFF.cpp \ | 12 | MCAsmInfoCOFF.cpp \ | |
13 | MCAsmInfoDarwin.cpp \ | 13 | MCAsmInfoDarwin.cpp \ | |
14 | MCAsmInfoELF.cpp \ | 14 | MCAsmInfoELF.cpp \ | |
@@ -30,27 +30,26 @@ SRCS+= ELFObjectWriter.cpp \ | @@ -30,27 +30,26 @@ SRCS+= ELFObjectWriter.cpp \ | |||
30 | MCInstrAnalysis.cpp \ | 30 | MCInstrAnalysis.cpp \ | |
31 | MCInstPrinter.cpp \ | 31 | MCInstPrinter.cpp \ | |
32 | MCLabel.cpp \ | 32 | MCLabel.cpp \ | |
33 | MCModule.cpp \ | 33 | MCModule.cpp \ | |
34 | MCMachOStreamer.cpp \ | 34 | MCMachOStreamer.cpp \ | |
35 | MCMachObjectTargetWriter.cpp \ | 35 | MCMachObjectTargetWriter.cpp \ | |
36 | MCModuleYAML.cpp \ | 36 | MCModuleYAML.cpp \ | |
37 | MCNullStreamer.cpp \ | 37 | MCNullStreamer.cpp \ | |
38 | MCObjectDisassembler.cpp \ | 38 | MCObjectDisassembler.cpp \ | |
39 | MCObjectFileInfo.cpp \ | 39 | MCObjectFileInfo.cpp \ | |
40 | MCObjectStreamer.cpp \ | 40 | MCObjectStreamer.cpp \ | |
41 | MCObjectSymbolizer.cpp \ | 41 | MCObjectSymbolizer.cpp \ | |
42 | MCObjectWriter.cpp \ | 42 | MCObjectWriter.cpp \ | |
43 | MCPureStreamer.cpp \ | |||
44 | MCRegisterInfo.cpp \ | 43 | MCRegisterInfo.cpp \ | |
45 | MCRelocationInfo.cpp \ | 44 | MCRelocationInfo.cpp \ | |
46 | MCSection.cpp \ | 45 | MCSection.cpp \ | |
47 | MCSectionCOFF.cpp \ | 46 | MCSectionCOFF.cpp \ | |
48 | MCSectionELF.cpp \ | 47 | MCSectionELF.cpp \ | |
49 | MCSectionMachO.cpp \ | 48 | MCSectionMachO.cpp \ | |
50 | MCStreamer.cpp \ | 49 | MCStreamer.cpp \ | |
51 | MCSubtargetInfo.cpp \ | 50 | MCSubtargetInfo.cpp \ | |
52 | MCSymbolizer.cpp \ | 51 | MCSymbolizer.cpp \ | |
53 | MCSymbol.cpp \ | 52 | MCSymbol.cpp \ | |
54 | MCValue.cpp \ | 53 | MCValue.cpp \ | |
55 | MCWin64EH.cpp \ | 54 | MCWin64EH.cpp \ | |
56 | MachObjectWriter.cpp \ | 55 | MachObjectWriter.cpp \ |
--- src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Attic/Makefile 2014/01/05 16:38:06 1.21
+++ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Attic/Makefile 2014/03/04 21:05:06 1.22
@@ -1,26 +1,27 @@ | @@ -1,26 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.21 2014/01/05 16:38:06 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.22 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMMipsCodeGen | 3 | LIB= LLVMMipsCodeGen | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/Target/Mips | 7 | .PATH: ${LLVM_SRCDIR}/lib/Target/Mips | |
8 | 8 | |||
9 | SRCS+= Mips16ISelDAGToDAG.cpp \ | 9 | SRCS+= Mips16ISelDAGToDAG.cpp \ | |
10 | Mips16ISelLowering.cpp \ | 10 | Mips16ISelLowering.cpp \ | |
11 | Mips16InstrInfo.cpp \ | 11 | Mips16InstrInfo.cpp \ | |
12 | Mips16FrameLowering.cpp \ | 12 | Mips16FrameLowering.cpp \ | |
13 | Mips16HardFloat.cpp \ | 13 | Mips16HardFloat.cpp \ | |
14 | Mips16HardFloatInfo.cpp \ | |||
14 | Mips16RegisterInfo.cpp \ | 15 | Mips16RegisterInfo.cpp \ | |
15 | MipsAnalyzeImmediate.cpp \ | 16 | MipsAnalyzeImmediate.cpp \ | |
16 | MipsAsmPrinter.cpp \ | 17 | MipsAsmPrinter.cpp \ | |
17 | MipsCodeEmitter.cpp \ | 18 | MipsCodeEmitter.cpp \ | |
18 | MipsConstantIslandPass.cpp \ | 19 | MipsConstantIslandPass.cpp \ | |
19 | MipsDelaySlotFiller.cpp \ | 20 | MipsDelaySlotFiller.cpp \ | |
20 | MipsFrameLowering.cpp \ | 21 | MipsFrameLowering.cpp \ | |
21 | MipsInstrInfo.cpp \ | 22 | MipsInstrInfo.cpp \ | |
22 | MipsISelDAGToDAG.cpp \ | 23 | MipsISelDAGToDAG.cpp \ | |
23 | MipsISelLowering.cpp \ | 24 | MipsISelLowering.cpp \ | |
24 | MipsJITInfo.cpp \ | 25 | MipsJITInfo.cpp \ | |
25 | MipsLongBranch.cpp \ | 26 | MipsLongBranch.cpp \ | |
26 | MipsMachineFunction.cpp \ | 27 | MipsMachineFunction.cpp \ |
--- src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Attic/Makefile 2014/02/14 20:23:56 1.9
+++ src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Attic/Makefile 2014/03/04 21:05:06 1.10
@@ -1,24 +1,25 @@ | @@ -1,24 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2014/02/14 20:23:56 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMMipsMCTargetDesc | 3 | LIB= LLVMMipsMCTargetDesc | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | MIPS_OBJDIR!= cd ${.CURDIR}/../libLLVMMipsCodeGen && ${PRINTOBJDIR} | 7 | MIPS_OBJDIR!= cd ${.CURDIR}/../libLLVMMipsCodeGen && ${PRINTOBJDIR} | |
8 | CPPFLAGS+= -I${MIPS_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Mips | 8 | CPPFLAGS+= -I${MIPS_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Mips | |
9 | 9 | |||
10 | .PATH: ${LLVM_SRCDIR}/lib/Target/Mips/MCTargetDesc | 10 | .PATH: ${LLVM_SRCDIR}/lib/Target/Mips/MCTargetDesc | |
11 | 11 | |||
12 | SRCS+= MipsAsmBackend.cpp \ | 12 | SRCS+= MipsAsmBackend.cpp \ | |
13 | MipsELFObjectWriter.cpp \ | 13 | MipsELFObjectWriter.cpp \ | |
14 | MipsMCAsmInfo.cpp \ | 14 | MipsMCAsmInfo.cpp \ | |
15 | MipsMCCodeEmitter.cpp \ | 15 | MipsMCCodeEmitter.cpp \ | |
16 | MipsMCExpr.cpp \ | 16 | MipsMCExpr.cpp \ | |
17 | MipsMCTargetDesc.cpp \ | 17 | MipsMCTargetDesc.cpp \ | |
18 | MipsNaClELFStreamer.cpp \ | |||
18 | MipsTargetStreamer.cpp | 19 | MipsTargetStreamer.cpp | |
19 | 20 | |||
20 | .if defined(HOSTLIB) | 21 | .if defined(HOSTLIB) | |
21 | .include <bsd.hostlib.mk> | 22 | .include <bsd.hostlib.mk> | |
22 | .else | 23 | .else | |
23 | .include <bsd.lib.mk> | 24 | .include <bsd.lib.mk> | |
24 | .endif | 25 | .endif |
--- src/external/bsd/llvm/lib/libLLVMObject/Attic/Makefile 2013/09/02 14:34:56 1.8
+++ src/external/bsd/llvm/lib/libLLVMObject/Attic/Makefile 2014/03/04 21:05:06 1.9
@@ -1,28 +1,30 @@ | @@ -1,28 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2013/09/02 14:34:56 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMObject | 3 | LIB= LLVMObject | |
4 | NOGCCERROR= yes | 4 | NOGCCERROR= yes | |
5 | 5 | |||
6 | .include <bsd.init.mk> | 6 | .include <bsd.init.mk> | |
7 | 7 | |||
8 | .PATH: ${LLVM_SRCDIR}/lib/Object | 8 | .PATH: ${LLVM_SRCDIR}/lib/Object | |
9 | 9 | |||
10 | SRCS+= Archive.cpp \ | 10 | SRCS+= Archive.cpp \ | |
11 | Binary.cpp \ | 11 | Binary.cpp \ | |
12 | COFFObjectFile.cpp \ | 12 | COFFObjectFile.cpp \ | |
13 | COFFYAML.cpp \ | 13 | COFFYAML.cpp \ | |
14 | ELF.cpp \ | 14 | ELF.cpp \ | |
15 | ELFObjectFile.cpp \ | 15 | ELFObjectFile.cpp \ | |
16 | ELFYAML.cpp \ | 16 | ELFYAML.cpp \ | |
17 | Error.cpp \ | 17 | Error.cpp \ | |
18 | IRObjectFile.cpp \ | |||
18 | MachOObjectFile.cpp \ | 19 | MachOObjectFile.cpp \ | |
19 | MachOUniversal.cpp \ | 20 | MachOUniversal.cpp \ | |
20 | Object.cpp \ | 21 | Object.cpp \ | |
21 | ObjectFile.cpp \ | 22 | ObjectFile.cpp \ | |
23 | SymbolicFile.cpp \ | |||
22 | YAML.cpp | 24 | YAML.cpp | |
23 | 25 | |||
24 | .if defined(HOSTLIB) | 26 | .if defined(HOSTLIB) | |
25 | .include <bsd.hostlib.mk> | 27 | .include <bsd.hostlib.mk> | |
26 | .else | 28 | .else | |
27 | .include <bsd.lib.mk> | 29 | .include <bsd.lib.mk> | |
28 | .endif | 30 | .endif |
--- src/external/bsd/llvm/lib/libLLVMScalarOpts/Attic/Makefile 2014/02/14 20:23:57 1.15
+++ src/external/bsd/llvm/lib/libLLVMScalarOpts/Attic/Makefile 2014/03/04 21:05:06 1.16
@@ -1,23 +1,22 @@ | @@ -1,23 +1,22 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2014/02/14 20:23:57 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMScalarOpts | 3 | LIB= LLVMScalarOpts | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar | 7 | .PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar | |
8 | 8 | |||
9 | SRCS+= ADCE.cpp \ | 9 | SRCS+= ADCE.cpp \ | |
10 | CodeGenPrepare.cpp \ | |||
11 | ConstantHoisting.cpp \ | 10 | ConstantHoisting.cpp \ | |
12 | ConstantProp.cpp \ | 11 | ConstantProp.cpp \ | |
13 | CorrelatedValuePropagation.cpp \ | 12 | CorrelatedValuePropagation.cpp \ | |
14 | DCE.cpp \ | 13 | DCE.cpp \ | |
15 | DeadStoreElimination.cpp \ | 14 | DeadStoreElimination.cpp \ | |
16 | EarlyCSE.cpp \ | 15 | EarlyCSE.cpp \ | |
17 | FlattenCFGPass.cpp \ | 16 | FlattenCFGPass.cpp \ | |
18 | GlobalMerge.cpp \ | 17 | GlobalMerge.cpp \ | |
19 | GVN.cpp \ | 18 | GVN.cpp \ | |
20 | IndVarSimplify.cpp \ | 19 | IndVarSimplify.cpp \ | |
21 | JumpThreading.cpp \ | 20 | JumpThreading.cpp \ | |
22 | LICM.cpp \ | 21 | LICM.cpp \ | |
23 | LoopDeletion.cpp \ | 22 | LoopDeletion.cpp \ |
--- src/external/bsd/llvm/lib/libLLVMSupport/Attic/Makefile 2014/02/14 20:23:57 1.25
+++ src/external/bsd/llvm/lib/libLLVMSupport/Attic/Makefile 2014/03/04 21:05:06 1.26
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.25 2014/02/14 20:23:57 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.26 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMSupport | 3 | LIB= LLVMSupport | |
4 | 4 | |||
5 | NOGCCERROR= yes | 5 | NOGCCERROR= yes | |
6 | 6 | |||
7 | .include <bsd.init.mk> | 7 | .include <bsd.init.mk> | |
8 | 8 | |||
9 | .PATH: ${LLVM_SRCDIR}/lib/Support | 9 | .PATH: ${LLVM_SRCDIR}/lib/Support | |
10 | 10 | |||
11 | SRCS+= APFloat.cpp \ | 11 | SRCS+= APFloat.cpp \ | |
12 | APInt.cpp \ | 12 | APInt.cpp \ | |
13 | APSInt.cpp \ | 13 | APSInt.cpp \ | |
14 | ARMBuildAttrs.cpp \ | 14 | ARMBuildAttrs.cpp \ | |
@@ -30,26 +30,27 @@ SRCS+= APFloat.cpp \ | @@ -30,26 +30,27 @@ SRCS+= APFloat.cpp \ | |||
30 | Dwarf.cpp \ | 30 | Dwarf.cpp \ | |
31 | ErrorHandling.cpp \ | 31 | ErrorHandling.cpp \ | |
32 | FileOutputBuffer.cpp \ | 32 | FileOutputBuffer.cpp \ | |
33 | FileUtilities.cpp \ | 33 | FileUtilities.cpp \ | |
34 | FoldingSet.cpp \ | 34 | FoldingSet.cpp \ | |
35 | FormattedStream.cpp \ | 35 | FormattedStream.cpp \ | |
36 | GraphWriter.cpp \ | 36 | GraphWriter.cpp \ | |
37 | Hashing.cpp \ | 37 | Hashing.cpp \ | |
38 | IntEqClasses.cpp \ | 38 | IntEqClasses.cpp \ | |
39 | IntervalMap.cpp \ | 39 | IntervalMap.cpp \ | |
40 | IntrusiveRefCntPtr.cpp \ | 40 | IntrusiveRefCntPtr.cpp \ | |
41 | IsInf.cpp \ | 41 | IsInf.cpp \ | |
42 | IsNAN.cpp \ | 42 | IsNAN.cpp \ | |
43 | LEB128.cpp \ | |||
43 | LineIterator.cpp \ | 44 | LineIterator.cpp \ | |
44 | Locale.cpp \ | 45 | Locale.cpp \ | |
45 | LockFileManager.cpp \ | 46 | LockFileManager.cpp \ | |
46 | MD5.cpp \ | 47 | MD5.cpp \ | |
47 | ManagedStatic.cpp \ | 48 | ManagedStatic.cpp \ | |
48 | MemoryBuffer.cpp \ | 49 | MemoryBuffer.cpp \ | |
49 | MemoryObject.cpp \ | 50 | MemoryObject.cpp \ | |
50 | PluginLoader.cpp \ | 51 | PluginLoader.cpp \ | |
51 | PrettyStackTrace.cpp \ | 52 | PrettyStackTrace.cpp \ | |
52 | Regex.cpp \ | 53 | Regex.cpp \ | |
53 | SmallPtrSet.cpp \ | 54 | SmallPtrSet.cpp \ | |
54 | SmallVector.cpp \ | 55 | SmallVector.cpp \ | |
55 | SourceMgr.cpp \ | 56 | SourceMgr.cpp \ |
--- src/external/bsd/llvm/lib/libclangBasic/Attic/Makefile 2013/04/25 13:59:58 1.10
+++ src/external/bsd/llvm/lib/libclangBasic/Attic/Makefile 2014/03/04 21:05:06 1.11
@@ -1,36 +1,37 @@ | @@ -1,36 +1,37 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2013/04/25 13:59:58 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangBasic | 3 | LIB= clangBasic | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/Basic | 7 | .PATH: ${CLANG_SRCDIR}/lib/Basic | |
8 | 8 | |||
9 | SRCS+= Builtins.cpp \ | 9 | SRCS+= Builtins.cpp \ | |
10 | CharInfo.cpp \ | 10 | CharInfo.cpp \ | |
11 | Diagnostic.cpp \ | 11 | Diagnostic.cpp \ | |
12 | DiagnosticIDs.cpp \ | 12 | DiagnosticIDs.cpp \ | |
13 | FileManager.cpp \ | 13 | FileManager.cpp \ | |
14 | FileSystemStatCache.cpp \ | 14 | FileSystemStatCache.cpp \ | |
15 | IdentifierTable.cpp \ | 15 | IdentifierTable.cpp \ | |
16 | LangOptions.cpp \ | 16 | LangOptions.cpp \ | |
17 | Module.cpp \ | 17 | Module.cpp \ | |
18 | ObjCRuntime.cpp \ | 18 | ObjCRuntime.cpp \ | |
19 | OpenMPKinds.cpp \ | 19 | OpenMPKinds.cpp \ | |
20 | OperatorPrecedence.cpp \ | 20 | OperatorPrecedence.cpp \ | |
21 | SourceLocation.cpp \ | 21 | SourceLocation.cpp \ | |
22 | SourceManager.cpp \ | 22 | SourceManager.cpp \ | |
23 | TargetInfo.cpp \ | 23 | TargetInfo.cpp \ | |
24 | Targets.cpp \ | 24 | Targets.cpp \ | |
25 | TokenKinds.cpp \ | 25 | TokenKinds.cpp \ | |
26 | Version.cpp \ | 26 | Version.cpp \ | |
27 | VersionTuple.cpp | 27 | VersionTuple.cpp \ | |
28 | VirtualFileSystem.cpp | |||
28 | 29 | |||
29 | CPPFLAGS.Version.cpp= -DSVN_REVISION=\"${CLANG_REVISION}\" \ | 30 | CPPFLAGS.Version.cpp= -DSVN_REVISION=\"${CLANG_REVISION}\" \ | |
30 | -DLLVM_REVISION=\"${LLVM_REVISION}\" | 31 | -DLLVM_REVISION=\"${LLVM_REVISION}\" | |
31 | 32 | |||
32 | .if defined(HOSTLIB) | 33 | .if defined(HOSTLIB) | |
33 | .include <bsd.hostlib.mk> | 34 | .include <bsd.hostlib.mk> | |
34 | .else | 35 | .else | |
35 | .include <bsd.lib.mk> | 36 | .include <bsd.lib.mk> | |
36 | .endif | 37 | .endif |
--- src/external/bsd/llvm/lib/libclangDriver/Attic/Makefile 2013/09/02 14:34:56 1.6
+++ src/external/bsd/llvm/lib/libclangDriver/Attic/Makefile 2014/03/04 21:05:06 1.7
@@ -1,27 +1,28 @@ | @@ -1,27 +1,28 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2013/09/02 14:34:56 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangDriver | 3 | LIB= clangDriver | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/Driver | 7 | .PATH: ${CLANG_SRCDIR}/lib/Driver | |
8 | 8 | |||
9 | SRCS+= Action.cpp \ | 9 | SRCS+= Action.cpp \ | |
10 | CC1AsOptions.cpp \ | 10 | CC1AsOptions.cpp \ | |
11 | Compilation.cpp \ | 11 | Compilation.cpp \ | |
12 | Driver.cpp \ | 12 | Driver.cpp \ | |
13 | DriverOptions.cpp \ | 13 | DriverOptions.cpp \ | |
14 | Job.cpp \ | 14 | Job.cpp \ | |
15 | Multilib.cpp \ | |||
15 | Phases.cpp \ | 16 | Phases.cpp \ | |
16 | SanitizerArgs.cpp \ | 17 | SanitizerArgs.cpp \ | |
17 | Tool.cpp \ | 18 | Tool.cpp \ | |
18 | ToolChain.cpp \ | 19 | ToolChain.cpp \ | |
19 | ToolChains.cpp \ | 20 | ToolChains.cpp \ | |
20 | Tools.cpp \ | 21 | Tools.cpp \ | |
21 | Types.cpp \ | 22 | Types.cpp \ | |
22 | WindowsToolChain.cpp | 23 | WindowsToolChain.cpp | |
23 | 24 | |||
24 | .if defined(HOSTLIB) | 25 | .if defined(HOSTLIB) | |
25 | .include <bsd.hostlib.mk> | 26 | .include <bsd.hostlib.mk> | |
26 | .else | 27 | .else | |
27 | .include <bsd.lib.mk> | 28 | .include <bsd.lib.mk> |
--- src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Attic/Makefile 2014/01/05 16:38:07 1.2
+++ src/external/bsd/llvm/lib/liblldReaderWriterPECOFF/Attic/Makefile 2014/03/04 21:05:06 1.3
@@ -1,22 +1,23 @@ | @@ -1,22 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2014/01/05 16:38:07 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2014/03/04 21:05:06 joerg Exp $ | |
2 | 2 | |||
3 | LIB= lldReaderWriterPECOFF | 3 | LIB= lldReaderWriterPECOFF | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLD_SRCDIR}/lib/ReaderWriter/PECOFF | 7 | .PATH: ${LLD_SRCDIR}/lib/ReaderWriter/PECOFF | |
8 | 8 | |||
9 | SRCS+= EdataPass.cpp \ | 9 | SRCS+= EdataPass.cpp \ | |
10 | IdataPass.cpp \ | 10 | IdataPass.cpp \ | |
11 | LoadConfigPass.cpp \ | |||
11 | PECOFFLinkingContext.cpp \ | 12 | PECOFFLinkingContext.cpp \ | |
12 | Pass.cpp \ | 13 | Pass.cpp \ | |
13 | ReaderCOFF.cpp \ | 14 | ReaderCOFF.cpp \ | |
14 | ReaderImportHeader.cpp \ | 15 | ReaderImportHeader.cpp \ | |
15 | WriterImportLibrary.cpp \ | 16 | WriterImportLibrary.cpp \ | |
16 | WriterPECOFF.cpp | 17 | WriterPECOFF.cpp | |
17 | 18 | |||
18 | .if defined(HOSTLIB) | 19 | .if defined(HOSTLIB) | |
19 | .include <bsd.hostlib.mk> | 20 | .include <bsd.hostlib.mk> | |
20 | .else | 21 | .else | |
21 | .include <bsd.lib.mk> | 22 | .include <bsd.lib.mk> | |
22 | .endif | 23 | .endif |