svn commit: r199487 - in projects/clangbsd/usr.bin/clang: bin/clang-cc include/llvm/Config lib/libclanganalysis lib/libclangast lib/libclangfrontend lib/libllvmanalysis lib/libllvmarmcodegen lib/li...

Roman Divacky rdivacky at FreeBSD.org
Wed Nov 18 17:45:48 UTC 2009


Author: rdivacky
Date: Wed Nov 18 17:45:48 2009
New Revision: 199487
URL: http://svn.freebsd.org/changeset/base/199487

Log:
  Update clang/llvm build system for the new import.

Modified:
  projects/clangbsd/usr.bin/clang/bin/clang-cc/Makefile
  projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h
  projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile
  projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile
  projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile
  projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile
  projects/clangbsd/usr.bin/clang/lib/libllvmarmcodegen/Makefile
  projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile

Modified: projects/clangbsd/usr.bin/clang/bin/clang-cc/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/bin/clang-cc/Makefile	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/bin/clang-cc/Makefile	Wed Nov 18 17:45:48 2009	(r199487)
@@ -4,7 +4,8 @@ PROG_CXX=clang-cc
 BINDIR=	/usr/libexec
 
 SRCDIR=	tools/clang/tools/clang-cc
-SRCS=	clang-cc.cpp
+SRCS=	clang-cc.cpp Options.cpp
+LDFLAGS+=	-pthread
 MAN=
 
 TGHDRS=	DiagnosticCommonKinds DiagnosticFrontendKinds \

Modified: projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h
==============================================================================
--- projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/include/llvm/Config/config.h	Wed Nov 18 17:45:48 2009	(r199487)
@@ -10,9 +10,24 @@
    */
 /* #undef CRAY_STACKSEG_END */
 
+/* 32 bit multilib directory. */
+#define CXX_INCLUDE_32BIT_DIR ""
+
+/* 64 bit multilib directory. */
+#define CXX_INCLUDE_64BIT_DIR ""
+
+/* Arch the libstdc++ headers. */
+#define CXX_INCLUDE_ARCH ""
+
+/* Directory with the libstdc++ headers. */
+#define CXX_INCLUDE_ROOT ""
+
 /* Define to 1 if using `alloca.c'. */
 /* #undef C_ALLOCA */
 
+/* Directories clang will search for headers */
+#define C_INCLUDE_DIRS ""
+
 /* Define if CBE is enabled for printf %a output */
 #define ENABLE_CBE_PRINTF_A 1
 

Modified: projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/lib/libclanganalysis/Makefile	Wed Nov 18 17:45:48 2009	(r199487)
@@ -3,19 +3,29 @@
 LIB=	clanganalysis
 
 SRCDIR=	tools/clang/lib/Analysis
-SRCS=	AnalysisContext.cpp AnalysisManager.cpp AttrNonNullChecker.cpp \
+SRCS=	AnalysisContext.cpp ArrayBoundChecker.cpp AttrNonNullChecker.cpp \
 	BadCallChecker.cpp BasicConstraintManager.cpp \
 	BasicObjCFoundationChecks.cpp BasicStore.cpp BasicValueFactory.cpp \
-	BugReporter.cpp BugReporterVisitors.cpp CFG.cpp CFRefCount.cpp \
-	CallGraph.cpp CallInliner.cpp  CheckDeadStores.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 DereferenceChecker.cpp DivZeroChecker.cpp Environment.cpp \
-	ExplodedGraph.cpp GRBlockCounter.cpp GRCoreEngine.cpp GRExprEngine.cpp \
-	GRExprEngineInternalChecks.cpp GRState.cpp LiveVariables.cpp \
-	MemRegion.cpp NSAutoreleasePoolChecker.cpp NSErrorChecker.cpp PathDiagnostic.cpp \
-	RangeConstraintManager.cpp RegionStore.cpp SVals.cpp SValuator.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
 

Modified: projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/lib/libclangast/Makefile	Wed Nov 18 17:45:48 2009	(r199487)
@@ -10,7 +10,7 @@ SRCS=	APValue.cpp ASTConsumer.cpp ASTCon
 	NestedNameSpecifier.cpp ParentMap.cpp RecordLayoutBuilder.cpp \
 	Stmt.cpp StmtDumper.cpp StmtIterator.cpp StmtPrinter.cpp \
 	StmtProfile.cpp StmtViz.cpp TemplateBase.cpp TemplateName.cpp Type.cpp \
-	TypeLoc.cpp
+	TypeLoc.cpp TypePrinter.cpp
 
 TGHDRS=	DiagnosticASTKinds DiagnosticCommonKinds
 

Modified: projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/lib/libclangfrontend/Makefile	Wed Nov 18 17:45:48 2009	(r199487)
@@ -4,16 +4,19 @@ LIB=	clangfrontend
 
 SRCDIR=	tools/clang/lib/Frontend
 SRCS=	ASTConsumers.cpp ASTUnit.cpp AnalysisConsumer.cpp Backend.cpp \
-	CacheTokens.cpp DeclXML.cpp DependencyFile.cpp DiagChecker.cpp \
-	DocumentXML.cpp FixItRewriter.cpp GeneratePCH.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 ManagerRegistry.cpp PCHReader.cpp \
+	InitPreprocessor.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 \
 	RewriteTest.cpp StmtXML.cpp TextDiagnosticBuffer.cpp \
-	TextDiagnosticPrinter.cpp TypeXML.cpp Warnings.cpp
+	TextDiagnosticPrinter.cpp TypeXML.cpp VerifyDiagnosticsClient.cpp \
+	Warnings.cpp
 
 TGHDRS=	DiagnosticCommonKinds DiagnosticFrontendKinds \
 	DiagnosticLexKinds DiagnosticSemaKinds

Modified: projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmanalysis/Makefile	Wed Nov 18 17:45:48 2009	(r199487)
@@ -8,7 +8,8 @@ SRCS=	AliasAnalysis.cpp AliasAnalysisCou
 	AliasSetTracker.cpp Analysis.cpp BasicAliasAnalysis.cpp \
 	CFGPrinter.cpp CaptureTracking.cpp ConstantFolding.cpp \
 	DbgInfoPrinter.cpp DebugInfo.cpp IVUsers.cpp InlineCost.cpp \
-	InstCount.cpp Interval.cpp IntervalPartition.cpp \
+	InstructionSimplify.cpp \
+	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 \

Modified: projects/clangbsd/usr.bin/clang/lib/libllvmarmcodegen/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmarmcodegen/Makefile	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmarmcodegen/Makefile	Wed Nov 18 17:45:48 2009	(r199487)
@@ -5,7 +5,7 @@ LIB=	llvmarmcodegen
 SRCDIR=	lib/Target/ARM
 SRCS=	ARMBaseInstrInfo.cpp ARMBaseRegisterInfo.cpp \
 	ARMCodeEmitter.cpp ARMConstantIslandPass.cpp \
-	ARMConstantPoolValue.cpp ARMISelDAGToDAG.cpp \
+	ARMConstantPoolValue.cpp ARMExpandPseudoInsts.cpp ARMISelDAGToDAG.cpp \
 	ARMISelLowering.cpp ARMInstrInfo.cpp ARMJITInfo.cpp \
 	ARMLoadStoreOptimizer.cpp ARMLoadStoreOptimizer.cpp ARMMCAsmInfo.cpp \
 	ARMRegisterInfo.cpp ARMSubtarget.cpp ARMTargetMachine.cpp \

Modified: projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile
==============================================================================
--- projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile	Wed Nov 18 16:45:27 2009	(r199486)
+++ projects/clangbsd/usr.bin/clang/lib/libllvmscalaropts/Makefile	Wed Nov 18 17:45:48 2009	(r199487)
@@ -4,11 +4,11 @@ LIB=	llvmscalaropts
 
 SRCDIR=	lib/Transforms/Scalar
 SRCS=	ADCE.cpp BasicBlockPlacement.cpp CodeGenPrepare.cpp \
-	CondPropagate.cpp ConstantProp.cpp DCE.cpp \
+	ConstantProp.cpp DCE.cpp \
 	DeadStoreElimination.cpp GVN.cpp IndVarSimplify.cpp \
 	InstructionCombining.cpp JumpThreading.cpp LICM.cpp \
 	LoopDeletion.cpp LoopIndexSplit.cpp LoopRotation.cpp \
-	LoopStrengthReduce.cpp LoopUnroll.cpp LoopUnswitch.cpp \
+	LoopStrengthReduce.cpp LoopUnrollPass.cpp LoopUnswitch.cpp \
 	MemCpyOptimizer.cpp Reassociate.cpp \
 	Reg2Mem.cpp SCCP.cpp Scalar.cpp ScalarReplAggregates.cpp \
 	SimplifyCFGPass.cpp SimplifyHalfPowrLibCalls.cpp \


More information about the svn-src-projects mailing list