diff options
Diffstat (limited to 'lib')
37 files changed, 150 insertions, 88 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index abcc113..8f7d18a 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -35,6 +35,7 @@ SUBDIR= libclanganalysis \ libllvmscalaropts \ libllvmselectiondag \ libllvmsupport \ + libllvmtablegen \ libllvmtarget \ libllvmtransformutils \ \ diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index cb73c8a..ceaeb05 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -34,6 +34,7 @@ CFLAGS+=-DCLANG_PREFIX=\"${TOOLS_PREFIX}\" .PATH: ${LLVM_SRCS}/${SRCDIR} TBLGEN?=tblgen +CLANG_TBLGEN?=clang-tblgen TBLINC+=-I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/Intrinsics.td @@ -63,82 +64,83 @@ ${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td . endfor .endfor -ARMGenDecoderTables.inc.h: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${TBLGEN} -I ${LLVM_SRCS}/lib/Target/ARM ${TBLINC} \ - -gen-arm-decoder -o ${.TARGET} ${.ALLSRC} - Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ -gen-clang-attr-classes -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ -gen-clang-attr-impl -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} +AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + -gen-clang-attr-late-parsed-list -o ${.TARGET} \ + -I ${CLANG_SRCS}/include ${.ALLSRC} + AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ -gen-clang-attr-list -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} AttrPCHRead.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Serialization \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Serialization \ ${TBLINC} -gen-clang-attr-pch-read -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Serialization \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Serialization \ ${TBLINC} -gen-clang-attr-pch-write -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} AttrSpellings.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Lex ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Lex ${TBLINC} \ -gen-clang-attr-spelling-list -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ -gen-clang-decl-nodes -o ${.TARGET} ${.ALLSRC} StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ -gen-clang-stmt-nodes -o ${.TARGET} ${.ALLSRC} arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ -gen-arm-neon-sema -o ${.TARGET} ${.ALLSRC} DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ -gen-clang-diag-groups -o ${.TARGET} ${.ALLSRC} DiagnosticIndexName.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ -gen-clang-diags-index-name -o ${.TARGET} ${.ALLSRC} .for hdr in AST Analysis Common Driver Frontend Lex Parse Sema Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ -gen-clang-diags-defs -clang-component=${hdr} \ -o ${.TARGET} ${.ALLSRC} .endfor Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC} CC1Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1Options.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC} CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td - ${TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC} Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td \ ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/CheckerBase.td - ${TBLGEN} -I ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers \ ${TBLINC} -gen-clang-sa-checkers -o ${.TARGET} \ -I ${CLANG_SRCS}/include \ ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td diff --git a/lib/clang/include/ARMGenDecoderTables.inc b/lib/clang/include/ARMGenDecoderTables.inc deleted file mode 100644 index b09685c..0000000 --- a/lib/clang/include/ARMGenDecoderTables.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "ARMGenDecoderTables.inc.h" diff --git a/lib/clang/include/ARMGenDisassemblerTables.inc b/lib/clang/include/ARMGenDisassemblerTables.inc new file mode 100644 index 0000000..7ea91ee --- /dev/null +++ b/lib/clang/include/ARMGenDisassemblerTables.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "ARMGenDisassemblerTables.inc.h" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 3e3b44c..1ab3e3e 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -5,6 +5,6 @@ #define CLANG_VERSION_MINOR 0 #define CLANG_VENDOR "FreeBSD " -#define CLANG_VENDOR_SUFFIX " 20110717" +#define CLANG_VENDOR_SUFFIX " 20111021" -#define SVN_REVISION "135360" +#define SVN_REVISION "142614" diff --git a/lib/clang/include/clang/Parse/AttrLateParsed.inc b/lib/clang/include/clang/Parse/AttrLateParsed.inc new file mode 100644 index 0000000..1282d9e --- /dev/null +++ b/lib/clang/include/clang/Parse/AttrLateParsed.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrLateParsed.inc.h" diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index f264571..5b6761c 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -5,6 +5,9 @@ #ifndef CONFIG_H #define CONFIG_H +/* Bug report URL. */ +#define BUG_REPORT_URL "http://llvm.org/bugs/" + /* Relative directory for resource files */ #define CLANG_RESOURCE_DIR "" @@ -301,16 +304,16 @@ #define HAVE_PRINTF_A 1 /* Have pthread_getspecific */ -#define HAVE_PTHREAD_GETSPECIFIC 1 +/* #undef HAVE_PTHREAD_GETSPECIFIC */ /* Define to 1 if you have the <pthread.h> header file. */ -#define HAVE_PTHREAD_H 1 +/* #undef HAVE_PTHREAD_H */ /* Have pthread_mutex_lock */ -#define HAVE_PTHREAD_MUTEX_LOCK 1 +/* #undef HAVE_PTHREAD_MUTEX_LOCK */ /* Have pthread_rwlock_init */ -#define HAVE_PTHREAD_RWLOCK_INIT 1 +/* #undef HAVE_PTHREAD_RWLOCK_INIT */ /* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */ #define HAVE_RAND48 1 @@ -548,6 +551,9 @@ /* Installation directory for config files */ /* #undef LLVM_ETCDIR */ +/* Has gcc/MSVC atomic intrinsics */ +#define LLVM_HAS_ATOMICS 1 + /* Host triple we were built on */ /* #undef LLVM_HOSTTRIPLE */ @@ -563,9 +569,6 @@ /* Installation directory for man pages */ /* #undef LLVM_MANDIR */ -/* Build multithreading support into LLVM */ -/* #undef LLVM_MULTITHREADED */ - /* LLVM architecture name for the native architecture, if available */ #define LLVM_NATIVE_ARCH X86 @@ -575,15 +578,15 @@ /* LLVM name for the native AsmPrinter init function, if available */ #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter -/* LLVM name for the native MCAsmInfo init function, if available */ -#define LLVM_NATIVE_MCASMINFO LLVMInitializeX86MCAsmInfo - /* LLVM name for the native Target init function, if available */ #define LLVM_NATIVE_TARGET LLVMInitializeX86Target /* LLVM name for the native TargetInfo init function, if available */ #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo +/* LLVM name for the native target MC init function, if available */ +#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC + /* Define if this is Unixish platform */ #define LLVM_ON_UNIX 1 @@ -651,13 +654,13 @@ #define PACKAGE_NAME "llvm" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "llvm 3.0svn" +#define PACKAGE_STRING "llvm 3.0" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "-llvm-" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.0svn" +#define PACKAGE_VERSION "3.0" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index e76d10f..05e17ca 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -33,6 +33,9 @@ /* Installation directory for config files */ /* #undef LLVM_ETCDIR */ +/* Has gcc/MSVC atomic intrinsics */ +#define LLVM_HAS_ATOMICS 1 + /* Host triple we were built on */ /* #undef LLVM_HOSTTRIPLE */ @@ -48,26 +51,23 @@ /* Installation directory for man pages */ /* #undef LLVM_MANDIR */ -/* Build multithreading support into LLVM */ -/* #undef LLVM_MULTITHREADED */ - /* LLVM architecture name for the native architecture, if available */ #define LLVM_NATIVE_ARCH X86 +/* LLVM name for the native AsmParser init function, if available */ +#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser + +/* LLVM name for the native AsmPrinter init function, if available */ +#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter + /* LLVM name for the native Target init function, if available */ #define LLVM_NATIVE_TARGET LLVMInitializeX86Target /* LLVM name for the native TargetInfo init function, if available */ #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo -/* LLVM name for the native MCAsmInfo init function, if available */ -#define LLVM_NATIVE_MCASMINFO LLVMInitializeX86MCAsmInfo - -/* LLVM name for the native AsmPrinter init function, if available */ -#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter - -/* LLVM name for the native AsmPrinter init function, if available */ -#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser +/* LLVM name for the native target MC init function, if available */ +#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC /* Define if this is Unixish platform */ #define LLVM_ON_UNIX 1 @@ -99,6 +99,9 @@ /* Define to path to twopi program if found or 'echo twopi' otherwise */ /* #undef LLVM_PATH_TWOPI */ +/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */ +/* #undef LLVM_PATH_XDOT_PY */ + /* Installation prefix directory */ /* #undef LLVM_PREFIX */ diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile index d0df779..f5fbc627 100644 --- a/lib/clang/libclanganalysis/Makefile +++ b/lib/clang/libclanganalysis/Makefile @@ -11,9 +11,11 @@ SRCS= AnalysisContext.cpp \ FormatString.cpp \ LiveVariables.cpp \ PrintfFormatString.cpp \ + ProgramPoint.cpp \ PseudoConstantAnalysis.cpp \ ReachableCode.cpp \ ScanfFormatString.cpp \ + ThreadSafety.cpp \ UninitializedValues.cpp TGHDRS= AttrList \ diff --git a/lib/clang/libclangarcmigrate/Makefile b/lib/clang/libclangarcmigrate/Makefile index c1e4511..957c3ba 100644 --- a/lib/clang/libclangarcmigrate/Makefile +++ b/lib/clang/libclangarcmigrate/Makefile @@ -6,6 +6,8 @@ SRCDIR= tools/clang/lib/ARCMigrate SRCS= ARCMT.cpp \ ARCMTActions.cpp \ FileRemapper.cpp \ + PlistReporter.cpp \ + TransAPIUses.cpp \ TransARCAssign.cpp \ TransAutoreleasePool.cpp \ TransBlockObjCVariable.cpp \ diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile index 61b44fb..61f6881 100644 --- a/lib/clang/libclangast/Makefile +++ b/lib/clang/libclangast/Makefile @@ -35,6 +35,7 @@ SRCS= APValue.cpp \ ParentMap.cpp \ RecordLayout.cpp \ RecordLayoutBuilder.cpp \ + SelectorLocationsKind.cpp \ Stmt.cpp \ StmtDumper.cpp \ StmtIterator.cpp \ @@ -45,7 +46,9 @@ SRCS= APValue.cpp \ TemplateName.cpp \ Type.cpp \ TypeLoc.cpp \ - TypePrinter.cpp + TypePrinter.cpp \ + VTTBuilder.cpp \ + VTableBuilder.cpp TGHDRS= AttrImpl \ AttrList \ diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index 49e3533..dec03c5 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -10,6 +10,7 @@ SRCS= Builtins.cpp \ FileManager.cpp \ FileSystemStatCache.cpp \ IdentifierTable.cpp \ + LangOptions.cpp \ SourceLocation.cpp \ SourceManager.cpp \ TargetInfo.cpp \ diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile index d1798ca..467b2d2 100644 --- a/lib/clang/libclangcodegen/Makefile +++ b/lib/clang/libclangcodegen/Makefile @@ -6,6 +6,8 @@ SRCDIR= tools/clang/lib/CodeGen SRCS= BackendUtil.cpp \ CGBlocks.cpp \ CGBuiltin.cpp \ + CGCUDANV.cpp \ + CGCUDARuntime.cpp \ CGCXX.cpp \ CGCXXABI.cpp \ CGCall.cpp \ @@ -25,6 +27,7 @@ SRCS= BackendUtil.cpp \ CGObjCGNU.cpp \ CGObjCMac.cpp \ CGObjCRuntime.cpp \ + CGOpenCLRuntime.cpp \ CGRTTI.cpp \ CGRecordLayoutBuilder.cpp \ CGStmt.cpp \ diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile index 2087900..d8495a2 100644 --- a/lib/clang/libclangfrontend/Makefile +++ b/lib/clang/libclangfrontend/Makefile @@ -23,7 +23,7 @@ SRCS= ASTConsumers.cpp \ PrintPreprocessedOutput.cpp \ TextDiagnosticBuffer.cpp \ TextDiagnosticPrinter.cpp \ - VerifyDiagnosticsClient.cpp \ + VerifyDiagnosticConsumer.cpp \ Warnings.cpp TGHDRS= AttrList \ diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile index ee272fe..6bd0b5b 100644 --- a/lib/clang/libclangparse/Makefile +++ b/lib/clang/libclangparse/Makefile @@ -17,7 +17,8 @@ SRCS= ParseAST.cpp \ ParseTentative.cpp \ Parser.cpp -TGHDRS= AttrList \ +TGHDRS= AttrLateParsed \ + AttrList \ Attrs \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile index 3c03773..57f5ccb 100644 --- a/lib/clang/libclangsema/Makefile +++ b/lib/clang/libclangsema/Makefile @@ -10,12 +10,13 @@ SRCS= AnalysisBasedWarnings.cpp \ DelayedDiagnostic.cpp \ IdentifierResolver.cpp \ JumpDiagnostics.cpp \ + MultiInitializer.cpp \ Scope.cpp \ Sema.cpp \ SemaAccess.cpp \ SemaAttr.cpp \ - SemaCXXCast.cpp \ SemaCXXScopeSpec.cpp \ + SemaCast.cpp \ SemaChecking.cpp \ SemaCodeComplete.cpp \ SemaDecl.cpp \ @@ -27,6 +28,7 @@ SRCS= AnalysisBasedWarnings.cpp \ SemaExpr.cpp \ SemaExprCXX.cpp \ SemaExprObjC.cpp \ + SemaFixItUtils.cpp \ SemaInit.cpp \ SemaLookup.cpp \ SemaObjCProperty.cpp \ diff --git a/lib/clang/libclangserialization/Makefile b/lib/clang/libclangserialization/Makefile index 75a0031..a4e0f36 100644 --- a/lib/clang/libclangserialization/Makefile +++ b/lib/clang/libclangserialization/Makefile @@ -11,7 +11,9 @@ SRCS= ASTCommon.cpp \ ASTWriterDecl.cpp \ ASTWriterStmt.cpp \ ChainedIncludesSource.cpp \ - GeneratePCH.cpp + GeneratePCH.cpp \ + Module.cpp \ + ModuleManager.cpp TGHDRS= AttrList \ AttrPCHRead \ diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile index adc7882..44f7d58 100644 --- a/lib/clang/libclangstaticanalyzercheckers/Makefile +++ b/lib/clang/libclangstaticanalyzercheckers/Makefile @@ -19,7 +19,7 @@ SRCS= AdjustedReturnValueChecker.cpp \ CheckSecuritySyntaxOnly.cpp \ CheckSizeofPointer.cpp \ ChrootChecker.cpp \ - ClangSACheckerProvider.cpp \ + ClangCheckers.cpp \ DeadStoresChecker.cpp \ DebugCheckers.cpp \ DereferenceChecker.cpp \ @@ -28,8 +28,10 @@ SRCS= AdjustedReturnValueChecker.cpp \ IdempotentOperationChecker.cpp \ IteratorsChecker.cpp \ LLVMConventionsChecker.cpp \ + MacOSKeychainAPIChecker.cpp \ MacOSXAPIChecker.cpp \ MallocChecker.cpp \ + MallocOverflowSecurityChecker.cpp \ NSAutoreleasePoolChecker.cpp \ NSErrorChecker.cpp \ NoReturnFunctionChecker.cpp \ @@ -40,6 +42,7 @@ SRCS= AdjustedReturnValueChecker.cpp \ PointerArithChecker.cpp \ PointerSubChecker.cpp \ PthreadLockChecker.cpp \ + RetainCountChecker.cpp \ ReturnPointerRangeChecker.cpp \ ReturnUndefChecker.cpp \ StackAddrEscapeChecker.cpp \ diff --git a/lib/clang/libclangstaticanalyzercore/Makefile b/lib/clang/libclangstaticanalyzercore/Makefile index 76863dc..9a33751 100644 --- a/lib/clang/libclangstaticanalyzercore/Makefile +++ b/lib/clang/libclangstaticanalyzercore/Makefile @@ -6,27 +6,29 @@ SRCDIR= tools/clang/lib/StaticAnalyzer/Core SRCS= AggExprVisitor.cpp \ AnalysisManager.cpp \ BasicConstraintManager.cpp \ - BasicStore.cpp \ BasicValueFactory.cpp \ BlockCounter.cpp \ BugReporter.cpp \ BugReporterVisitors.cpp \ - CFRefCount.cpp \ - CXXExprEngine.cpp \ + Checker.cpp \ CheckerContext.cpp \ CheckerHelpers.cpp \ CheckerManager.cpp \ + CheckerRegistry.cpp \ CoreEngine.cpp \ Environment.cpp \ ExplodedGraph.cpp \ ExprEngine.cpp \ - FlatStore.cpp \ - GRState.cpp \ + ExprEngineC.cpp \ + ExprEngineCXX.cpp \ + ExprEngineCallAndReturn.cpp \ + ExprEngineObjC.cpp \ HTMLDiagnostics.cpp \ MemRegion.cpp \ ObjCMessage.cpp \ PathDiagnostic.cpp \ PlistDiagnostics.cpp \ + ProgramState.cpp \ RangeConstraintManager.cpp \ RegionStore.cpp \ SValBuilder.cpp \ diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile index 0110781..29579bc 100644 --- a/lib/clang/libllvmarmcodegen/Makefile +++ b/lib/clang/libllvmarmcodegen/Makefile @@ -3,8 +3,7 @@ LIB= llvmarmcodegen SRCDIR= lib/Target/ARM -SRCS= ARMAsmBackend.cpp \ - ARMAsmPrinter.cpp \ +SRCS= ARMAsmPrinter.cpp \ ARMBaseInstrInfo.cpp \ ARMBaseRegisterInfo.cpp \ ARMCodeEmitter.cpp \ @@ -21,17 +20,13 @@ SRCS= ARMAsmBackend.cpp \ ARMInstrInfo.cpp \ ARMJITInfo.cpp \ ARMLoadStoreOptimizer.cpp \ - ARMMCCodeEmitter.cpp \ - ARMMCExpr.cpp \ ARMMCInstLower.cpp \ - ARMMachObjectWriter.cpp \ ARMRegisterInfo.cpp \ ARMSelectionDAGInfo.cpp \ ARMSubtarget.cpp \ ARMTargetMachine.cpp \ ARMTargetObjectFile.cpp \ MLxExpansionPass.cpp \ - NEONMoveFix.cpp \ Thumb1FrameLowering.cpp \ Thumb1InstrInfo.cpp \ Thumb1RegisterInfo.cpp \ diff --git a/lib/clang/libllvmarmdesc/Makefile b/lib/clang/libllvmarmdesc/Makefile index 0074ec2..e732074 100644 --- a/lib/clang/libllvmarmdesc/Makefile +++ b/lib/clang/libllvmarmdesc/Makefile @@ -3,10 +3,16 @@ LIB= llvmarmdesc SRCDIR= lib/Target/ARM/MCTargetDesc -SRCS= ARMMCAsmInfo.cpp \ +SRCS= ARMAsmBackend.cpp \ + ARMMachObjectWriter.cpp \ + ARMMCAsmInfo.cpp \ + ARMMCCodeEmitter.cpp \ + ARMMCExpr.cpp \ ARMMCTargetDesc.cpp +CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= ARMGenInstrInfo \ + ARMGenMCCodeEmitter \ ARMGenRegisterInfo \ ARMGenSubtargetInfo diff --git a/lib/clang/libllvmarmdisassembler/Makefile b/lib/clang/libllvmarmdisassembler/Makefile index c0648bb..a3d16f7 100644 --- a/lib/clang/libllvmarmdisassembler/Makefile +++ b/lib/clang/libllvmarmdisassembler/Makefile @@ -4,9 +4,9 @@ LIB= llvmarmdisassembler SRCDIR= lib/Target/ARM/Disassembler INCDIR= lib/Target/ARM -SRCS= ARMDisassemblerCore.cpp +SRCS= ARMDisassembler.cpp -TGHDRS= ARMGenDecoderTables \ +TGHDRS= ARMGenDisassemblerTables \ ARMGenEDInfo \ ARMGenInstrInfo \ ARMGenRegisterInfo \ diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index 702c476..0d593b6 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -17,7 +17,9 @@ SRCS= AggressiveAntiDepBreaker.cpp \ ELFCodeEmitter.cpp \ ELFWriter.cpp \ EdgeBundles.cpp \ + ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ + ExpandPostRAPseudos.cpp \ GCMetadata.cpp \ GCMetadataPrinter.cpp \ GCStrategy.cpp \ @@ -27,16 +29,18 @@ SRCS= AggressiveAntiDepBreaker.cpp \ IntrinsicLowering.cpp \ LLVMTargetMachine.cpp \ LatencyPriorityQueue.cpp \ + LexicalScopes.cpp \ LiveDebugVariables.cpp \ LiveInterval.cpp \ LiveIntervalAnalysis.cpp \ LiveIntervalUnion.cpp \ LiveStackAnalysis.cpp \ LiveVariables.cpp \ + LiveRangeCalc.cpp \ LiveRangeEdit.cpp \ LocalStackSlotAllocation.cpp \ - LowerSubregs.cpp \ MachineBasicBlock.cpp \ + MachineBranchProbabilityInfo.cpp \ MachineCSE.cpp \ MachineDominators.cpp \ MachineFunction.cpp \ diff --git a/lib/clang/libllvmipo/Makefile b/lib/clang/libllvmipo/Makefile index 062ba5b..42cc2fa 100644 --- a/lib/clang/libllvmipo/Makefile +++ b/lib/clang/libllvmipo/Makefile @@ -16,9 +16,9 @@ SRCS= ArgumentPromotion.cpp \ Inliner.cpp \ Internalize.cpp \ LoopExtractor.cpp \ - LowerSetJmp.cpp \ MergeFunctions.cpp \ PartialInlining.cpp \ + PassManagerBuilder.cpp \ PruneEH.cpp \ StripDeadPrototypes.cpp \ StripSymbols.cpp diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index 435cdf4..5fef440 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -4,11 +4,13 @@ LIB= llvmmc SRCDIR= lib/MC SRCS= ELFObjectWriter.cpp \ + MCAsmBackend.cpp \ MCAsmInfo.cpp \ MCAsmInfoCOFF.cpp \ MCAsmInfoDarwin.cpp \ MCAsmStreamer.cpp \ MCAssembler.cpp \ + MCCodeGenInfo.cpp \ MCCodeEmitter.cpp \ MCContext.cpp \ MCDwarf.cpp \ @@ -18,10 +20,12 @@ SRCS= ELFObjectWriter.cpp \ MCExpr.cpp \ MCInst.cpp \ MCInstPrinter.cpp \ + MCInstrAnalysis.cpp \ MCLoggingStreamer.cpp \ MCMachOStreamer.cpp \ MCMachObjectTargetWriter.cpp \ MCNullStreamer.cpp \ + MCObjectFileInfo.cpp \ MCObjectStreamer.cpp \ MCObjectWriter.cpp \ MCPureStreamer.cpp \ @@ -32,10 +36,10 @@ SRCS= ELFObjectWriter.cpp \ MCStreamer.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ + MCTargetAsmLexer.cpp \ MCWin64EH.cpp \ MachObjectWriter.cpp \ SubtargetFeature.cpp \ - TargetAsmBackend.cpp \ WinCOFFObjectWriter.cpp \ WinCOFFStreamer.cpp diff --git a/lib/clang/libllvmmcparser/Makefile b/lib/clang/libllvmmcparser/Makefile index 4f2f8bf..48deadf 100644 --- a/lib/clang/libllvmmcparser/Makefile +++ b/lib/clang/libllvmmcparser/Makefile @@ -11,6 +11,6 @@ SRCS= AsmLexer.cpp \ MCAsmLexer.cpp \ MCAsmParser.cpp \ MCAsmParserExtension.cpp \ - TargetAsmParser.cpp + MCTargetAsmParser.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile index 1651831..a70c072 100644 --- a/lib/clang/libllvmmipscodegen/Makefile +++ b/lib/clang/libllvmmipscodegen/Makefile @@ -4,6 +4,7 @@ LIB= llvmmipscodegen SRCDIR= lib/Target/Mips SRCS= MipsAsmPrinter.cpp \ + MipsCodeEmitter.cpp \ MipsDelaySlotFiller.cpp \ MipsEmitGPRestore.cpp \ MipsExpandPseudo.cpp \ @@ -11,6 +12,7 @@ SRCS= MipsAsmPrinter.cpp \ MipsISelDAGToDAG.cpp \ MipsISelLowering.cpp \ MipsInstrInfo.cpp \ + MipsJITInfo.cpp \ MipsMCInstLower.cpp \ MipsMCSymbolRefExpr.cpp \ MipsRegisterInfo.cpp \ diff --git a/lib/clang/libllvmmipsdesc/Makefile b/lib/clang/libllvmmipsdesc/Makefile index 4147209..2313603 100644 --- a/lib/clang/libllvmmipsdesc/Makefile +++ b/lib/clang/libllvmmipsdesc/Makefile @@ -3,8 +3,11 @@ LIB= llvmmipsdesc SRCDIR= lib/Target/Mips/MCTargetDesc -SRCS= MipsMCAsmInfo.cpp \ +SRCS= MipsAsmBackend.cpp \ + MipsMCAsmInfo.cpp \ + MipsMCCodeEmitter.cpp \ MipsMCTargetDesc.cpp +CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= MipsGenInstrInfo \ MipsGenRegisterInfo \ diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index 08663e8..aec0e1e 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -3,8 +3,7 @@ LIB= llvmpowerpccodegen SRCDIR= lib/Target/PowerPC -SRCS= PPCAsmBackend.cpp \ - PPCAsmPrinter.cpp \ +SRCS= PPCAsmPrinter.cpp \ PPCBranchSelector.cpp \ PPCCodeEmitter.cpp \ PPCFrameLowering.cpp \ @@ -13,9 +12,7 @@ SRCS= PPCAsmBackend.cpp \ PPCISelLowering.cpp \ PPCInstrInfo.cpp \ PPCJITInfo.cpp \ - PPCMCCodeEmitter.cpp \ PPCMCInstLower.cpp \ - PPCPredicates.cpp \ PPCRegisterInfo.cpp \ PPCSelectionDAGInfo.cpp \ PPCSubtarget.cpp \ diff --git a/lib/clang/libllvmpowerpcdesc/Makefile b/lib/clang/libllvmpowerpcdesc/Makefile index 9207da2..c45abec 100644 --- a/lib/clang/libllvmpowerpcdesc/Makefile +++ b/lib/clang/libllvmpowerpcdesc/Makefile @@ -3,10 +3,15 @@ LIB= llvmpowerpcdesc SRCDIR= lib/Target/PowerPC/MCTargetDesc -SRCS= PPCMCAsmInfo.cpp \ - PPCMCTargetDesc.cpp +SRCS= PPCAsmBackend.cpp \ + PPCMCAsmInfo.cpp \ + PPCMCCodeEmitter.cpp \ + PPCMCTargetDesc.cpp \ + PPCPredicates.cpp +CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= PPCGenInstrInfo \ + PPCGenMCCodeEmitter \ PPCGenRegisterInfo \ PPCGenSubtargetInfo diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index 81998a4..c376b68 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -29,7 +29,6 @@ SRCS= ADCE.cpp \ SimplifyCFGPass.cpp \ SimplifyLibCalls.cpp \ Sink.cpp \ - TailDuplication.cpp \ TailRecursionElimination.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmtablegen/Makefile b/lib/clang/libllvmtablegen/Makefile new file mode 100644 index 0000000..272aa88 --- /dev/null +++ b/lib/clang/libllvmtablegen/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +LIB= llvmtablegen + +SRCDIR= lib/TableGen +SRCS= Error.cpp \ + Main.cpp \ + Record.cpp \ + TableGenBackend.cpp \ + TGLexer.cpp \ + TGParser.cpp +LLVM_REQUIRES_EH= + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile index 493b7c1..8c16f84 100644 --- a/lib/clang/libllvmtarget/Makefile +++ b/lib/clang/libllvmtarget/Makefile @@ -5,8 +5,6 @@ LIB= llvmtarget SRCDIR= lib/Target SRCS= Mangler.cpp \ Target.cpp \ - TargetAsmInfo.cpp \ - TargetAsmLexer.cpp \ TargetData.cpp \ TargetELFWriterInfo.cpp \ TargetFrameLowering.cpp \ diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index 50dae17..18eecda 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -25,6 +25,7 @@ SRCS= AddrModeMatcher.cpp \ PromoteMemoryToRegister.cpp \ SSAUpdater.cpp \ SimplifyCFG.cpp \ + SimplifyIndVar.cpp \ UnifyFunctionExitNodes.cpp \ ValueMapper.cpp diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile index 6964501..5dc45ef 100644 --- a/lib/clang/libllvmx86codegen/Makefile +++ b/lib/clang/libllvmx86codegen/Makefile @@ -3,9 +3,7 @@ LIB= llvmx86codegen SRCDIR= lib/Target/X86 -SRCS= SSEDomainFix.cpp \ - X86AsmBackend.cpp \ - X86AsmPrinter.cpp \ +SRCS= X86AsmPrinter.cpp \ X86COFFMachineModuleInfo.cpp \ X86CodeEmitter.cpp \ X86ELFWriterInfo.cpp \ @@ -16,14 +14,13 @@ SRCS= SSEDomainFix.cpp \ X86ISelLowering.cpp \ X86InstrInfo.cpp \ X86JITInfo.cpp \ - X86MCCodeEmitter.cpp \ X86MCInstLower.cpp \ - X86MachObjectWriter.cpp \ X86RegisterInfo.cpp \ X86SelectionDAGInfo.cpp \ X86Subtarget.cpp \ X86TargetMachine.cpp \ - X86TargetObjectFile.cpp + X86TargetObjectFile.cpp \ + X86VZeroUpper.cpp \ TGHDRS= Intrinsics \ X86GenCallingConv \ diff --git a/lib/clang/libllvmx86desc/Makefile b/lib/clang/libllvmx86desc/Makefile index 44b20a5..badb0f2 100644 --- a/lib/clang/libllvmx86desc/Makefile +++ b/lib/clang/libllvmx86desc/Makefile @@ -3,8 +3,12 @@ LIB= llvmx86desc SRCDIR= lib/Target/X86/MCTargetDesc -SRCS= X86MCAsmInfo.cpp \ +SRCS= X86AsmBackend.cpp \ + X86MachObjectWriter.cpp \ + X86MCAsmInfo.cpp \ + X86MCCodeEmitter.cpp \ X86MCTargetDesc.cpp +CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= X86GenInstrInfo \ X86GenRegisterInfo \ diff --git a/lib/clang/libllvmx86disassembler/Makefile b/lib/clang/libllvmx86disassembler/Makefile index b9055fc..1d1b3b6 100644 --- a/lib/clang/libllvmx86disassembler/Makefile +++ b/lib/clang/libllvmx86disassembler/Makefile @@ -8,6 +8,7 @@ SRCS= X86Disassembler.cpp TGHDRS= X86GenDisassemblerTables \ X86GenEDInfo \ + X86GenInstrInfo \ X86GenRegisterInfo .include "../clang.lib.mk" |