Update LLVM snapshot. This allows deriving the target from the binary name, provides a proper CPP mode and fixes a number of compat issues in the integrated assembler. Build the toolchain compiler optimized and without assertions now.diff -r1.3 -r1.4 src/external/bsd/llvm/Makefile.inc
(joerg)
--- src/external/bsd/llvm/Attic/Makefile.inc 2011/02/23 03:09:02 1.3
+++ src/external/bsd/llvm/Attic/Makefile.inc 2011/03/18 23:32:01 1.4
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | # $NetBSD: Makefile.inc,v 1.3 2011/02/23 03:09:02 joerg Exp $ | 1 | # $NetBSD: Makefile.inc,v 1.4 2011/03/18 23:32:01 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 | LLVM_REVISION= 126223 | 8 | LLVM_REVISION= 127912 | |
9 | CLANG_REVISION= 126223 | 9 | CLANG_REVISION= 127912 | |
10 | 10 | |||
11 | LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm | 11 | LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm | |
12 | CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang | 12 | CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang | |
13 | LLVM_TOPLEVEL:= ${.PARSEDIR} | 13 | LLVM_TOPLEVEL:= ${.PARSEDIR} | |
14 | 14 | |||
15 | CPPFLAGS+= -I. -I${LLVM_SRCDIR}/include -I${CLANG_SRCDIR}/include \ | 15 | CPPFLAGS+= -I. -I${LLVM_SRCDIR}/include -I${CLANG_SRCDIR}/include \ | |
16 | -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS | 16 | -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS | |
17 | 17 | |||
18 | .if defined(HOSTLIB) || defined(HOSTPROG) | 18 | .if defined(HOSTLIB) || defined(HOSTPROG) | |
19 | LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include | 19 | LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include | |
20 | LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR} | 20 | LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR} | |
21 | LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR} | 21 | LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR} | |
22 | HOST_CPPFLAGS+= ${CPPFLAGS} | 22 | HOST_CPPFLAGS+= ${CPPFLAGS} |
--- src/external/bsd/llvm/bin/bugpoint/Attic/Makefile 2011/02/06 01:13:44 1.1
+++ src/external/bsd/llvm/bin/bugpoint/Attic/Makefile 2011/03/18 23:32:01 1.2
@@ -1,38 +1,38 @@ | @@ -1,38 +1,38 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= bugpoint | 3 | PROG_CXX= bugpoint | |
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/bugpoint | 8 | .PATH: ${LLVM_SRCDIR}/tools/bugpoint | |
9 | 9 | |||
10 | SRCS= BugDriver.cpp \ | 10 | SRCS= BugDriver.cpp \ | |
11 | CrashDebugger.cpp \ | 11 | CrashDebugger.cpp \ | |
12 | ExecutionDriver.cpp \ | 12 | ExecutionDriver.cpp \ | |
13 | ExtractFunction.cpp \ | 13 | ExtractFunction.cpp \ | |
14 | FindBugs.cpp \ | 14 | FindBugs.cpp \ | |
15 | Miscompilation.cpp \ | 15 | Miscompilation.cpp \ | |
16 | OptimizerDriver.cpp \ | 16 | OptimizerDriver.cpp \ | |
17 | ToolRunner.cpp \ | 17 | ToolRunner.cpp \ | |
18 | bugpoint.cpp | 18 | bugpoint.cpp | |
19 | 19 | |||
20 | LLVM_LIBS+= \ | 20 | LLVM_LIBS+= \ | |
21 | AsmParser \ | 21 | AsmParser \ | |
22 | BitReader \ | 22 | BitReader \ | |
23 | BitWriter \ | 23 | BitWriter \ | |
24 | InstCombine \ | 24 | InstCombine \ | |
25 | Instrumentation \ | 25 | Instrumentation \ | |
26 | Linker \ | 26 | Linker \ | |
27 | ScalarOpts \ | 27 | ScalarOpts \ | |
28 | Analysis \ | |||
29 | Target \ | 28 | Target \ | |
30 | ipo \ | 29 | ipo \ | |
31 | TransformsUtils \ | 30 | TransformsUtils \ | |
31 | Analysis \ | |||
32 | ipa \ | 32 | ipa \ | |
33 | Core \ | 33 | Core \ | |
34 | Support | 34 | Support | |
35 | 35 | |||
36 | .include "${.PARSEDIR}/../../link.mk" | 36 | .include "${.PARSEDIR}/../../link.mk" | |
37 | 37 | |||
38 | .include <bsd.prog.mk> | 38 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/bin/llc/Attic/Makefile 2011/02/06 01:13:44 1.1
+++ src/external/bsd/llvm/bin/llc/Attic/Makefile 2011/03/18 23:32:01 1.2
@@ -1,33 +1,34 @@ | @@ -1,33 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= llc | 3 | PROG_CXX= llc | |
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/llc | 8 | .PATH: ${LLVM_SRCDIR}/tools/llc | |
9 | 9 | |||
10 | SRCS= llc.cpp | 10 | SRCS= llc.cpp | |
11 | 11 | |||
12 | LLVM_LIBS+= \ | 12 | LLVM_LIBS+= \ | |
13 | AsmPrinter \ | 13 | AsmPrinter \ | |
14 | AsmParser \ | 14 | AsmParser \ | |
15 | BitReader \ | 15 | BitReader \ | |
16 | X86CodeGen \ | 16 | X86CodeGen \ | |
17 | X86TargetInfo \ | 17 | X86TargetInfo \ | |
18 | X86AsmParser \ | 18 | X86AsmParser \ | |
19 | X86AsmPrinter \ | 19 | X86AsmPrinter \ | |
20 | X86Utils \ | |||
20 | SelectionDAG \ | 21 | SelectionDAG \ | |
21 | CodeGen \ | 22 | CodeGen \ | |
22 | Target \ | 23 | Target \ | |
23 | ScalarOpts \ | 24 | ScalarOpts \ | |
25 | TransformsUtils \ | |||
24 | Analysis \ | 26 | Analysis \ | |
25 | MCParser \ | 27 | MCParser \ | |
26 | MC \ | 28 | MC \ | |
27 | TransformsUtils \ | |||
28 | Core \ | 29 | Core \ | |
29 | Support | 30 | Support | |
30 | 31 | |||
31 | .include "${.PARSEDIR}/../../link.mk" | 32 | .include "${.PARSEDIR}/../../link.mk" | |
32 | 33 | |||
33 | .include <bsd.prog.mk> | 34 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/bin/lli/Attic/Makefile 2011/02/06 01:13:44 1.1
+++ src/external/bsd/llvm/bin/lli/Attic/Makefile 2011/03/18 23:32:01 1.2
@@ -1,33 +1,34 @@ | @@ -1,33 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= lli | 3 | PROG_CXX= lli | |
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/lli | 8 | .PATH: ${LLVM_SRCDIR}/tools/lli | |
9 | 9 | |||
10 | SRCS= lli.cpp | 10 | SRCS= lli.cpp | |
11 | 11 | |||
12 | LLVM_LIBS+= \ | 12 | LLVM_LIBS+= \ | |
13 | AsmParser \ | 13 | AsmParser \ | |
14 | BitReader \ | 14 | BitReader \ | |
15 | JIT \ | 15 | JIT \ | |
16 | MCJIT \ | 16 | MCJIT \ | |
17 | Interpreter \ | 17 | Interpreter \ | |
18 | ExecutionEngine \ | 18 | ExecutionEngine \ | |
19 | X86CodeGen \ | 19 | X86CodeGen \ | |
20 | X86TargetInfo \ | 20 | X86TargetInfo \ | |
21 | X86Utils \ | |||
21 | SelectionDAG \ | 22 | SelectionDAG \ | |
22 | CodeGen \ | 23 | CodeGen \ | |
23 | Target \ | 24 | Target \ | |
24 | ScalarOpts \ | 25 | ScalarOpts \ | |
26 | TransformsUtils \ | |||
25 | Analysis \ | 27 | Analysis \ | |
26 | MC \ | 28 | MC \ | |
27 | TransformsUtils \ | |||
28 | Core \ | 29 | Core \ | |
29 | Support | 30 | Support | |
30 | 31 | |||
31 | .include "${.PARSEDIR}/../../link.mk" | 32 | .include "${.PARSEDIR}/../../link.mk" | |
32 | 33 | |||
33 | .include <bsd.prog.mk> | 34 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/bin/llvm-diff/Attic/Makefile 2011/02/06 01:13:45 1.1
+++ src/external/bsd/llvm/bin/llvm-diff/Attic/Makefile 2011/03/18 23:32:01 1.2
@@ -1,21 +1,23 @@ | @@ -1,21 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= llvm-diff | 3 | PROG_CXX= llvm-diff | |
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/llvm-diff | 8 | .PATH: ${LLVM_SRCDIR}/tools/llvm-diff | |
9 | 9 | |||
10 | SRCS= llvm-diff.cpp \ | 10 | SRCS= llvm-diff.cpp \ | |
11 | DiffConsumer.cpp \ | |||
12 | DiffLog.cpp \ | |||
11 | DifferenceEngine.cpp | 13 | DifferenceEngine.cpp | |
12 | 14 | |||
13 | LLVM_LIBS+= \ | 15 | LLVM_LIBS+= \ | |
14 | AsmParser \ | 16 | AsmParser \ | |
15 | BitReader \ | 17 | BitReader \ | |
16 | Core \ | 18 | Core \ | |
17 | Support | 19 | Support | |
18 | 20 | |||
19 | .include "${.PARSEDIR}/../../link.mk" | 21 | .include "${.PARSEDIR}/../../link.mk" | |
20 | 22 | |||
21 | .include <bsd.prog.mk> | 23 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/bin/llvm-dis/Attic/Makefile 2011/02/06 01:13:46 1.1
+++ src/external/bsd/llvm/bin/llvm-dis/Attic/Makefile 2011/03/18 23:32:02 1.2
@@ -1,19 +1,20 @@ | @@ -1,19 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= llvm-dis | 3 | PROG_CXX= llvm-dis | |
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/llvm-dis | 8 | .PATH: ${LLVM_SRCDIR}/tools/llvm-dis | |
9 | 9 | |||
10 | SRCS= llvm-dis.cpp | 10 | SRCS= llvm-dis.cpp | |
11 | 11 | |||
12 | LLVM_LIBS+= \ | 12 | LLVM_LIBS+= \ | |
13 | Analysis \ | |||
13 | BitReader \ | 14 | BitReader \ | |
14 | Core \ | 15 | Core \ | |
15 | Support | 16 | Support | |
16 | 17 | |||
17 | .include "${.PARSEDIR}/../../link.mk" | 18 | .include "${.PARSEDIR}/../../link.mk" | |
18 | 19 | |||
19 | .include <bsd.prog.mk> | 20 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/bin/llvm-ld/Attic/Makefile 2011/02/06 01:13:46 1.1
+++ src/external/bsd/llvm/bin/llvm-ld/Attic/Makefile 2011/03/18 23:32:02 1.2
@@ -1,31 +1,31 @@ | @@ -1,31 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= llvm-ld | 3 | PROG_CXX= llvm-ld | |
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/llvm-ld | 8 | .PATH: ${LLVM_SRCDIR}/tools/llvm-ld | |
9 | 9 | |||
10 | SRCS= Optimize.cpp \ | 10 | SRCS= Optimize.cpp \ | |
11 | llvm-ld.cpp | 11 | llvm-ld.cpp | |
12 | 12 | |||
13 | LLVM_LIBS+= \ | 13 | LLVM_LIBS+= \ | |
14 | Linker \ | 14 | Linker \ | |
15 | Archive \ | 15 | Archive \ | |
16 | AsmParser \ | 16 | AsmParser \ | |
17 | BitReader \ | 17 | BitReader \ | |
18 | BitWriter \ | 18 | BitWriter \ | |
19 | InstCombine \ | 19 | InstCombine \ | |
20 | ipo \ | |||
20 | ScalarOpts \ | 21 | ScalarOpts \ | |
22 | TransformsUtils \ | |||
21 | Analysis \ | 23 | Analysis \ | |
22 | Target \ | 24 | Target \ | |
23 | ipo \ | |||
24 | TransformsUtils \ | |||
25 | ipa \ | 25 | ipa \ | |
26 | Core \ | 26 | Core \ | |
27 | Support | 27 | Support | |
28 | 28 | |||
29 | .include "${.PARSEDIR}/../../link.mk" | 29 | .include "${.PARSEDIR}/../../link.mk" | |
30 | 30 | |||
31 | .include <bsd.prog.mk> | 31 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/bin/llvm-mc/Attic/Makefile 2011/02/06 01:13:47 1.1
+++ src/external/bsd/llvm/bin/llvm-mc/Attic/Makefile 2011/03/18 23:32:02 1.2
@@ -1,34 +1,35 @@ | @@ -1,34 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ | |
2 | 2 | |||
3 | PROG_CXX= llvm-mc | 3 | PROG_CXX= llvm-mc | |
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/llvm-mc | 8 | .PATH: ${LLVM_SRCDIR}/tools/llvm-mc | |
9 | 9 | |||
10 | SRCS= llvm-mc.cpp \ | 10 | SRCS= llvm-mc.cpp \ | |
11 | Disassembler.cpp | 11 | Disassembler.cpp | |
12 | 12 | |||
13 | LLVM_LIBS+= \ | 13 | LLVM_LIBS+= \ | |
14 | X86CodeGen \ | 14 | X86CodeGen \ | |
15 | X86TargetInfo \ | 15 | X86TargetInfo \ | |
16 | X86AsmParser \ | 16 | X86AsmParser \ | |
17 | X86Disassembler \ | 17 | X86Disassembler \ | |
18 | X86AsmPrinter \ | 18 | X86AsmPrinter \ | |
19 | X86Utils \ | |||
19 | SelectionDAG \ | 20 | SelectionDAG \ | |
20 | CodeGen \ | 21 | CodeGen \ | |
21 | Target \ | 22 | Target \ | |
22 | ScalarOpts \ | 23 | ScalarOpts \ | |
24 | TransformsUtils \ | |||
23 | Analysis \ | 25 | Analysis \ | |
24 | AsmPrinter \ | 26 | AsmPrinter \ | |
25 | MCDisassembler \ | 27 | MCDisassembler \ | |
26 | MCParser \ | 28 | MCParser \ | |
27 | MC \ | 29 | MC \ | |
28 | TransformsUtils \ | |||
29 | Core \ | 30 | Core \ | |
30 | Support | 31 | Support | |
31 | 32 | |||
32 | .include "${.PARSEDIR}/../../link.mk" | 33 | .include "${.PARSEDIR}/../../link.mk" | |
33 | 34 | |||
34 | .include <bsd.prog.mk> | 35 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/bin/opt/Attic/Makefile 2011/02/06 01:13:48 1.1
+++ src/external/bsd/llvm/bin/opt/Attic/Makefile 2011/03/18 23:32:02 1.2
@@ -1,32 +1,32 @@ | @@ -1,32 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 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 | GraphPrinters.cpp \ | 11 | GraphPrinters.cpp \ | |
12 | PrintSCC.cpp \ | 12 | PrintSCC.cpp \ | |
13 | opt.cpp | 13 | opt.cpp | |
14 | 14 | |||
15 | LLVM_LIBS+= \ | 15 | LLVM_LIBS+= \ | |
16 | AsmParser \ | 16 | AsmParser \ | |
17 | BitReader \ | 17 | BitReader \ | |
18 | BitWriter \ | 18 | BitWriter \ | |
19 | InstCombine \ | 19 | InstCombine \ | |
20 | Instrumentation \ | 20 | Instrumentation \ | |
21 | ipo \ | |||
21 | ScalarOpts \ | 22 | ScalarOpts \ | |
23 | TransformsUtils \ | |||
22 | Analysis \ | 24 | Analysis \ | |
23 | Target \ | 25 | Target \ | |
24 | ipo \ | |||
25 | TransformsUtils \ | |||
26 | ipa \ | 26 | ipa \ | |
27 | Core \ | 27 | Core \ | |
28 | Support | 28 | Support | |
29 | 29 | |||
30 | .include "${.PARSEDIR}/../../link.mk" | 30 | .include "${.PARSEDIR}/../../link.mk" | |
31 | 31 | |||
32 | .include <bsd.prog.mk> | 32 | .include <bsd.prog.mk> |
--- src/external/bsd/llvm/lib/libLLVMAnalysis/Attic/Makefile 2011/02/06 01:13:53 1.1
+++ src/external/bsd/llvm/lib/libLLVMAnalysis/Attic/Makefile 2011/03/18 23:32:02 1.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMAnalysis | 3 | LIB= LLVMAnalysis | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/Analysis | 7 | .PATH: ${LLVM_SRCDIR}/lib/Analysis | |
8 | 8 | |||
9 | SRCS+= AliasAnalysis.cpp \ | 9 | SRCS+= AliasAnalysis.cpp \ | |
10 | AliasAnalysisCounter.cpp \ | 10 | AliasAnalysisCounter.cpp \ | |
11 | AliasAnalysisEvaluator.cpp \ | 11 | AliasAnalysisEvaluator.cpp \ | |
12 | AliasDebugger.cpp \ | 12 | AliasDebugger.cpp \ | |
13 | AliasSetTracker.cpp \ | 13 | AliasSetTracker.cpp \ | |
14 | Analysis.cpp \ | 14 | Analysis.cpp \ | |
@@ -21,27 +21,26 @@ SRCS+= AliasAnalysis.cpp \ | @@ -21,27 +21,26 @@ SRCS+= AliasAnalysis.cpp \ | |||
21 | DIBuilder.cpp \ | 21 | DIBuilder.cpp \ | |
22 | DomPrinter.cpp \ | 22 | DomPrinter.cpp \ | |
23 | DominanceFrontier.cpp \ | 23 | DominanceFrontier.cpp \ | |
24 | IVUsers.cpp \ | 24 | IVUsers.cpp \ | |
25 | InlineCost.cpp \ | 25 | InlineCost.cpp \ | |
26 | InstCount.cpp \ | 26 | InstCount.cpp \ | |
27 | InstructionSimplify.cpp \ | 27 | InstructionSimplify.cpp \ | |
28 | Interval.cpp \ | 28 | Interval.cpp \ | |
29 | IntervalPartition.cpp \ | 29 | IntervalPartition.cpp \ | |
30 | LazyValueInfo.cpp \ | 30 | LazyValueInfo.cpp \ | |
31 | LibCallAliasAnalysis.cpp \ | 31 | LibCallAliasAnalysis.cpp \ | |
32 | LibCallSemantics.cpp \ | 32 | LibCallSemantics.cpp \ | |
33 | Lint.cpp \ | 33 | Lint.cpp \ | |
34 | LiveValues.cpp \ | |||
35 | Loads.cpp \ | 34 | Loads.cpp \ | |
36 | LoopDependenceAnalysis.cpp \ | 35 | LoopDependenceAnalysis.cpp \ | |
37 | LoopInfo.cpp \ | 36 | LoopInfo.cpp \ | |
38 | LoopPass.cpp \ | 37 | LoopPass.cpp \ | |
39 | MemDepPrinter.cpp \ | 38 | MemDepPrinter.cpp \ | |
40 | MemoryBuiltins.cpp \ | 39 | MemoryBuiltins.cpp \ | |
41 | MemoryDependenceAnalysis.cpp \ | 40 | MemoryDependenceAnalysis.cpp \ | |
42 | ModuleDebugInfoPrinter.cpp \ | 41 | ModuleDebugInfoPrinter.cpp \ | |
43 | NoAliasAnalysis.cpp \ | 42 | NoAliasAnalysis.cpp \ | |
44 | PathNumbering.cpp \ | 43 | PathNumbering.cpp \ | |
45 | PathProfileInfo.cpp \ | 44 | PathProfileInfo.cpp \ | |
46 | PathProfileVerifier.cpp \ | 45 | PathProfileVerifier.cpp \ | |
47 | PHITransAddr.cpp \ | 46 | PHITransAddr.cpp \ |
--- src/external/bsd/llvm/lib/libLLVMAsmPrinter/Attic/Makefile 2011/02/06 01:13:53 1.1
+++ src/external/bsd/llvm/lib/libLLVMAsmPrinter/Attic/Makefile 2011/03/18 23:32:02 1.2
@@ -1,22 +1,23 @@ | @@ -1,22 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMAsmPrinter | 3 | LIB= LLVMAsmPrinter | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/CodeGen/AsmPrinter | 7 | .PATH: ${LLVM_SRCDIR}/lib/CodeGen/AsmPrinter | |
8 | 8 | |||
9 | SRCS+= AsmPrinter.cpp \ | 9 | SRCS+= ARMException.cpp \ | |
10 | AsmPrinter.cpp \ | |||
10 | AsmPrinterDwarf.cpp \ | 11 | AsmPrinterDwarf.cpp \ | |
11 | AsmPrinterInlineAsm.cpp \ | 12 | AsmPrinterInlineAsm.cpp \ | |
12 | DIE.cpp \ | 13 | DIE.cpp \ | |
13 | DwarfCFIException.cpp \ | 14 | DwarfCFIException.cpp \ | |
14 | DwarfDebug.cpp \ | 15 | DwarfDebug.cpp \ | |
15 | DwarfException.cpp \ | 16 | DwarfException.cpp \ | |
16 | DwarfTableException.cpp \ | 17 | DwarfTableException.cpp \ | |
17 | OcamlGCPrinter.cpp | 18 | OcamlGCPrinter.cpp | |
18 | 19 | |||
19 | .if defined(HOSTLIB) | 20 | .if defined(HOSTLIB) | |
20 | .include <bsd.hostlib.mk> | 21 | .include <bsd.hostlib.mk> | |
21 | .else | 22 | .else | |
22 | .include <bsd.lib.mk> | 23 | .include <bsd.lib.mk> |
--- src/external/bsd/llvm/lib/libLLVMCore/Attic/Makefile 2011/02/06 01:13:56 1.1
+++ src/external/bsd/llvm/lib/libLLVMCore/Attic/Makefile 2011/03/18 23:32:03 1.2
@@ -1,28 +1,29 @@ | @@ -1,28 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:56 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ | |
2 | 2 | |||
3 | LIB= LLVMCore | 3 | LIB= LLVMCore | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${LLVM_SRCDIR}/lib/VMCore | 7 | .PATH: ${LLVM_SRCDIR}/lib/VMCore | |
8 | 8 | |||
9 | SRCS+= AsmWriter.cpp \ | 9 | SRCS+= AsmWriter.cpp \ | |
10 | Attributes.cpp \ | 10 | Attributes.cpp \ | |
11 | AutoUpgrade.cpp \ | 11 | AutoUpgrade.cpp \ | |
12 | BasicBlock.cpp \ | 12 | BasicBlock.cpp \ | |
13 | ConstantFold.cpp \ | 13 | ConstantFold.cpp \ | |
14 | Constants.cpp \ | 14 | Constants.cpp \ | |
15 | Core.cpp \ | 15 | Core.cpp \ | |
16 | DebugInfoProbe.cpp \ | |||
16 | DebugLoc.cpp \ | 17 | DebugLoc.cpp \ | |
17 | Dominators.cpp \ | 18 | Dominators.cpp \ | |
18 | Function.cpp \ | 19 | Function.cpp \ | |
19 | GVMaterializer.cpp \ | 20 | GVMaterializer.cpp \ | |
20 | Globals.cpp \ | 21 | Globals.cpp \ | |
21 | IRBuilder.cpp \ | 22 | IRBuilder.cpp \ | |
22 | InlineAsm.cpp \ | 23 | InlineAsm.cpp \ | |
23 | Instruction.cpp \ | 24 | Instruction.cpp \ | |
24 | Instructions.cpp \ | 25 | Instructions.cpp \ | |
25 | IntrinsicInst.cpp \ | 26 | IntrinsicInst.cpp \ | |
26 | LLVMContext.cpp \ | 27 | LLVMContext.cpp \ | |
27 | LLVMContextImpl.cpp \ | 28 | LLVMContextImpl.cpp \ | |
28 | LeakDetector.cpp \ | 29 | LeakDetector.cpp \ |
--- src/external/bsd/llvm/lib/libLLVMMC/Attic/Makefile 2011/02/06 01:13:59 1.1
+++ src/external/bsd/llvm/lib/libLLVMMC/Attic/Makefile 2011/03/18 23:32:03 1.2
@@ -1,30 +1,31 @@ | @@ -1,30 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:13:59 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 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 | MCAsmInfo.cpp \ | 10 | MCAsmInfo.cpp \ | |
11 | MCAsmInfoCOFF.cpp \ | 11 | MCAsmInfoCOFF.cpp \ | |
12 | MCAsmInfoDarwin.cpp \ | 12 | MCAsmInfoDarwin.cpp \ | |
13 | MCAsmStreamer.cpp \ | 13 | MCAsmStreamer.cpp \ | |
14 | MCAssembler.cpp \ | 14 | MCAssembler.cpp \ | |
15 | MCCodeEmitter.cpp \ | 15 | MCCodeEmitter.cpp \ | |
16 | MCContext.cpp \ | 16 | MCContext.cpp \ | |
17 | MCDisassembler.cpp \ | 17 | MCDisassembler.cpp \ | |
18 | MCELF.cpp \ | |||
18 | MCELFObjectTargetWriter.cpp \ | 19 | MCELFObjectTargetWriter.cpp \ | |
19 | MCELFStreamer.cpp \ | 20 | MCELFStreamer.cpp \ | |
20 | MCExpr.cpp \ | 21 | MCExpr.cpp \ | |
21 | MCInst.cpp \ | 22 | MCInst.cpp \ | |
22 | MCInstPrinter.cpp \ | 23 | MCInstPrinter.cpp \ | |
23 | MCLabel.cpp \ | 24 | MCLabel.cpp \ | |
24 | MCDwarf.cpp \ | 25 | MCDwarf.cpp \ | |
25 | MCLoggingStreamer.cpp \ | 26 | MCLoggingStreamer.cpp \ | |
26 | MCMachOStreamer.cpp \ | 27 | MCMachOStreamer.cpp \ | |
27 | MCMachObjectTargetWriter.cpp \ | 28 | MCMachObjectTargetWriter.cpp \ | |
28 | MCNullStreamer.cpp \ | 29 | MCNullStreamer.cpp \ | |
29 | MCObjectStreamer.cpp \ | 30 | MCObjectStreamer.cpp \ | |
30 | MCObjectWriter.cpp \ | 31 | MCObjectWriter.cpp \ |
--- src/external/bsd/llvm/lib/libLLVMScalarOpts/Attic/Makefile 2011/02/06 01:14:01 1.1
+++ src/external/bsd/llvm/lib/libLLVMScalarOpts/Attic/Makefile 2011/03/18 23:32:03 1.2
@@ -1,47 +1,45 @@ | @@ -1,47 +1,45 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:14:01 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 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 | BasicBlockPlacement.cpp \ | 10 | BasicBlockPlacement.cpp \ | |
11 | CodeGenPrepare.cpp \ | 11 | CodeGenPrepare.cpp \ | |
12 | ConstantProp.cpp \ | 12 | ConstantProp.cpp \ | |
13 | CorrelatedValuePropagation.cpp \ | 13 | CorrelatedValuePropagation.cpp \ | |
14 | DCE.cpp \ | 14 | DCE.cpp \ | |
15 | DeadStoreElimination.cpp \ | 15 | DeadStoreElimination.cpp \ | |
16 | EarlyCSE.cpp \ | 16 | EarlyCSE.cpp \ | |
17 | GEPSplitter.cpp \ | |||
18 | GVN.cpp \ | 17 | GVN.cpp \ | |
19 | IndVarSimplify.cpp \ | 18 | IndVarSimplify.cpp \ | |
20 | JumpThreading.cpp \ | 19 | JumpThreading.cpp \ | |
21 | LICM.cpp \ | 20 | LICM.cpp \ | |
22 | LoopDeletion.cpp \ | 21 | LoopDeletion.cpp \ | |
23 | LoopIdiomRecognize.cpp \ | 22 | LoopIdiomRecognize.cpp \ | |
24 | LoopInstSimplify.cpp \ | 23 | LoopInstSimplify.cpp \ | |
25 | LoopRotation.cpp \ | 24 | LoopRotation.cpp \ | |
26 | LoopStrengthReduce.cpp \ | 25 | LoopStrengthReduce.cpp \ | |
27 | LoopUnrollPass.cpp \ | 26 | LoopUnrollPass.cpp \ | |
28 | LoopUnswitch.cpp \ | 27 | LoopUnswitch.cpp \ | |
29 | LowerAtomic.cpp \ | 28 | LowerAtomic.cpp \ | |
30 | MemCpyOptimizer.cpp \ | 29 | MemCpyOptimizer.cpp \ | |
31 | Reassociate.cpp \ | 30 | Reassociate.cpp \ | |
32 | Reg2Mem.cpp \ | 31 | Reg2Mem.cpp \ | |
33 | SCCP.cpp \ | 32 | SCCP.cpp \ | |
34 | Scalar.cpp \ | 33 | Scalar.cpp \ | |
35 | ScalarReplAggregates.cpp \ | 34 | ScalarReplAggregates.cpp \ | |
36 | SimplifyCFGPass.cpp \ | 35 | SimplifyCFGPass.cpp \ | |
37 | SimplifyHalfPowrLibCalls.cpp \ | |||
38 | SimplifyLibCalls.cpp \ | 36 | SimplifyLibCalls.cpp \ | |
39 | Sink.cpp \ | 37 | Sink.cpp \ | |
40 | TailDuplication.cpp \ | 38 | TailDuplication.cpp \ | |
41 | TailRecursionElimination.cpp | 39 | TailRecursionElimination.cpp | |
42 | 40 | |||
43 | .if defined(HOSTLIB) | 41 | .if defined(HOSTLIB) | |
44 | .include <bsd.hostlib.mk> | 42 | .include <bsd.hostlib.mk> | |
45 | .else | 43 | .else | |
46 | .include <bsd.lib.mk> | 44 | .include <bsd.lib.mk> | |
47 | .endif | 45 | .endif |
--- src/external/bsd/llvm/lib/libclangAST/Attic/Makefile 2011/02/06 01:14:05 1.1
+++ src/external/bsd/llvm/lib/libclangAST/Attic/Makefile 2011/03/18 23:32:03 1.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangAST | 3 | LIB= clangAST | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/AST | 7 | .PATH: ${CLANG_SRCDIR}/lib/AST | |
8 | 8 | |||
9 | SRCS+= APValue.cpp \ | 9 | SRCS+= APValue.cpp \ | |
10 | ASTConsumer.cpp \ | 10 | ASTConsumer.cpp \ | |
11 | ASTContext.cpp \ | 11 | ASTContext.cpp \ | |
12 | ASTDiagnostic.cpp \ | 12 | ASTDiagnostic.cpp \ | |
13 | ASTImporter.cpp \ | 13 | ASTImporter.cpp \ | |
14 | AttrImpl.cpp \ | 14 | AttrImpl.cpp \ | |
@@ -17,26 +17,27 @@ SRCS+= APValue.cpp \ | @@ -17,26 +17,27 @@ SRCS+= APValue.cpp \ | |||
17 | DeclarationName.cpp \ | 17 | DeclarationName.cpp \ | |
18 | DeclBase.cpp \ | 18 | DeclBase.cpp \ | |
19 | DeclCXX.cpp \ | 19 | DeclCXX.cpp \ | |
20 | DeclFriend.cpp \ | 20 | DeclFriend.cpp \ | |
21 | DeclGroup.cpp \ | 21 | DeclGroup.cpp \ | |
22 | DeclObjC.cpp \ | 22 | DeclObjC.cpp \ | |
23 | DeclPrinter.cpp \ | 23 | DeclPrinter.cpp \ | |
24 | DeclTemplate.cpp \ | 24 | DeclTemplate.cpp \ | |
25 | DumpXML.cpp \ | 25 | DumpXML.cpp \ | |
26 | Expr.cpp \ | 26 | Expr.cpp \ | |
27 | ExprClassification.cpp \ | 27 | ExprClassification.cpp \ | |
28 | ExprConstant.cpp \ | 28 | ExprConstant.cpp \ | |
29 | ExprCXX.cpp \ | 29 | ExprCXX.cpp \ | |
30 | ExternalASTSource.cpp \ | |||
30 | InheritViz.cpp \ | 31 | InheritViz.cpp \ | |
31 | ItaniumCXXABI.cpp \ | 32 | ItaniumCXXABI.cpp \ | |
32 | ItaniumMangle.cpp \ | 33 | ItaniumMangle.cpp \ | |
33 | Mangle.cpp \ | 34 | Mangle.cpp \ | |
34 | MicrosoftCXXABI.cpp \ | 35 | MicrosoftCXXABI.cpp \ | |
35 | MicrosoftMangle.cpp \ | 36 | MicrosoftMangle.cpp \ | |
36 | NestedNameSpecifier.cpp \ | 37 | NestedNameSpecifier.cpp \ | |
37 | ParentMap.cpp \ | 38 | ParentMap.cpp \ | |
38 | RecordLayout.cpp \ | 39 | RecordLayout.cpp \ | |
39 | RecordLayoutBuilder.cpp \ | 40 | RecordLayoutBuilder.cpp \ | |
40 | Stmt.cpp \ | 41 | Stmt.cpp \ | |
41 | StmtDumper.cpp \ | 42 | StmtDumper.cpp \ | |
42 | StmtIterator.cpp \ | 43 | StmtIterator.cpp \ |
--- src/external/bsd/llvm/lib/libclangAnalysis/Attic/Makefile 2011/02/06 01:14:06 1.1
+++ src/external/bsd/llvm/lib/libclangAnalysis/Attic/Makefile 2011/03/18 23:32:03 1.2
@@ -1,26 +1,26 @@ | @@ -1,26 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:03 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangAnalysis | 3 | LIB= clangAnalysis | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/Analysis | 7 | .PATH: ${CLANG_SRCDIR}/lib/Analysis | |
8 | 8 | |||
9 | SRCS+= AnalysisContext.cpp \ | 9 | SRCS+= AnalysisContext.cpp \ | |
10 | CFG.cpp \ | 10 | CFG.cpp \ | |
11 | CFGReachabilityAnalysis.cpp \ | |||
11 | CFGStmtMap.cpp \ | 12 | CFGStmtMap.cpp \ | |
12 | CocoaConventions.cpp \ | 13 | CocoaConventions.cpp \ | |
13 | FormatString.cpp \ | 14 | FormatString.cpp \ | |
14 | LiveVariables.cpp \ | 15 | LiveVariables.cpp \ | |
15 | PrintfFormatString.cpp \ | 16 | PrintfFormatString.cpp \ | |
16 | PseudoConstantAnalysis.cpp \ | 17 | PseudoConstantAnalysis.cpp \ | |
17 | ReachableCode.cpp \ | 18 | ReachableCode.cpp \ | |
18 | ScanfFormatString.cpp \ | 19 | ScanfFormatString.cpp \ | |
19 | UninitializedValues.cpp \ | 20 | UninitializedValues.cpp | |
20 | UninitializedValuesV2.cpp | |||
21 | 21 | |||
22 | .if defined(HOSTLIB) | 22 | .if defined(HOSTLIB) | |
23 | .include <bsd.hostlib.mk> | 23 | .include <bsd.hostlib.mk> | |
24 | .else | 24 | .else | |
25 | .include <bsd.lib.mk> | 25 | .include <bsd.lib.mk> | |
26 | .endif | 26 | .endif |
--- src/external/bsd/llvm/lib/libclangFrontend/Attic/Makefile 2011/02/06 01:14:07 1.1
+++ src/external/bsd/llvm/lib/libclangFrontend/Attic/Makefile 2011/03/18 23:32:04 1.2
@@ -1,40 +1,36 @@ | @@ -1,40 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:14:07 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangFrontend | 3 | LIB= clangFrontend | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/Frontend | 7 | .PATH: ${CLANG_SRCDIR}/lib/Frontend | |
8 | 8 | |||
9 | SRCS+= ASTConsumers.cpp \ | 9 | SRCS+= ASTConsumers.cpp \ | |
10 | ASTMerge.cpp \ | 10 | ASTMerge.cpp \ | |
11 | ASTUnit.cpp \ | 11 | ASTUnit.cpp \ | |
12 | BoostConAction.cpp \ | 12 | BoostConAction.cpp \ | |
13 | CacheTokens.cpp \ | 13 | CacheTokens.cpp \ | |
14 | CompilerInstance.cpp \ | 14 | CompilerInstance.cpp \ | |
15 | CompilerInvocation.cpp \ | 15 | CompilerInvocation.cpp \ | |
16 | DeclXML.cpp \ | |||
17 | DependencyFile.cpp \ | 16 | DependencyFile.cpp \ | |
18 | DiagChecker.cpp \ | 17 | DiagChecker.cpp \ | |
19 | DocumentXML.cpp \ | |||
20 | FrontendAction.cpp \ | 18 | FrontendAction.cpp \ | |
21 | FrontendActions.cpp \ | 19 | FrontendActions.cpp \ | |
22 | FrontendOptions.cpp \ | 20 | FrontendOptions.cpp \ | |
23 | HeaderIncludeGen.cpp \ | 21 | HeaderIncludeGen.cpp \ | |
24 | InitHeaderSearch.cpp \ | 22 | InitHeaderSearch.cpp \ | |
25 | InitPreprocessor.cpp \ | 23 | InitPreprocessor.cpp \ | |
26 | LangStandards.cpp \ | 24 | LangStandards.cpp \ | |
27 | MultiplexConsumer.cpp \ | 25 | MultiplexConsumer.cpp \ | |
28 | PrintPreprocessedOutput.cpp \ | 26 | PrintPreprocessedOutput.cpp \ | |
29 | StmtXML.cpp \ | |||
30 | TextDiagnosticBuffer.cpp \ | 27 | TextDiagnosticBuffer.cpp \ | |
31 | TextDiagnosticPrinter.cpp \ | 28 | TextDiagnosticPrinter.cpp \ | |
32 | TypeXML.cpp \ | |||
33 | VerifyDiagnosticsClient.cpp \ | 29 | VerifyDiagnosticsClient.cpp \ | |
34 | Warnings.cpp | 30 | Warnings.cpp | |
35 | 31 | |||
36 | .if defined(HOSTLIB) | 32 | .if defined(HOSTLIB) | |
37 | .include <bsd.hostlib.mk> | 33 | .include <bsd.hostlib.mk> | |
38 | .else | 34 | .else | |
39 | .include <bsd.lib.mk> | 35 | .include <bsd.lib.mk> | |
40 | .endif | 36 | .endif |
--- src/external/bsd/llvm/lib/libclangSerialization/Attic/Makefile 2011/02/06 01:14:10 1.1
+++ src/external/bsd/llvm/lib/libclangSerialization/Attic/Makefile 2011/03/18 23:32:04 1.2
@@ -1,22 +1,23 @@ | @@ -1,22 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:14:10 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangSerialization | 3 | LIB= clangSerialization | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/Serialization | 7 | .PATH: ${CLANG_SRCDIR}/lib/Serialization | |
8 | 8 | |||
9 | SRCS+= GeneratePCH.cpp \ | 9 | SRCS+= ASTCommon.cpp \ | |
10 | ASTCommon.cpp \ | |||
11 | ASTReader.cpp \ | 10 | ASTReader.cpp \ | |
12 | ASTReaderDecl.cpp \ | 11 | ASTReaderDecl.cpp \ | |
13 | ASTReaderStmt.cpp \ | 12 | ASTReaderStmt.cpp \ | |
14 | ASTWriter.cpp \ | 13 | ASTWriter.cpp \ | |
15 | ASTWriterDecl.cpp \ | 14 | ASTWriterDecl.cpp \ | |
16 | ASTWriterStmt.cpp | 15 | ASTWriterStmt.cpp \ | |
16 | ChainedIncludesSource.cpp \ | |||
17 | GeneratePCH.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 |
--- src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Attic/Makefile 2011/02/23 03:09:04 1.3
+++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Attic/Makefile 2011/03/18 23:32:04 1.4
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2011/02/23 03:09:04 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2011/03/18 23:32:04 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangStaticAnalyzerCheckers | 3 | LIB= clangStaticAnalyzerCheckers | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers | 7 | .PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers | |
8 | 8 | |||
9 | SRCS+= AdjustedReturnValueChecker.cpp \ | 9 | SRCS+= AdjustedReturnValueChecker.cpp \ | |
10 | AnalyzerStatsChecker.cpp \ | 10 | AnalyzerStatsChecker.cpp \ | |
11 | ArrayBoundChecker.cpp \ | 11 | ArrayBoundChecker.cpp \ | |
12 | ArrayBoundCheckerV2.cpp \ | 12 | ArrayBoundCheckerV2.cpp \ | |
13 | AttrNonNullChecker.cpp \ | 13 | AttrNonNullChecker.cpp \ | |
14 | BasicObjCFoundationChecks.cpp \ | 14 | BasicObjCFoundationChecks.cpp \ | |
@@ -17,46 +17,45 @@ SRCS+= AdjustedReturnValueChecker.cpp \ | @@ -17,46 +17,45 @@ SRCS+= AdjustedReturnValueChecker.cpp \ | |||
17 | CStringChecker.cpp \ | 17 | CStringChecker.cpp \ | |
18 | CallAndMessageChecker.cpp \ | 18 | CallAndMessageChecker.cpp \ | |
19 | CastSizeChecker.cpp \ | 19 | CastSizeChecker.cpp \ | |
20 | CastToStructChecker.cpp \ | 20 | CastToStructChecker.cpp \ | |
21 | CheckObjCDealloc.cpp \ | 21 | CheckObjCDealloc.cpp \ | |
22 | CheckObjCInstMethSignature.cpp \ | 22 | CheckObjCInstMethSignature.cpp \ | |
23 | CheckSecuritySyntaxOnly.cpp \ | 23 | CheckSecuritySyntaxOnly.cpp \ | |
24 | CheckSizeofPointer.cpp \ | 24 | CheckSizeofPointer.cpp \ | |
25 | ChrootChecker.cpp \ | 25 | ChrootChecker.cpp \ | |
26 | DeadStoresChecker.cpp \ | 26 | DeadStoresChecker.cpp \ | |
27 | DebugCheckers.cpp \ | 27 | DebugCheckers.cpp \ | |
28 | DereferenceChecker.cpp \ | 28 | DereferenceChecker.cpp \ | |
29 | DivZeroChecker.cpp \ | 29 | DivZeroChecker.cpp \ | |
30 | ExperimentalChecks.cpp \ | |||
31 | ExprEngine.cpp \ | |||
32 | FixedAddressChecker.cpp \ | 30 | FixedAddressChecker.cpp \ | |
33 | IdempotentOperationChecker.cpp \ | 31 | IdempotentOperationChecker.cpp \ | |
32 | IteratorsChecker.cpp \ | |||
34 | LLVMConventionsChecker.cpp \ | 33 | LLVMConventionsChecker.cpp \ | |
35 | MacOSXAPIChecker.cpp \ | 34 | MacOSXAPIChecker.cpp \ | |
36 | MallocChecker.cpp \ | 35 | MallocChecker.cpp \ | |
37 | NSAutoreleasePoolChecker.cpp \ | 36 | NSAutoreleasePoolChecker.cpp \ | |
38 | NSErrorChecker.cpp \ | 37 | NSErrorChecker.cpp \ | |
39 | NoReturnFunctionChecker.cpp \ | 38 | NoReturnFunctionChecker.cpp \ | |
40 | OSAtomicChecker.cpp \ | 39 | OSAtomicChecker.cpp \ | |
41 | ObjCAtSyncChecker.cpp \ | 40 | ObjCAtSyncChecker.cpp \ | |
42 | ObjCSelfInitChecker.cpp \ | 41 | ObjCSelfInitChecker.cpp \ | |
43 | ObjCUnusedIVarsChecker.cpp \ | 42 | ObjCUnusedIVarsChecker.cpp \ | |
44 | PointerArithChecker.cpp \ | 43 | PointerArithChecker.cpp \ | |
45 | PointerSubChecker.cpp \ | 44 | PointerSubChecker.cpp \ | |
46 | PthreadLockChecker.cpp \ | 45 | PthreadLockChecker.cpp \ | |
47 | ReturnPointerRangeChecker.cpp \ | 46 | ReturnPointerRangeChecker.cpp \ | |
48 | ReturnUndefChecker.cpp \ | 47 | ReturnUndefChecker.cpp \ | |
49 | StackAddrLeakChecker.cpp \ | 48 | StackAddrEscapeChecker.cpp \ | |
50 | StreamChecker.cpp \ | 49 | StreamChecker.cpp \ | |
51 | UndefBranchChecker.cpp \ | 50 | UndefBranchChecker.cpp \ | |
52 | UndefCapturedBlockVarChecker.cpp \ | 51 | UndefCapturedBlockVarChecker.cpp \ | |
53 | UndefResultChecker.cpp \ | 52 | UndefResultChecker.cpp \ | |
54 | UndefinedArraySubscriptChecker.cpp \ | 53 | UndefinedArraySubscriptChecker.cpp \ | |
55 | UndefinedAssignmentChecker.cpp \ | 54 | UndefinedAssignmentChecker.cpp \ | |
56 | UnixAPIChecker.cpp \ | 55 | UnixAPIChecker.cpp \ | |
57 | UnreachableCodeChecker.cpp \ | 56 | UnreachableCodeChecker.cpp \ | |
58 | VLASizeChecker.cpp | 57 | VLASizeChecker.cpp | |
59 | 58 | |||
60 | TABLEGEN_SRC= Checkers.td | 59 | TABLEGEN_SRC= Checkers.td | |
61 | TABLEGEN_INCLUDES= -I${CLANG_SRCDIR}/include | 60 | TABLEGEN_INCLUDES= -I${CLANG_SRCDIR}/include | |
62 | TABLEGEN_OUTPUT= Checkers.inc|-gen-clang-sa-checkers | 61 | TABLEGEN_OUTPUT= Checkers.inc|-gen-clang-sa-checkers |
--- src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Attic/Makefile 2011/02/17 18:35:36 1.1
+++ src/external/bsd/llvm/lib/libclangStaticAnalyzerCore/Attic/Makefile 2011/03/18 23:32:04 1.2
@@ -1,38 +1,39 @@ | @@ -1,38 +1,39 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/17 18:35:36 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ | |
2 | 2 | |||
3 | LIB= clangStaticAnalyzerCore | 3 | LIB= clangStaticAnalyzerCore | |
4 | 4 | |||
5 | .include <bsd.init.mk> | 5 | .include <bsd.init.mk> | |
6 | 6 | |||
7 | .PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Core | 7 | .PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Core | |
8 | 8 | |||
9 | SRCS+= AggExprVisitor.cpp \ | 9 | SRCS+= AggExprVisitor.cpp \ | |
10 | AnalysisManager.cpp \ | 10 | AnalysisManager.cpp \ | |
11 | BasicConstraintManager.cpp \ | 11 | BasicConstraintManager.cpp \ | |
12 | BasicStore.cpp \ | 12 | BasicStore.cpp \ | |
13 | BasicValueFactory.cpp \ | 13 | BasicValueFactory.cpp \ | |
14 | BlockCounter.cpp \ | 14 | BlockCounter.cpp \ | |
15 | BugReporter.cpp \ | 15 | BugReporter.cpp \ | |
16 | BugReporterVisitors.cpp \ | 16 | BugReporterVisitors.cpp \ | |
17 | CFRefCount.cpp \ | 17 | CFRefCount.cpp \ | |
18 | Checker.cpp \ | 18 | CXXExprEngine.cpp \ | |
19 | CheckerContext.cpp \ | |||
19 | CheckerHelpers.cpp \ | 20 | CheckerHelpers.cpp \ | |
20 | CheckerManager.cpp \ | 21 | CheckerManager.cpp \ | |
22 | CoreEngine.cpp \ | |||
21 | Environment.cpp \ | 23 | Environment.cpp \ | |
22 | ExplodedGraph.cpp \ | 24 | ExplodedGraph.cpp \ | |
25 | ExprEngine.cpp \ | |||
23 | FlatStore.cpp \ | 26 | FlatStore.cpp \ | |
24 | CXXExprEngine.cpp \ | |||
25 | CoreEngine.cpp \ | |||
26 | GRState.cpp \ | 27 | GRState.cpp \ | |
27 | HTMLDiagnostics.cpp \ | 28 | HTMLDiagnostics.cpp \ | |
28 | MemRegion.cpp \ | 29 | MemRegion.cpp \ | |
29 | ObjCMessage.cpp \ | 30 | ObjCMessage.cpp \ | |
30 | PathDiagnostic.cpp \ | 31 | PathDiagnostic.cpp \ | |
31 | PlistDiagnostics.cpp \ | 32 | PlistDiagnostics.cpp \ | |
32 | RangeConstraintManager.cpp \ | 33 | RangeConstraintManager.cpp \ | |
33 | RegionStore.cpp \ | 34 | RegionStore.cpp \ | |
34 | SimpleConstraintManager.cpp \ | 35 | SimpleConstraintManager.cpp \ | |
35 | SimpleSValBuilder.cpp \ | 36 | SimpleSValBuilder.cpp \ | |
36 | Store.cpp \ | 37 | Store.cpp \ | |
37 | SValBuilder.cpp \ | 38 | SValBuilder.cpp \ | |
38 | SVals.cpp \ | 39 | SVals.cpp \ |
--- src/tools/llvm/Makefile 2011/02/06 01:14:11 1.1
+++ src/tools/llvm/Makefile 2011/03/18 23:32:04 1.2
@@ -1,37 +1,38 @@ | @@ -1,37 +1,38 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ | |
2 | 2 | |||
3 | .include <bsd.init.mk> | 3 | .include <bsd.init.mk> | |
4 | 4 | |||
5 | # | 5 | # | |
6 | # Do *not* set HOSTPROG or HOSTLIB at this point otherwise | 6 | # Do *not* set HOSTPROG or HOSTLIB at this point otherwise | |
7 | # it will create a loop trying to extract the object directory. | 7 | # it will create a loop trying to extract the object directory. | |
8 | # | 8 | # | |
9 | .include "Makefile.inc" | 9 | .include "Makefile.inc" | |
10 | .include "${LLVM_TOPLEVEL}/lib/Makefile.inc" | 10 | .include "${LLVM_TOPLEVEL}/lib/Makefile.inc" | |
11 | 11 | |||
12 | realdepends realall: config/config.status need-dl \ | 12 | realdepends realall: config/config.status need-dl \ | |
13 | config/include/clang/Basic/Version.inc | 13 | config/include/clang/Basic/Version.inc | |
14 | 14 | |||
15 | config/include/clang/Basic/Version.inc: \ | 15 | config/include/clang/Basic/Version.inc: \ | |
16 | ${LLVM_TOPLEVEL}/config/clang/Basic/Version.inc | 16 | ${LLVM_TOPLEVEL}/config/clang/Basic/Version.inc | |
17 | mkdir -p ${.TARGET:H} | 17 | mkdir -p ${.TARGET:H} | |
18 | cat < ${.ALLSRC} > ${.TARGET} | 18 | cat < ${.ALLSRC} > ${.TARGET} | |
19 | 19 | |||
20 | config/config.status: ${LLVM_SRCDIR}/configure | 20 | config/config.status: ${LLVM_SRCDIR}/configure | |
21 | mkdir -p config | 21 | mkdir -p config | |
22 | cd config && ${LLVM_SRCDIR}/configure --prefix=/usr \ | 22 | cd config && ${LLVM_SRCDIR}/configure --prefix=/usr \ | |
23 | --enable-targets=x86 --host=x86_64--netbsd --with-clang-resource-dir=${DESTDIR}/usr/lib | 23 | --enable-targets=x86 --host=x86_64--netbsd \ | |
24 | 24 | --with-clang-resource-dir=${DESTDIR}/usr/lib \ | ||
25 | --enable-optimized --disable--assertions | |||
25 | need-dl: | 26 | need-dl: | |
26 | printf '#include <dlfcn.h>\nint main(void){void *p; return dladdr(p, p);}' > need-dl.c | 27 | printf '#include <dlfcn.h>\nint main(void){void *p; return dladdr(p, p);}' > need-dl.c | |
27 | if ${HOST_CC} -o need-dl.out -D_GNU_SOURCE need-dl.c > /dev/null 2>&1; then \ | 28 | if ${HOST_CC} -o need-dl.out -D_GNU_SOURCE need-dl.c > /dev/null 2>&1; then \ | |
28 | echo > ${.TARGET}; \ | 29 | echo > ${.TARGET}; \ | |
29 | elif ${HOST_CC} -o need-dl.out -D_GNU_SOURCE need-dl.c -ldl > /dev/null 2>&1; then \ | 30 | elif ${HOST_CC} -o need-dl.out -D_GNU_SOURCE need-dl.c -ldl > /dev/null 2>&1; then \ | |
30 | echo -ldl > ${.TARGET}; \ | 31 | echo -ldl > ${.TARGET}; \ | |
31 | else \ | 32 | else \ | |
32 | echo > ${.TARGET}; \ | 33 | echo > ${.TARGET}; \ | |
33 | fi | 34 | fi | |
34 | 35 | |||
35 | CLEANFILES+= need-dl need-dl.c need-dl.out | 36 | CLEANFILES+= need-dl need-dl.c need-dl.out | |
36 | 37 | |||
37 | cleandir: cleandir-llvm | 38 | cleandir: cleandir-llvm |
--- src/tools/llvm-clang/Makefile 2011/02/06 01:14:11 1.1
+++ src/tools/llvm-clang/Makefile 2011/03/18 23:32:04 1.2
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ | |
2 | 2 | |||
3 | HOSTPROGNAME= ${_TOOL_PREFIX}clang | 3 | HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-clang | |
4 | HOSTPROG_CXX= ${_TOOL_PREFIX}clang | 4 | HOSTPROG_CXX= ${MACHINE_GNU_PLATFORM}-clang | |
5 | HOST_SRCDIR= external/bsd/llvm/bin/clang | 5 | HOST_SRCDIR= external/bsd/llvm/bin/clang | |
6 | 6 | |||
7 | .include "${.CURDIR}/../Makefile.host" | 7 | .include "${.CURDIR}/../Makefile.host" | |
8 | 8 | |||
9 | install.host: ${HOST_BINDIR}/${_TOOL_PREFIX}clang++ ${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp | 9 | install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++ | |
10 | install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp | |||
10 | 11 | |||
11 | ${HOST_BINDIR}/${_TOOL_PREFIX}clang++: | 12 | ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++: | |
12 | ${_MKTARGET_INSTALL} | 13 | ${_MKTARGET_INSTALL} | |
13 | mkdir -p ${HOST_BINDIR} | 14 | mkdir -p ${HOST_BINDIR} | |
14 | ${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET} | 15 | ${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET} | |
15 | 16 | |||
16 | ${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp: | 17 | ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp: | |
17 | ${_MKTARGET_INSTALL} | 18 | ${_MKTARGET_INSTALL} | |
18 | mkdir -p ${HOST_BINDIR} | 19 | mkdir -p ${HOST_BINDIR} | |
19 | printf '#!/bin/sh\nexec ${HOST_BINDIR}/${_TOOL_PREFIX}clang -x c -E "$$@"' > ${.TARGET} | 20 | ${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET} | |
20 | chmod a+x ${.TARGET} |