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) .if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK= LLVM_TOPLEVEL_MK=
@ -7,7 +7,7 @@ LLVM_TOPLEVEL_MK=
SVN_ROOT= http://llvm.org/svn/llvm-project SVN_ROOT= http://llvm.org/svn/llvm-project
COMMON_REVISION= 158657 COMMON_REVISION= 161532
LLVM_REVISION= ${COMMON_REVISION} LLVM_REVISION= ${COMMON_REVISION}
CLANG_REVISION= ${COMMON_REVISION} CLANG_REVISION= ${COMMON_REVISION}
COMPILER_RT_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 PROG_CXX= llvm-tblgen
NOMAN= yes NOMAN= yes
@ -15,6 +15,7 @@ SRCS= AsmMatcherEmitter.cpp \
CodeGenDAGPatterns.cpp \ CodeGenDAGPatterns.cpp \
CodeGenInstruction.cpp \ CodeGenInstruction.cpp \
CodeGenRegisters.cpp \ CodeGenRegisters.cpp \
CodeGenSchedule.cpp \
CodeGenTarget.cpp \ CodeGenTarget.cpp \
DAGISelEmitter.cpp \ DAGISelEmitter.cpp \
DAGISelMatcher.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> .include <bsd.init.mk>
@ -51,7 +51,7 @@ TABLEGEN_SRC= Intrinsics.td
TABLEGEN_OUTPUT.Intrinsics.td= \ TABLEGEN_OUTPUT.Intrinsics.td= \
llvm/Intrinsics.gen|-gen-intrinsic 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 Diagnostic.td arm_neon.td Options.td CC1AsOptions.td CC1Options.td
CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include
@ -73,10 +73,14 @@ CLANG_TABLEGEN_OUTPUT.StmtNodes.td= \
CLANG_TABLEGEN_OUTPUT.DeclNodes.td= \ CLANG_TABLEGEN_OUTPUT.DeclNodes.td= \
clang/AST/DeclNodes.inc|-gen-clang-decl-nodes 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_INCLUDES.Diagnostic.td= -I${CLANG_SRCDIR}/include/clang/Basic
CLANG_TABLEGEN_OUTPUT.Diagnostic.td= \ CLANG_TABLEGEN_OUTPUT.Diagnostic.td= \
clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \ clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \
clang/Basic/DiagnosticASTKinds.inc|-gen-clang-diags-defs^-clang-component=AST \ 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/DiagnosticCommonKinds.inc|-gen-clang-diags-defs^-clang-component=Common \
clang/Basic/DiagnosticDriverKinds.inc|-gen-clang-diags-defs^-clang-component=Driver \ clang/Basic/DiagnosticDriverKinds.inc|-gen-clang-diags-defs^-clang-component=Driver \
clang/Basic/DiagnosticFrontendKinds.inc|-gen-clang-diags-defs^-clang-component=Frontend \ 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 LIB= LLVMAnalysis
@ -20,8 +20,6 @@ SRCS+= AliasAnalysis.cpp \
CodeMetrics.cpp \ CodeMetrics.cpp \
ConstantFolding.cpp \ ConstantFolding.cpp \
DbgInfoPrinter.cpp \ DbgInfoPrinter.cpp \
DebugInfo.cpp \
DIBuilder.cpp \
DomPrinter.cpp \ DomPrinter.cpp \
DominanceFrontier.cpp \ DominanceFrontier.cpp \
IVUsers.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 LIB= LLVMCodeGen
@ -18,6 +18,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
DFAPacketizer.cpp \ DFAPacketizer.cpp \
DeadMachineInstructionElim.cpp \ DeadMachineInstructionElim.cpp \
DwarfEHPrepare.cpp \ DwarfEHPrepare.cpp \
EarlyIfConversion.cpp \
EdgeBundles.cpp \ EdgeBundles.cpp \
ExecutionDepsFix.cpp \ ExecutionDepsFix.cpp \
ExpandISelPseudos.cpp \ ExpandISelPseudos.cpp \
@ -67,6 +68,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
MachineSSAUpdater.cpp \ MachineSSAUpdater.cpp \
MachineScheduler.cpp \ MachineScheduler.cpp \
MachineSink.cpp \ MachineSink.cpp \
MachineTraceMetrics.cpp \
MachineVerifier.cpp \ MachineVerifier.cpp \
OcamlGC.cpp \ OcamlGC.cpp \
OptimizePHIs.cpp \ OptimizePHIs.cpp \
@ -88,7 +90,6 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
RegisterCoalescer.cpp \ RegisterCoalescer.cpp \
RegisterPressure.cpp \ RegisterPressure.cpp \
RegisterScavenging.cpp \ RegisterScavenging.cpp \
RenderMachineFunction.cpp \
ScheduleDAG.cpp \ ScheduleDAG.cpp \
ScheduleDAGInstrs.cpp \ ScheduleDAGInstrs.cpp \
ScheduleDAGPrinter.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 LIB= LLVMCore
@ -13,6 +13,8 @@ SRCS+= AsmWriter.cpp \
ConstantFold.cpp \ ConstantFold.cpp \
Constants.cpp \ Constants.cpp \
Core.cpp \ Core.cpp \
DebugInfo.cpp \
DIBuilder.cpp \
DebugLoc.cpp \ DebugLoc.cpp \
Dominators.cpp \ Dominators.cpp \
Function.cpp \ Function.cpp \
@ -34,6 +36,7 @@ SRCS+= AsmWriter.cpp \
PassRegistry.cpp \ PassRegistry.cpp \
PrintModulePass.cpp \ PrintModulePass.cpp \
Type.cpp \ Type.cpp \
TypeFinder.cpp \
Use.cpp \ Use.cpp \
User.cpp \ User.cpp \
Value.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 LIB= LLVMInstrumentation
@ -7,6 +7,7 @@ LIB= LLVMInstrumentation
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation .PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation
SRCS+= AddressSanitizer.cpp \ SRCS+= AddressSanitizer.cpp \
BoundsChecking.cpp \
EdgeProfiling.cpp \ EdgeProfiling.cpp \
FunctionBlackList.cpp \ FunctionBlackList.cpp \
GCOVProfiling.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 LIB= LLVMMC
@ -35,6 +35,7 @@ SRCS+= ELFObjectWriter.cpp \
MCObjectStreamer.cpp \ MCObjectStreamer.cpp \
MCObjectWriter.cpp \ MCObjectWriter.cpp \
MCPureStreamer.cpp \ MCPureStreamer.cpp \
MCRegisterInfo.cpp \
MCSection.cpp \ MCSection.cpp \
MCSectionCOFF.cpp \ MCSectionCOFF.cpp \
MCSectionELF.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 LIB= LLVMMipsCodeGen
@ -6,7 +6,10 @@ LIB= LLVMMipsCodeGen
.PATH: ${LLVM_SRCDIR}/lib/Target/Mips .PATH: ${LLVM_SRCDIR}/lib/Target/Mips
SRCS+= MipsAnalyzeImmediate.cpp \ SRCS+= Mips16InstrInfo.cpp \
Mips16FrameLowering.cpp \
Mips16RegisterInfo.cpp \
MipsAnalyzeImmediate.cpp \
MipsAsmPrinter.cpp \ MipsAsmPrinter.cpp \
MipsCodeEmitter.cpp \ MipsCodeEmitter.cpp \
MipsDelaySlotFiller.cpp \ MipsDelaySlotFiller.cpp \
@ -19,6 +22,9 @@ SRCS+= MipsAnalyzeImmediate.cpp \
MipsMachineFunction.cpp \ MipsMachineFunction.cpp \
MipsMCInstLower.cpp \ MipsMCInstLower.cpp \
MipsRegisterInfo.cpp \ MipsRegisterInfo.cpp \
MipsSEInstrInfo.cpp \
MipsSEFrameLowering.cpp \
MipsSERegisterInfo.cpp \
MipsSubtarget.cpp \ MipsSubtarget.cpp \
MipsTargetMachine.cpp \ MipsTargetMachine.cpp \
MipsTargetObjectFile.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 LIB= LLVMScalarOpts
@ -8,7 +8,6 @@ LIB= LLVMScalarOpts
SRCS+= ADCE.cpp \ SRCS+= ADCE.cpp \
BasicBlockPlacement.cpp \ BasicBlockPlacement.cpp \
BoundsChecking.cpp \
CodeGenPrepare.cpp \ CodeGenPrepare.cpp \
ConstantProp.cpp \ ConstantProp.cpp \
CorrelatedValuePropagation.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 LIB= LLVMSupport
@ -25,6 +25,7 @@ SRCS+= APFloat.cpp \
DAGDeltaAlgorithm.cpp \ DAGDeltaAlgorithm.cpp \
Dwarf.cpp \ Dwarf.cpp \
ErrorHandling.cpp \ ErrorHandling.cpp \
FileOutputBuffer.cpp \
FileUtilities.cpp \ FileUtilities.cpp \
FoldingSet.cpp \ FoldingSet.cpp \
FormattedStream.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 LIB= clangAST
@ -13,6 +13,12 @@ SRCS+= APValue.cpp \
ASTImporter.cpp \ ASTImporter.cpp \
AttrImpl.cpp \ AttrImpl.cpp \
CXXInheritance.cpp \ CXXInheritance.cpp \
Comment.cpp \
CommentBriefParser.cpp \
CommentDumper.cpp \
CommentLexer.cpp \
CommentParser.cpp \
CommentSema.cpp \
Decl.cpp \ Decl.cpp \
DeclarationName.cpp \ DeclarationName.cpp \
DeclBase.cpp \ DeclBase.cpp \
@ -38,6 +44,7 @@ SRCS+= APValue.cpp \
NSAPI.cpp \ NSAPI.cpp \
NestedNameSpecifier.cpp \ NestedNameSpecifier.cpp \
ParentMap.cpp \ ParentMap.cpp \
RawCommentList.cpp \
RecordLayout.cpp \ RecordLayout.cpp \
RecordLayoutBuilder.cpp \ RecordLayoutBuilder.cpp \
SelectorLocationsKind.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 LIB= clangBasic
@ -8,6 +8,7 @@ LIB= clangBasic
SRCS+= Builtins.cpp \ SRCS+= Builtins.cpp \
ConvertUTF.c \ ConvertUTF.c \
ConvertUTFWrapper.cpp \
Diagnostic.cpp \ Diagnostic.cpp \
DiagnosticIDs.cpp \ DiagnosticIDs.cpp \
FileManager.cpp \ FileManager.cpp \
@ -15,6 +16,7 @@ SRCS+= Builtins.cpp \
IdentifierTable.cpp \ IdentifierTable.cpp \
LangOptions.cpp \ LangOptions.cpp \
Module.cpp \ Module.cpp \
ObjCRuntime.cpp \
SourceLocation.cpp \ SourceLocation.cpp \
SourceManager.cpp \ SourceManager.cpp \
TargetInfo.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 LIB= clangStaticAnalyzerCheckers
@ -31,11 +31,11 @@ SRCS+= AdjustedReturnValueChecker.cpp \
DebugCheckers.cpp \ DebugCheckers.cpp \
DereferenceChecker.cpp \ DereferenceChecker.cpp \
DivZeroChecker.cpp \ DivZeroChecker.cpp \
DynamicTypePropagation.cpp \
ExprInspectionChecker.cpp \ ExprInspectionChecker.cpp \
FixedAddressChecker.cpp \ FixedAddressChecker.cpp \
GenericTaintChecker.cpp \ GenericTaintChecker.cpp \
IdempotentOperationChecker.cpp \ IdempotentOperationChecker.cpp \
IteratorsChecker.cpp \
LLVMConventionsChecker.cpp \ LLVMConventionsChecker.cpp \
MacOSKeychainAPIChecker.cpp \ MacOSKeychainAPIChecker.cpp \
MacOSXAPIChecker.cpp \ MacOSXAPIChecker.cpp \
@ -60,6 +60,7 @@ SRCS+= AdjustedReturnValueChecker.cpp \
StackAddrEscapeChecker.cpp \ StackAddrEscapeChecker.cpp \
StreamChecker.cpp \ StreamChecker.cpp \
TaintTesterChecker.cpp \ TaintTesterChecker.cpp \
TraversalChecker.cpp \
UndefBranchChecker.cpp \ UndefBranchChecker.cpp \
UndefCapturedBlockVarChecker.cpp \ UndefCapturedBlockVarChecker.cpp \
UndefResultChecker.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 LIB= clangStaticAnalyzerCore
@ -13,6 +13,7 @@ SRCS+= APSIntType.cpp \
BlockCounter.cpp \ BlockCounter.cpp \
BugReporter.cpp \ BugReporter.cpp \
BugReporterVisitors.cpp \ BugReporterVisitors.cpp \
CallEvent.cpp \
Checker.cpp \ Checker.cpp \
CheckerContext.cpp \ CheckerContext.cpp \
CheckerHelpers.cpp \ CheckerHelpers.cpp \
@ -29,7 +30,6 @@ SRCS+= APSIntType.cpp \
FunctionSummary.cpp \ FunctionSummary.cpp \
HTMLDiagnostics.cpp \ HTMLDiagnostics.cpp \
MemRegion.cpp \ MemRegion.cpp \
ObjCMessage.cpp \
PathDiagnostic.cpp \ PathDiagnostic.cpp \
PlistDiagnostics.cpp \ PlistDiagnostics.cpp \
ProgramState.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 LIB= clangTooling
@ -7,8 +7,10 @@ LIB= clangTooling
.PATH: ${CLANG_SRCDIR}/lib/Tooling .PATH: ${CLANG_SRCDIR}/lib/Tooling
SRCS+= ArgumentsAdjusters.cpp \ SRCS+= ArgumentsAdjusters.cpp \
CommandLineClangTool.cpp \
CompilationDatabase.cpp \ CompilationDatabase.cpp \
Refactoring.cpp \ Refactoring.cpp \
RefactoringCallbacks.cpp \
Tooling.cpp Tooling.cpp
.if defined(HOSTLIB) .if defined(HOSTLIB)