svn commit: r203994 - in projects/clangbsd/usr.bin/clang: . bin
bin/clang bin/clang-cc bin/tblgen include/llvm/Config lib
lib/libclanganalysis lib/libclangast lib/libclangchecker
lib/libclangcodege...
Roman Divacky
rdivacky at FreeBSD.org
Wed Feb 17 09:49:23 UTC 2010
Author: rdivacky
Date: Wed Feb 17 09:49:22 2010
New Revision: 203994
URL: http://svn.freebsd.org/changeset/base/203994
Log:
Update the clang/llvm build system to the new clang/llvm.
Default to build with -fno-rtti unless specified otherwise
(taken from upstream). Remove clang-cc.
Added:
projects/clangbsd/usr.bin/clang/include/llvm/Config/Disassemblers.def
projects/clangbsd/usr.bin/clang/lib/libclangchecker/
projects/clangbsd/usr.bin/clang/lib/libclangchecker/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvminstcombine/
projects/clangbsd/usr.bin/clang/lib/libllvminstcombine/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmmcparser/
projects/clangbsd/usr.bin/clang/lib/libllvmmcparser/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmx86disassembler/
projects/clangbsd/usr.bin/clang/lib/libllvmx86disassembler/Makefile
Deleted:
projects/clangbsd/usr.bin/clang/bin/clang-cc/
Modified:
projects/clangbsd/usr.bin/clang/bin/Makefile
projects/clangbsd/usr.bin/clang/bin/clang/Makefile
projects/clangbsd/usr.bin/clang/bin/tblgen/Makefile
projects/clangbsd/usr.bin/clang/clang.build.mk
projects/clangbsd/usr.bin/clang/lib/Makefile
projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile
projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile
projects/clangbsd/usr.bin/clang/lib/libclangcodegen/Makefile
projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile
projects/clangbsd/usr.bin/clang/lib/libclangsema/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmbitreader/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmbitwriter/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmcodegen/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmcore/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmmc/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmpowerpccodegen/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmselectiondag/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmsupport/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmsystem/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmtarget/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmx86asmparser/Makefile
projects/clangbsd/usr.bin/clang/lib/libllvmx86codegen/Makefile
Modified: projects/clangbsd/usr.bin/clang/bin/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/bin/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/bin/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -1,6 +1,5 @@
# $FreeBSD$
-SUBDIR= clang \
- clang-cc
+SUBDIR= clang
.include <bsd.subdir.mk>
Modified: projects/clangbsd/usr.bin/clang/bin/clang/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/bin/clang/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/bin/clang/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -15,8 +15,19 @@ LINKS= ${BINDIR}/clang ${BINDIR}/cc \
${BINDIR}/clang ${BINDIR}/clang++
.endif
-TGHDRS= DiagnosticCommonKinds DiagnosticDriverKinds CC1Options
-LIBDEPS=clangdriver clangfrontend clanglex clangbasic \
- llvmbitreader llvmbitwriter llvmsupport llvmsystem
+TGHDRS= DiagnosticCommonKinds DiagnosticDriverKinds \
+ DiagnosticFrontendKinds \
+ DiagnosticLexKinds DiagnosticSemaKinds CC1Options
+LIBDEPS=clangfrontend clangdriver clangcodegen clangsema clangchecker \
+ clanganalysis clangrewrite clangast clangparse clanglex clangbasic \
+ \
+ llvminstcombine \
+ llvmipo llvmbitwriter llvmbitreader llvmpowerpccodegen \
+ llvmpowerpcasmprinter llvmpowerpcinfo llvmx86asmparser \
+ llvmx86asmprinter llvmx86codegen llvmx86info llvmmipsasmprinter \
+ llvmmipscodegen llvmmipsinfo llvmarmasmparser llvmarmasmprinter \
+ llvmarmcodegen llvmselectiondag llvmasmprinter llvmcodegen \
+ llvmscalaropts llvmtransformutils llvmipa llvmanalysis llvmtarget \
+ llvmmc llvmcore llvmarminfo llvmsupport llvmsystem
.include "../../clang.prog.mk"
Modified: projects/clangbsd/usr.bin/clang/bin/tblgen/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/bin/tblgen/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/bin/tblgen/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,16 +3,21 @@
PROG_CXX=tblgen
SRCDIR= utils/TableGen
-SRCS= AsmMatcherEmitter.cpp AsmWriterEmitter.cpp CallingConvEmitter.cpp \
+SRCS= AsmMatcherEmitter.cpp AsmWriterEmitter.cpp AsmWriterInst.cpp \
+ CallingConvEmitter.cpp \
ClangDiagnosticsEmitter.cpp CodeEmitterGen.cpp \
CodeGenDAGPatterns.cpp CodeGenInstruction.cpp \
- CodeGenTarget.cpp DAGISelEmitter.cpp FastISelEmitter.cpp \
+ CodeGenTarget.cpp DAGISelEmitter.cpp DAGISelMatcher.cpp \
+ DAGISelMatcherEmitter.cpp DAGISelMatcherGen.cpp DisassemblerEmitter.cpp \
+ EDEmitter.cpp FastISelEmitter.cpp \
InstrEnumEmitter.cpp InstrInfoEmitter.cpp IntrinsicEmitter.cpp \
LLVMCConfigurationEmitter.cpp OptParserEmitter.cpp Record.cpp \
RegisterInfoEmitter.cpp SubtargetEmitter.cpp TGLexer.cpp \
- TGParser.cpp TGValueTypes.cpp TableGen.cpp TableGenBackend.cpp
+ TGParser.cpp TGValueTypes.cpp TableGen.cpp TableGenBackend.cpp \
+ X86DisassemblerTables.cpp X86RecognizableInstr.cpp
NO_MAN=
LIBDEPS=llvmsupport llvmsystem
+REQUIRES_RTTI=yo
.include "../../clang.prog.mk"
Modified: projects/clangbsd/usr.bin/clang/clang.build.mk
==============================================================================
--- projects/clangbsd/usr.bin/clang/clang.build.mk Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/clang.build.mk Wed Feb 17 09:49:22 2010 (r203994)
@@ -8,6 +8,11 @@ CFLAGS+=-I${LLVM_SRCS}/include -I${CLANG
-I${.CURDIR}/../../include \
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD \
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
+
+.ifndef REQUIRES_RTTI
+CFLAGS+= -fno-rtti
+.endif
+
TARGET_ARCH?= ${MACHINE_ARCH}
# XXX: 8.0, to keep __FreeBSD_cc_version happy
CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\"
Added: projects/clangbsd/usr.bin/clang/include/llvm/Config/Disassemblers.def
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clangbsd/usr.bin/clang/include/llvm/Config/Disassemblers.def Wed Feb 17 09:49:22 2010 (r203994)
@@ -0,0 +1,29 @@
+//===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file enumerates all of the assembly-language parsers
+// supported by this build of LLVM. Clients of this file should define
+// the LLVM_ASM_PARSER macro to be a function-like macro with a
+// single parameter (the name of the target whose assembly can be
+// generated); including this file will then enumerate all of the
+// targets with assembly parsers.
+//
+// The set of targets supported by LLVM is generated at configuration
+// time, at which point this header is generated. Do not modify this
+// header directly.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_DISASSEMBLER
+# error Please define the macro LLVM_DISASSEMBLER(TargetName)
+#endif
+
+LLVM_DISASSEMBLER(X86)
+
+#undef LLVM_DISASSEMBLER
Modified: projects/clangbsd/usr.bin/clang/lib/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,6 +3,7 @@
SUBDIR= libclanganalysis \
libclangast \
libclangbasic \
+ libclangchecker \
libclangcodegen \
libclangdriver \
libclangfrontend \
@@ -15,10 +16,12 @@ SUBDIR= libclanganalysis \
libllvmbitreader \
libllvmbitwriter \
libllvmcodegen \
+ libllvminstcombine \
libllvmcore \
libllvmipa \
libllvmipo \
libllvmmc \
+ libllvmmcparser \
libllvmscalaropts \
libllvmselectiondag \
libllvmsupport \
Modified: projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,31 +3,9 @@
LIB= clanganalysis
SRCDIR= tools/clang/lib/Analysis
-SRCS= AnalysisContext.cpp ArrayBoundChecker.cpp AttrNonNullChecker.cpp \
- BadCallChecker.cpp BasicConstraintManager.cpp \
- BasicObjCFoundationChecks.cpp BasicStore.cpp BasicValueFactory.cpp \
- BugReporter.cpp BugReporterVisitors.cpp CastToStructChecker.cpp \
- CFG.cpp CFRefCount.cpp CallGraph.cpp CallInliner.cpp \
- CheckDeadStores.cpp \
- CheckObjCDealloc.cpp CheckObjCInstMethSignature.cpp \
- CheckObjCUnusedIVars.cpp CheckSecuritySyntaxOnly.cpp \
- CheckSizeofPointer.cpp \
- DereferenceChecker.cpp DivZeroChecker.cpp Environment.cpp \
- ExplodedGraph.cpp FixedAddressChecker.cpp GRBlockCounter.cpp \
- GRCoreEngine.cpp GRExprEngine.cpp \
- GRExprEngineExperimentalChecks.cpp GRExprEngineInternalChecks.cpp \
- GRState.cpp LiveVariables.cpp MallocChecker.cpp \
- ManagerRegistry.cpp MemRegion.cpp NSAutoreleasePoolChecker.cpp \
- NSErrorChecker.cpp PathDiagnostic.cpp PointerArithChecker.cpp \
- PointerSubChecker.cpp PthreadLockChecker.cpp \
- ReturnPointerRangeChecker.cpp RangeConstraintManager.cpp RegionStore.cpp \
- ReturnStackAddressChecker.cpp ReturnUndefChecker.cpp SVals.cpp \
- SValuator.cpp \
- SimpleConstraintManager.cpp SimpleSValuator.cpp Store.cpp \
- SymbolManager.cpp UndefinedArgChecker.cpp \
- UndefinedArraySubscriptChecker.cpp \
- UndefinedAssignmentChecker.cpp UninitializedValues.cpp \
- ValueManager.cpp VLASizeChecker.cpp
+SRCS= AnalysisContext.cpp CFG.cpp \
+ LiveVariables.cpp PrintfFormatString.cpp \
+ UninitializedValues.cpp
TGHDRS= DiagnosticAnalysisKinds DiagnosticCommonKinds
Modified: projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,10 +3,11 @@
LIB= clangast
SRCDIR= tools/clang/lib/AST
-SRCS= APValue.cpp ASTConsumer.cpp ASTContext.cpp CXXInheritance.cpp \
+SRCS= APValue.cpp ASTConsumer.cpp ASTContext.cpp ASTDiagnostic.cpp \
+ AttrImpl.cpp ASTImporter.cpp CXXInheritance.cpp \
Decl.cpp DeclBase.cpp DeclCXX.cpp DeclGroup.cpp DeclObjC.cpp \
DeclPrinter.cpp DeclTemplate.cpp DeclarationName.cpp Expr.cpp \
- ExprCXX.cpp ExprConstant.cpp InheritViz.cpp \
+ ExprCXX.cpp ExprConstant.cpp FullExpr.cpp InheritViz.cpp \
NestedNameSpecifier.cpp ParentMap.cpp RecordLayoutBuilder.cpp \
Stmt.cpp StmtDumper.cpp StmtIterator.cpp StmtPrinter.cpp \
StmtProfile.cpp StmtViz.cpp TemplateBase.cpp TemplateName.cpp Type.cpp \
Added: projects/clangbsd/usr.bin/clang/lib/libclangchecker/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clangbsd/usr.bin/clang/lib/libclangchecker/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+LIB= clangchecker
+
+SRCDIR= tools/clang/lib/Checker
+SRCS= AdjustedReturnValueChecker.cpp ArrayBoundChecker.cpp \
+ AttrNonNullChecker.cpp BasicConstraintManager.cpp \
+ BasicObjCFoundationChecks.cpp BasicStore.cpp BasicValueFactory.cpp \
+ BugReporter.cpp BugReporterVisitors.cpp BuiltinFunctionChecker.cpp \
+ CFRefCount.cpp CallAndMessageChecker.cpp CallInliner.cpp \
+ CastToStructChecker.cpp CheckDeadStores.cpp CheckObjCDealloc.cpp \
+ CheckObjCInstMethSignature.cpp CheckObjCUnusedIVars.cpp \
+ CheckSecuritySyntaxOnly.cpp CheckSizeofPointer.cpp Checker.cpp \
+ CocoaConventions.cpp \
+ DereferenceChecker.cpp DivZeroChecker.cpp Environment.cpp \
+ ExplodedGraph.cpp FixedAddressChecker.cpp FlatStore.cpp \
+ GRBlockCounter.cpp GRCoreEngine.cpp GRExprEngine.cpp \
+ GRExprEngineExperimentalChecks.cpp \
+ GRState.cpp LLVMConventionsChecker.cpp MallocChecker.cpp \
+ ManagerRegistry.cpp MemRegion.cpp \
+ NSAutoreleasePoolChecker.cpp NSErrorChecker.cpp \
+ NoReturnFunctionChecker.cpp OSAtomicChecker.cpp PathDiagnostic.cpp \
+ PointerArithChecker.cpp \
+ PointerSubChecker.cpp PthreadLockChecker.cpp \
+ RangeConstraintManager.cpp RegionStore.cpp ReturnPointerRangeChecker.cpp \
+ ReturnStackAddressChecker.cpp ReturnUndefChecker.cpp SVals.cpp \
+ SValuator.cpp \
+ SimpleConstraintManager.cpp SimpleSValuator.cpp Store.cpp \
+ SymbolManager.cpp UndefBranchChecker.cpp UndefCapturedBlockVarChecker.cpp \
+ UndefResultChecker.cpp UndefinedArraySubscriptChecker.cpp \
+ UndefinedAssignmentChecker.cpp VLASizeChecker.cpp ValueManager.cpp
+
+TGHDRS= DiagnosticAnalysisKinds DiagnosticCommonKinds
+
+.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libclangcodegen/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclangcodegen/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libclangcodegen/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,14 +3,15 @@
LIB= clangcodegen
SRCDIR= tools/clang/lib/CodeGen
-SRCS= CGBlocks.cpp CGBuiltin.cpp CGException.cpp CGCXX.cpp CGCXXClass.cpp \
- CGCXXExpr.cpp \
- CGCXXTemp.cpp CGCall.cpp CGDebugInfo.cpp CGDecl.cpp CGExpr.cpp \
+SRCS= CGBlocks.cpp CGBuiltin.cpp CGClass.cpp CGDeclCXX.cpp CGException.cpp \
+ CGCXX.cpp \
+ CGExprCXX.cpp CGCall.cpp CGDebugInfo.cpp CGDecl.cpp CGExpr.cpp \
CGExprAgg.cpp CGExprComplex.cpp CGExprConstant.cpp CGExprScalar.cpp \
CGObjC.cpp CGObjCGNU.cpp CGObjCMac.cpp CGRecordLayoutBuilder.cpp \
- CGRtti.cpp CGStmt.cpp CGVtable.cpp CodeGenFunction.cpp \
+ CGRTTI.cpp CGStmt.cpp CGTemporaries.cpp CGVTT.cpp CGVtable.cpp \
+ CodeGenFunction.cpp \
CodeGenModule.cpp CodeGenTypes.cpp Mangle.cpp ModuleBuilder.cpp \
- TargetABIInfo.cpp
+ TargetInfo.cpp
TGHDRS= DiagnosticCommonKinds Intrinsics
Modified: projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,22 +3,24 @@
LIB= clangfrontend
SRCDIR= tools/clang/lib/Frontend
-SRCS= ASTConsumers.cpp ASTUnit.cpp AnalysisConsumer.cpp Backend.cpp \
+SRCS= ASTConsumers.cpp ASTMerge.cpp ASTUnit.cpp AnalysisConsumer.cpp \
+ Backend.cpp \
CacheTokens.cpp CompilerInstance.cpp CompilerInvocation.cpp \
DeclXML.cpp DependencyFile.cpp DiagChecker.cpp \
DocumentXML.cpp FixItRewriter.cpp FrontendAction.cpp \
FrontendActions.cpp FrontendOptions.cpp GeneratePCH.cpp \
HTMLDiagnostics.cpp HTMLPrint.cpp InitHeaderSearch.cpp \
- InitPreprocessor.cpp PCHReader.cpp \
+ InitPreprocessor.cpp LangStandards.cpp PCHReader.cpp \
PCHReaderDecl.cpp PCHReaderStmt.cpp PCHWriter.cpp \
PCHWriterDecl.cpp PCHWriterStmt.cpp PlistDiagnostics.cpp \
PrintParserCallbacks.cpp PrintPreprocessedOutput.cpp \
- RewriteBlocks.cpp RewriteMacros.cpp RewriteObjC.cpp \
+ RewriteMacros.cpp RewriteObjC.cpp \
RewriteTest.cpp StmtXML.cpp TextDiagnosticBuffer.cpp \
TextDiagnosticPrinter.cpp TypeXML.cpp VerifyDiagnosticsClient.cpp \
Warnings.cpp
-TGHDRS= DiagnosticCommonKinds DiagnosticFrontendKinds \
- DiagnosticLexKinds DiagnosticSemaKinds
+TGHDRS= DiagnosticASTKinds DiagnosticCommonKinds DiagnosticDriverKinds \
+ DiagnosticFrontendKinds DiagnosticLexKinds DiagnosticSemaKinds \
+ CC1Options
.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libclangsema/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclangsema/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libclangsema/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -11,8 +11,9 @@ SRCS= CodeCompleteConsumer.cpp Identifie
SemaExceptionSpec.cpp SemaExpr.cpp SemaExprCXX.cpp SemaExprObjC.cpp \
SemaInit.cpp SemaLookup.cpp SemaOverload.cpp SemaStmt.cpp \
SemaTemplate.cpp SemaTemplateDeduction.cpp SemaTemplateInstantiate.cpp \
- SemaTemplateInstantiateDecl.cpp SemaTemplateInstantiate.cpp SemaType.cpp
+ SemaTemplateInstantiateDecl.cpp SemaTemplateInstantiate.cpp SemaType.cpp \
+ TargetAttributesSema.cpp
-TGHDRS= DiagnosticCommonKinds DiagnosticSemaKinds DiagnosticParseKinds
+TGHDRS= DiagnosticASTKinds DiagnosticCommonKinds DiagnosticSemaKinds DiagnosticParseKinds
.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -12,7 +12,8 @@ SRCS= AliasAnalysis.cpp AliasAnalysisCou
InstCount.cpp Interval.cpp IntervalPartition.cpp LazyValueInfo.cpp \
LibCallAliasAnalysis.cpp LibCallSemantics.cpp LiveValues.cpp \
LoopDependenceAnalysis.cpp LoopInfo.cpp LoopPass.cpp \
- MemoryBuiltins.cpp MemoryDependenceAnalysis.cpp PointerTracking.cpp \
+ MemoryBuiltins.cpp MemoryDependenceAnalysis.cpp PHITransAddr.cpp \
+ PointerTracking.cpp \
PostDominators.cpp ProfileEstimatorPass.cpp ProfileInfo.cpp \
ProfileInfoLoader.cpp ProfileInfoLoaderPass.cpp \
ProfileVerifierPass.cpp ScalarEvolution.cpp \
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmbitreader/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmbitreader/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmbitreader/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,8 +3,7 @@
LIB= llvmbitreader
SRCDIR= lib/Bitcode/Reader
-SRCS= BitReader.cpp BitcodeReader.cpp Deserialize.cpp \
- DeserializeAPFloat.cpp DeserializeAPInt.cpp
+SRCS= BitReader.cpp BitcodeReader.cpp
TGHDRS= Intrinsics
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmbitwriter/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmbitwriter/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmbitwriter/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -4,7 +4,6 @@ LIB= llvmbitwriter
SRCDIR= lib/Bitcode/Writer
SRCS= BitWriter.cpp BitcodeWriter.cpp BitcodeWriterPass.cpp \
- Serialize.cpp SerializeAPFloat.cpp SerializeAPInt.cpp \
ValueEnumerator.cpp
.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmcodegen/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmcodegen/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmcodegen/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,20 +3,22 @@
LIB= llvmcodegen
SRCDIR= lib/CodeGen
-SRCS= AggressiveAntiDepBreaker.cpp BranchFolding.cpp CodePlacementOpt.cpp \
+SRCS= AggressiveAntiDepBreaker.cpp BranchFolding.cpp CalcSpillWeights.cpp \
+ CodePlacementOpt.cpp \
CriticalAntiDepBreaker.cpp DeadMachineInstructionElim.cpp \
DwarfEHPrepare.cpp ELFCodeEmitter.cpp ELFWriter.cpp \
ExactHazardRecognizer.cpp GCMetadata.cpp GCMetadataPrinter.cpp \
GCStrategy.cpp IfConversion.cpp IntrinsicLowering.cpp \
LLVMTargetMachine.cpp LatencyPriorityQueue.cpp LiveInterval.cpp \
LiveIntervalAnalysis.cpp LiveStackAnalysis.cpp \
- LiveVariables.cpp LowerSubregs.cpp MachOCodeEmitter.cpp MachOWriter.cpp \
+ LiveVariables.cpp LowerSubregs.cpp \
MachineBasicBlock.cpp MachineDominators.cpp \
MachineFunction.cpp MachineFunctionAnalysis.cpp MachineFunctionPass.cpp \
MachineInstr.cpp MachineLICM.cpp \
MachineLoopInfo.cpp MachineModuleInfo.cpp MachineModuleInfoImpls.cpp \
- MachinePassRegistry.cpp MachineRegisterInfo.cpp \
- MachineSink.cpp MachineVerifier.cpp ObjectCodeEmitter.cpp OcamlGC.cpp \
+ MachinePassRegistry.cpp MachineRegisterInfo.cpp MachineSSAUpdater.cpp \
+ MachineSink.cpp MachineVerifier.cpp \
+ ObjectCodeEmitter.cpp OcamlGC.cpp OptimizeExts.cpp OptimizePHIs.cpp \
PHIElimination.cpp Passes.cpp PostRASchedulerList.cpp \
PreAllocSplitting.cpp ProcessImplicitDefs.cpp PrologEpilogInserter.cpp \
PseudoSourceValue.cpp RegAllocLinearScan.cpp RegAllocLocal.cpp \
@@ -26,8 +28,9 @@ SRCS= AggressiveAntiDepBreaker.cpp Branc
ShrinkWrapping.cpp ShadowStackGC.cpp \
SimpleRegisterCoalescing.cpp SjLjEHPrepare.cpp SlotIndexes.cpp \
Spiller.cpp StackProtector.cpp StackSlotColoring.cpp \
- StrongPHIElimination.cpp TargetInstrInfoImpl.cpp \
- TwoAddressInstructionPass.cpp UnreachableBlockElim.cpp VirtRegMap.cpp \
+ StrongPHIElimination.cpp TailDuplication.cpp TargetInstrInfoImpl.cpp \
+ TargetLoweringObjectFileImpl.cpp TwoAddressInstructionPass.cpp \
+ UnreachableBlockElim.cpp VirtRegMap.cpp \
VirtRegRewriter.cpp
TGHDRS= Intrinsics
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmcore/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmcore/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmcore/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -5,13 +5,15 @@ LIB= llvmcore
SRCDIR= lib/VMCore
SRCS= AsmWriter.cpp Attributes.cpp AutoUpgrade.cpp BasicBlock.cpp \
ConstantFold.cpp Constants.cpp Core.cpp Dominators.cpp \
- Function.cpp Globals.cpp InlineAsm.cpp Instruction.cpp \
- Instructions.cpp IntrinsicInst.cpp LLVMContext.cpp LeakDetector.cpp \
- Mangler.cpp Metadata.cpp \
- Module.cpp ModuleProvider.cpp Pass.cpp PassManager.cpp \
+ Function.cpp Globals.cpp GVMaterializer.cpp InlineAsm.cpp Instruction.cpp \
+ Instructions.cpp IntrinsicInst.cpp IRBuilder.cpp LLVMContext.cpp \
+ LeakDetector.cpp Metadata.cpp \
+ Module.cpp Pass.cpp PassManager.cpp \
PrintModulePass.cpp Type.cpp TypeSymbolTable.cpp Use.cpp \
Value.cpp ValueSymbolTable.cpp ValueTypes.cpp Verifier.cpp
+REQUIRES_RTTI=yo
+
TGHDRS= Intrinsics
.include "../../clang.lib.mk"
Added: projects/clangbsd/usr.bin/clang/lib/libllvminstcombine/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clangbsd/usr.bin/clang/lib/libllvminstcombine/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+LIB= llvminstcombine
+
+SRCDIR= lib/Transforms/InstCombine
+SRCS= InstCombineAddSub.cpp InstCombineAndOrXor.cpp InstCombineCalls.cpp \
+ InstCombineCasts.cpp InstCombineCompares.cpp InstCombineLoadStoreAlloca.cpp \
+ InstCombineMulDivRem.cpp InstCombinePHI.cpp InstCombineSelect.cpp \
+ InstCombineShifts.cpp InstCombineSimplifyDemanded.cpp \
+ InstCombineVectorOps.cpp InstructionCombining.cpp
+
+TGHDRS= Intrinsics
+
+.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmmc/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmmc/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmmc/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,11 +3,11 @@
LIB= llvmmc
SRCDIR= lib/MC
-SRCS= MCAsmInfo.cpp MCAsmInfoCOFF.cpp MCAsmInfoDarwin.cpp MCAsmLexer.cpp \
- MCAsmParser.cpp MCAsmStreamer.cpp MCAssembler.cpp MCCodeEmitter.cpp \
+SRCS= MCAsmInfo.cpp MCAsmInfoCOFF.cpp MCAsmInfoDarwin.cpp \
+ MCAsmStreamer.cpp MCAssembler.cpp MCCodeEmitter.cpp \
MCContext.cpp MCDisassembler.cpp MCExpr.cpp MCInst.cpp \
MCInstPrinter.cpp MCMachOStreamer.cpp MCNullStreamer.cpp \
MCSection.cpp MCSectionELF.cpp MCSectionMachO.cpp MCStreamer.cpp \
- MCSymbol.cpp MCValue.cpp TargetAsmParser.cpp
+ MCSymbol.cpp MCValue.cpp
.include "../../clang.lib.mk"
Added: projects/clangbsd/usr.bin/clang/lib/libllvmmcparser/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmmcparser/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+LIB= llvmmcparser
+
+SRCDIR= lib/MC/MCParser
+SRCS= AsmLexer.cpp AsmParser.cpp MCAsmLexer.cpp MCAsmParser.cpp TargetAsmParser.cpp
+
+.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmpowerpccodegen/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmpowerpccodegen/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmpowerpccodegen/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -6,7 +6,7 @@ SRCDIR= lib/Target/PowerPC
SRCS= PPCBranchSelector.cpp PPCCodeEmitter.cpp \
PPCHazardRecognizers.cpp PPCISelDAGToDAG.cpp \
PPCISelLowering.cpp PPCInstrInfo.cpp PPCJITInfo.cpp \
- PPCMCAsmInfo.cpp PPCMachOWriterInfo.cpp PPCPredicates.cpp \
+ PPCMCAsmInfo.cpp PPCPredicates.cpp \
PPCRegisterInfo.cpp PPCSubtarget.cpp PPCTargetMachine.cpp
TGHDRS= Intrinsics PPCGenCallingConv PPCGenCodeEmitter PPCGenDAGISel \
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -4,9 +4,9 @@ LIB= llvmscalaropts
SRCDIR= lib/Transforms/Scalar
SRCS= ADCE.cpp BasicBlockPlacement.cpp CodeGenPrepare.cpp \
- ConstantProp.cpp DCE.cpp \
- DeadStoreElimination.cpp GVN.cpp IndVarSimplify.cpp \
- InstructionCombining.cpp JumpThreading.cpp LICM.cpp \
+ ConstantProp.cpp DCE.cpp DeadStoreElimination.cpp \
+ GEPSplitter.cpp GVN.cpp IndVarSimplify.cpp \
+ JumpThreading.cpp LICM.cpp \
LoopDeletion.cpp LoopIndexSplit.cpp LoopRotation.cpp \
LoopStrengthReduce.cpp LoopUnrollPass.cpp LoopUnswitch.cpp \
MemCpyOptimizer.cpp Reassociate.cpp \
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmselectiondag/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmselectiondag/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmselectiondag/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,13 +3,13 @@
LIB= llvmselectiondag
SRCDIR= lib/CodeGen/SelectionDAG
-SRCS= CallingConvLower.cpp DAGCombiner.cpp FastISel.cpp \
+SRCS= CallingConvLower.cpp DAGCombiner.cpp FastISel.cpp FunctionLoweringInfo.cpp \
InstrEmitter.cpp LegalizeDAG.cpp LegalizeFloatTypes.cpp \
LegalizeIntegerTypes.cpp LegalizeTypes.cpp \
LegalizeTypesGeneric.cpp LegalizeVectorOps.cpp \
LegalizeVectorTypes.cpp ScheduleDAGFast.cpp \
ScheduleDAGList.cpp ScheduleDAGRRList.cpp \
- ScheduleDAGSDNodes.cpp SelectionDAG.cpp SelectionDAGBuild.cpp \
+ ScheduleDAGSDNodes.cpp SelectionDAG.cpp SelectionDAGBuilder.cpp \
SelectionDAGISel.cpp SelectionDAGPrinter.cpp TargetLowering.cpp
TGHDRS= Intrinsics
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmsupport/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmsupport/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmsupport/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,15 +3,18 @@
LIB= llvmsupport
SRCDIR= lib/Support
-SRCS= APFloat.cpp APInt.cpp APSInt.cpp Allocator.cpp \
- CommandLine.cpp ConstantRange.cpp Debug.cpp Dwarf.cpp \
+SRCS= circular_raw_ostream.cpp APFloat.cpp APInt.cpp APSInt.cpp Allocator.cpp \
+ CommandLine.cpp ConstantRange.cpp Debug.cpp DeltaAlgorithm.cpp Dwarf.cpp \
ErrorHandling.cpp FileUtilities.cpp FoldingSet.cpp FormattedStream.cpp \
GraphWriter.cpp IsInf.cpp IsNAN.cpp ManagedStatic.cpp \
MemoryBuffer.cpp MemoryObject.cpp PluginLoader.cpp \
PrettyStackTrace.cpp Regex.cpp SlowOperationInformer.cpp \
- SmallPtrSet.cpp SourceMgr.cpp Statistic.cpp StringExtras.cpp \
+ SmallPtrSet.cpp SmallVector.cpp SourceMgr.cpp Statistic.cpp \
+ StringExtras.cpp \
StringMap.cpp StringPool.cpp StringRef.cpp SystemUtils.cpp \
TargetRegistry.cpp Timer.cpp Triple.cpp Twine.cpp raw_os_ostream.cpp \
raw_ostream.cpp regcomp.c regerror.c regexec.c regfree.c regstrlcpy.c
+REQUIRES_RTTI=yo
+
.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmsystem/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmsystem/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmsystem/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -8,4 +8,6 @@ SRCS= Alarm.cpp Atomic.cpp Disassembler.
Process.cpp Program.cpp RWMutex.cpp Signals.cpp \
ThreadLocal.cpp Threading.cpp TimeValue.cpp
+REQUIRES_RTTI=yo
+
.include "../../clang.lib.mk"
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmtarget/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmtarget/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmtarget/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -3,10 +3,10 @@
LIB= llvmtarget
SRCDIR= lib/Target
-SRCS= SubtargetFeature.cpp Target.cpp \
+SRCS= Mangler.cpp SubtargetFeature.cpp Target.cpp TargetAsmLexer.cpp \
TargetData.cpp TargetELFWriterInfo.cpp TargetFrameInfo.cpp \
TargetInstrInfo.cpp TargetIntrinsicInfo.cpp \
- TargetLoweringObjectFile.cpp TargetMachOWriterInfo.cpp \
+ TargetLoweringObjectFile.cpp \
TargetMachine.cpp TargetRegisterInfo.cpp \
TargetSubtarget.cpp
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmx86asmparser/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmx86asmparser/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmx86asmparser/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -4,7 +4,7 @@ LIB= llvmx86asmparser
SRCDIR= lib/Target/X86/AsmParser
INCDIR= lib/Target/X86
-SRCS= X86AsmParser.cpp
+SRCS= X86AsmParser.cpp X86AsmLexer.cpp
TGHDRS= X86GenRegisterNames X86GenInstrNames X86GenAsmMatcher
Modified: projects/clangbsd/usr.bin/clang/lib/libllvmx86codegen/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmx86codegen/Makefile Wed Feb 17 09:46:53 2010 (r203993)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmx86codegen/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -6,7 +6,8 @@ SRCDIR= lib/Target/X86
SRCS= X86COFFMachineModuleInfo.cpp X86CodeEmitter.cpp X86ELFWriterInfo.cpp \
X86FastISel.cpp X86FloatingPoint.cpp X86FloatingPointRegKill.cpp \
X86ISelDAGToDAG.cpp X86ISelLowering.cpp X86InstrInfo.cpp \
- X86JITInfo.cpp X86MCAsmInfo.cpp X86RegisterInfo.cpp X86Subtarget.cpp \
+ X86JITInfo.cpp X86MCAsmInfo.cpp X86MCCodeEmitter.cpp \
+ X86MCTargetExpr.cpp X86RegisterInfo.cpp X86Subtarget.cpp \
X86TargetMachine.cpp X86TargetObjectFile.cpp
TGHDRS= Intrinsics X86GenCallingConv X86GenDAGISel X86GenFastISel \
Added: projects/clangbsd/usr.bin/clang/lib/libllvmx86disassembler/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmx86disassembler/Makefile Wed Feb 17 09:49:22 2010 (r203994)
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+LIB= llvmx86disassembler
+
+SRCDIR= lib/Target/X86/Disassembler
+SRCS= X86Disassembler.cpp X86DisassemblerDecoder.c
+
+.include "../../clang.lib.mk"
More information about the svn-src-projects
mailing list