Update LLVM/Clang snapshot to r177512 and MCLinker to deeb2a77.
Most noticably, this brings in the (optional) clang-format tool.
This commit is contained in:
parent
85fc5176f6
commit
c565c4f275
6
external/bsd/llvm/Makefile.inc
vendored
6
external/bsd/llvm/Makefile.inc
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.48 2013/03/13 13:21:17 joerg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.49 2013/03/24 13:02:16 joerg Exp $
|
||||
|
||||
.if !defined(LLVM_TOPLEVEL_MK)
|
||||
LLVM_TOPLEVEL_MK=
|
||||
@ -7,12 +7,12 @@ LLVM_TOPLEVEL_MK=
|
||||
|
||||
SVN_ROOT= http://llvm.org/svn/llvm-project
|
||||
|
||||
COMMON_REVISION= 175373
|
||||
COMMON_REVISION= 177512
|
||||
LLVM_REVISION= ${COMMON_REVISION}
|
||||
CLANG_REVISION= ${COMMON_REVISION}
|
||||
COMPILER_RT_REVISION= ${COMMON_REVISION}
|
||||
|
||||
MCLINKER_REVISION= 32f0b51103cce6907806e08642ca4a5692c3a66e
|
||||
MCLINKER_REVISION= deeb2a77b4165827316f88e0a7ba4ba6b743a080
|
||||
MCLINKER_ROOT= https://code.google.com/p/mclinker/
|
||||
|
||||
LLVM_VERSION= 3.3
|
||||
|
3
external/bsd/llvm/bin/Makefile
vendored
3
external/bsd/llvm/bin/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.8 2013/02/27 21:25:08 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2013/03/24 13:02:16 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -14,6 +14,7 @@ SUBDIR+= \
|
||||
.if defined(LLVM_DEVELOPER)
|
||||
SUBDIR+= \
|
||||
bugpoint \
|
||||
clang-format \
|
||||
llc \
|
||||
lli \
|
||||
llvm-ar \
|
||||
|
36
external/bsd/llvm/bin/clang-format/Makefile
vendored
Normal file
36
external/bsd/llvm/bin/clang-format/Makefile
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# $NetBSD: Makefile,v 1.1 2013/03/24 13:02:17 joerg Exp $
|
||||
|
||||
PROG_CXX= clang-format
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/tools/clang-format
|
||||
|
||||
SRCS= ClangFormat.cpp
|
||||
|
||||
CLANG_LIBS+= \
|
||||
clangFormat \
|
||||
clangTooling \
|
||||
clangFrontend \
|
||||
clangSerialization \
|
||||
clangDriver \
|
||||
clangParse \
|
||||
clangRewriteFrontend \
|
||||
clangRewriteCore \
|
||||
clangSema \
|
||||
clangEdit \
|
||||
clangAnalysis \
|
||||
clangAST \
|
||||
clangLex \
|
||||
clangBasic
|
||||
|
||||
LLVM_LIBS+= \
|
||||
BitReader \
|
||||
MCParser \
|
||||
MC \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
5
external/bsd/llvm/bin/llvm-readobj/Makefile
vendored
5
external/bsd/llvm/bin/llvm-readobj/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2013/03/24 13:02:17 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-readobj
|
||||
NOMAN= yes
|
||||
@ -7,7 +7,8 @@ NOMAN= yes
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-readobj
|
||||
|
||||
SRCS= llvm-readobj.cpp
|
||||
SRCS= llvm-readobj.cpp \
|
||||
ELF.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Archive \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.11 2013/01/23 15:02:58 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2013/03/24 13:02:17 joerg Exp $
|
||||
|
||||
LIB= LLVMARMCodeGen
|
||||
|
||||
@ -29,6 +29,7 @@ SRCS+= ARMAsmPrinter.cpp \
|
||||
ARMTargetMachine.cpp \
|
||||
ARMTargetObjectFile.cpp \
|
||||
ARMTargetTransformInfo.cpp \
|
||||
A15SDOptimizer.cpp \
|
||||
MLxExpansionPass.cpp \
|
||||
Thumb1InstrInfo.cpp \
|
||||
Thumb1FrameLowering.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.12 2013/02/04 15:00:34 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2013/03/24 13:02:17 joerg Exp $
|
||||
|
||||
LIB= LLVMAnalysis
|
||||
|
||||
@ -20,7 +20,6 @@ SRCS+= AliasAnalysis.cpp \
|
||||
CodeMetrics.cpp \
|
||||
ConstantFolding.cpp \
|
||||
CostModel.cpp \
|
||||
DbgInfoPrinter.cpp \
|
||||
DependenceAnalysis.cpp \
|
||||
DomPrinter.cpp \
|
||||
DominanceFrontier.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.15 2013/01/23 15:02:59 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2013/03/24 13:02:17 joerg Exp $
|
||||
|
||||
LIB= LLVMMipsCodeGen
|
||||
|
||||
@ -6,12 +6,15 @@ LIB= LLVMMipsCodeGen
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/Mips
|
||||
|
||||
SRCS+= Mips16InstrInfo.cpp \
|
||||
SRCS+= Mips16ISelDAGToDAG.cpp \
|
||||
Mips16ISelLowering.cpp \
|
||||
Mips16InstrInfo.cpp \
|
||||
Mips16FrameLowering.cpp \
|
||||
Mips16RegisterInfo.cpp \
|
||||
MipsAnalyzeImmediate.cpp \
|
||||
MipsAsmPrinter.cpp \
|
||||
MipsCodeEmitter.cpp \
|
||||
MipsConstantIslandPass.cpp \
|
||||
MipsDelaySlotFiller.cpp \
|
||||
MipsFrameLowering.cpp \
|
||||
MipsInstrInfo.cpp \
|
||||
@ -22,6 +25,8 @@ SRCS+= Mips16InstrInfo.cpp \
|
||||
MipsMachineFunction.cpp \
|
||||
MipsMCInstLower.cpp \
|
||||
MipsRegisterInfo.cpp \
|
||||
MipsSEISelLowering.cpp \
|
||||
MipsSEISelDAGToDAG.cpp \
|
||||
MipsSEInstrInfo.cpp \
|
||||
MipsSEFrameLowering.cpp \
|
||||
MipsSERegisterInfo.cpp \
|
||||
@ -30,6 +35,7 @@ SRCS+= Mips16InstrInfo.cpp \
|
||||
MipsTargetObjectFile.cpp \
|
||||
MipsSelectionDAGInfo.cpp
|
||||
|
||||
|
||||
TABLEGEN_SRC= Mips.td
|
||||
TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/Mips
|
||||
TABLEGEN_OUTPUT= \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2011/12/11 14:58:50 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2013/03/24 13:02:17 joerg Exp $
|
||||
|
||||
LIB= clangCodeGen
|
||||
|
||||
@ -7,6 +7,7 @@ LIB= clangCodeGen
|
||||
.PATH: ${CLANG_SRCDIR}/lib/CodeGen
|
||||
|
||||
SRCS+= BackendUtil.cpp \
|
||||
CGAtomic.cpp \
|
||||
CGBlocks.cpp \
|
||||
CGBuiltin.cpp \
|
||||
CGCUDANV.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.18 2012/11/17 04:57:27 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2013/03/24 13:02:17 joerg Exp $
|
||||
|
||||
LIB= clangStaticAnalyzerCheckers
|
||||
|
||||
@ -9,7 +9,6 @@ LIB= clangStaticAnalyzerCheckers
|
||||
SRCS+= AnalyzerStatsChecker.cpp \
|
||||
ArrayBoundChecker.cpp \
|
||||
ArrayBoundCheckerV2.cpp \
|
||||
AttrNonNullChecker.cpp \
|
||||
BasicObjCFoundationChecks.cpp \
|
||||
BoolAssignmentChecker.cpp \
|
||||
BuiltinFunctionChecker.cpp \
|
||||
@ -46,6 +45,7 @@ SRCS+= AnalyzerStatsChecker.cpp \
|
||||
NSAutoreleasePoolChecker.cpp \
|
||||
NSErrorChecker.cpp \
|
||||
NoReturnFunctionChecker.cpp \
|
||||
NonNullParamChecker.cpp \
|
||||
ObjCAtSyncChecker.cpp \
|
||||
ObjCContainersASTChecker.cpp \
|
||||
ObjCContainersChecker.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user