Update LLVM/Clang snapshot to r161532 for the usual set of improvements

and bugfixes.
This commit is contained in:
joerg 2012-08-09 14:37:06 +00:00
parent ea32aac8b3
commit 851204b7c2
16 changed files with 52 additions and 25 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.39 2012/06/18 15:53:22 joerg Exp $
# $NetBSD: Makefile.inc,v 1.40 2012/08/09 14:37:06 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= 158657
COMMON_REVISION= 161532
LLVM_REVISION= ${COMMON_REVISION}
CLANG_REVISION= ${COMMON_REVISION}
COMPILER_RT_REVISION= ${COMMON_REVISION}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2012/06/16 17:01:03 joerg Exp $
# $NetBSD: Makefile,v 1.14 2012/08/09 14:37:06 joerg Exp $
PROG_CXX= llvm-tblgen
NOMAN= yes
@ -15,6 +15,7 @@ SRCS= AsmMatcherEmitter.cpp \
CodeGenDAGPatterns.cpp \
CodeGenInstruction.cpp \
CodeGenRegisters.cpp \
CodeGenSchedule.cpp \
CodeGenTarget.cpp \
DAGISelEmitter.cpp \
DAGISelMatcher.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2012/06/17 07:40:26 joerg Exp $
# $NetBSD: Makefile,v 1.12 2012/08/09 14:37:06 joerg Exp $
.include <bsd.init.mk>
@ -51,7 +51,7 @@ TABLEGEN_SRC= Intrinsics.td
TABLEGEN_OUTPUT.Intrinsics.td= \
llvm/Intrinsics.gen|-gen-intrinsic
CLANG_TABLEGEN_SRC= Attr.td StmtNodes.td DeclNodes.td \
CLANG_TABLEGEN_SRC= Attr.td StmtNodes.td DeclNodes.td CommentNodes.td \
Diagnostic.td arm_neon.td Options.td CC1AsOptions.td CC1Options.td
CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include
@ -73,10 +73,14 @@ CLANG_TABLEGEN_OUTPUT.StmtNodes.td= \
CLANG_TABLEGEN_OUTPUT.DeclNodes.td= \
clang/AST/DeclNodes.inc|-gen-clang-decl-nodes
CLANG_TABLEGEN_OUTPUT.CommentNodes.td= \
clang/AST/CommentNodes.inc|-gen-clang-comment-nodes
CLANG_TABLEGEN_INCLUDES.Diagnostic.td= -I${CLANG_SRCDIR}/include/clang/Basic
CLANG_TABLEGEN_OUTPUT.Diagnostic.td= \
clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \
clang/Basic/DiagnosticASTKinds.inc|-gen-clang-diags-defs^-clang-component=AST \
clang/Basic/DiagnosticCommentKinds.inc|-gen-clang-diags-defs^-clang-component=Comment \
clang/Basic/DiagnosticCommonKinds.inc|-gen-clang-diags-defs^-clang-component=Common \
clang/Basic/DiagnosticDriverKinds.inc|-gen-clang-diags-defs^-clang-component=Driver \
clang/Basic/DiagnosticFrontendKinds.inc|-gen-clang-diags-defs^-clang-component=Frontend \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2012/04/04 10:42:01 joerg Exp $
# $NetBSD: Makefile,v 1.7 2012/08/09 14:37:06 joerg Exp $
LIB= LLVMAnalysis
@ -20,8 +20,6 @@ SRCS+= AliasAnalysis.cpp \
CodeMetrics.cpp \
ConstantFolding.cpp \
DbgInfoPrinter.cpp \
DebugInfo.cpp \
DIBuilder.cpp \
DomPrinter.cpp \
DominanceFrontier.cpp \
IVUsers.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2012/06/16 17:01:04 joerg Exp $
# $NetBSD: Makefile,v 1.19 2012/08/09 14:37:06 joerg Exp $
LIB= LLVMCodeGen
@ -18,6 +18,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
DFAPacketizer.cpp \
DeadMachineInstructionElim.cpp \
DwarfEHPrepare.cpp \
EarlyIfConversion.cpp \
EdgeBundles.cpp \
ExecutionDepsFix.cpp \
ExpandISelPseudos.cpp \
@ -67,6 +68,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
MachineSSAUpdater.cpp \
MachineScheduler.cpp \
MachineSink.cpp \
MachineTraceMetrics.cpp \
MachineVerifier.cpp \
OcamlGC.cpp \
OptimizePHIs.cpp \
@ -88,7 +90,6 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
RegisterCoalescer.cpp \
RegisterPressure.cpp \
RegisterScavenging.cpp \
RenderMachineFunction.cpp \
ScheduleDAG.cpp \
ScheduleDAGInstrs.cpp \
ScheduleDAGPrinter.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2012/04/04 10:42:02 joerg Exp $
# $NetBSD: Makefile,v 1.8 2012/08/09 14:37:06 joerg Exp $
LIB= LLVMCore
@ -13,6 +13,8 @@ SRCS+= AsmWriter.cpp \
ConstantFold.cpp \
Constants.cpp \
Core.cpp \
DebugInfo.cpp \
DIBuilder.cpp \
DebugLoc.cpp \
Dominators.cpp \
Function.cpp \
@ -34,6 +36,7 @@ SRCS+= AsmWriter.cpp \
PassRegistry.cpp \
PrintModulePass.cpp \
Type.cpp \
TypeFinder.cpp \
Use.cpp \
User.cpp \
Value.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2012/04/04 10:42:02 joerg Exp $
# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:06 joerg Exp $
LIB= LLVMInstrumentation
@ -7,6 +7,7 @@ LIB= LLVMInstrumentation
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation
SRCS+= AddressSanitizer.cpp \
BoundsChecking.cpp \
EdgeProfiling.cpp \
FunctionBlackList.cpp \
GCOVProfiling.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2012/01/11 23:24:47 joerg Exp $
# $NetBSD: Makefile,v 1.10 2012/08/09 14:37:06 joerg Exp $
LIB= LLVMMC
@ -35,6 +35,7 @@ SRCS+= ELFObjectWriter.cpp \
MCObjectStreamer.cpp \
MCObjectWriter.cpp \
MCPureStreamer.cpp \
MCRegisterInfo.cpp \
MCSection.cpp \
MCSectionCOFF.cpp \
MCSectionELF.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2012/06/16 17:01:04 joerg Exp $
# $NetBSD: Makefile,v 1.11 2012/08/09 14:37:07 joerg Exp $
LIB= LLVMMipsCodeGen
@ -6,7 +6,10 @@ LIB= LLVMMipsCodeGen
.PATH: ${LLVM_SRCDIR}/lib/Target/Mips
SRCS+= MipsAnalyzeImmediate.cpp \
SRCS+= Mips16InstrInfo.cpp \
Mips16FrameLowering.cpp \
Mips16RegisterInfo.cpp \
MipsAnalyzeImmediate.cpp \
MipsAsmPrinter.cpp \
MipsCodeEmitter.cpp \
MipsDelaySlotFiller.cpp \
@ -19,6 +22,9 @@ SRCS+= MipsAnalyzeImmediate.cpp \
MipsMachineFunction.cpp \
MipsMCInstLower.cpp \
MipsRegisterInfo.cpp \
MipsSEInstrInfo.cpp \
MipsSEFrameLowering.cpp \
MipsSERegisterInfo.cpp \
MipsSubtarget.cpp \
MipsTargetMachine.cpp \
MipsTargetObjectFile.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2012/06/16 17:01:04 joerg Exp $
# $NetBSD: Makefile,v 1.7 2012/08/09 14:37:07 joerg Exp $
LIB= LLVMScalarOpts
@ -8,7 +8,6 @@ LIB= LLVMScalarOpts
SRCS+= ADCE.cpp \
BasicBlockPlacement.cpp \
BoundsChecking.cpp \
CodeGenPrepare.cpp \
ConstantProp.cpp \
CorrelatedValuePropagation.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2012/04/29 19:19:05 joerg Exp $
# $NetBSD: Makefile,v 1.13 2012/08/09 14:37:07 joerg Exp $
LIB= LLVMSupport
@ -25,6 +25,7 @@ SRCS+= APFloat.cpp \
DAGDeltaAlgorithm.cpp \
Dwarf.cpp \
ErrorHandling.cpp \
FileOutputBuffer.cpp \
FileUtilities.cpp \
FoldingSet.cpp \
FormattedStream.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2012/04/04 10:42:04 joerg Exp $
# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:07 joerg Exp $
LIB= clangAST
@ -13,6 +13,12 @@ SRCS+= APValue.cpp \
ASTImporter.cpp \
AttrImpl.cpp \
CXXInheritance.cpp \
Comment.cpp \
CommentBriefParser.cpp \
CommentDumper.cpp \
CommentLexer.cpp \
CommentParser.cpp \
CommentSema.cpp \
Decl.cpp \
DeclarationName.cpp \
DeclBase.cpp \
@ -38,6 +44,7 @@ SRCS+= APValue.cpp \
NSAPI.cpp \
NestedNameSpecifier.cpp \
ParentMap.cpp \
RawCommentList.cpp \
RecordLayout.cpp \
RecordLayoutBuilder.cpp \
SelectorLocationsKind.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2012/06/17 07:40:26 joerg Exp $
# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:07 joerg Exp $
LIB= clangBasic
@ -8,6 +8,7 @@ LIB= clangBasic
SRCS+= Builtins.cpp \
ConvertUTF.c \
ConvertUTFWrapper.cpp \
Diagnostic.cpp \
DiagnosticIDs.cpp \
FileManager.cpp \
@ -15,6 +16,7 @@ SRCS+= Builtins.cpp \
IdentifierTable.cpp \
LangOptions.cpp \
Module.cpp \
ObjCRuntime.cpp \
SourceLocation.cpp \
SourceManager.cpp \
TargetInfo.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2012/06/16 17:01:04 joerg Exp $
# $NetBSD: Makefile,v 1.15 2012/08/09 14:37:07 joerg Exp $
LIB= clangStaticAnalyzerCheckers
@ -31,11 +31,11 @@ SRCS+= AdjustedReturnValueChecker.cpp \
DebugCheckers.cpp \
DereferenceChecker.cpp \
DivZeroChecker.cpp \
DynamicTypePropagation.cpp \
ExprInspectionChecker.cpp \
FixedAddressChecker.cpp \
GenericTaintChecker.cpp \
IdempotentOperationChecker.cpp \
IteratorsChecker.cpp \
LLVMConventionsChecker.cpp \
MacOSKeychainAPIChecker.cpp \
MacOSXAPIChecker.cpp \
@ -60,6 +60,7 @@ SRCS+= AdjustedReturnValueChecker.cpp \
StackAddrEscapeChecker.cpp \
StreamChecker.cpp \
TaintTesterChecker.cpp \
TraversalChecker.cpp \
UndefBranchChecker.cpp \
UndefCapturedBlockVarChecker.cpp \
UndefResultChecker.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2012/05/29 19:31:53 joerg Exp $
# $NetBSD: Makefile,v 1.11 2012/08/09 14:37:07 joerg Exp $
LIB= clangStaticAnalyzerCore
@ -13,6 +13,7 @@ SRCS+= APSIntType.cpp \
BlockCounter.cpp \
BugReporter.cpp \
BugReporterVisitors.cpp \
CallEvent.cpp \
Checker.cpp \
CheckerContext.cpp \
CheckerHelpers.cpp \
@ -29,7 +30,6 @@ SRCS+= APSIntType.cpp \
FunctionSummary.cpp \
HTMLDiagnostics.cpp \
MemRegion.cpp \
ObjCMessage.cpp \
PathDiagnostic.cpp \
PlistDiagnostics.cpp \
ProgramState.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2012/06/16 17:01:04 joerg Exp $
# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:07 joerg Exp $
LIB= clangTooling
@ -7,8 +7,10 @@ LIB= clangTooling
.PATH: ${CLANG_SRCDIR}/lib/Tooling
SRCS+= ArgumentsAdjusters.cpp \
CommandLineClangTool.cpp \
CompilationDatabase.cpp \
Refactoring.cpp \
RefactoringCallbacks.cpp \
Tooling.cpp
.if defined(HOSTLIB)