From fa9d9d71df96d0fbc472020352fcb31f9131d393 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 23 Jan 2013 15:02:52 +0000 Subject: [PATCH] Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2 release. --- distrib/sets/lists/base/mi | 5 +- distrib/sets/lists/comp/ad.powerpc | 5 +- distrib/sets/lists/comp/md.amd64 | 80 ++++++++++++------- distrib/sets/lists/comp/md.i386 | 80 ++++++++++++------- etc/mtree/NetBSD.dist.base | 4 +- external/bsd/llvm/Makefile.inc | 8 +- external/bsd/llvm/bin/Makefile | 3 +- external/bsd/llvm/bin/bugpoint/Makefile | 4 +- external/bsd/llvm/bin/clang/Makefile | 6 +- external/bsd/llvm/bin/llc/Makefile | 4 +- external/bsd/llvm/bin/lli/Makefile | 4 +- external/bsd/llvm/bin/llvm-ar/Makefile | 4 +- external/bsd/llvm/bin/llvm-as/Makefile | 4 +- external/bsd/llvm/bin/llvm-cov/Makefile | 4 +- external/bsd/llvm/bin/llvm-diff/Makefile | 4 +- external/bsd/llvm/bin/llvm-dis/Makefile | 4 +- external/bsd/llvm/bin/llvm-extract/Makefile | 4 +- external/bsd/llvm/bin/llvm-link/Makefile | 4 +- external/bsd/llvm/bin/llvm-mc/Makefile | 4 +- external/bsd/llvm/bin/llvm-nm/Makefile | 4 +- external/bsd/llvm/bin/llvm-objdump/Makefile | 47 +++++++++++ external/bsd/llvm/bin/llvm-prof/Makefile | 4 +- external/bsd/llvm/bin/llvm-ranlib/Makefile | 4 +- external/bsd/llvm/bin/llvm-readobj/Makefile | 4 +- external/bsd/llvm/bin/macho-dumpx/Makefile | 4 +- external/bsd/llvm/bin/opt/Makefile | 4 +- external/bsd/llvm/bin/tblgen/Makefile | 4 +- .../bsd/llvm/config/clang/Config/config.h | 2 +- .../bsd/llvm/config/llvm/Config/config.h.in | 2 +- external/bsd/llvm/include/Makefile | 9 ++- external/bsd/llvm/lib/Makefile | 10 ++- .../bsd/llvm/lib/libLLVMARMAsmParser/Makefile | 5 +- .../bsd/llvm/lib/libLLVMARMCodeGen/Makefile | 4 +- .../llvm/lib/libLLVMARMMCTargetDesc/Makefile | 3 +- .../bsd/llvm/lib/libLLVMAnalysis/Makefile | 4 +- external/bsd/llvm/lib/libLLVMCodeGen/Makefile | 8 +- .../lib/{libLLVMCore => libLLVMIR}/Makefile | 7 +- .../llvm/lib/libLLVMInstrumentation/Makefile | 3 +- external/bsd/llvm/lib/libLLVMMC/Makefile | 3 +- .../llvm/lib/libLLVMMCDisassembler/Makefile | 9 +-- external/bsd/llvm/lib/libLLVMMCJIT/Makefile | 5 +- .../bsd/llvm/lib/libLLVMMipsCodeGen/Makefile | 3 +- external/bsd/llvm/lib/libLLVMOption/Makefile | 20 +++++ external/bsd/llvm/lib/libLLVMSupport/Makefile | 3 +- external/bsd/llvm/lib/libLLVMTarget/Makefile | 7 +- .../llvm/lib/libLLVMTransformsUtils/Makefile | 5 +- .../bsd/llvm/lib/libLLVMX86AsmParser/Makefile | 5 +- .../bsd/llvm/lib/libLLVMX86CodeGen/Makefile | 5 +- external/bsd/llvm/lib/libLLVMipa/Makefile | 5 +- .../bsd/llvm/lib/libclangARCMigrate/Makefile | 3 +- external/bsd/llvm/lib/libclangAST/Makefile | 4 +- external/bsd/llvm/lib/libclangBasic/Makefile | 3 +- external/bsd/llvm/lib/libclangFormat/Makefile | 16 ++++ external/bsd/llvm/lib/libclangLex/Makefile | 3 +- tools/llvm-lib/libLLVMCore/Makefile | 3 - tools/llvm-lib/libLLVMIR/Makefile | 3 + 56 files changed, 306 insertions(+), 166 deletions(-) create mode 100644 external/bsd/llvm/bin/llvm-objdump/Makefile rename external/bsd/llvm/lib/{libLLVMCore => libLLVMIR}/Makefile (85%) create mode 100644 external/bsd/llvm/lib/libLLVMOption/Makefile create mode 100644 external/bsd/llvm/lib/libclangFormat/Makefile delete mode 100644 tools/llvm-lib/libLLVMCore/Makefile create mode 100644 tools/llvm-lib/libLLVMIR/Makefile diff --git a/distrib/sets/lists/base/mi b/distrib/sets/lists/base/mi index 6ad48a6fd87f..ea97963795e7 100644 --- a/distrib/sets/lists/base/mi +++ b/distrib/sets/lists/base/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1016 2013/01/11 23:49:23 mlelstv Exp $ +# $NetBSD: mi,v 1.1017 2013/01/23 15:02:52 joerg Exp $ # # Note: Don't delete entries from here - mark them as "obsolete" instead, # unless otherwise stated below. @@ -792,7 +792,8 @@ ./usr/include/arpa base-c-usr ./usr/include/cdk base-obsolete obsolete ./usr/include/clang-3.0 base-obsolete obsolete -./usr/include/clang-3.2 base-c-usr +./usr/include/clang-3.2 base-obsolete obsolete +./usr/include/clang-3.3 base-c-usr ./usr/include/compat base-obsolete obsolete ./usr/include/crypto base-c-usr ./usr/include/dev base-c-usr diff --git a/distrib/sets/lists/comp/ad.powerpc b/distrib/sets/lists/comp/ad.powerpc index 1b2049637f3d..d4a5911bb5f9 100644 --- a/distrib/sets/lists/comp/ad.powerpc +++ b/distrib/sets/lists/comp/ad.powerpc @@ -1,9 +1,10 @@ -# $NetBSD: ad.powerpc,v 1.60 2013/01/16 16:01:05 christos Exp $ +# $NetBSD: ad.powerpc,v 1.61 2013/01/23 15:02:53 joerg Exp $ ./usr/bin/elf2aout comp-sysutil-bin ./usr/bin/psim comp-debug-bin gdb ./usr/include/altivec.h comp-obsolete obsolete ./usr/include/clang-3.0/altivec.h comp-obsolete obsolete -./usr/include/clang-3.2/altivec.h comp-c-include llvm +./usr/include/clang-3.2/altivec.h comp-obsolete obsolete +./usr/include/clang-3.3/altivec.h comp-c-include llvm ./usr/include/gcc-4.1/altivec.h comp-c-include gcccmds,gcc=4 ./usr/include/gcc-4.1/altivec.h comp-obsolete gcc=45,obsolete ./usr/include/gcc-4.5/altivec.h comp-c-include gcccmds,gcc=45 diff --git a/distrib/sets/lists/comp/md.amd64 b/distrib/sets/lists/comp/md.amd64 index 69592427b74c..e66149e5db94 100644 --- a/distrib/sets/lists/comp/md.amd64 +++ b/distrib/sets/lists/comp/md.amd64 @@ -1,4 +1,4 @@ -# $NetBSD: md.amd64,v 1.188 2013/01/16 16:01:05 christos Exp $ +# $NetBSD: md.amd64,v 1.189 2013/01/23 15:02:53 joerg Exp $ ./usr/include/amd64 comp-c-include ./usr/include/amd64/ansi.h comp-c-include ./usr/include/amd64/aout_machdep.h comp-c-include @@ -87,32 +87,58 @@ ./usr/include/clang-3.0/wmmintrin.h comp-obsolete obsolete ./usr/include/clang-3.0/x86intrin.h comp-obsolete obsolete ./usr/include/clang-3.0/xmmintrin.h comp-obsolete obsolete -./usr/include/clang-3.2/__wmmintrin_aes.h comp-c-include llvm -./usr/include/clang-3.2/__wmmintrin_pclmul.h comp-c-include llvm -./usr/include/clang-3.2/ammintrin.h comp-c-include llvm -./usr/include/clang-3.2/avxintrin.h comp-c-include llvm -./usr/include/clang-3.2/avx2intrin.h comp-c-include llvm -./usr/include/clang-3.2/bmi2intrin.h comp-c-include llvm -./usr/include/clang-3.2/bmiintrin.h comp-c-include llvm -./usr/include/clang-3.2/emmintrin.h comp-c-include llvm -./usr/include/clang-3.2/f16cintrin.h comp-c-include llvm -./usr/include/clang-3.2/fma4intrin.h comp-c-include llvm -./usr/include/clang-3.2/fmaintrin.h comp-c-include llvm -./usr/include/clang-3.2/immintrin.h comp-c-include llvm -./usr/include/clang-3.2/lzcntintrin.h comp-c-include llvm -./usr/include/clang-3.2/mm3dnow.h comp-c-include llvm -./usr/include/clang-3.2/mm_malloc.h comp-c-include llvm -./usr/include/clang-3.2/mmintrin.h comp-c-include llvm -./usr/include/clang-3.2/nmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/pmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/popcntintrin.h comp-c-include llvm -./usr/include/clang-3.2/rtmintrin.h comp-c-include llvm -./usr/include/clang-3.2/smmintrin.h comp-c-include llvm -./usr/include/clang-3.2/tmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/wmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/x86intrin.h comp-c-include llvm -./usr/include/clang-3.2/xmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/xopintrin.h comp-c-include llvm +./usr/include/clang-3.2/__wmmintrin_aes.h comp-obsolete obsolete +./usr/include/clang-3.2/__wmmintrin_pclmul.h comp-obsolete obsolete +./usr/include/clang-3.2/ammintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/avxintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/avx2intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/bmi2intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/bmiintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/emmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/f16cintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/fma4intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/fmaintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/immintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/lzcntintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/mm3dnow.h comp-obsolete obsolete +./usr/include/clang-3.2/mm_malloc.h comp-obsolete obsolete +./usr/include/clang-3.2/mmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/nmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/pmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/popcntintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/rtmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/smmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/tmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/wmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/x86intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/xmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/xopintrin.h comp-obsolete obsolete +./usr/include/clang-3.3/__wmmintrin_aes.h comp-c-include llvm +./usr/include/clang-3.3/__wmmintrin_pclmul.h comp-c-include llvm +./usr/include/clang-3.3/ammintrin.h comp-c-include llvm +./usr/include/clang-3.3/avxintrin.h comp-c-include llvm +./usr/include/clang-3.3/avx2intrin.h comp-c-include llvm +./usr/include/clang-3.3/bmi2intrin.h comp-c-include llvm +./usr/include/clang-3.3/bmiintrin.h comp-c-include llvm +./usr/include/clang-3.3/emmintrin.h comp-c-include llvm +./usr/include/clang-3.3/f16cintrin.h comp-c-include llvm +./usr/include/clang-3.3/fma4intrin.h comp-c-include llvm +./usr/include/clang-3.3/fmaintrin.h comp-c-include llvm +./usr/include/clang-3.3/immintrin.h comp-c-include llvm +./usr/include/clang-3.3/lzcntintrin.h comp-c-include llvm +./usr/include/clang-3.3/mm3dnow.h comp-c-include llvm +./usr/include/clang-3.3/mm_malloc.h comp-c-include llvm +./usr/include/clang-3.3/mmintrin.h comp-c-include llvm +./usr/include/clang-3.3/nmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/pmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/popcntintrin.h comp-c-include llvm +./usr/include/clang-3.3/rtmintrin.h comp-c-include llvm +./usr/include/clang-3.3/smmintrin.h comp-c-include llvm +./usr/include/clang-3.3/tmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/wmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/x86intrin.h comp-c-include llvm +./usr/include/clang-3.3/xmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/xopintrin.h comp-c-include llvm ./usr/include/emmintrin.h comp-obsolete obsolete ./usr/include/gcc-4.1/emmintrin.h comp-c-include gcccmds,gcc=4 ./usr/include/gcc-4.1/emmintrin.h comp-obsolete gcc=45,obsolete diff --git a/distrib/sets/lists/comp/md.i386 b/distrib/sets/lists/comp/md.i386 index 4d1d321b0cb5..7165faa37fd5 100644 --- a/distrib/sets/lists/comp/md.i386 +++ b/distrib/sets/lists/comp/md.i386 @@ -1,4 +1,4 @@ -# $NetBSD: md.i386,v 1.132 2013/01/16 16:01:06 christos Exp $ +# $NetBSD: md.i386,v 1.133 2013/01/23 15:02:53 joerg Exp $ ./usr/include/clang-3.0/avxintrin.h comp-obsolete obsolete ./usr/include/clang-3.0/avx2intrin.h comp-obsolete obsolete ./usr/include/clang-3.0/bmi2intrin.h comp-obsolete obsolete @@ -18,32 +18,58 @@ ./usr/include/clang-3.0/wmmintrin.h comp-obsolete obsolete ./usr/include/clang-3.0/x86intrin.h comp-obsolete obsolete ./usr/include/clang-3.0/xmmintrin.h comp-obsolete obsolete -./usr/include/clang-3.2/__wmmintrin_aes.h comp-c-include llvm -./usr/include/clang-3.2/__wmmintrin_pclmul.h comp-c-include llvm -./usr/include/clang-3.2/ammintrin.h comp-c-include llvm -./usr/include/clang-3.2/avxintrin.h comp-c-include llvm -./usr/include/clang-3.2/avx2intrin.h comp-c-include llvm -./usr/include/clang-3.2/bmi2intrin.h comp-c-include llvm -./usr/include/clang-3.2/bmiintrin.h comp-c-include llvm -./usr/include/clang-3.2/emmintrin.h comp-c-include llvm -./usr/include/clang-3.2/f16cintrin.h comp-c-include llvm -./usr/include/clang-3.2/fma4intrin.h comp-c-include llvm -./usr/include/clang-3.2/fmaintrin.h comp-c-include llvm -./usr/include/clang-3.2/immintrin.h comp-c-include llvm -./usr/include/clang-3.2/lzcntintrin.h comp-c-include llvm -./usr/include/clang-3.2/mm3dnow.h comp-c-include llvm -./usr/include/clang-3.2/mm_malloc.h comp-c-include llvm -./usr/include/clang-3.2/mmintrin.h comp-c-include llvm -./usr/include/clang-3.2/nmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/pmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/popcntintrin.h comp-c-include llvm -./usr/include/clang-3.2/rtmintrin.h comp-c-include llvm -./usr/include/clang-3.2/smmintrin.h comp-c-include llvm -./usr/include/clang-3.2/tmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/wmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/x86intrin.h comp-c-include llvm -./usr/include/clang-3.2/xmmintrin.h comp-c-include llvm -./usr/include/clang-3.2/xopintrin.h comp-c-include llvm +./usr/include/clang-3.2/__wmmintrin_aes.h comp-obsolete obsolete +./usr/include/clang-3.2/__wmmintrin_pclmul.h comp-obsolete obsolete +./usr/include/clang-3.2/ammintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/avxintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/avx2intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/bmi2intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/bmiintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/emmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/f16cintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/fma4intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/fmaintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/immintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/lzcntintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/mm3dnow.h comp-obsolete obsolete +./usr/include/clang-3.2/mm_malloc.h comp-obsolete obsolete +./usr/include/clang-3.2/mmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/nmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/pmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/popcntintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/rtmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/smmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/tmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/wmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/x86intrin.h comp-obsolete obsolete +./usr/include/clang-3.2/xmmintrin.h comp-obsolete obsolete +./usr/include/clang-3.2/xopintrin.h comp-obsolete obsolete +./usr/include/clang-3.3/__wmmintrin_aes.h comp-c-include llvm +./usr/include/clang-3.3/__wmmintrin_pclmul.h comp-c-include llvm +./usr/include/clang-3.3/ammintrin.h comp-c-include llvm +./usr/include/clang-3.3/avxintrin.h comp-c-include llvm +./usr/include/clang-3.3/avx2intrin.h comp-c-include llvm +./usr/include/clang-3.3/bmi2intrin.h comp-c-include llvm +./usr/include/clang-3.3/bmiintrin.h comp-c-include llvm +./usr/include/clang-3.3/emmintrin.h comp-c-include llvm +./usr/include/clang-3.3/f16cintrin.h comp-c-include llvm +./usr/include/clang-3.3/fma4intrin.h comp-c-include llvm +./usr/include/clang-3.3/fmaintrin.h comp-c-include llvm +./usr/include/clang-3.3/immintrin.h comp-c-include llvm +./usr/include/clang-3.3/lzcntintrin.h comp-c-include llvm +./usr/include/clang-3.3/mm3dnow.h comp-c-include llvm +./usr/include/clang-3.3/mm_malloc.h comp-c-include llvm +./usr/include/clang-3.3/mmintrin.h comp-c-include llvm +./usr/include/clang-3.3/nmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/pmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/popcntintrin.h comp-c-include llvm +./usr/include/clang-3.3/rtmintrin.h comp-c-include llvm +./usr/include/clang-3.3/smmintrin.h comp-c-include llvm +./usr/include/clang-3.3/tmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/wmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/x86intrin.h comp-c-include llvm +./usr/include/clang-3.3/xmmintrin.h comp-c-include llvm +./usr/include/clang-3.3/xopintrin.h comp-c-include llvm ./usr/include/emmintrin.h comp-obsolete obsolete ./usr/include/gcc-4.1/emmintrin.h comp-c-include gcccmds,gcc=4 ./usr/include/gcc-4.1/emmintrin.h comp-obsolete gcc=45,obsolete diff --git a/etc/mtree/NetBSD.dist.base b/etc/mtree/NetBSD.dist.base index ea815e833e6f..7f42e7121332 100644 --- a/etc/mtree/NetBSD.dist.base +++ b/etc/mtree/NetBSD.dist.base @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.dist.base,v 1.107 2012/11/20 15:02:44 pgoyette Exp $ +# $NetBSD: NetBSD.dist.base,v 1.108 2013/01/23 15:02:53 joerg Exp $ # @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93 # Do not customize this file as it may be overwritten on upgrades. @@ -94,7 +94,7 @@ ./usr/include/arpa ./usr/include/atf-c ./usr/include/atf-c++ -./usr/include/clang-3.2 +./usr/include/clang-3.3 ./usr/include/crypto ./usr/include/dev ./usr/include/dev/apm diff --git a/external/bsd/llvm/Makefile.inc b/external/bsd/llvm/Makefile.inc index 10c72cdc2c3c..e438a2c084f3 100644 --- a/external/bsd/llvm/Makefile.inc +++ b/external/bsd/llvm/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.43 2012/11/17 04:57:26 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.44 2013/01/23 15:02:53 joerg Exp $ .if !defined(LLVM_TOPLEVEL_MK) LLVM_TOPLEVEL_MK= @@ -7,13 +7,13 @@ LLVM_TOPLEVEL_MK= SVN_ROOT= http://llvm.org/svn/llvm-project -COMMON_REVISION= 168187 +COMMON_REVISION= 172366 LLVM_REVISION= ${COMMON_REVISION} CLANG_REVISION= ${COMMON_REVISION} COMPILER_RT_REVISION= ${COMMON_REVISION} -LLVM_VERSION= 3.2 -CLANG_VERSION= 3.2 +LLVM_VERSION= 3.3 +CLANG_VERSION= 3.3 LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang diff --git a/external/bsd/llvm/bin/Makefile b/external/bsd/llvm/bin/Makefile index 3fe5de13ebe5..7e6ea77a3728 100644 --- a/external/bsd/llvm/bin/Makefile +++ b/external/bsd/llvm/bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2012/11/17 04:57:26 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2013/01/23 15:02:54 joerg Exp $ .include @@ -22,6 +22,7 @@ SUBDIR+= \ llvm-link \ llvm-mc \ llvm-nm \ + llvm-objdump \ llvm-prof \ llvm-ranlib \ llvm-readobj \ diff --git a/external/bsd/llvm/bin/bugpoint/Makefile b/external/bsd/llvm/bin/bugpoint/Makefile index bfceffacf52a..69d4e58e58c0 100644 --- a/external/bsd/llvm/bin/bugpoint/Makefile +++ b/external/bsd/llvm/bin/bugpoint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/04/04 10:42:00 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2013/01/23 15:02:54 joerg Exp $ PROG_CXX= bugpoint NOMAN= yes @@ -31,7 +31,7 @@ LLVM_LIBS+= \ TransformsUtils \ Analysis \ ipa \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/clang/Makefile b/external/bsd/llvm/bin/clang/Makefile index a48dd77f6db1..dcb2e7889be7 100644 --- a/external/bsd/llvm/bin/clang/Makefile +++ b/external/bsd/llvm/bin/clang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2012/09/23 17:22:22 joerg Exp $ +# $NetBSD: Makefile,v 1.22 2013/01/23 15:02:54 joerg Exp $ PROG_CXX= clang NOMAN= yes @@ -20,7 +20,6 @@ CLANG_LIBS+= \ clangFrontendTool \ clangFrontend \ clangARCMigrate \ - clangEdit \ clangStaticAnalyzerFrontend \ clangStaticAnalyzerCheckers \ clangStaticAnalyzerCore \ @@ -29,6 +28,7 @@ CLANG_LIBS+= \ clangCodeGen \ clangParse \ clangSema \ + clangEdit \ clangAnalysis \ clangRewriteFrontend \ clangRewriteCore \ @@ -79,7 +79,7 @@ LLVM_LIBS+= \ Linker \ TransformsUtils \ ipa \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llc/Makefile b/external/bsd/llvm/bin/llc/Makefile index 7f55e169752b..babc56c8a850 100644 --- a/external/bsd/llvm/bin/llc/Makefile +++ b/external/bsd/llvm/bin/llc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2012/04/04 10:42:00 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2013/01/23 15:02:54 joerg Exp $ PROG_CXX= llc NOMAN= yes @@ -44,7 +44,7 @@ LLVM_LIBS+= \ Target \ MCParser \ MC \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/lli/Makefile b/external/bsd/llvm/bin/lli/Makefile index 08bf7483a22c..be828526d218 100644 --- a/external/bsd/llvm/bin/lli/Makefile +++ b/external/bsd/llvm/bin/lli/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2012/09/23 17:22:22 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2013/01/23 15:02:54 joerg Exp $ PROG_CXX= lli NOMAN= yes @@ -34,7 +34,7 @@ LLVM_LIBS+= \ Analysis \ Target \ MC \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-ar/Makefile b/external/bsd/llvm/bin/llvm-ar/Makefile index 95e9cf4bd75c..04ad5d804a25 100644 --- a/external/bsd/llvm/bin/llvm-ar/Makefile +++ b/external/bsd/llvm/bin/llvm-ar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:54 joerg Exp $ PROG_CXX= llvm-ar NOMAN= yes @@ -12,7 +12,7 @@ SRCS= llvm-ar.cpp LLVM_LIBS+= \ Archive \ BitReader \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-as/Makefile b/external/bsd/llvm/bin/llvm-as/Makefile index dce464629809..73ab80d5920a 100644 --- a/external/bsd/llvm/bin/llvm-as/Makefile +++ b/external/bsd/llvm/bin/llvm-as/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:55 joerg Exp $ PROG_CXX= llvm-as NOMAN= yes @@ -12,7 +12,7 @@ SRCS= llvm-as.cpp LLVM_LIBS+= \ AsmParser \ BitWriter \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-cov/Makefile b/external/bsd/llvm/bin/llvm-cov/Makefile index a62e53622d36..15c90fcf4511 100644 --- a/external/bsd/llvm/bin/llvm-cov/Makefile +++ b/external/bsd/llvm/bin/llvm-cov/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/10/11 13:53:57 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:55 joerg Exp $ PROG_CXX= llvm-cov NOMAN= yes @@ -10,7 +10,7 @@ NOMAN= yes SRCS= llvm-cov.cpp LLVM_LIBS+= \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-diff/Makefile b/external/bsd/llvm/bin/llvm-diff/Makefile index d76c32f58c65..42562e9308e0 100644 --- a/external/bsd/llvm/bin/llvm-diff/Makefile +++ b/external/bsd/llvm/bin/llvm-diff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/01/23 15:02:55 joerg Exp $ PROG_CXX= llvm-diff NOMAN= yes @@ -15,7 +15,7 @@ SRCS= llvm-diff.cpp \ LLVM_LIBS+= \ AsmParser \ BitReader \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-dis/Makefile b/external/bsd/llvm/bin/llvm-dis/Makefile index 80d3980acb1c..21e0d1cdf607 100644 --- a/external/bsd/llvm/bin/llvm-dis/Makefile +++ b/external/bsd/llvm/bin/llvm-dis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/01/23 15:02:55 joerg Exp $ PROG_CXX= llvm-dis NOMAN= yes @@ -12,7 +12,7 @@ SRCS= llvm-dis.cpp LLVM_LIBS+= \ Analysis \ BitReader \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-extract/Makefile b/external/bsd/llvm/bin/llvm-extract/Makefile index fc428bf2e682..f537ba7f4598 100644 --- a/external/bsd/llvm/bin/llvm-extract/Makefile +++ b/external/bsd/llvm/bin/llvm-extract/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2012/09/23 17:22:22 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/01/23 15:02:55 joerg Exp $ PROG_CXX= llvm-extract NOMAN= yes @@ -18,7 +18,7 @@ LLVM_LIBS+= \ Analysis \ Target \ ipa \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-link/Makefile b/external/bsd/llvm/bin/llvm-link/Makefile index 8d03721aa0f0..f4410f7c98b0 100644 --- a/external/bsd/llvm/bin/llvm-link/Makefile +++ b/external/bsd/llvm/bin/llvm-link/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/10/11 13:53:58 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/01/23 15:02:55 joerg Exp $ PROG_CXX= llvm-link NOMAN= yes @@ -17,7 +17,7 @@ LLVM_LIBS+= \ TransformsUtils \ Analysis \ Target \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-mc/Makefile b/external/bsd/llvm/bin/llvm-mc/Makefile index e9902b0088ab..a10c993b2893 100644 --- a/external/bsd/llvm/bin/llvm-mc/Makefile +++ b/external/bsd/llvm/bin/llvm-mc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2012/09/23 17:22:22 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2013/01/23 15:02:56 joerg Exp $ PROG_CXX= llvm-mc NOMAN= yes @@ -47,7 +47,7 @@ LLVM_LIBS+= \ AsmPrinter \ MCParser \ MC \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-nm/Makefile b/external/bsd/llvm/bin/llvm-nm/Makefile index 47ed785eaa4d..b602f76d0d0d 100644 --- a/external/bsd/llvm/bin/llvm-nm/Makefile +++ b/external/bsd/llvm/bin/llvm-nm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $ PROG_CXX= llvm-nm NOMAN= yes @@ -12,7 +12,7 @@ SRCS= llvm-nm.cpp LLVM_LIBS+= \ Archive \ BitReader \ - Core \ + IR \ Object \ Support diff --git a/external/bsd/llvm/bin/llvm-objdump/Makefile b/external/bsd/llvm/bin/llvm-objdump/Makefile new file mode 100644 index 000000000000..a3bb25168718 --- /dev/null +++ b/external/bsd/llvm/bin/llvm-objdump/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1 2013/01/23 15:02:56 joerg Exp $ + +PROG_CXX= llvm-objdump +NOMAN= yes + +.include + +.PATH: ${LLVM_SRCDIR}/tools/llvm-objdump + +SRCS= llvm-objdump.cpp \ + COFFDump.cpp \ + ELFDump.cpp \ + MachODump.cpp \ + MCFunction.cpp \ + +LLVM_LIBS+= \ + Object \ + ARMDisassembler \ + ARMTargetInfo \ + ARMMCTargetDesc \ + ARMAsmParser \ + ARMAsmPrinter \ + MipsDisassembler \ + MipsTargetInfo \ + MipsMCTargetDesc \ + MipsAsmPrinter \ + MipsAsmParser \ + PowerPCTargetInfo \ + PowerPCMCTargetDesc \ + PowerPCAsmPrinter \ + SparcTargetInfo \ + SparcMCTargetDesc \ + X86Disassembler \ + X86MCTargetDesc \ + X86TargetInfo \ + X86AsmParser \ + X86AsmPrinter \ + X86Utils \ + DebugInfo \ + MCParser \ + MC \ + IR \ + Support + +.include "${.PARSEDIR}/../../link.mk" + +.include diff --git a/external/bsd/llvm/bin/llvm-prof/Makefile b/external/bsd/llvm/bin/llvm-prof/Makefile index 08e9bd21fa56..8cba267f9367 100644 --- a/external/bsd/llvm/bin/llvm-prof/Makefile +++ b/external/bsd/llvm/bin/llvm-prof/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $ PROG_CXX= llvm-prof NOMAN= yes @@ -12,7 +12,7 @@ SRCS= llvm-prof.cpp LLVM_LIBS+= \ BitReader \ Analysis \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-ranlib/Makefile b/external/bsd/llvm/bin/llvm-ranlib/Makefile index 98986a4f3ff8..9e46d6745c69 100644 --- a/external/bsd/llvm/bin/llvm-ranlib/Makefile +++ b/external/bsd/llvm/bin/llvm-ranlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $ PROG_CXX= llvm-ranlib NOMAN= yes @@ -12,7 +12,7 @@ SRCS= llvm-ranlib.cpp LLVM_LIBS+= \ Archive \ BitReader \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/llvm-readobj/Makefile b/external/bsd/llvm/bin/llvm-readobj/Makefile index fb4bf19bf6bc..bf981216eacb 100644 --- a/external/bsd/llvm/bin/llvm-readobj/Makefile +++ b/external/bsd/llvm/bin/llvm-readobj/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2012/04/04 10:44:21 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $ PROG_CXX= llvm-readobj NOMAN= yes @@ -13,7 +13,7 @@ LLVM_LIBS+= \ Archive \ BitReader \ Object \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/macho-dumpx/Makefile b/external/bsd/llvm/bin/macho-dumpx/Makefile index 621beb749bb8..7b80a56f3911 100644 --- a/external/bsd/llvm/bin/macho-dumpx/Makefile +++ b/external/bsd/llvm/bin/macho-dumpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $ ROG_CXX= machdo-dumpx NOMAN= yes @@ -11,7 +11,7 @@ SRCS= macho-dump.cpp LLVM_LIBS+= \ Object \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/opt/Makefile b/external/bsd/llvm/bin/opt/Makefile index a6d317eeb40e..19b2a094c38c 100644 --- a/external/bsd/llvm/bin/opt/Makefile +++ b/external/bsd/llvm/bin/opt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/10/28 17:07:45 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2013/01/23 15:02:57 joerg Exp $ PROG_CXX= opt NOMAN= yes @@ -48,7 +48,7 @@ LLVM_LIBS+= \ MC \ TransformsUtils \ ipa \ - Core \ + IR \ Support .include "${.PARSEDIR}/../../link.mk" diff --git a/external/bsd/llvm/bin/tblgen/Makefile b/external/bsd/llvm/bin/tblgen/Makefile index 821c604233ec..54da6c41cbb6 100644 --- a/external/bsd/llvm/bin/tblgen/Makefile +++ b/external/bsd/llvm/bin/tblgen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2012/10/28 17:07:45 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2013/01/23 15:02:57 joerg Exp $ PROG_CXX= llvm-tblgen NOMAN= yes @@ -25,11 +25,11 @@ SRCS= AsmMatcherEmitter.cpp \ DAGISelMatcherOpt.cpp \ DFAPacketizerEmitter.cpp \ DisassemblerEmitter.cpp \ - EDEmitter.cpp \ FastISelEmitter.cpp \ FixedLenDecoderEmitter.cpp \ InstrInfoEmitter.cpp \ IntrinsicEmitter.cpp \ + OptParserEmitter.cpp \ PseudoLoweringEmitter.cpp \ RegisterInfoEmitter.cpp \ SetTheory.cpp \ diff --git a/external/bsd/llvm/config/clang/Config/config.h b/external/bsd/llvm/config/clang/Config/config.h index 4b20003b9ed7..14219be29724 100644 --- a/external/bsd/llvm/config/clang/Config/config.h +++ b/external/bsd/llvm/config/clang/Config/config.h @@ -11,7 +11,7 @@ #define CLANG_RESOURCE_DIR "" /* Directories clang will search for headers */ -#define C_INCLUDE_DIRS "/usr/include/clang-3.2:/usr/include" +#define C_INCLUDE_DIRS "/usr/include/clang-3.3:/usr/include" /* Linker version detected at compile time. */ #define HOST_LINK_VERSION "2.22" diff --git a/external/bsd/llvm/config/llvm/Config/config.h.in b/external/bsd/llvm/config/llvm/Config/config.h.in index d3d7e06fab78..8c20b63d647a 100644 --- a/external/bsd/llvm/config/llvm/Config/config.h.in +++ b/external/bsd/llvm/config/llvm/Config/config.h.in @@ -14,7 +14,7 @@ #define CLANG_RESOURCE_DIR "" /* Directories clang will search for headers */ -#define C_INCLUDE_DIRS "/usr/include/clang-3.2:/usr/include" +#define C_INCLUDE_DIRS "/usr/include/clang-3.3:/usr/include" /* Default to all compiler invocations for --sysroot=. */ #define DEFAULT_SYSROOT "" diff --git a/external/bsd/llvm/include/Makefile b/external/bsd/llvm/include/Makefile index 06f2cb74c443..ec44ae048603 100644 --- a/external/bsd/llvm/include/Makefile +++ b/external/bsd/llvm/include/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2012/11/17 04:57:27 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2013/01/23 15:02:57 joerg Exp $ .include @@ -46,7 +46,7 @@ HEADER= \ stdint.h \ tgmath.h -.PATH: ${LLVM_SRCDIR}/include/llvm \ +.PATH: ${LLVM_SRCDIR}/include/llvm/IR \ ${CLANG_SRCDIR}/include/clang/AST \ ${CLANG_SRCDIR}/include/clang/Basic \ ${CLANG_SRCDIR}/include/clang/Driver @@ -54,7 +54,7 @@ HEADER= \ TABLEGEN_SRC= Intrinsics.td TABLEGEN_OUTPUT.Intrinsics.td= \ - llvm/Intrinsics.gen|-gen-intrinsic + llvm/IR/Intrinsics.gen|-gen-intrinsic CLANG_TABLEGEN_SRC= Attr.td CommentCommands.td CommentHTMLTags.td \ CommentNodes.td DeclNodes.td StmtNodes.td \ @@ -64,7 +64,8 @@ CLANG_TABLEGEN_SRC= Attr.td CommentCommands.td CommentHTMLTags.td \ CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include CLANG_TABLEGEN_OUTPUT.Attr.td= \ clang/AST/Attrs.inc|-gen-clang-attr-classes \ - clang/AST/AttrImpl.inc|-gen-clang-attr-impl \ + clang/AST/AttrDump.inc|-gen-clang-attr-dump \ + clang/AST/AttrImpl.inc|-gen-clang-attr-impl \ clang/Basic/AttrList.inc|-gen-clang-attr-list \ clang/Lex/AttrSpellings.inc|-gen-clang-attr-spelling-list \ clang/Parse/AttrLateParsed.inc|-gen-clang-attr-late-parsed-list \ diff --git a/external/bsd/llvm/lib/Makefile b/external/bsd/llvm/lib/Makefile index 7374381726ca..940c077951e9 100644 --- a/external/bsd/llvm/lib/Makefile +++ b/external/bsd/llvm/lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2012/09/23 17:22:23 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2013/01/23 15:02:57 joerg Exp $ .include @@ -9,7 +9,7 @@ SUBDIR= \ libLLVMBitReader \ libLLVMBitWriter \ libLLVMCodeGen \ - libLLVMCore \ + libLLVMIR \ libLLVMInstCombine \ libLLVMInstrumentation \ libLLVMipa \ @@ -76,6 +76,7 @@ SUBDIR+= \ libLLVMJIT \ libLLVMMCJIT \ libLLVMObject \ + libLLVMOption \ libLLVMRuntimeDyld .endif @@ -102,8 +103,9 @@ SUBDIR+= \ .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes" SUBDIR+= \ - libclangTooling \ - libclangASTMatchers + libclangASTMatchers \ + libclangFormat \ + libclangTooling .endif .include diff --git a/external/bsd/llvm/lib/libLLVMARMAsmParser/Makefile b/external/bsd/llvm/lib/libLLVMARMAsmParser/Makefile index 3ba70c5944af..b44652245c8f 100644 --- a/external/bsd/llvm/lib/libLLVMARMAsmParser/Makefile +++ b/external/bsd/llvm/lib/libLLVMARMAsmParser/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/07/05 17:22:22 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:58 joerg Exp $ LIB= LLVMARMAsmParser @@ -9,8 +9,7 @@ CPPFLAGS+= -I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM .PATH: ${LLVM_SRCDIR}/lib/Target/ARM/AsmParser -SRCS+= ARMAsmLexer.cpp \ - ARMAsmParser.cpp +SRCS+= ARMAsmParser.cpp .if defined(HOSTLIB) .include diff --git a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile index 1bfb105568d2..ed3a1030110f 100644 --- a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile +++ b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/11/17 04:57:27 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2013/01/23 15:02:58 joerg Exp $ LIB= LLVMARMCodeGen @@ -28,6 +28,7 @@ SRCS+= ARMAsmPrinter.cpp \ ARMSubtarget.cpp \ ARMTargetMachine.cpp \ ARMTargetObjectFile.cpp \ + ARMTargetTransformInfo.cpp \ MLxExpansionPass.cpp \ Thumb1InstrInfo.cpp \ Thumb1FrameLowering.cpp \ @@ -51,7 +52,6 @@ TABLEGEN_OUTPUT= \ ARMGenFastISel.inc|-gen-fast-isel \ ARMGenCallingConv.inc|-gen-callingconv \ ARMGenSubtargetInfo.inc|-gen-subtarget \ - ARMGenEDInfo.inc|-gen-enhanced-disassembly-info \ ARMGenDisassemblerTables.inc|-gen-disassembler .include "${.PARSEDIR}/../../tablegen.mk" diff --git a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile index 8721797d528c..0b2b5d2345fe 100644 --- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile +++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/01/11 23:24:47 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2013/01/23 15:02:58 joerg Exp $ LIB= LLVMARMMCTargetDesc @@ -11,6 +11,7 @@ CPPFLAGS+= -I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM SRCS+= ARMAsmBackend.cpp \ ARMELFObjectWriter.cpp \ + ARMELFStreamer.cpp \ ARMMCAsmInfo.cpp \ ARMMCCodeEmitter.cpp \ ARMMCExpr.cpp \ diff --git a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile index 80dd4f824f07..54b7ba567dbb 100644 --- a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile +++ b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/11/17 04:57:27 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2013/01/23 15:02:58 joerg Exp $ LIB= LLVMAnalysis @@ -54,6 +54,7 @@ SRCS+= AliasAnalysis.cpp \ ProfileInfoLoader.cpp \ ProfileInfoLoaderPass.cpp \ ProfileVerifierPass.cpp \ + PtrUseVisitor.cpp \ RegionInfo.cpp \ RegionPass.cpp \ RegionPrinter.cpp \ @@ -62,6 +63,7 @@ SRCS+= AliasAnalysis.cpp \ ScalarEvolutionExpander.cpp \ ScalarEvolutionNormalization.cpp \ SparsePropagation.cpp \ + TargetTransformInfo.cpp \ Trace.cpp \ TypeBasedAliasAnalysis.cpp \ ValueTracking.cpp diff --git a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile index 2fb7bd1ff0c8..00cfa56801e5 100644 --- a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile +++ b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2012/09/23 17:22:23 joerg Exp $ +# $NetBSD: Makefile,v 1.21 2013/01/23 15:02:58 joerg Exp $ LIB= LLVMCodeGen @@ -9,6 +9,7 @@ LIB= LLVMCodeGen SRCS+= AggressiveAntiDepBreaker.cpp \ AllocationOrder.cpp \ Analysis.cpp \ + BasicTargetTransformInfo.cpp \ BranchFolding.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ @@ -60,7 +61,6 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ MachineInstrBundle.cpp \ MachineLICM.cpp \ MachineLoopInfo.cpp \ - MachineLoopRanges.cpp \ MachineModuleInfo.cpp \ MachineModuleInfoImpls.cpp \ MachinePassRegistry.cpp \ @@ -107,9 +107,11 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ StrongPHIElimination.cpp \ TailDuplication.cpp \ TargetFrameLoweringImpl.cpp \ - TargetInstrInfoImpl.cpp \ + TargetInstrInfo.cpp \ + TargetLoweringBase.cpp \ TargetLoweringObjectFileImpl.cpp \ TargetOptionsImpl.cpp \ + TargetRegisterInfo.cpp \ TargetSchedule.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ diff --git a/external/bsd/llvm/lib/libLLVMCore/Makefile b/external/bsd/llvm/lib/libLLVMIR/Makefile similarity index 85% rename from external/bsd/llvm/lib/libLLVMCore/Makefile rename to external/bsd/llvm/lib/libLLVMIR/Makefile index cba45c0bf436..3df81c177641 100644 --- a/external/bsd/llvm/lib/libLLVMCore/Makefile +++ b/external/bsd/llvm/lib/libLLVMIR/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.9 2012/10/28 17:07:45 joerg Exp $ +# $NetBSD: Makefile,v 1.1 2013/01/23 15:02:59 joerg Exp $ -LIB= LLVMCore +LIB= LLVMIR .include -.PATH: ${LLVM_SRCDIR}/lib/VMCore +.PATH: ${LLVM_SRCDIR}/lib/IR SRCS+= AsmWriter.cpp \ Attributes.cpp \ @@ -36,7 +36,6 @@ SRCS+= AsmWriter.cpp \ PassManager.cpp \ PassRegistry.cpp \ PrintModulePass.cpp \ - TargetTransformInfo.cpp \ Type.cpp \ TypeFinder.cpp \ Use.cpp \ diff --git a/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile b/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile index 19dae7dfb944..aa08381a7a5d 100644 --- a/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile +++ b/external/bsd/llvm/lib/libLLVMInstrumentation/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2012/09/23 17:22:23 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2013/01/23 15:02:59 joerg Exp $ LIB= LLVMInstrumentation @@ -12,6 +12,7 @@ SRCS+= AddressSanitizer.cpp \ EdgeProfiling.cpp \ GCOVProfiling.cpp \ Instrumentation.cpp \ + MemorySanitizer.cpp \ OptimalEdgeProfiling.cpp \ PathProfiling.cpp \ ProfilingUtils.cpp \ diff --git a/external/bsd/llvm/lib/libLLVMMC/Makefile b/external/bsd/llvm/lib/libLLVMMC/Makefile index 43d1af1a5dc4..abd325fbb3f6 100644 --- a/external/bsd/llvm/lib/libLLVMMC/Makefile +++ b/external/bsd/llvm/lib/libLLVMMC/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/08/09 14:37:06 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2013/01/23 15:02:59 joerg Exp $ LIB= LLVMMC @@ -43,7 +43,6 @@ SRCS+= ELFObjectWriter.cpp \ MCStreamer.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ - MCTargetAsmLexer.cpp \ MCValue.cpp \ MCWin64EH.cpp \ MachObjectWriter.cpp \ diff --git a/external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile b/external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile index 6b9ecc60ef6a..d1eba1cdd47f 100644 --- a/external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile +++ b/external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/12/11 14:58:50 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2013/01/23 15:02:59 joerg Exp $ LIB= LLVMMCDisassembler @@ -6,12 +6,7 @@ LIB= LLVMMCDisassembler .PATH: ${LLVM_SRCDIR}/lib/MC/MCDisassembler -SRCS+= Disassembler.cpp \ - EDDisassembler.cpp \ - EDMain.cpp \ - EDOperand.cpp \ - EDInst.cpp \ - EDToken.cpp +SRCS+= Disassembler.cpp .if defined(HOSTLIB) .include diff --git a/external/bsd/llvm/lib/libLLVMMCJIT/Makefile b/external/bsd/llvm/lib/libLLVMMCJIT/Makefile index 2af7976f0e56..f3d40301c184 100644 --- a/external/bsd/llvm/lib/libLLVMMCJIT/Makefile +++ b/external/bsd/llvm/lib/libLLVMMCJIT/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2012/11/17 04:57:27 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2013/01/23 15:02:59 joerg Exp $ LIB= LLVMMCJIT @@ -6,6 +6,7 @@ LIB= LLVMMCJIT .PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/MCJIT -SRCS+= MCJIT.cpp +SRCS+= MCJIT.cpp \ + SectionMemoryManager.cpp .include diff --git a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile index 4f8f5f527eb0..1ac2adde0253 100644 --- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile +++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2012/11/17 04:57:27 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2013/01/23 15:02:59 joerg Exp $ LIB= LLVMMipsCodeGen @@ -41,7 +41,6 @@ TABLEGEN_OUTPUT= \ MipsGenCodeEmitter.inc|-gen-emitter \ MipsGenDAGISel.inc|-gen-dag-isel \ MipsGenDisassemblerTables.inc|-gen-disassembler \ - MipsGenEDInfo.inc|-gen-enhanced-disassembly-info \ MipsGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \ MipsGenMCPseudoLowering.inc|-gen-pseudo-lowering \ MipsGenSubtargetInfo.inc|-gen-subtarget diff --git a/external/bsd/llvm/lib/libLLVMOption/Makefile b/external/bsd/llvm/lib/libLLVMOption/Makefile new file mode 100644 index 000000000000..4b94476e37ee --- /dev/null +++ b/external/bsd/llvm/lib/libLLVMOption/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2013/01/23 15:02:59 joerg Exp $ + +LIB= LLVMOption + +NOGCCERROR= yes + +.include + +.PATH: ${LLVM_SRCDIR}/lib/Option + +SRCS+= ArgList.cpp \ + Arg.cpp \ + OptTable.cpp \ + Option.cpp + +.if defined(HOSTLIB) +.include +.else +.include +.endif diff --git a/external/bsd/llvm/lib/libLLVMSupport/Makefile b/external/bsd/llvm/lib/libLLVMSupport/Makefile index 480fd9172276..21766856348d 100644 --- a/external/bsd/llvm/lib/libLLVMSupport/Makefile +++ b/external/bsd/llvm/lib/libLLVMSupport/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2012/08/09 14:37:07 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2013/01/23 15:03:00 joerg Exp $ LIB= LLVMSupport @@ -60,6 +60,7 @@ SRCS+= APFloat.cpp \ Triple.cpp \ Twine.cpp \ YAMLParser.cpp \ + YAMLTraits.cpp \ raw_os_ostream.cpp \ raw_ostream.cpp \ regcomp.c \ diff --git a/external/bsd/llvm/lib/libLLVMTarget/Makefile b/external/bsd/llvm/lib/libLLVMTarget/Makefile index 91d62b8c9869..0969061def1a 100644 --- a/external/bsd/llvm/lib/libLLVMTarget/Makefile +++ b/external/bsd/llvm/lib/libLLVMTarget/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/11/17 04:57:27 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2013/01/23 15:03:00 joerg Exp $ LIB= LLVMTarget @@ -8,16 +8,13 @@ LIB= LLVMTarget SRCS+= Mangler.cpp \ Target.cpp \ - TargetInstrInfo.cpp \ TargetIntrinsicInfo.cpp \ TargetJITInfo.cpp \ TargetLibraryInfo.cpp \ TargetLoweringObjectFile.cpp \ TargetMachine.cpp \ TargetMachineC.cpp \ - TargetRegisterInfo.cpp \ - TargetSubtargetInfo.cpp \ - TargetTransformImpl.cpp + TargetSubtargetInfo.cpp .if defined(HOSTLIB) .include diff --git a/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile b/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile index 0daabfd43829..f1716a391194 100644 --- a/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile +++ b/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/10/28 17:07:46 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2013/01/23 15:03:00 joerg Exp $ LIB= LLVMTransformsUtils @@ -6,8 +6,7 @@ LIB= LLVMTransformsUtils .PATH: ${LLVM_SRCDIR}/lib/Transforms/Utils -SRCS+= AddrModeMatcher.cpp \ - BasicBlockUtils.cpp \ +SRCS+= BasicBlockUtils.cpp \ BreakCriticalEdges.cpp \ BuildLibCalls.cpp \ BypassSlowDivision.cpp \ diff --git a/external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile b/external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile index 1e1065dc6eba..800768b781aa 100644 --- a/external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile +++ b/external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:02 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:03:00 joerg Exp $ LIB= LLVMX86AsmParser @@ -9,8 +9,7 @@ CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86 .PATH: ${LLVM_SRCDIR}/lib/Target/X86/AsmParser -SRCS+= X86AsmLexer.cpp \ - X86AsmParser.cpp +SRCS+= X86AsmParser.cpp .if defined(HOSTLIB) .include diff --git a/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile b/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile index 22b253e3663e..6d23d79a8aae 100644 --- a/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile +++ b/external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2012/11/17 04:57:27 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2013/01/23 15:03:00 joerg Exp $ LIB= LLVMX86CodeGen @@ -18,11 +18,13 @@ SRCS+= X86AsmPrinter.cpp \ X86JITInfo.cpp \ X86MachineFunctionInfo.cpp \ X86MCInstLower.cpp \ + X86PadShortFunction.cpp \ X86RegisterInfo.cpp \ X86SelectionDAGInfo.cpp \ X86Subtarget.cpp \ X86TargetMachine.cpp \ X86TargetObjectFile.cpp \ + X86TargetTransformInfo.cpp \ X86VZeroUpper.cpp TABLEGEN_SRC= X86.td @@ -34,7 +36,6 @@ TABLEGEN_OUTPUT= \ X86GenCallingConv.inc|-gen-callingconv \ X86GenDAGISel.inc|-gen-dag-isel \ X86GenDisassemblerTables.inc|-gen-disassembler \ - X86GenEDInfo.inc|-gen-enhanced-disassembly-info \ X86GenFastISel.inc|-gen-fast-isel \ X86GenInstrInfo.inc|-gen-instr-info \ X86GenRegisterInfo.inc|-gen-register-info \ diff --git a/external/bsd/llvm/lib/libLLVMipa/Makefile b/external/bsd/llvm/lib/libLLVMipa/Makefile index 09eb94337e50..112aeaec27bc 100644 --- a/external/bsd/llvm/lib/libLLVMipa/Makefile +++ b/external/bsd/llvm/lib/libLLVMipa/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/23 15:03:00 joerg Exp $ LIB= LLVMipa @@ -6,7 +6,8 @@ LIB= LLVMipa .PATH: ${LLVM_SRCDIR}/lib/Analysis/IPA -SRCS+= CallGraph.cpp \ +SRCS+= CallPrinter.cpp \ + CallGraph.cpp \ CallGraphSCCPass.cpp \ FindUsedTypes.cpp \ GlobalsModRef.cpp \ diff --git a/external/bsd/llvm/lib/libclangARCMigrate/Makefile b/external/bsd/llvm/lib/libclangARCMigrate/Makefile index 35edfe51111c..886f1c3f40dd 100644 --- a/external/bsd/llvm/lib/libclangARCMigrate/Makefile +++ b/external/bsd/llvm/lib/libclangARCMigrate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/04/04 10:42:04 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2013/01/23 15:03:00 joerg Exp $ LIB= clangARCMigrate @@ -19,6 +19,7 @@ SRCS+= ARCMT.cpp \ TransGCAttrs.cpp \ TransGCCalls.cpp \ TransProperties.cpp \ + TransProtectedScope.cpp \ TransRetainReleaseDealloc.cpp \ TransUnbridgedCasts.cpp \ TransUnusedInitDelegate.cpp \ diff --git a/external/bsd/llvm/lib/libclangAST/Makefile b/external/bsd/llvm/lib/libclangAST/Makefile index 06f78f93593d..c100a51751d1 100644 --- a/external/bsd/llvm/lib/libclangAST/Makefile +++ b/external/bsd/llvm/lib/libclangAST/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2012/09/23 17:22:24 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2013/01/23 15:03:01 joerg Exp $ LIB= clangAST @@ -10,6 +10,7 @@ SRCS+= APValue.cpp \ ASTConsumer.cpp \ ASTContext.cpp \ ASTDiagnostic.cpp \ + ASTDumper.cpp \ ASTImporter.cpp \ AttrImpl.cpp \ CXXInheritance.cpp \ @@ -50,7 +51,6 @@ SRCS+= APValue.cpp \ RecordLayoutBuilder.cpp \ SelectorLocationsKind.cpp \ Stmt.cpp \ - StmtDumper.cpp \ StmtIterator.cpp \ StmtPrinter.cpp \ StmtProfile.cpp \ diff --git a/external/bsd/llvm/lib/libclangBasic/Makefile b/external/bsd/llvm/lib/libclangBasic/Makefile index 66eb1fe0beb5..19360c40f069 100644 --- a/external/bsd/llvm/lib/libclangBasic/Makefile +++ b/external/bsd/llvm/lib/libclangBasic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:07 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2013/01/23 15:03:01 joerg Exp $ LIB= clangBasic @@ -17,6 +17,7 @@ SRCS+= Builtins.cpp \ LangOptions.cpp \ Module.cpp \ ObjCRuntime.cpp \ + OperatorPrecedence.cpp \ SourceLocation.cpp \ SourceManager.cpp \ TargetInfo.cpp \ diff --git a/external/bsd/llvm/lib/libclangFormat/Makefile b/external/bsd/llvm/lib/libclangFormat/Makefile new file mode 100644 index 000000000000..3c350dc1f7c3 --- /dev/null +++ b/external/bsd/llvm/lib/libclangFormat/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2013/01/23 15:03:01 joerg Exp $ + +LIB= clangFormat + +.include + +.PATH: ${CLANG_SRCDIR}/lib/Format + +SRCS+= Format.cpp \ + UnwrappedLineParser.cpp + +.if defined(HOSTLIB) +.include +.else +.include +.endif diff --git a/external/bsd/llvm/lib/libclangLex/Makefile b/external/bsd/llvm/lib/libclangLex/Makefile index 7a084a06be28..fb081fbb88f6 100644 --- a/external/bsd/llvm/lib/libclangLex/Makefile +++ b/external/bsd/llvm/lib/libclangLex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/01/11 23:24:49 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2013/01/23 15:03:01 joerg Exp $ LIB= clangLex @@ -15,6 +15,7 @@ SRCS+= HeaderMap.cpp \ ModuleMap.cpp \ PPCaching.cpp \ PPCallbacks.cpp \ + PPConditionalDirectiveRecord.cpp \ PPDirectives.cpp \ PPExpressions.cpp \ PPLexerChange.cpp \ diff --git a/tools/llvm-lib/libLLVMCore/Makefile b/tools/llvm-lib/libLLVMCore/Makefile deleted file mode 100644 index 64cae19779ae..000000000000 --- a/tools/llvm-lib/libLLVMCore/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:14 joerg Exp $ - -.include diff --git a/tools/llvm-lib/libLLVMIR/Makefile b/tools/llvm-lib/libLLVMIR/Makefile new file mode 100644 index 000000000000..f5bd00f3d73e --- /dev/null +++ b/tools/llvm-lib/libLLVMIR/Makefile @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/01/23 15:03:01 joerg Exp $ + +.include