Update build glue for LLVM/Clang r202566. News:
- match ARM CPU default of GCC - better support for SPARC64 - type checkings for abs/fabs - null pointer checks against struct member - various other improvements
This commit is contained in:
parent
f7ecfbd2ed
commit
1e03b295f8
4
external/bsd/llvm/Makefile.inc
vendored
4
external/bsd/llvm/Makefile.inc
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.71 2014/02/14 20:23:56 joerg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.72 2014/03/04 21:05:05 joerg Exp $
|
||||
|
||||
.if !defined(LLVM_TOPLEVEL_MK)
|
||||
LLVM_TOPLEVEL_MK=
|
||||
@ -8,7 +8,7 @@ LLVM_TOPLEVEL_MK=
|
||||
SVN_ROOT= http://llvm.org/svn/llvm-project
|
||||
SVN_BRANCH= trunk
|
||||
|
||||
COMMON_REVISION= 201163
|
||||
COMMON_REVISION= 202566
|
||||
CLANG_REVISION= ${COMMON_REVISION}
|
||||
LLD_REVISION= ${COMMON_REVISION}
|
||||
LLDB_REVISION= ${COMMON_REVISION}
|
||||
|
3
external/bsd/llvm/bin/Makefile
vendored
3
external/bsd/llvm/bin/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.13 2013/10/14 01:37:39 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2014/03/04 21:05:05 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -39,6 +39,7 @@ SUBDIR+= \
|
||||
llvm-mc \
|
||||
llvm-nm \
|
||||
llvm-objdump \
|
||||
llvm-profdata \
|
||||
llvm-readobj \
|
||||
llvm-size \
|
||||
llvm-symbolizer \
|
||||
|
18
external/bsd/llvm/bin/llvm-profdata/Makefile
vendored
Normal file
18
external/bsd/llvm/bin/llvm-profdata/Makefile
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# $NetBSD: Makefile,v 1.1 2014/03/04 21:05:05 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-profdata
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-profdata
|
||||
|
||||
SRCS= llvm-profdata.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
IR \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
3
external/bsd/llvm/bin/opt/Makefile
vendored
3
external/bsd/llvm/bin/opt/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.12 2014/02/14 20:23:56 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2014/03/04 21:05:05 joerg Exp $
|
||||
|
||||
PROG_CXX= opt
|
||||
NOMAN= yes
|
||||
@ -8,6 +8,7 @@ NOMAN= yes
|
||||
.PATH: ${LLVM_SRCDIR}/tools/opt
|
||||
|
||||
SRCS= AnalysisWrappers.cpp \
|
||||
BreakpointPrinter.cpp \
|
||||
GraphPrinters.cpp \
|
||||
NewPMDriver.cpp \
|
||||
PassPrinters.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2013/02/19 12:35:42 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2014/03/04 21:05:05 joerg Exp $
|
||||
|
||||
LIB= LLVMAArch64CodeGen
|
||||
|
||||
@ -20,7 +20,8 @@ SRCS+= AArch64AsmPrinter.cpp \
|
||||
AArch64SelectionDAGInfo.cpp \
|
||||
AArch64Subtarget.cpp \
|
||||
AArch64TargetMachine.cpp \
|
||||
AArch64TargetObjectFile.cpp
|
||||
AArch64TargetObjectFile.cpp \
|
||||
AArch64TargetTransformInfo.cpp
|
||||
|
||||
TABLEGEN_SRC= AArch64.td
|
||||
TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/AArch64
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.26 2014/01/05 16:38:06 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.27 2014/03/04 21:05:05 joerg Exp $
|
||||
|
||||
LIB= LLVMCodeGen
|
||||
|
||||
@ -14,6 +14,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
|
||||
CalcSpillWeights.cpp \
|
||||
CallingConvLower.cpp \
|
||||
CodeGen.cpp \
|
||||
CodeGenPrepare.cpp \
|
||||
CriticalAntiDepBreaker.cpp \
|
||||
DFAPacketizer.cpp \
|
||||
DeadMachineInstructionElim.cpp \
|
||||
|
3
external/bsd/llvm/lib/libLLVMMC/Makefile
vendored
3
external/bsd/llvm/lib/libLLVMMC/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.14 2013/10/20 14:53:23 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= LLVMMC
|
||||
|
||||
@ -40,7 +40,6 @@ SRCS+= ELFObjectWriter.cpp \
|
||||
MCObjectStreamer.cpp \
|
||||
MCObjectSymbolizer.cpp \
|
||||
MCObjectWriter.cpp \
|
||||
MCPureStreamer.cpp \
|
||||
MCRegisterInfo.cpp \
|
||||
MCRelocationInfo.cpp \
|
||||
MCSection.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.21 2014/01/05 16:38:06 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= LLVMMipsCodeGen
|
||||
|
||||
@ -11,6 +11,7 @@ SRCS+= Mips16ISelDAGToDAG.cpp \
|
||||
Mips16InstrInfo.cpp \
|
||||
Mips16FrameLowering.cpp \
|
||||
Mips16HardFloat.cpp \
|
||||
Mips16HardFloatInfo.cpp \
|
||||
Mips16RegisterInfo.cpp \
|
||||
MipsAnalyzeImmediate.cpp \
|
||||
MipsAsmPrinter.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.9 2014/02/14 20:23:56 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= LLVMMipsMCTargetDesc
|
||||
|
||||
@ -15,6 +15,7 @@ SRCS+= MipsAsmBackend.cpp \
|
||||
MipsMCCodeEmitter.cpp \
|
||||
MipsMCExpr.cpp \
|
||||
MipsMCTargetDesc.cpp \
|
||||
MipsNaClELFStreamer.cpp \
|
||||
MipsTargetStreamer.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
|
4
external/bsd/llvm/lib/libLLVMObject/Makefile
vendored
4
external/bsd/llvm/lib/libLLVMObject/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.8 2013/09/02 14:34:56 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= LLVMObject
|
||||
NOGCCERROR= yes
|
||||
@ -15,10 +15,12 @@ SRCS+= Archive.cpp \
|
||||
ELFObjectFile.cpp \
|
||||
ELFYAML.cpp \
|
||||
Error.cpp \
|
||||
IRObjectFile.cpp \
|
||||
MachOObjectFile.cpp \
|
||||
MachOUniversal.cpp \
|
||||
Object.cpp \
|
||||
ObjectFile.cpp \
|
||||
SymbolicFile.cpp \
|
||||
YAML.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.15 2014/02/14 20:23:57 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= LLVMScalarOpts
|
||||
|
||||
@ -7,7 +7,6 @@ LIB= LLVMScalarOpts
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar
|
||||
|
||||
SRCS+= ADCE.cpp \
|
||||
CodeGenPrepare.cpp \
|
||||
ConstantHoisting.cpp \
|
||||
ConstantProp.cpp \
|
||||
CorrelatedValuePropagation.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.25 2014/02/14 20:23:57 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.26 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= LLVMSupport
|
||||
|
||||
@ -40,6 +40,7 @@ SRCS+= APFloat.cpp \
|
||||
IntrusiveRefCntPtr.cpp \
|
||||
IsInf.cpp \
|
||||
IsNAN.cpp \
|
||||
LEB128.cpp \
|
||||
LineIterator.cpp \
|
||||
Locale.cpp \
|
||||
LockFileManager.cpp \
|
||||
|
5
external/bsd/llvm/lib/libclangBasic/Makefile
vendored
5
external/bsd/llvm/lib/libclangBasic/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2013/04/25 13:59:58 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= clangBasic
|
||||
|
||||
@ -24,7 +24,8 @@ SRCS+= Builtins.cpp \
|
||||
Targets.cpp \
|
||||
TokenKinds.cpp \
|
||||
Version.cpp \
|
||||
VersionTuple.cpp
|
||||
VersionTuple.cpp \
|
||||
VirtualFileSystem.cpp
|
||||
|
||||
CPPFLAGS.Version.cpp= -DSVN_REVISION=\"${CLANG_REVISION}\" \
|
||||
-DLLVM_REVISION=\"${LLVM_REVISION}\"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2013/09/02 14:34:56 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= clangDriver
|
||||
|
||||
@ -12,6 +12,7 @@ SRCS+= Action.cpp \
|
||||
Driver.cpp \
|
||||
DriverOptions.cpp \
|
||||
Job.cpp \
|
||||
Multilib.cpp \
|
||||
Phases.cpp \
|
||||
SanitizerArgs.cpp \
|
||||
Tool.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2014/01/05 16:38:07 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2014/03/04 21:05:06 joerg Exp $
|
||||
|
||||
LIB= lldReaderWriterPECOFF
|
||||
|
||||
@ -8,6 +8,7 @@ LIB= lldReaderWriterPECOFF
|
||||
|
||||
SRCS+= EdataPass.cpp \
|
||||
IdataPass.cpp \
|
||||
LoadConfigPass.cpp \
|
||||
PECOFFLinkingContext.cpp \
|
||||
Pass.cpp \
|
||||
ReaderCOFF.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user