Update LLVM/Clang snapshot to r144933. Besides the usual bugfixes and

improvements, this brings the first of the address sanity checker and
the new tainted variable logic for the analyzer.
This commit is contained in:
joerg 2011-11-18 15:56:53 +00:00
parent d356aedea4
commit 22f467edff
11 changed files with 25 additions and 22 deletions

View File

@ -1,12 +1,12 @@
# $NetBSD: Makefile.inc,v 1.24 2011/11/03 17:52:53 joerg Exp $
# $NetBSD: Makefile.inc,v 1.25 2011/11/18 15:56:53 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
.include <bsd.own.mk>
LLVM_REVISION= 143571
CLANG_REVISION= 143571
LLVM_REVISION= 144933
CLANG_REVISION= 144933
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2011/10/11 13:53:58 joerg Exp $
# $NetBSD: Makefile,v 1.8 2011/11/18 15:56:53 joerg Exp $
PROG_CXX= llvm-tblgen
NOMAN= yes
@ -7,8 +7,7 @@ NOMAN= yes
.PATH: ${LLVM_SRCDIR}/utils/TableGen
SRCS= ARMDecoderEmitter.cpp \
AsmMatcherEmitter.cpp \
SRCS= AsmMatcherEmitter.cpp \
AsmWriterEmitter.cpp \
AsmWriterInst.cpp \
CallingConvEmitter.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2011/11/03 17:52:53 joerg Exp $
# $NetBSD: Makefile,v 1.8 2011/11/18 15:56:53 joerg Exp $
LIB= LLVMARMCodeGen
@ -52,7 +52,6 @@ TABLEGEN_OUTPUT= \
ARMGenCallingConv.inc|-gen-callingconv \
ARMGenSubtargetInfo.inc|-gen-subtarget \
ARMGenEDInfo.inc|-gen-enhanced-disassembly-info \
ARMGenDecoderTables.inc|-gen-arm-decoder \
ARMGenDisassemblerTables.inc|-gen-disassembler
.include "${.PARSEDIR}/../../tablegen.mk"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2011/06/01 14:13:42 joerg Exp $
# $NetBSD: Makefile,v 1.6 2011/11/18 15:56:53 joerg Exp $
LIB= LLVMAsmPrinter
@ -11,6 +11,7 @@ SRCS+= ARMException.cpp \
AsmPrinterDwarf.cpp \
AsmPrinterInlineAsm.cpp \
DIE.cpp \
DwarfAccelTable.cpp \
DwarfCFIException.cpp \
DwarfCompileUnit.cpp \
DwarfDebug.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2011/11/03 17:52:53 joerg Exp $
# $NetBSD: Makefile,v 1.10 2011/11/18 15:56:53 joerg Exp $
LIB= LLVMCodeGen
@ -78,7 +78,6 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
RegAllocBasic.cpp \
RegAllocFast.cpp \
RegAllocGreedy.cpp \
RegAllocLinearScan.cpp \
RegAllocPBQP.cpp \
RegisterClassInfo.cpp \
RegisterCoalescer.cpp \
@ -104,8 +103,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
TargetLoweringObjectFileImpl.cpp \
TwoAddressInstructionPass.cpp \
UnreachableBlockElim.cpp \
VirtRegMap.cpp \
VirtRegRewriter.cpp
VirtRegMap.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/05/12 14:56:23 joerg Exp $
# $NetBSD: Makefile,v 1.3 2011/11/18 15:56:54 joerg Exp $
LIB= LLVMInstrumentation
@ -6,7 +6,8 @@ LIB= LLVMInstrumentation
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation
SRCS+= EdgeProfiling.cpp \
SRCS+= AddressSanitizer.cpp \
EdgeProfiling.cpp \
GCOVProfiling.cpp \
Instrumentation.cpp \
OptimalEdgeProfiling.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2011/11/03 17:52:54 joerg Exp $
# $NetBSD: Makefile,v 1.6 2011/11/18 15:56:54 joerg Exp $
LIB= LLVMMipsCodeGen
@ -17,7 +17,6 @@ SRCS+= MipsAsmPrinter.cpp \
MipsISelLowering.cpp \
MipsJITInfo.cpp \
MipsMCInstLower.cpp \
MipsMCSymbolRefExpr.cpp \
MipsRegisterInfo.cpp \
MipsSubtarget.cpp \
MipsTargetMachine.cpp \
@ -30,9 +29,10 @@ TABLEGEN_OUTPUT= \
MipsGenRegisterInfo.inc|-gen-register-info \
MipsGenInstrInfo.inc|-gen-instr-info \
MipsGenAsmWriter.inc|-gen-asm-writer \
MipsGenCallingConv.inc|-gen-callingconv \
MipsGenCodeEmitter.inc|-gen-emitter \
MipsGenDAGISel.inc|-gen-dag-isel \
MipsGenCallingConv.inc|-gen-callingconv \
MipsGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
MipsGenSubtargetInfo.inc|-gen-subtarget
.include "${.PARSEDIR}/../../tablegen.mk"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/07/25 16:32:44 joerg Exp $
# $NetBSD: Makefile,v 1.3 2011/11/18 15:56:54 joerg Exp $
LIB= clangARCMigrate
@ -15,6 +15,8 @@ SRCS+= ARCMT.cpp \
TransAutoreleasePool.cpp \
TransBlockObjCVariable.cpp \
TransEmptyStatementsAndDealloc.cpp \
TransGCAttrs.cpp \
TransGCCalls.cpp \
TransProperties.cpp \
TransRetainReleaseDealloc.cpp \
TransUnbridgedCasts.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:08 joerg Exp $
# $NetBSD: Makefile,v 1.2 2011/11/18 15:56:54 joerg Exp $
LIB= clangLex
@ -12,6 +12,7 @@ SRCS+= HeaderMap.cpp \
LiteralSupport.cpp \
MacroArgs.cpp \
MacroInfo.cpp \
ModuleMap.cpp \
PPCaching.cpp \
PPDirectives.cpp \
PPExpressions.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2011/10/11 13:54:00 joerg Exp $
# $NetBSD: Makefile,v 1.9 2011/11/18 15:56:54 joerg Exp $
LIB= clangStaticAnalyzerCheckers
@ -28,6 +28,7 @@ SRCS+= AdjustedReturnValueChecker.cpp \
DereferenceChecker.cpp \
DivZeroChecker.cpp \
FixedAddressChecker.cpp \
GenericTaintChecker.cpp \
IdempotentOperationChecker.cpp \
IteratorsChecker.cpp \
LLVMConventionsChecker.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2011/11/03 17:52:54 joerg Exp $
# $NetBSD: Makefile,v 1.7 2011/11/18 15:56:54 joerg Exp $
LIB= clangStaticAnalyzerCore
@ -14,6 +14,7 @@ SRCS+= AggExprVisitor.cpp \
BugReporter.cpp \
BugReporterVisitors.cpp \
Checker.cpp \
CheckerContext.cpp \
CheckerHelpers.cpp \
CheckerManager.cpp \
CheckerRegistry.cpp \