Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Update LLVM/Clang snapshot to r158533. This brings in suppor...
details: https://anonhg.NetBSD.org/src/rev/d4d172523ebc
branches: trunk
changeset: 779758:d4d172523ebc
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Jun 16 17:01:02 2012 +0000
description:
Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
diffstat:
distrib/sets/lists/base/mi | 5 +-
distrib/sets/lists/comp/ad.powerpc | 5 +-
distrib/sets/lists/comp/md.amd64 | 62 +++++++---
distrib/sets/lists/comp/md.i386 | 62 +++++++---
etc/mtree/NetBSD.dist.base | 4 +-
external/bsd/llvm/Makefile.inc | 8 +-
external/bsd/llvm/bin/tblgen/Makefile | 3 +-
external/bsd/llvm/config/clang/Config/config.h | 2 +-
external/bsd/llvm/config/llvm/Config/config.h | 2 +-
external/bsd/llvm/include/Makefile | 11 +-
external/bsd/llvm/lib/libLLVMCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile | 5 +-
external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMScalarOpts/Makefile | 3 +-
external/bsd/llvm/lib/libclangRewrite/Makefile | 3 +-
external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile | 3 +-
external/bsd/llvm/lib/libclangTooling/Makefile | 6 +-
tools/llvm/Makefile | 4 +-
18 files changed, 124 insertions(+), 70 deletions(-)
diffs (truncated from 451 to 300 lines):
diff -r b3b8c0037f30 -r d4d172523ebc distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Sat Jun 16 16:42:26 2012 +0000
+++ b/distrib/sets/lists/base/mi Sat Jun 16 17:01:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.997 2012/06/14 04:14:35 riz Exp $
+# $NetBSD: mi,v 1.998 2012/06/16 17:01:02 joerg Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -782,7 +782,8 @@
./usr/include/altq base-c-usr
./usr/include/arpa base-c-usr
./usr/include/cdk base-obsolete obsolete
-./usr/include/clang-3.0 base-c-usr
+./usr/include/clang-3.0 base-obsolete obsolete
+./usr/include/clang-3.2 base-c-usr
./usr/include/compat base-obsolete obsolete
./usr/include/crypto base-c-usr
./usr/include/dev base-c-usr
diff -r b3b8c0037f30 -r d4d172523ebc distrib/sets/lists/comp/ad.powerpc
--- a/distrib/sets/lists/comp/ad.powerpc Sat Jun 16 16:42:26 2012 +0000
+++ b/distrib/sets/lists/comp/ad.powerpc Sat Jun 16 17:01:02 2012 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: ad.powerpc,v 1.58 2011/10/12 04:17:33 mrg Exp $
+# $NetBSD: ad.powerpc,v 1.59 2012/06/16 17:01:02 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-c-include llvm
+./usr/include/clang-3.0/altivec.h comp-obsolete obsolete
+./usr/include/clang-3.2/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 -r b3b8c0037f30 -r d4d172523ebc distrib/sets/lists/comp/md.amd64
--- a/distrib/sets/lists/comp/md.amd64 Sat Jun 16 16:42:26 2012 +0000
+++ b/distrib/sets/lists/comp/md.amd64 Sat Jun 16 17:01:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.165 2012/06/05 00:37:52 christos Exp $
+# $NetBSD: md.amd64,v 1.166 2012/06/16 17:01:03 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
@@ -67,25 +67,47 @@
./usr/include/amd64/varargs.h comp-obsolete obsolete
./usr/include/amd64/vmparam.h comp-c-include
./usr/include/amd64/wchar_limits.h comp-c-include
-./usr/include/clang-3.0/avxintrin.h comp-c-include llvm
-./usr/include/clang-3.0/avx2intrin.h comp-c-include llvm
-./usr/include/clang-3.0/bmi2intrin.h comp-c-include llvm
-./usr/include/clang-3.0/bmiintrin.h comp-c-include llvm
-./usr/include/clang-3.0/emmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/fma4intrin.h comp-c-include llvm
-./usr/include/clang-3.0/immintrin.h comp-c-include llvm
-./usr/include/clang-3.0/lzcntintrin.h comp-c-include llvm
-./usr/include/clang-3.0/mm3dnow.h comp-c-include llvm
-./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm
-./usr/include/clang-3.0/mmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/nmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/popcntintrin.h comp-c-include llvm
-./usr/include/clang-3.0/smmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/wmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/x86intrin.h comp-c-include llvm
-./usr/include/clang-3.0/xmmintrin.h comp-c-include llvm
+./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
+./usr/include/clang-3.0/bmiintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/emmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/fma4intrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/immintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/lzcntintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/mm3dnow.h comp-obsolete obsolete
+./usr/include/clang-3.0/mm_malloc.h comp-obsolete obsolete
+./usr/include/clang-3.0/mmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/nmmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/pmmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/popcntintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/smmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/tmmintrin.h comp-obsolete obsolete
+./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/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/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/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/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 -r b3b8c0037f30 -r d4d172523ebc distrib/sets/lists/comp/md.i386
--- a/distrib/sets/lists/comp/md.i386 Sat Jun 16 16:42:26 2012 +0000
+++ b/distrib/sets/lists/comp/md.i386 Sat Jun 16 17:01:02 2012 +0000
@@ -1,23 +1,45 @@
-# $NetBSD: md.i386,v 1.124 2012/01/11 23:24:46 joerg Exp $
-./usr/include/clang-3.0/avxintrin.h comp-c-include llvm
-./usr/include/clang-3.0/avx2intrin.h comp-c-include llvm
-./usr/include/clang-3.0/bmi2intrin.h comp-c-include llvm
-./usr/include/clang-3.0/bmiintrin.h comp-c-include llvm
-./usr/include/clang-3.0/emmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/fma4intrin.h comp-c-include llvm
-./usr/include/clang-3.0/immintrin.h comp-c-include llvm
-./usr/include/clang-3.0/lzcntintrin.h comp-c-include llvm
-./usr/include/clang-3.0/mm3dnow.h comp-c-include llvm
-./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm
-./usr/include/clang-3.0/mmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/nmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/popcntintrin.h comp-c-include llvm
-./usr/include/clang-3.0/smmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/wmmintrin.h comp-c-include llvm
-./usr/include/clang-3.0/x86intrin.h comp-c-include llvm
-./usr/include/clang-3.0/xmmintrin.h comp-c-include llvm
+# $NetBSD: md.i386,v 1.125 2012/06/16 17:01:03 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
+./usr/include/clang-3.0/bmiintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/emmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/fma4intrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/immintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/lzcntintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/mm3dnow.h comp-obsolete obsolete
+./usr/include/clang-3.0/mm_malloc.h comp-obsolete obsolete
+./usr/include/clang-3.0/mmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/nmmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/pmmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/popcntintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/smmintrin.h comp-obsolete obsolete
+./usr/include/clang-3.0/tmmintrin.h comp-obsolete obsolete
+./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/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/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/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/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 -r b3b8c0037f30 -r d4d172523ebc etc/mtree/NetBSD.dist.base
--- a/etc/mtree/NetBSD.dist.base Sat Jun 16 16:42:26 2012 +0000
+++ b/etc/mtree/NetBSD.dist.base Sat Jun 16 17:01:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.dist.base,v 1.101 2012/06/14 04:14:36 riz Exp $
+# $NetBSD: NetBSD.dist.base,v 1.102 2012/06/16 17:01:03 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.0
+./usr/include/clang-3.2
./usr/include/crypto
./usr/include/dev
./usr/include/dev/apm
diff -r b3b8c0037f30 -r d4d172523ebc external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc Sat Jun 16 16:42:26 2012 +0000
+++ b/external/bsd/llvm/Makefile.inc Sat Jun 16 17:01:02 2012 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile.inc,v 1.35 2012/05/29 19:31:52 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.36 2012/06/16 17:01:03 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
.include <bsd.own.mk>
-LLVM_REVISION= 156412
-CLANG_REVISION= 156412
+LLVM_REVISION= 158533
+CLANG_REVISION= 158533
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
@@ -33,7 +33,7 @@
-I${CLANG_INCLUDE_CONFIG}
# ./configure --enable-targets=x86,powerpc,sparc,arm,mips \
-# --with-c-include-dirs=/usr/include/clang-3.0:/usr/include \
+# --with-c-include-dirs=/usr/include/clang-3.2:/usr/include \
# --disable-timestamps --prefix=/usr --sysconfdir=/etc/llvm \
# --disable-threads
diff -r b3b8c0037f30 -r d4d172523ebc external/bsd/llvm/bin/tblgen/Makefile
--- a/external/bsd/llvm/bin/tblgen/Makefile Sat Jun 16 16:42:26 2012 +0000
+++ b/external/bsd/llvm/bin/tblgen/Makefile Sat Jun 16 17:01:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2012/05/29 19:31:52 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2012/06/16 17:01:03 joerg Exp $
PROG_CXX= llvm-tblgen
NOMAN= yes
@@ -26,7 +26,6 @@
EDEmitter.cpp \
FastISelEmitter.cpp \
FixedLenDecoderEmitter.cpp \
- FixedLenDecoderEmitter.h \
InstrInfoEmitter.cpp \
IntrinsicEmitter.cpp \
PseudoLoweringEmitter.cpp \
diff -r b3b8c0037f30 -r d4d172523ebc external/bsd/llvm/config/clang/Config/config.h
--- a/external/bsd/llvm/config/clang/Config/config.h Sat Jun 16 16:42:26 2012 +0000
+++ b/external/bsd/llvm/config/clang/Config/config.h Sat Jun 16 17:01:02 2012 +0000
@@ -14,7 +14,7 @@
#define GCC_INSTALL_PREFIX ""
/* Directories clang will search for headers */
-#define C_INCLUDE_DIRS "/usr/include/clang-3.0:/usr/include"
+#define C_INCLUDE_DIRS "/usr/include/clang-3.2:/usr/include"
/* Default <path> to all compiler invocations for --sysroot=<path>. */
#define DEFAULT_SYSROOT ""
diff -r b3b8c0037f30 -r d4d172523ebc external/bsd/llvm/config/llvm/Config/config.h
--- a/external/bsd/llvm/config/llvm/Config/config.h Sat Jun 16 16:42:26 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h Sat Jun 16 17:01:02 2012 +0000
@@ -11,7 +11,7 @@
#define CLANG_RESOURCE_DIR ""
/* Directories clang will search for headers */
-#define C_INCLUDE_DIRS "/usr/include/clang-3.0:/usr/include"
+#define C_INCLUDE_DIRS "/usr/include/clang-3.2:/usr/include"
/* Default <path> to all compiler invocations for --sysroot=<path>. */
#define DEFAULT_SYSROOT ""
diff -r b3b8c0037f30 -r d4d172523ebc external/bsd/llvm/include/Makefile
--- a/external/bsd/llvm/include/Makefile Sat Jun 16 16:42:26 2012 +0000
+++ b/external/bsd/llvm/include/Makefile Sat Jun 16 17:01:02 2012 +0000
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.9 2012/05/29 19:31:52 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2012/06/16 17:01:03 joerg Exp $
.include <bsd.init.mk>
.PATH: ${CLANG_SRCDIR}/lib/Headers
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-INCS= avx2intrin.h \
+INCS= ammintrin.h \
+ avx2intrin.h \
avxintrin.h \
bmi2intrin.h \
bmiintrin.h \
emmintrin.h \
+ fmaintrin.h \
fma4intrin.h \
immintrin.h \
lzcntintrin.h \
@@ -23,11 +25,12 @@
tmmintrin.h \
wmmintrin.h \
x86intrin.h \
- xmmintrin.h
+ xmmintrin.h \
+ xopintrin.h
.elif ${MACHINE_ARCH} == "powerpc"
INCS= altivec.h
.endif
-INCSDIR= /usr/include/clang-3.0
Home |
Main Index |
Thread Index |
Old Index