Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Update to Clang/LLVM r135360. Most importantly, this adjusts...
details: https://anonhg.NetBSD.org/src/rev/c252c804805d
branches: trunk
changeset: 767379:c252c804805d
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Jul 17 20:07:56 2011 +0000
description:
Update to Clang/LLVM r135360. Most importantly, this adjusts the
cc -print-search-dirs output to expand sysroot-prefixed library paths to
make live easier for libtool.
diffstat:
external/bsd/llvm/Makefile.inc | 6 ++--
external/bsd/llvm/bin/clang/Makefile | 5 +++-
external/bsd/llvm/bin/llc/Makefile | 6 +++-
external/bsd/llvm/bin/lli/Makefile | 3 +-
external/bsd/llvm/bin/llvm-mc/Makefile | 6 +++-
external/bsd/llvm/config/llvm/Config/config.h | 6 ++++
external/bsd/llvm/config/llvm/Config/llvm-config.h | 6 ++++
external/bsd/llvm/lib/Makefile | 5 +++-
external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile | 5 ++-
external/bsd/llvm/lib/libLLVMCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile | 19 +++++++++++++++
external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile | 19 +++++++++++++++
external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMSparcMCTargetDesc/Makefile | 19 +++++++++++++++
external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile | 5 ++-
tools/llvm-lib/libLLVMMipsMCTargetDesc/Makefile | 3 ++
tools/llvm-lib/libLLVMPowerPCMCTargetDesc/Makefile | 3 ++
tools/llvm-lib/libLLVMSparcMCTargetDesc/Makefile | 3 ++
22 files changed, 114 insertions(+), 23 deletions(-)
diffs (truncated from 411 to 300 lines):
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/Makefile.inc Sun Jul 17 20:07:56 2011 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile.inc,v 1.16 2011/07/13 23:48:29 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.17 2011/07/17 20:07:57 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
.include <bsd.own.mk>
-LLVM_REVISION= 135100
-CLANG_REVISION= 135100
+LLVM_REVISION= 135360
+CLANG_REVISION= 135360
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2011/07/14 21:38:57 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2011/07/17 20:07:57 joerg Exp $
PROG_CXX= clang
NOMAN= yes
@@ -46,12 +46,15 @@
ARMAsmPrinter \
MipsCodeGen \
MipsTargetInfo \
+ MipsMCTargetDesc \
MipsAsmPrinter \
PowerPCCodeGen \
PowerPCTargetInfo \
+ PowerPCMCTargetDesc \
PowerPCAsmPrinter \
SparcCodeGen \
SparcTargetInfo \
+ SparcMCTargetDesc \
X86CodeGen \
X86MCTargetDesc \
X86TargetInfo \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/bin/llc/Makefile
--- a/external/bsd/llvm/bin/llc/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/bin/llc/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/07/13 23:48:29 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2011/07/17 20:07:57 joerg Exp $
PROG_CXX= llc
NOMAN= yes
@@ -20,14 +20,18 @@
ARMAsmPrinter \
MipsCodeGen \
MipsTargetInfo \
+ MipsMCTargetDesc \
MipsAsmPrinter \
PowerPCCodeGen \
PowerPCTargetInfo \
+ PowerPCMCTargetDesc \
PowerPCAsmPrinter \
SparcCodeGen \
SparcTargetInfo \
+ SparcMCTargetDesc \
X86CodeGen \
X86TargetInfo \
+ X86MCTargetDesc \
X86AsmParser \
X86AsmPrinter \
X86Utils \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/bin/lli/Makefile
--- a/external/bsd/llvm/bin/lli/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/bin/lli/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/05/12 14:56:23 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2011/07/17 20:07:57 joerg Exp $
PROG_CXX= lli
NOMAN= yes
@@ -12,6 +12,7 @@
LLVM_LIBS+= \
X86CodeGen \
X86TargetInfo \
+ X86MCTargetDesc \
X86AsmPrinter \
X86Utils \
AsmPrinter \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/bin/llvm-mc/Makefile
--- a/external/bsd/llvm/bin/llvm-mc/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/bin/llvm-mc/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/07/13 23:48:29 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2011/07/17 20:07:57 joerg Exp $
PROG_CXX= llvm-mc
NOMAN= yes
@@ -20,14 +20,18 @@
ARMDisassembler \
MipsCodeGen \
MipsTargetInfo \
+ MipsMCTargetDesc \
MipsAsmPrinter \
PowerPCCodeGen \
PowerPCTargetInfo \
+ PowerPCMCTargetDesc \
PowerPCAsmPrinter \
SparcCodeGen \
SparcTargetInfo \
+ SparcMCTargetDesc \
X86CodeGen \
X86TargetInfo \
+ X86MCTargetDesc \
X86AsmParser \
X86Disassembler \
X86AsmPrinter \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/config/llvm/Config/config.h
--- a/external/bsd/llvm/config/llvm/Config/config.h Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h Sun Jul 17 20:07:56 2011 +0000
@@ -513,9 +513,15 @@
/* LLVM architecture name for the native architecture, if available */
#define LLVM_NATIVE_ARCH X86
+/* LLVM name for the native AsmParser init function, if available */
+#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
+
/* LLVM name for the native AsmPrinter init function, if available */
#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
+/* LLVM name for the native MCAsmInfo init function, if available */
+#define LLVM_NATIVE_MCASMINFO LLVMInitializeX86MCAsmInfo
+
/* LLVM name for the native Target init function, if available */
#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/config/llvm/Config/llvm-config.h
--- a/external/bsd/llvm/config/llvm/Config/llvm-config.h Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/config/llvm/Config/llvm-config.h Sun Jul 17 20:07:56 2011 +0000
@@ -59,9 +59,15 @@
/* LLVM name for the native TargetInfo init function, if available */
#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
+/* LLVM name for the native MCAsmInfo init function, if available */
+#define LLVM_NATIVE_MCASMINFO LLVMInitializeX86MCAsmInfo
+
/* LLVM name for the native AsmPrinter init function, if available */
#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
+/* LLVM name for the native AsmPrinter init function, if available */
+#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
+
/* Define if this is Unixish platform */
#define LLVM_ON_UNIX 1
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/Makefile
--- a/external/bsd/llvm/lib/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/lib/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2011/07/13 23:48:30 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2011/07/17 20:07:57 joerg Exp $
.include <bsd.own.mk>
@@ -41,13 +41,16 @@
SUBDIR+= \
libLLVMMipsAsmPrinter \
+ libLLVMMipsMCTargetDesc \
libLLVMMipsTargetInfo
SUBDIR+= \
libLLVMPowerPCAsmPrinter \
+ libLLVMPowerPCMCTargetDesc \
libLLVMPowerPCTargetInfo
SUBDIR+= \
+ libLLVMSparcMCTargetDesc \
libLLVMSparcTargetInfo
SUBDIR+= \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/07/13 23:48:30 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/17 20:07:57 joerg Exp $
LIB= LLVMARMCodeGen
@@ -27,7 +27,6 @@
ARMMCCodeEmitter.cpp \
ARMMCExpr.cpp \
ARMLoadStoreOptimizer.cpp \
- ARMMCAsmInfo.cpp \
ARMMCInstLower.cpp \
ARMRegisterInfo.cpp \
ARMSelectionDAGInfo.cpp \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/07/07 21:59:15 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2011/07/17 20:07:58 joerg Exp $
LIB= LLVMARMMCTargetDesc
@@ -9,7 +9,8 @@
ARM_OBJDIR!= cd ${.CURDIR}/../libLLVMARMCodeGen && ${PRINTOBJDIR}
CPPFLAGS+= -I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM
-SRCS+= ARMMCTargetDesc.cpp
+SRCS+= ARMMCAsmInfo.cpp \
+ ARMMCTargetDesc.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/libLLVMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/07/04 16:10:39 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2011/07/17 20:07:58 joerg Exp $
LIB= LLVMCodeGen
@@ -41,6 +41,7 @@
LowerSubregs.cpp \
MachineBasicBlock.cpp \
MachineBranchProbabilityInfo.cpp \
+ MachineBlockFrequency.cpp \
MachineCSE.cpp \
MachineDominators.cpp \
MachineFunction.cpp \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/07/07 21:59:15 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/17 20:07:58 joerg Exp $
LIB= LLVMMipsCodeGen
@@ -14,7 +14,6 @@
MipsISelDAGToDAG.cpp \
MipsISelLowering.cpp \
MipsFrameLowering.cpp \
- MipsMCAsmInfo.cpp \
MipsMCInstLower.cpp \
MipsMCSymbolRefExpr.cpp \
MipsRegisterInfo.cpp \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2011/07/17 20:07:58 joerg Exp $
+
+LIB= LLVMMipsMCTargetDesc
+
+.include <bsd.init.mk>
+
+MIPS_OBJDIR!= cd ${.CURDIR}/../libLLVMMipsCodeGen && ${PRINTOBJDIR}
+CPPFLAGS+= -I${MIPS_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Mips
+
+.PATH: ${LLVM_SRCDIR}/lib/Target/Mips/MCTargetDesc
+
+SRCS+= MipsMCAsmInfo.cpp \
+ MipsMCTargetDesc.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile Sun Jul 17 19:48:31 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/07/04 22:37:59 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2011/07/17 20:07:58 joerg Exp $
LIB= LLVMPowerPCCodeGen
@@ -16,7 +16,6 @@
PPCISelLowering.cpp \
PPCFrameLowering.cpp \
PPCJITInfo.cpp \
- PPCMCAsmInfo.cpp \
PPCMCCodeEmitter.cpp \
PPCMCInstLower.cpp \
PPCPredicates.cpp \
diff -r 0ffca27fd2b4 -r c252c804805d external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile Sun Jul 17 20:07:56 2011 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2011/07/17 20:07:58 joerg Exp $
+
+LIB= LLVMPowerPCMCTargetDesc
+
+.include <bsd.init.mk>
Home |
Main Index |
Thread Index |
Old Index