summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/clang/Makefile4
-rw-r--r--lib/clang/clang.build.mk16
-rw-r--r--lib/clang/include/ARMGenAsmMatcher.inc2
-rw-r--r--lib/clang/include/ARMGenFastISel.inc2
-rw-r--r--lib/clang/include/X86GenDisassemblerTables.inc2
-rw-r--r--lib/clang/include/X86GenEDInfo.inc2
-rw-r--r--lib/clang/include/clang/AST/AttrImpl.inc2
-rw-r--r--lib/clang/include/clang/Basic/Version.inc4
-rw-r--r--lib/clang/include/clang/Serialization/AttrPCHRead.inc2
-rw-r--r--lib/clang/include/clang/Serialization/AttrPCHWrite.inc2
-rw-r--r--lib/clang/include/llvm/Config/config.h19
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h63
-rw-r--r--lib/clang/libclanganalysis/Makefile4
-rw-r--r--lib/clang/libclangast/Makefile5
-rw-r--r--lib/clang/libclangbasic/Makefile4
-rw-r--r--lib/clang/libclangchecker/Makefile11
-rw-r--r--lib/clang/libclangcodegen/Makefile4
-rw-r--r--lib/clang/libclangfrontend/Makefile8
-rw-r--r--lib/clang/libclangfrontendtool/Makefile12
-rw-r--r--lib/clang/libclangindex/Makefile24
-rw-r--r--lib/clang/libclangparse/Makefile13
-rw-r--r--lib/clang/libclangsema/Makefile5
-rw-r--r--lib/clang/libclangserialization/Makefile25
-rw-r--r--lib/clang/libllvmanalysis/Makefile7
-rw-r--r--lib/clang/libllvmarmasmparser/Makefile7
-rw-r--r--lib/clang/libllvmarmasmprinter/Makefile5
-rw-r--r--lib/clang/libllvmarmcodegen/Makefile13
-rw-r--r--lib/clang/libllvmbitreader/Makefile3
-rw-r--r--lib/clang/libllvmbitwriter/Makefile3
-rw-r--r--lib/clang/libllvmcodegen/Makefile7
-rw-r--r--lib/clang/libllvmcore/Makefile1
-rw-r--r--lib/clang/libllvmipo/Makefile2
-rw-r--r--lib/clang/libllvmmc/Makefile7
-rw-r--r--lib/clang/libllvmmipscodegen/Makefile3
-rw-r--r--lib/clang/libllvmpowerpccodegen/Makefile2
-rw-r--r--lib/clang/libllvmscalaropts/Makefile5
-rw-r--r--lib/clang/libllvmsupport/Makefile7
-rw-r--r--lib/clang/libllvmsystem/Makefile5
-rw-r--r--lib/clang/libllvmtarget/Makefile1
-rw-r--r--lib/clang/libllvmtransformutils/Makefile1
-rw-r--r--lib/clang/libllvmx86asmprinter/Makefile14
-rw-r--r--lib/clang/libllvmx86codegen/Makefile5
-rw-r--r--lib/clang/libllvmx86disassembler/Makefile13
43 files changed, 260 insertions, 86 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile
index cced6c1..39bd4c7 100644
--- a/lib/clang/Makefile
+++ b/lib/clang/Makefile
@@ -6,11 +6,14 @@ SUBDIR= libclanganalysis \
libclangchecker \
libclangcodegen \
libclangdriver \
+ libclangindex \
libclangfrontend \
+ libclangfrontendtool \
libclanglex \
libclangparse \
libclangrewrite \
libclangsema \
+ libclangserialization \
\
libllvmanalysis \
libllvmasmparser \
@@ -44,6 +47,7 @@ SUBDIR= libclanganalysis \
libllvmx86asmparser \
libllvmx86asmprinter \
libllvmx86codegen \
+ libllvmx86disassembler \
libllvmx86info \
\
include
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index 86384db..e1728d8 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -48,6 +48,8 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/Intrinsics.td
CallingConv/-gen-callingconv \
CodeEmitter/-gen-emitter \
DAGISel/-gen-dag-isel \
+ DisassemblerTables/-gen-disassembler \
+ EDInfo/-gen-enhanced-disassembly-info \
FastISel/-gen-fast-isel \
InstrInfo/-gen-instr-desc \
InstrNames/-gen-instr-enums \
@@ -65,16 +67,28 @@ Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
-gen-clang-attr-classes ${.ALLSRC} > ${.TARGET}
+AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
+ -gen-clang-attr-impl ${.ALLSRC} > ${.TARGET}
+
AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
-gen-clang-attr-list ${.ALLSRC} > ${.TARGET}
+AttrPCHRead.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
+ -gen-clang-attr-pch-read ${.ALLSRC} > ${.TARGET}
+
+AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
+ -gen-clang-attr-pch-write ${.ALLSRC} > ${.TARGET}
+
DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
-gen-clang-decl-nodes ${.ALLSRC} > ${.TARGET}
StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
- ${TBLGEN} -I${CLANG_SRCS}/include/clang/AST \
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
-gen-clang-stmt-nodes ${.ALLSRC} > ${.TARGET}
arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
diff --git a/lib/clang/include/ARMGenAsmMatcher.inc b/lib/clang/include/ARMGenAsmMatcher.inc
new file mode 100644
index 0000000..e48285d1
--- /dev/null
+++ b/lib/clang/include/ARMGenAsmMatcher.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenAsmMatcher.inc.h"
diff --git a/lib/clang/include/ARMGenFastISel.inc b/lib/clang/include/ARMGenFastISel.inc
new file mode 100644
index 0000000..261ed9a
--- /dev/null
+++ b/lib/clang/include/ARMGenFastISel.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenFastISel.inc.h"
diff --git a/lib/clang/include/X86GenDisassemblerTables.inc b/lib/clang/include/X86GenDisassemblerTables.inc
new file mode 100644
index 0000000..82218ef
--- /dev/null
+++ b/lib/clang/include/X86GenDisassemblerTables.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenDisassemblerTables.inc.h"
diff --git a/lib/clang/include/X86GenEDInfo.inc b/lib/clang/include/X86GenEDInfo.inc
new file mode 100644
index 0000000..7b4cd8f
--- /dev/null
+++ b/lib/clang/include/X86GenEDInfo.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenEDInfo.inc.h"
diff --git a/lib/clang/include/clang/AST/AttrImpl.inc b/lib/clang/include/clang/AST/AttrImpl.inc
new file mode 100644
index 0000000..b3efb1b
--- /dev/null
+++ b/lib/clang/include/clang/AST/AttrImpl.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrImpl.inc.h"
diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc
index f8515b7..93c5deb 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 8
#define CLANG_VENDOR "FreeBSD "
-#define CLANG_VENDOR_SUFFIX " 20100720"
+#define CLANG_VENDOR_SUFFIX " 20100917"
-#define SVN_REVISION "108428"
+#define SVN_REVISION "114020"
diff --git a/lib/clang/include/clang/Serialization/AttrPCHRead.inc b/lib/clang/include/clang/Serialization/AttrPCHRead.inc
new file mode 100644
index 0000000..8fd4ad3
--- /dev/null
+++ b/lib/clang/include/clang/Serialization/AttrPCHRead.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrPCHRead.inc.h"
diff --git a/lib/clang/include/clang/Serialization/AttrPCHWrite.inc b/lib/clang/include/clang/Serialization/AttrPCHWrite.inc
new file mode 100644
index 0000000..0fb802c
--- /dev/null
+++ b/lib/clang/include/clang/Serialization/AttrPCHWrite.inc
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrPCHWrite.inc.h"
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index 6f222d5..0b2a9d4 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -2,6 +2,9 @@
/* include/llvm/Config/config.h. Generated from config.h.in by configure. */
/* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */
+#ifndef CONFIG_H
+#define CONFIG_H
+
/* 32 bit multilib directory. */
#define CXX_INCLUDE_32BIT_DIR ""
@@ -65,6 +68,9 @@
/* Define to 1 if you have the `closedir' function. */
#define HAVE_CLOSEDIR 1
+/* Define to 1 if you have the <CrashReporterClient.h> header file. */
+/* #undef HAVE_CRASHREPORTERCLIENT_H */
+
/* Define to 1 if you have the <ctype.h> header file. */
#define HAVE_CTYPE_H 1
@@ -144,6 +150,9 @@
/* Define to 1 if you have the `getrusage' function. */
#define HAVE_GETRUSAGE 1
+/* Have Darwin getsect() support */
+/* #undef HAVE_GETSECT */
+
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
@@ -217,6 +226,9 @@
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
/* #undef HAVE_MACH_O_DYLD_H */
+/* Define to 1 if you have the <mach-o/getsect.h> header file. */
+/* #undef HAVE_MACH_O_GETSECT_H */
+
/* Define if mallinfo() is available on this platform. */
/* #undef HAVE_MALLINFO */
@@ -463,6 +475,9 @@
/* LLVM architecture name for the native architecture, if available */
#define LLVM_NATIVE_ARCH X86Target
+/* Short LLVM architecture name for the native architecture, if available */
+#define LLVM_NATIVE_ARCHNAME X86
+
/* Define if this is Unixish platform */
#define LLVM_ON_UNIX 1
@@ -494,7 +509,7 @@
/* #undef LLVM_PATH_TWOPI */
/* Installation prefix directory */
-#define LLVM_PREFIX "/usr/local"
+#define LLVM_PREFIX "/usr"
/* Define if the OS needs help to load dependent libraries for dlopen(). */
#define LTDL_DLOPEN_DEPLIBS 1
@@ -567,3 +582,5 @@
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
+
+#endif
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
new file mode 100644
index 0000000..1e11aab
--- /dev/null
+++ b/lib/clang/include/llvm/Config/llvm-config.h
@@ -0,0 +1,63 @@
+/* $FreeBSD$ */
+/* include/llvm/Config/llvm-config.h. Generated from llvm-config.h.in by configure. */
+/*===-- llvm/config/llvm-config.h - llvm configure variable -------*- 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 llvm variables from configure so that
+ they can be in exported headers and won't override package specific
+ directives. This is a C file so we can include it in the llvm-c headers. */
+
+/* To avoid multiple inclusions of these variables when we include the exported
+ headers and config.h, conditionally include these. */
+/* TODO: This is a bit of a hack. */
+#ifndef CONFIG_H
+
+/* Build multithreading support into LLVM */
+/* #undef LLVM_MULTITHREADED */
+
+/* LLVM architecture name for the native architecture, if available */
+#define LLVM_NATIVE_ARCH X86Target
+
+/* Short LLVM architecture name for the native architecture, if available */
+#define LLVM_NATIVE_ARCHNAME X86
+
+/* Define if this is Unixish platform */
+#define LLVM_ON_UNIX 1
+
+/* Define if this is Win32ish platform */
+/* #undef LLVM_ON_WIN32 */
+
+/* Define to path to circo program if found or 'echo circo' otherwise */
+/* #undef LLVM_PATH_CIRCO */
+
+/* Define to path to dot program if found or 'echo dot' otherwise */
+/* #undef LLVM_PATH_DOT */
+
+/* Define to path to dotty program if found or 'echo dotty' otherwise */
+/* #undef LLVM_PATH_DOTTY */
+
+/* Define to path to fdp program if found or 'echo fdp' otherwise */
+/* #undef LLVM_PATH_FDP */
+
+/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
+/* #undef LLVM_PATH_GRAPHVIZ */
+
+/* Define to path to gv program if found or 'echo gv' otherwise */
+/* #undef LLVM_PATH_GV */
+
+/* Define to path to neato program if found or 'echo neato' otherwise */
+/* #undef LLVM_PATH_NEATO */
+
+/* Define to path to twopi program if found or 'echo twopi' otherwise */
+/* #undef LLVM_PATH_TWOPI */
+
+/* Installation prefix directory */
+#define LLVM_PREFIX "/usr"
+
+#endif
diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile
index ad64529..b3877d4 100644
--- a/lib/clang/libclanganalysis/Makefile
+++ b/lib/clang/libclanganalysis/Makefile
@@ -5,9 +5,13 @@ LIB= clanganalysis
SRCDIR= tools/clang/lib/Analysis
SRCS= AnalysisContext.cpp \
CFG.cpp \
+ CFGStmtMap.cpp \
+ FormatString.cpp \
LiveVariables.cpp \
PrintfFormatString.cpp \
+ PseudoConstantAnalysis.cpp \
ReachableCode.cpp \
+ ScanfFormatString.cpp \
UninitializedValues.cpp
TGHDRS= AttrList \
diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile
index 06cb000..7e8731f 100644
--- a/lib/clang/libclangast/Makefile
+++ b/lib/clang/libclangast/Makefile
@@ -25,6 +25,8 @@ SRCS= APValue.cpp \
ExprConstant.cpp \
FullExpr.cpp \
InheritViz.cpp \
+ ItaniumCXXABI.cpp \
+ MicrosoftCXXABI.cpp \
NestedNameSpecifier.cpp \
ParentMap.cpp \
RecordLayout.cpp \
@@ -41,7 +43,8 @@ SRCS= APValue.cpp \
TypeLoc.cpp \
TypePrinter.cpp
-TGHDRS= AttrList \
+TGHDRS= AttrImpl \
+ AttrList \
Attrs \
DeclNodes \
DiagnosticASTKinds \
diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile
index cd57855..5e5c5b0 100644
--- a/lib/clang/libclangbasic/Makefile
+++ b/lib/clang/libclangbasic/Makefile
@@ -15,10 +15,8 @@ SRCS= Builtins.cpp \
TokenKinds.cpp \
Version.cpp
-TGHDRS= AttrList \
- Attrs \
+TGHDRS= DiagnosticAnalysisKinds \
DiagnosticASTKinds \
- DiagnosticAnalysisKinds \
DiagnosticCommonKinds \
DiagnosticDriverKinds \
DiagnosticFrontendKinds \
diff --git a/lib/clang/libclangchecker/Makefile b/lib/clang/libclangchecker/Makefile
index 0bcecef..c7d2d71 100644
--- a/lib/clang/libclangchecker/Makefile
+++ b/lib/clang/libclangchecker/Makefile
@@ -6,6 +6,7 @@ SRCDIR= tools/clang/lib/Checker
SRCS= AdjustedReturnValueChecker.cpp \
AggExprVisitor.cpp \
AnalysisConsumer.cpp \
+ AnalysisManager.cpp \
ArrayBoundChecker.cpp \
AttrNonNullChecker.cpp \
BasicConstraintManager.cpp \
@@ -18,7 +19,6 @@ SRCS= AdjustedReturnValueChecker.cpp \
CFRefCount.cpp \
CStringChecker.cpp \
CallAndMessageChecker.cpp \
- CallInliner.cpp \
CastSizeChecker.cpp \
CastToStructChecker.cpp \
CheckDeadStores.cpp \
@@ -27,6 +27,7 @@ SRCS= AdjustedReturnValueChecker.cpp \
CheckSecuritySyntaxOnly.cpp \
CheckSizeofPointer.cpp \
Checker.cpp \
+ CheckerHelpers.cpp \
CocoaConventions.cpp \
DereferenceChecker.cpp \
DivZeroChecker.cpp \
@@ -67,8 +68,8 @@ SRCS= AdjustedReturnValueChecker.cpp \
SimpleConstraintManager.cpp \
SimpleSValuator.cpp \
StackAddrLeakChecker.cpp \
- StreamChecker.cpp \
Store.cpp \
+ StreamChecker.cpp \
SymbolManager.cpp \
UndefBranchChecker.cpp \
UndefCapturedBlockVarChecker.cpp \
@@ -76,13 +77,13 @@ SRCS= AdjustedReturnValueChecker.cpp \
UndefinedArraySubscriptChecker.cpp \
UndefinedAssignmentChecker.cpp \
UnixAPIChecker.cpp \
+ UnreachableCodeChecker.cpp \
VLASizeChecker.cpp \
ValueManager.cpp
-TGHDRS= Attrs \
- AttrList \
+TGHDRS= AttrList \
+ Attrs \
DeclNodes \
- DiagnosticAnalysisKinds \
DiagnosticCommonKinds \
StmtNodes
diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile
index 82e423b..80f203a 100644
--- a/lib/clang/libclangcodegen/Makefile
+++ b/lib/clang/libclangcodegen/Makefile
@@ -38,8 +38,8 @@ SRCS= BackendUtil.cpp \
ModuleBuilder.cpp \
TargetInfo.cpp
-TGHDRS= Attrs \
- AttrList \
+TGHDRS= AttrList \
+ Attrs \
DeclNodes \
DiagnosticCommonKinds \
DiagnosticFrontendKinds \
diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile
index 7024a60..d655e44 100644
--- a/lib/clang/libclangfrontend/Makefile
+++ b/lib/clang/libclangfrontend/Makefile
@@ -17,17 +17,9 @@ SRCS= ASTConsumers.cpp \
FrontendAction.cpp \
FrontendActions.cpp \
FrontendOptions.cpp \
- GeneratePCH.cpp \
InitHeaderSearch.cpp \
InitPreprocessor.cpp \
LangStandards.cpp \
- PCHReader.cpp \
- PCHReaderDecl.cpp \
- PCHReaderStmt.cpp \
- PCHWriter.cpp \
- PCHWriterDecl.cpp \
- PCHWriterStmt.cpp \
- PrintParserCallbacks.cpp \
PrintPreprocessedOutput.cpp \
StmtXML.cpp \
TextDiagnosticBuffer.cpp \
diff --git a/lib/clang/libclangfrontendtool/Makefile b/lib/clang/libclangfrontendtool/Makefile
new file mode 100644
index 0000000..fd52d67
--- /dev/null
+++ b/lib/clang/libclangfrontendtool/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+LIB= clangfrontendtool
+
+SRCDIR= tools/clang/lib/FrontendTool
+SRCS= ExecuteCompilerInvocation.cpp
+
+TGHDRS= CC1Options \
+ DiagnosticCommonKinds \
+ DiagnosticFrontendKinds
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libclangindex/Makefile b/lib/clang/libclangindex/Makefile
new file mode 100644
index 0000000..0980da0
--- /dev/null
+++ b/lib/clang/libclangindex/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+LIB= clangindex
+
+SRCDIR= tools/clang/lib/Index
+SRCS= ASTLocation.cpp \
+ Analyzer.cpp \
+ CallGraph.cpp \
+ DeclReferenceMap.cpp \
+ Entity.cpp \
+ GlobalSelector.cpp \
+ Handlers.cpp \
+ IndexProvider.cpp \
+ Indexer.cpp \
+ Program.cpp \
+ SelectorMap.cpp \
+
+TGHDRS= AttrList \
+ Attrs \
+ DeclNodes \
+ DiagnosticCommonKinds \
+ StmtNodes
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile
index 0877749..ee272fe 100644
--- a/lib/clang/libclangparse/Makefile
+++ b/lib/clang/libclangparse/Makefile
@@ -3,9 +3,7 @@
LIB= clangparse
SRCDIR= tools/clang/lib/Parse
-SRCS= AttributeList.cpp \
- DeclSpec.cpp \
- MinimalAction.cpp \
+SRCS= ParseAST.cpp \
ParseCXXInlineMethods.cpp \
ParseDecl.cpp \
ParseDeclCXX.cpp \
@@ -19,7 +17,12 @@ SRCS= AttributeList.cpp \
ParseTentative.cpp \
Parser.cpp
-TGHDRS= DiagnosticCommonKinds \
- DiagnosticParseKinds
+TGHDRS= AttrList \
+ Attrs \
+ DeclNodes \
+ DiagnosticCommonKinds \
+ DiagnosticParseKinds \
+ DiagnosticSemaKinds \
+ StmtNodes
.include "../clang.lib.mk"
diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile
index 865c7e7..96571cc 100644
--- a/lib/clang/libclangsema/Makefile
+++ b/lib/clang/libclangsema/Makefile
@@ -4,11 +4,11 @@ LIB= clangsema
SRCDIR= tools/clang/lib/Sema
SRCS= AnalysisBasedWarnings.cpp \
+ AttributeList.cpp \
CodeCompleteConsumer.cpp \
- IdentifierResolver.cpp \
+ DeclSpec.cpp \
IdentifierResolver.cpp \
JumpDiagnostics.cpp \
- ParseAST.cpp \
Sema.cpp \
SemaAccess.cpp \
SemaAttr.cpp \
@@ -32,7 +32,6 @@ SRCS= AnalysisBasedWarnings.cpp \
SemaTemplate.cpp \
SemaTemplateDeduction.cpp \
SemaTemplateInstantiate.cpp \
- SemaTemplateInstantiate.cpp \
SemaTemplateInstantiateDecl.cpp \
SemaType.cpp \
TargetAttributesSema.cpp
diff --git a/lib/clang/libclangserialization/Makefile b/lib/clang/libclangserialization/Makefile
new file mode 100644
index 0000000..1dbcf5d
--- /dev/null
+++ b/lib/clang/libclangserialization/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+LIB= clangserialization
+
+SRCDIR= tools/clang/lib/Serialization
+SRCS= ASTCommon.cpp \
+ ASTReader.cpp \
+ ASTReaderDecl.cpp \
+ ASTReaderStmt.cpp \
+ ASTWriter.cpp \
+ ASTWriterDecl.cpp \
+ ASTWriterStmt.cpp \
+ GeneratePCH.cpp
+
+TGHDRS= AttrList \
+ AttrPCHRead \
+ AttrPCHWrite \
+ Attrs \
+ DeclNodes \
+ DiagnosticCommonKinds \
+ DiagnosticFrontendKinds \
+ DiagnosticSemaKinds \
+ StmtNodes
+
+.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile
index 0edabfd..39881aa 100644
--- a/lib/clang/libllvmanalysis/Makefile
+++ b/lib/clang/libllvmanalysis/Makefile
@@ -8,22 +8,20 @@ SRCS= AliasAnalysis.cpp \
AliasAnalysisEvaluator.cpp \
AliasDebugger.cpp \
AliasSetTracker.cpp \
- Analysis.cpp \
BasicAliasAnalysis.cpp \
CFGPrinter.cpp \
CaptureTracking.cpp \
ConstantFolding.cpp \
DbgInfoPrinter.cpp \
DebugInfo.cpp \
+ DomPrinter.cpp \
IVUsers.cpp \
InlineCost.cpp \
- InstCount.cpp \
InstructionSimplify.cpp \
Interval.cpp \
IntervalPartition.cpp \
LazyValueInfo.cpp \
LibCallAliasAnalysis.cpp \
- LibCallSemantics.cpp \
Lint.cpp \
LiveValues.cpp \
Loads.cpp \
@@ -41,12 +39,13 @@ SRCS= AliasAnalysis.cpp \
ProfileInfoLoader.cpp \
ProfileInfoLoaderPass.cpp \
ProfileVerifierPass.cpp \
+ RegionInfo.cpp \
+ RegionPrinter.cpp \
ScalarEvolution.cpp \
ScalarEvolutionAliasAnalysis.cpp \
ScalarEvolutionExpander.cpp \
ScalarEvolutionNormalization.cpp \
SparsePropagation.cpp \
- Trace.cpp \
ValueTracking.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmarmasmparser/Makefile b/lib/clang/libllvmarmasmparser/Makefile
index 6fe076b..95dfc5b 100644
--- a/lib/clang/libllvmarmasmparser/Makefile
+++ b/lib/clang/libllvmarmasmparser/Makefile
@@ -4,10 +4,11 @@ LIB= llvmarmasmparser
SRCDIR= lib/Target/ARM/AsmParser
INCDIR= lib/Target/ARM
-SRCS= ARMAsmParser.cpp \
- ARMAsmLexer.cpp
+SRCS= ARMAsmLexer.cpp \
+ ARMAsmParser.cpp
-TGHDRS= ARMGenInstrNames \
+TGHDRS= ARMGenAsmMatcher \
+ ARMGenInstrNames \
ARMGenRegisterInfo.h \
ARMGenRegisterNames
diff --git a/lib/clang/libllvmarmasmprinter/Makefile b/lib/clang/libllvmarmasmprinter/Makefile
index 1566ea5..bd333a7 100644
--- a/lib/clang/libllvmarmasmprinter/Makefile
+++ b/lib/clang/libllvmarmasmprinter/Makefile
@@ -4,13 +4,10 @@ LIB= llvmarmasmprinter
SRCDIR= lib/Target/ARM/AsmPrinter
INCDIR= lib/Target/ARM
-SRCS= ARMAsmPrinter.cpp \
- ARMInstPrinter.cpp \
- ARMMCInstLower.cpp
+SRCS= ARMInstPrinter.cpp
TGHDRS= ARMGenAsmWriter \
ARMGenInstrNames \
- ARMGenRegisterInfo.h \
ARMGenRegisterNames
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile
index de34461..4120251 100644
--- a/lib/clang/libllvmarmcodegen/Makefile
+++ b/lib/clang/libllvmarmcodegen/Makefile
@@ -3,19 +3,22 @@
LIB= llvmarmcodegen
SRCDIR= lib/Target/ARM
-SRCS= ARMBaseInstrInfo.cpp \
+SRCS= ARMAsmPrinter.cpp \
+ ARMBaseInstrInfo.cpp \
ARMBaseRegisterInfo.cpp \
ARMCodeEmitter.cpp \
ARMConstantIslandPass.cpp \
ARMConstantPoolValue.cpp \
ARMExpandPseudoInsts.cpp \
+ ARMFastISel.cpp \
+ ARMGlobalMerge.cpp \
ARMISelDAGToDAG.cpp \
ARMISelLowering.cpp \
ARMInstrInfo.cpp \
ARMJITInfo.cpp \
ARMLoadStoreOptimizer.cpp \
- ARMLoadStoreOptimizer.cpp \
ARMMCAsmInfo.cpp \
+ ARMMCInstLower.cpp \
ARMRegisterInfo.cpp \
ARMSelectionDAGInfo.cpp \
ARMSubtarget.cpp \
@@ -31,13 +34,15 @@ SRCS= ARMBaseInstrInfo.cpp \
Thumb2RegisterInfo.cpp \
Thumb2SizeReduction.cpp
-TGHDRS= ARMGenCallingConv \
+TGHDRS= ARMGenAsmWriter \
+ ARMGenCallingConv \
ARMGenCodeEmitter \
ARMGenDAGISel \
+ ARMGenFastISel \
ARMGenInstrInfo \
ARMGenInstrNames \
- ARMGenRegisterInfo.h \
ARMGenRegisterInfo \
+ ARMGenRegisterInfo.h \
ARMGenRegisterNames \
ARMGenSubtarget \
Intrinsics
diff --git a/lib/clang/libllvmbitreader/Makefile b/lib/clang/libllvmbitreader/Makefile
index 4358984..c426680 100644
--- a/lib/clang/libllvmbitreader/Makefile
+++ b/lib/clang/libllvmbitreader/Makefile
@@ -3,8 +3,7 @@
LIB= llvmbitreader
SRCDIR= lib/Bitcode/Reader
-SRCS= BitReader.cpp \
- BitcodeReader.cpp
+SRCS= BitcodeReader.cpp
TGHDRS= Intrinsics
diff --git a/lib/clang/libllvmbitwriter/Makefile b/lib/clang/libllvmbitwriter/Makefile
index 5e64bdb..3431b21 100644
--- a/lib/clang/libllvmbitwriter/Makefile
+++ b/lib/clang/libllvmbitwriter/Makefile
@@ -3,8 +3,7 @@
LIB= llvmbitwriter
SRCDIR= lib/Bitcode/Writer
-SRCS= BitWriter.cpp \
- BitcodeWriter.cpp \
+SRCS= BitcodeWriter.cpp \
BitcodeWriterPass.cpp \
ValueEnumerator.cpp
diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile
index caed836..4a450bd 100644
--- a/lib/clang/libllvmcodegen/Makefile
+++ b/lib/clang/libllvmcodegen/Makefile
@@ -15,7 +15,6 @@ SRCS= AggressiveAntiDepBreaker.cpp \
ELFCodeEmitter.cpp \
ELFWriter.cpp \
GCMetadata.cpp \
- GCMetadataPrinter.cpp \
GCStrategy.cpp \
IfConversion.cpp \
InlineSpiller.cpp \
@@ -26,6 +25,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
LiveIntervalAnalysis.cpp \
LiveStackAnalysis.cpp \
LiveVariables.cpp \
+ LocalStackSlotAllocation.cpp \
LowerSubregs.cpp \
MachineBasicBlock.cpp \
MachineCSE.cpp \
@@ -46,10 +46,10 @@ SRCS= AggressiveAntiDepBreaker.cpp \
MachineVerifier.cpp \
ObjectCodeEmitter.cpp \
OcamlGC.cpp \
- OptimizeExts.cpp \
OptimizePHIs.cpp \
PHIElimination.cpp \
Passes.cpp \
+ PeepholeOptimizer.cpp \
PostRAHazardRecognizer.cpp \
PostRASchedulerList.cpp \
PreAllocSplitting.cpp \
@@ -61,6 +61,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
RegAllocPBQP.cpp \
RegisterCoalescer.cpp \
RegisterScavenging.cpp \
+ RenderMachineFunction.cpp \
ScheduleDAG.cpp \
ScheduleDAGEmit.cpp \
ScheduleDAGInstrs.cpp \
@@ -71,6 +72,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \
SjLjEHPrepare.cpp \
SlotIndexes.cpp \
Spiller.cpp \
+ SplitKit.cpp \
+ Splitter.cpp \
StackProtector.cpp \
StackSlotColoring.cpp \
StrongPHIElimination.cpp \
diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile
index 4fa5471..08822e9 100644
--- a/lib/clang/libllvmcore/Makefile
+++ b/lib/clang/libllvmcore/Makefile
@@ -27,6 +27,7 @@ SRCS= AsmWriter.cpp \
Module.cpp \
Pass.cpp \
PassManager.cpp \
+ PassRegistry.cpp \
PrintModulePass.cpp \
Type.cpp \
TypeSymbolTable.cpp \
diff --git a/lib/clang/libllvmipo/Makefile b/lib/clang/libllvmipo/Makefile
index 24dc9ba..87070ec 100644
--- a/lib/clang/libllvmipo/Makefile
+++ b/lib/clang/libllvmipo/Makefile
@@ -12,7 +12,6 @@ SRCS= ArgumentPromotion.cpp \
GlobalDCE.cpp \
GlobalOpt.cpp \
IPConstantPropagation.cpp \
- IPO.cpp \
InlineAlways.cpp \
InlineSimple.cpp \
Inliner.cpp \
@@ -20,6 +19,7 @@ SRCS= ArgumentPromotion.cpp \
LoopExtractor.cpp \
LowerSetJmp.cpp \
MergeFunctions.cpp \
+ PartialInlining.cpp \
PartialSpecialization.cpp \
PruneEH.cpp \
StripDeadPrototypes.cpp \
diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile
index 92ce186..ed281cb 100644
--- a/lib/clang/libllvmmc/Makefile
+++ b/lib/clang/libllvmmc/Makefile
@@ -3,18 +3,18 @@
LIB= llvmmc
SRCDIR= lib/MC
-SRCS= MCAsmInfo.cpp \
+SRCS= ELFObjectWriter.cpp \
+ MCAsmInfo.cpp \
MCAsmInfoCOFF.cpp \
MCAsmInfoDarwin.cpp \
MCAsmStreamer.cpp \
MCAssembler.cpp \
MCCodeEmitter.cpp \
MCContext.cpp \
- MCDisassembler.cpp \
+ MCELFStreamer.cpp \
MCExpr.cpp \
MCInst.cpp \
MCInstPrinter.cpp \
- MCLabel.cpp \
MCLoggingStreamer.cpp \
MCMachOStreamer.cpp \
MCNullStreamer.cpp \
@@ -26,7 +26,6 @@ SRCS= MCAsmInfo.cpp \
MCSectionMachO.cpp \
MCStreamer.cpp \
MCSymbol.cpp \
- MCValue.cpp \
MachObjectWriter.cpp \
TargetAsmBackend.cpp \
WinCOFFObjectWriter.cpp \
diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile
index d9b280f..5fd50bd 100644
--- a/lib/clang/libllvmmipscodegen/Makefile
+++ b/lib/clang/libllvmmipscodegen/Makefile
@@ -15,13 +15,12 @@ SRCS= MipsDelaySlotFiller.cpp \
MipsTargetObjectFile.cpp
TGHDRS= Intrinsics \
- MipsGenAsmWriter \
MipsGenCallingConv \
MipsGenDAGISel \
MipsGenInstrInfo \
MipsGenInstrNames \
- MipsGenRegisterInfo.h \
MipsGenRegisterInfo \
+ MipsGenRegisterInfo.h \
MipsGenRegisterNames \
MipsGenSubtarget
diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile
index 4c66f82..58b01c9 100644
--- a/lib/clang/libllvmpowerpccodegen/Makefile
+++ b/lib/clang/libllvmpowerpccodegen/Makefile
@@ -23,8 +23,8 @@ TGHDRS= Intrinsics \
PPCGenDAGISel \
PPCGenInstrInfo \
PPCGenInstrNames \
- PPCGenRegisterInfo.h \
PPCGenRegisterInfo \
+ PPCGenRegisterInfo.h \
PPCGenRegisterNames \
PPCGenSubtarget
diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile
index aee5d3e..f057549 100644
--- a/lib/clang/libllvmscalaropts/Makefile
+++ b/lib/clang/libllvmscalaropts/Makefile
@@ -7,6 +7,7 @@ SRCS= ADCE.cpp \
BasicBlockPlacement.cpp \
CodeGenPrepare.cpp \
ConstantProp.cpp \
+ CorrelatedValuePropagation.cpp \
DCE.cpp \
DeadStoreElimination.cpp \
GEPSplitter.cpp \
@@ -22,14 +23,12 @@ SRCS= ADCE.cpp \
LoopUnswitch.cpp \
MemCpyOptimizer.cpp \
Reassociate.cpp \
- Reg2Mem.cpp \
SCCP.cpp \
- Scalar.cpp \
ScalarReplAggregates.cpp \
SimplifyCFGPass.cpp \
- Sink.cpp \
SimplifyHalfPowrLibCalls.cpp \
SimplifyLibCalls.cpp \
+ Sink.cpp \
TailDuplication.cpp \
TailRecursionElimination.cpp
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index 1ed069e..e26da0a 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -9,24 +9,20 @@ SRCS= APFloat.cpp \
Allocator.cpp \
CommandLine.cpp \
ConstantRange.cpp \
+ CrashRecoveryContext.cpp \
DAGDeltaAlgorithm.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 \
SmallVector.cpp \
SourceMgr.cpp \
@@ -35,7 +31,6 @@ SRCS= APFloat.cpp \
StringMap.cpp \
StringPool.cpp \
StringRef.cpp \
- SystemUtils.cpp \
TargetRegistry.cpp \
Timer.cpp \
Triple.cpp \
diff --git a/lib/clang/libllvmsystem/Makefile b/lib/clang/libllvmsystem/Makefile
index 0c08ec2..99957f6 100644
--- a/lib/clang/libllvmsystem/Makefile
+++ b/lib/clang/libllvmsystem/Makefile
@@ -3,13 +3,10 @@
LIB= llvmsystem
SRCDIR= lib/System
-SRCS= Alarm.cpp \
- Atomic.cpp \
- Disassembler.cpp \
+SRCS= Atomic.cpp \
DynamicLibrary.cpp \
Errno.cpp \
Host.cpp \
- IncludeFile.cpp \
Memory.cpp \
Mutex.cpp \
Path.cpp \
diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile
index de00bc6..71306a3 100644
--- a/lib/clang/libllvmtarget/Makefile
+++ b/lib/clang/libllvmtarget/Makefile
@@ -11,7 +11,6 @@ SRCS= Mangler.cpp \
TargetELFWriterInfo.cpp \
TargetFrameInfo.cpp \
TargetInstrInfo.cpp \
- TargetIntrinsicInfo.cpp \
TargetLoweringObjectFile.cpp \
TargetMachine.cpp \
TargetRegisterInfo.cpp \
diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile
index b4bdbec..0fa0c96 100644
--- a/lib/clang/libllvmtransformutils/Makefile
+++ b/lib/clang/libllvmtransformutils/Makefile
@@ -24,7 +24,6 @@ SRCS= AddrModeMatcher.cpp \
Mem2Reg.cpp \
PromoteMemoryToRegister.cpp \
SSAUpdater.cpp \
- SSI.cpp \
SimplifyCFG.cpp \
UnifyFunctionExitNodes.cpp \
ValueMapper.cpp
diff --git a/lib/clang/libllvmx86asmprinter/Makefile b/lib/clang/libllvmx86asmprinter/Makefile
index 9a21b5e..75a3d1a 100644
--- a/lib/clang/libllvmx86asmprinter/Makefile
+++ b/lib/clang/libllvmx86asmprinter/Makefile
@@ -5,15 +5,11 @@ LIB= llvmx86asmprinter
SRCDIR= lib/Target/X86/AsmPrinter
INCDIR= lib/Target/X86
SRCS= X86ATTInstPrinter.cpp \
- X86AsmPrinter.cpp \
- X86IntelInstPrinter.cpp \
- X86MCInstLower.cpp
+ X86InstComments.cpp \
+ X86IntelInstPrinter.cpp
-TGHDRS= X86GenAsmWriter1 \
- X86GenAsmWriter \
- X86GenInstrInfo \
- X86GenInstrNames \
- X86GenRegisterInfo.h \
- X86GenRegisterNames
+TGHDRS= X86GenAsmWriter \
+ X86GenAsmWriter1 \
+ X86GenInstrNames
.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile
index df44a2d..4f7e8d1 100644
--- a/lib/clang/libllvmx86codegen/Makefile
+++ b/lib/clang/libllvmx86codegen/Makefile
@@ -5,18 +5,19 @@ LIB= llvmx86codegen
SRCDIR= lib/Target/X86
SRCS= SSEDomainFix.cpp \
X86AsmBackend.cpp \
+ X86AsmPrinter.cpp \
X86COFFMachineModuleInfo.cpp \
X86CodeEmitter.cpp \
X86ELFWriterInfo.cpp \
X86FastISel.cpp \
X86FloatingPoint.cpp \
- X86FloatingPointRegKill.cpp \
X86ISelDAGToDAG.cpp \
X86ISelLowering.cpp \
X86InstrInfo.cpp \
X86JITInfo.cpp \
X86MCAsmInfo.cpp \
X86MCCodeEmitter.cpp \
+ X86MCInstLower.cpp \
X86RegisterInfo.cpp \
X86SelectionDAGInfo.cpp \
X86Subtarget.cpp \
@@ -29,8 +30,8 @@ TGHDRS= Intrinsics \
X86GenFastISel \
X86GenInstrInfo \
X86GenInstrNames \
- X86GenRegisterInfo.h \
X86GenRegisterInfo \
+ X86GenRegisterInfo.h \
X86GenRegisterNames \
X86GenSubtarget
diff --git a/lib/clang/libllvmx86disassembler/Makefile b/lib/clang/libllvmx86disassembler/Makefile
new file mode 100644
index 0000000..0b88643
--- /dev/null
+++ b/lib/clang/libllvmx86disassembler/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+LIB= llvmx86disassembler
+
+SRCDIR= lib/Target/X86/Disassembler
+INCDIR= lib/Target/X86
+SRCS= X86Disassembler.cpp
+
+TGHDRS= X86GenDisassemblerTables \
+ X86GenEDInfo \
+ X86GenRegisterNames
+
+.include "../clang.lib.mk"
OpenPOWER on IntegriCloud