Update LLVM/Clang snapshot to r175373. This improves GNU as

compatibility.
This commit is contained in:
joerg 2013-02-19 12:35:41 +00:00
parent b6d45f2118
commit c1d816d5fd
12 changed files with 42 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.45 2013/02/04 15:00:31 joerg Exp $
# $NetBSD: Makefile.inc,v 1.46 2013/02/19 12:35:41 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
@ -7,7 +7,7 @@ LLVM_TOPLEVEL_MK=
SVN_ROOT= http://llvm.org/svn/llvm-project
COMMON_REVISION= 174288
COMMON_REVISION= 175373
LLVM_REVISION= ${COMMON_REVISION}
CLANG_REVISION= ${COMMON_REVISION}
COMPILER_RT_REVISION= ${COMMON_REVISION}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2013/02/04 15:00:31 joerg Exp $
# $NetBSD: Makefile,v 1.24 2013/02/19 12:35:41 joerg Exp $
PROG_CXX= clang
NOMAN= yes
@ -47,6 +47,7 @@ LLVM_LIBS+= \
AArch64MCTargetDesc \
AArch64AsmParser \
AArch64AsmPrinter \
AArch64Utils \
ARMCodeGen \
ARMTargetInfo \
ARMMCTargetDesc \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2013/02/04 15:00:32 joerg Exp $
# $NetBSD: Makefile,v 1.14 2013/02/19 12:35:41 joerg Exp $
PROG_CXX= llc
NOMAN= yes
@ -18,6 +18,7 @@ LLVM_LIBS+= \
AArch64MCTargetDesc \
AArch64AsmParser \
AArch64AsmPrinter \
AArch64Utils \
ARMCodeGen \
ARMTargetInfo \
ARMMCTargetDesc \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2013/02/04 15:00:32 joerg Exp $
# $NetBSD: Makefile,v 1.15 2013/02/19 12:35:42 joerg Exp $
PROG_CXX= llvm-mc
NOMAN= yes
@ -18,6 +18,7 @@ LLVM_LIBS+= \
AArch64MCTargetDesc \
AArch64AsmPrinter \
AArch64Disassembler \
AArch64Utils \
ARMCodeGen \
ARMTargetInfo \
ARMAsmParser \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2013/02/04 15:00:32 joerg Exp $
# $NetBSD: Makefile,v 1.3 2013/02/19 12:35:42 joerg Exp $
PROG_CXX= llvm-objdump
NOMAN= yes
@ -20,6 +20,7 @@ LLVM_LIBS+= \
AArch64MCTargetDesc \
AArch64AsmParser \
AArch64AsmPrinter \
AArch64Utils \
ARMDisassembler \
ARMTargetInfo \
ARMMCTargetDesc \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2013/02/04 15:00:32 joerg Exp $
# $NetBSD: Makefile,v 1.7 2013/02/19 12:35:42 joerg Exp $
PROG_CXX= opt
NOMAN= yes
@ -22,6 +22,7 @@ LLVM_LIBS+= \
AArch64TargetInfo \
AArch64MCTargetDesc \
AArch64AsmPrinter \
AArch64Utils \
ARMCodeGen \
ARMTargetInfo \
ARMMCTargetDesc \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2013/02/04 15:00:33 joerg Exp $
# $NetBSD: Makefile,v 1.28 2013/02/19 12:35:42 joerg Exp $
.include <bsd.own.mk>
@ -40,7 +40,8 @@ SUBDIR+= \
libLLVMAArch64AsmPrinter \
libLLVMAArch64Disassembler \
libLLVMAArch64MCTargetDesc \
libLLVMAArch64TargetInfo
libLLVMAArch64TargetInfo \
libLLVMAArch64Utils
SUBDIR+= \
libLLVMARMAsmParser \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2013/02/04 15:00:33 joerg Exp $
# $NetBSD: Makefile,v 1.2 2013/02/19 12:35:42 joerg Exp $
LIB= LLVMAArch64CodeGen
@ -9,7 +9,7 @@ LIB= LLVMAArch64CodeGen
CPPFLAGS+= -I${LLVM_SRCDIR}/lib/Target/AArch64
SRCS+= AArch64AsmPrinter.cpp \
AArch64ConstantIslandPass.cpp \
AArch64BranchFixupPass.cpp \
AArch64FrameLowering.cpp \
AArch64ISelDAGToDAG.cpp \
AArch64ISelLowering.cpp \

View File

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2013/02/19 12:35:43 joerg Exp $
LIB= LLVMAArch64Utils
.include <bsd.init.mk>
AARCH64_OBJDIR!= cd ${.CURDIR}/../libLLVMAArch64CodeGen && ${PRINTOBJDIR}
CPPFLAGS+= -I${AARCH64_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/AArch64
.PATH: ${LLVM_SRCDIR}/lib/Target/AArch64/Utils
SRCS+= AArch64BaseInfo.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2012/09/23 17:22:23 joerg Exp $
# $NetBSD: Makefile,v 1.3 2013/02/19 12:35:43 joerg Exp $
LIB= LLVMDebugInfo
@ -13,6 +13,7 @@ SRCS+= DIContext.cpp \
DWARFDebugAbbrev.cpp \
DWARFDebugArangeSet.cpp \
DWARFDebugAranges.cpp \
DWARFDebugFrame.cpp \
DWARFDebugInfoEntry.cpp \
DWARFDebugLine.cpp \
DWARFDebugRangeList.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2013/02/04 15:00:36 joerg Exp $
# $NetBSD: Makefile,v 1.9 2013/02/19 12:35:43 joerg Exp $
LIB= clangBasic
@ -7,6 +7,7 @@ LIB= clangBasic
.PATH: ${CLANG_SRCDIR}/lib/Basic
SRCS+= Builtins.cpp \
CharInfo.cpp \
Diagnostic.cpp \
DiagnosticIDs.cpp \
FileManager.cpp \

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2013/02/19 12:35:43 joerg Exp $
.include <bsd.init.mk>