diff options
Diffstat (limited to 'lib')
41 files changed, 173 insertions, 147 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index 2310ab9..ca5e1da 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -37,7 +37,6 @@ SUBDIR= libclanganalysis \ ${_libclangstaticanalyzer} \ \ libllvmanalysis \ - libllvmarchive \ libllvmasmparser \ libllvmasmprinter \ libllvmbitreader \ @@ -54,6 +53,7 @@ SUBDIR= libclanganalysis \ libllvmmcparser \ libllvmobjcarcopts \ libllvmobject \ + libllvmoption \ libllvmscalaropts \ libllvmselectiondag \ libllvmsupport \ diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index e2915b9..61bc338 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -82,13 +82,14 @@ AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ -gen-clang-attr-dump -o ${.TARGET} ${.ALLSRC} -AttrExprArgs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td +AttrIdentifierArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ - -gen-clang-attr-expr-args-list -o ${.TARGET} ${.ALLSRC} + -gen-clang-attr-identifier-arg-list -o ${.TARGET} ${.ALLSRC} AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ -gen-clang-attr-impl -o ${.TARGET} ${.ALLSRC} + AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ -gen-clang-attr-late-parsed-list -o ${.TARGET} ${.ALLSRC} @@ -97,6 +98,10 @@ AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ -gen-clang-attr-list -o ${.TARGET} ${.ALLSRC} +AttrParsedAttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-parsed-attr-impl -o ${.TARGET} ${.ALLSRC} + AttrParsedAttrKinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ -gen-clang-attr-parsed-attr-kinds -o ${.TARGET} ${.ALLSRC} @@ -125,6 +130,10 @@ AttrTemplateInstantiate.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ -gen-clang-attr-template-instantiate -o ${.TARGET} ${.ALLSRC} +AttrTypeArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-type-arg-list -o ${.TARGET} ${.ALLSRC} + CommentCommandInfo.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td ${CLANG_TBLGEN} \ -gen-clang-comment-command-info -o ${.TARGET} ${.ALLSRC} @@ -160,6 +169,10 @@ StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td ${CLANG_TBLGEN} \ -gen-clang-stmt-nodes -o ${.TARGET} ${.ALLSRC} +arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td + ${CLANG_TBLGEN} \ + -gen-arm-neon -o ${.TARGET} ${.ALLSRC} + arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td ${CLANG_TBLGEN} \ -gen-arm-neon-sema -o ${.TARGET} ${.ALLSRC} @@ -180,11 +193,11 @@ Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td .endfor Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver \ + ${TBLGEN} -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \ -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC} CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver \ + ${TBLGEN} -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \ -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC} Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td \ diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index 1c6bd5c..2b5a976 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -1,8 +1,14 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/llvm/tools/clang/lib/Headers +.include <bsd.own.mk> -INCSDIR=${INCLUDEDIR}/clang/3.3 +LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm + +.include "../clang.build.mk" + +.PATH: ${LLVM_SRCS}/tools/clang/lib/Headers + +INCSDIR=${INCLUDEDIR}/clang/3.4 INCS= __wmmintrin_aes.h \ __wmmintrin_pclmul.h \ @@ -29,11 +35,16 @@ INCS= __wmmintrin_aes.h \ prfchwintrin.h \ rdseedintrin.h \ rtmintrin.h \ + shaintrin.h \ smmintrin.h \ + tbmintrin.h \ tmmintrin.h \ wmmintrin.h \ x86intrin.h \ xmmintrin.h \ - xopintrin.h + xopintrin.h \ + ${GENINCS} +GENINCS= arm_neon.h +CLEANFILES= ${GENINCS} .include <bsd.prog.mk> diff --git a/lib/clang/include/PPCGenFastISel.inc b/lib/clang/include/PPCGenFastISel.inc new file mode 100644 index 0000000..fec1988 --- /dev/null +++ b/lib/clang/include/PPCGenFastISel.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "PPCGenFastISel.inc.h" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 1b62e7f..d63713e 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -1,10 +1,10 @@ /* $FreeBSD$ */ -#define CLANG_VERSION 3.3 +#define CLANG_VERSION 3.4 #define CLANG_VERSION_MAJOR 3 -#define CLANG_VERSION_MINOR 3 +#define CLANG_VERSION_MINOR 4 #define CLANG_VENDOR "FreeBSD " -#define CLANG_VENDOR_SUFFIX " 20130610" +#define CLANG_VENDOR_SUFFIX " 20140216" -#define SVN_REVISION "183502" +#define SVN_REVISION "197956" diff --git a/lib/clang/include/clang/Parse/AttrExprArgs.inc b/lib/clang/include/clang/Parse/AttrExprArgs.inc deleted file mode 100644 index 043e034..0000000 --- a/lib/clang/include/clang/Parse/AttrExprArgs.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "AttrExprArgs.inc.h" diff --git a/lib/clang/include/clang/Parse/AttrIdentifierArg.inc b/lib/clang/include/clang/Parse/AttrIdentifierArg.inc new file mode 100644 index 0000000..2969a50 --- /dev/null +++ b/lib/clang/include/clang/Parse/AttrIdentifierArg.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrIdentifierArg.inc.h" diff --git a/lib/clang/include/clang/Parse/AttrTypeArg.inc b/lib/clang/include/clang/Parse/AttrTypeArg.inc new file mode 100644 index 0000000..8eb4699 --- /dev/null +++ b/lib/clang/include/clang/Parse/AttrTypeArg.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrTypeArg.inc.h" diff --git a/lib/clang/include/clang/Sema/AttrParsedAttrImpl.inc b/lib/clang/include/clang/Sema/AttrParsedAttrImpl.inc new file mode 100644 index 0000000..9577856 --- /dev/null +++ b/lib/clang/include/clang/Sema/AttrParsedAttrImpl.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrParsedAttrImpl.inc.h" diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index d72aba8..985d259 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -8,6 +8,9 @@ /* Get __FreeBSD_version. */ #include <osreldate.h> +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + /* Bug report URL. */ #define BUG_REPORT_URL "http://llvm.org/bugs/" @@ -26,6 +29,9 @@ /* Define if you want backtraces on crash */ #define ENABLE_BACKTRACES 1 +/* Define to enable crash handling overrides */ +#define ENABLE_CRASH_OVERRIDES 1 + /* Define if position independent code is enabled */ #define ENABLE_PIC 0 @@ -56,15 +62,9 @@ /* Define to 1 if you have the `argz_stringify' function. */ /* #undef HAVE_ARGZ_STRINGIFY */ -/* Define to 1 if you have the <assert.h> header file. */ -#define HAVE_ASSERT_H 1 - /* Define to 1 if you have the `backtrace' function. */ /* #undef HAVE_BACKTRACE */ -/* Define to 1 if you have the `bcopy' function. */ -/* #undef HAVE_BCOPY */ - /* Define to 1 if you have the `ceilf' function. */ #define HAVE_CEILF 1 @@ -80,9 +80,6 @@ /* can use __crashreporter_info__ */ #define HAVE_CRASHREPORTER_INFO 0 -/* Define to 1 if you have the <ctype.h> header file. */ -#define HAVE_CTYPE_H 1 - /* Define to 1 if you have the <cxxabi.h> header file. */ #define HAVE_CXXABI_H 1 @@ -105,9 +102,6 @@ /* Define if you have the GNU dld library. */ /* #undef HAVE_DLD */ -/* Define to 1 if you have the <dld.h> header file. */ -/* #undef HAVE_DLD_H */ - /* Define to 1 if you have the `dlerror' function. */ #define HAVE_DLERROR 1 @@ -117,9 +111,6 @@ /* Define if dlopen() is available on this platform. */ #define HAVE_DLOPEN 1 -/* Define to 1 if you have the <dl.h> header file. */ -/* #undef HAVE_DL_H */ - /* Define if the dot program is available */ /* #undef HAVE_DOT */ @@ -171,6 +162,12 @@ /* Define to 1 if you have the `fmodf' function. */ #define HAVE_FMODF 1 +/* Define to 1 if you have the `futimens' function. */ +/* #undef HAVE_FUTIMENS */ + +/* Define to 1 if you have the `futimes' function. */ +#define HAVE_FUTIMES 1 + /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 @@ -192,9 +189,6 @@ /* Define if the gv program is available */ /* #undef HAVE_GV */ -/* Define to 1 if you have the `index' function. */ -/* #undef HAVE_INDEX */ - /* Define to 1 if the system has the type `int64_t'. */ #define HAVE_INT64_T 1 @@ -231,16 +225,16 @@ /* Define to 1 if you have the `pthread' library (-lpthread). */ /* #undef HAVE_LIBPTHREAD */ +/* Define to 1 if you have the `shell32' library (-lshell32). */ +/* #undef HAVE_LIBSHELL32 */ + /* Define to 1 if you have the `udis86' library (-ludis86). */ /* #undef HAVE_LIBUDIS86 */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 -/* Define to 1 if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 - -/* Define if you can use -Wl,-export-dynamic. */ +/* Define if you can use -rdynamic. */ #define HAVE_LINK_EXPORT_DYNAMIC 1 /* Define to 1 if you have the <link.h> header file. */ @@ -282,12 +276,6 @@ /* Define to 1 if you have the `malloc_zone_statistics' function. */ /* #undef HAVE_MALLOC_ZONE_STATISTICS */ -/* Define to 1 if you have the `memcpy' function. */ -#define HAVE_MEMCPY 1 - -/* Define to 1 if you have the `memmove' function. */ -#define HAVE_MEMMOVE 1 - /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 @@ -358,9 +346,6 @@ /* Define to 1 if you have the `realpath' function. */ #define HAVE_REALPATH 1 -/* Define to 1 if you have the `rindex' function. */ -/* #undef HAVE_RINDEX */ - /* Define to 1 if you have the `rintf' function. */ #define HAVE_RINTF 1 @@ -400,9 +385,6 @@ /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 -/* Define to 1 if you have the <stdio.h> header file. */ -#define HAVE_STDIO_H 1 - /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 @@ -412,15 +394,6 @@ /* Set to 1 if the std::isnan function is found in <cmath> */ #define HAVE_STD_ISNAN_IN_CMATH 1 -/* Define to 1 if you have the `strchr' function. */ -#define HAVE_STRCHR 1 - -/* Define to 1 if you have the `strcmp' function. */ -#define HAVE_STRCMP 1 - -/* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 - /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 @@ -433,9 +406,6 @@ /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 -/* Define to 1 if you have the `strrchr' function. */ -#define HAVE_STRRCHR 1 - /* Define to 1 if you have the `strtof' function. */ #define HAVE_STRTOF 1 @@ -452,9 +422,6 @@ */ /* #undef HAVE_SYS_DIR_H */ -/* Define to 1 if you have the <sys/dl.h> header file. */ -/* #undef HAVE_SYS_DL_H */ - /* Define to 1 if you have the <sys/ioctl.h> header file. */ #define HAVE_SYS_IOCTL_H 1 @@ -486,6 +453,9 @@ /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 +/* Define if the setupterm() function is supported this platform. */ +#define HAVE_TERMINFO 1 + /* Define to 1 if you have the <termios.h> header file. */ #define HAVE_TERMIOS_H 1 @@ -507,14 +477,11 @@ /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ /* #undef HAVE_VALGRIND_VALGRIND_H */ -/* Define to 1 if you have the <windows.h> header file. */ -/* #undef HAVE_WINDOWS_H */ - /* Define to 1 if you have the `writev' function. */ #define HAVE_WRITEV 1 -/* Define if the xdot.py program is available */ -/* #undef HAVE_XDOT_PY */ +/* Define if the xdot program is available */ +/* #undef HAVE_XDOT */ /* Define to 1 if you have the <zlib.h> header file. */ #define HAVE_ZLIB_H 1 @@ -609,9 +576,6 @@ /* Installation directory for .info files */ /* #undef LLVM_INFODIR */ -/* Installation directory for libraries */ -/* #undef LLVM_LIBDIR */ - /* Installation directory for man pages */ /* #undef LLVM_MANDIR */ @@ -666,8 +630,8 @@ /* 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 */ +/* Define to path to xdot program if found or 'echo xdot' otherwise */ +/* #undef LLVM_PATH_XDOT */ /* Installation prefix directory */ #define LLVM_PREFIX "" @@ -682,7 +646,7 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 3 +#define LLVM_VERSION_MINOR 4 /* Define if the OS needs help to load dependent libraries for dlopen(). */ #define LTDL_DLOPEN_DEPLIBS 1 @@ -691,10 +655,6 @@ */ #define LTDL_OBJDIR ".libs/" -/* Define to the name of the environment variable that determines the dynamic - library search path. */ -#define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH" - /* Define to the extension used for shared libraries, say, ".so". */ #define LTDL_SHLIB_EXT ".so" @@ -715,13 +675,16 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.3" +#define PACKAGE_STRING "LLVM 3.4" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "llvm" +/* Define to the home page for this package. */ +/* #undef PACKAGE_URL */ + /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.3" +#define PACKAGE_VERSION "3.4" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void @@ -744,6 +707,18 @@ /* Type of 1st arg on ELM Callback */ /* #undef WIN32_ELMCB_PCSTR */ +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 86e0e49..c746687 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -51,9 +51,6 @@ /* Installation directory for .info files */ /* #undef LLVM_INFODIR */ -/* Installation directory for libraries */ -/* #undef LLVM_LIBDIR */ - /* Installation directory for man pages */ /* #undef LLVM_MANDIR */ @@ -124,6 +121,6 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 3 +#define LLVM_VERSION_MINOR 4 #endif diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile index 40deb80..f71b689 100644 --- a/lib/clang/libclanganalysis/Makefile +++ b/lib/clang/libclanganalysis/Makefile @@ -12,6 +12,7 @@ SRCS= AnalysisDeclContext.cpp \ CFGStmtMap.cpp \ CallGraph.cpp \ CocoaConventions.cpp \ + Consumed.cpp \ Dominators.cpp \ FormatString.cpp \ LiveVariables.cpp \ diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile index a867725..71cd684 100644 --- a/lib/clang/libclangast/Makefile +++ b/lib/clang/libclangast/Makefile @@ -11,6 +11,7 @@ SRCS= APValue.cpp \ ASTDiagnostic.cpp \ ASTDumper.cpp \ ASTImporter.cpp \ + ASTTypeTraits.cpp \ AttrImpl.cpp \ CXXInheritance.cpp \ Comment.cpp \ @@ -29,7 +30,6 @@ SRCS= APValue.cpp \ DeclPrinter.cpp \ DeclTemplate.cpp \ DeclarationName.cpp \ - DumpXML.cpp \ Expr.cpp \ ExprCXX.cpp \ ExprClassification.cpp \ @@ -38,8 +38,8 @@ SRCS= APValue.cpp \ InheritViz.cpp \ ItaniumCXXABI.cpp \ ItaniumMangle.cpp \ - LambdaMangleContext.cpp \ Mangle.cpp \ + MangleNumberingContext.cpp \ MicrosoftCXXABI.cpp \ MicrosoftMangle.cpp \ NSAPI.cpp \ diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile index cf58049..3b45f6b 100644 --- a/lib/clang/libclangcodegen/Makefile +++ b/lib/clang/libclangcodegen/Makefile @@ -36,6 +36,7 @@ SRCS= BackendUtil.cpp \ CGStmt.cpp \ CGVTT.cpp \ CGVTables.cpp \ + CodeGenABITypes.cpp \ CodeGenAction.cpp \ CodeGenFunction.cpp \ CodeGenModule.cpp \ @@ -43,6 +44,7 @@ SRCS= BackendUtil.cpp \ CodeGenTypes.cpp \ ItaniumCXXABI.cpp \ MicrosoftCXXABI.cpp \ + MicrosoftVBTables.cpp \ ModuleBuilder.cpp \ TargetInfo.cpp @@ -53,6 +55,7 @@ TGHDRS= AttrList \ DeclNodes \ DiagnosticCommonKinds \ DiagnosticFrontendKinds \ + DiagnosticSemaKinds \ Intrinsics \ StmtNodes \ arm_neon diff --git a/lib/clang/libclangdriver/Makefile b/lib/clang/libclangdriver/Makefile index aae2a05..91a8f61 100644 --- a/lib/clang/libclangdriver/Makefile +++ b/lib/clang/libclangdriver/Makefile @@ -6,16 +6,13 @@ LIB= clangdriver SRCDIR= tools/clang/lib/Driver SRCS= Action.cpp \ - Arg.cpp \ - ArgList.cpp \ CC1AsOptions.cpp \ Compilation.cpp \ Driver.cpp \ DriverOptions.cpp \ Job.cpp \ - OptTable.cpp \ - Option.cpp \ Phases.cpp \ + SanitizerArgs.cpp \ Tool.cpp \ ToolChain.cpp \ ToolChains.cpp \ @@ -26,6 +23,7 @@ SRCS= Action.cpp \ TGHDRS= CC1AsOptions \ DiagnosticCommonKinds \ DiagnosticDriverKinds \ + DiagnosticSemaKinds \ Options .include "../clang.lib.mk" diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile index 279d003..b204d87 100644 --- a/lib/clang/libclangparse/Makefile +++ b/lib/clang/libclangparse/Makefile @@ -20,10 +20,11 @@ SRCS= ParseAST.cpp \ ParseTentative.cpp \ Parser.cpp -TGHDRS= AttrLateParsed \ +TGHDRS= AttrIdentifierArg \ + AttrLateParsed \ AttrList \ AttrParsedAttrList \ - AttrExprArgs \ + AttrTypeArg \ Attrs \ CommentCommandList \ CommentNodes \ diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile index c9f56d4..9157b46 100644 --- a/lib/clang/libclangsema/Makefile +++ b/lib/clang/libclangsema/Makefile @@ -49,9 +49,11 @@ SRCS= AnalysisBasedWarnings.cpp \ SemaTemplateInstantiateDecl.cpp \ SemaTemplateVariadic.cpp \ SemaType.cpp \ - TargetAttributesSema.cpp + TargetAttributesSema.cpp \ + TypeLocBuilder.cpp TGHDRS= AttrList \ + AttrParsedAttrImpl \ AttrParsedAttrKinds \ AttrParsedAttrList \ AttrSpellingListIndex \ diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile index 10968d2..db27182 100644 --- a/lib/clang/libclangstaticanalyzercheckers/Makefile +++ b/lib/clang/libclangstaticanalyzercheckers/Makefile @@ -24,7 +24,6 @@ SRCS= AllocationDiagnostics.cpp \ CheckerDocumentation.cpp \ ChrootChecker.cpp \ ClangCheckers.cpp \ - CommonBugCategories.cpp \ DeadStoresChecker.cpp \ DebugCheckers.cpp \ DereferenceChecker.cpp \ @@ -35,6 +34,7 @@ SRCS= AllocationDiagnostics.cpp \ FixedAddressChecker.cpp \ GenericTaintChecker.cpp \ IdempotentOperationChecker.cpp \ + IdenticalExprChecker.cpp \ IvarInvalidationChecker.cpp \ LLVMConventionsChecker.cpp \ MacOSKeychainAPIChecker.cpp \ @@ -44,8 +44,8 @@ SRCS= AllocationDiagnostics.cpp \ MallocSizeofChecker.cpp \ NSAutoreleasePoolChecker.cpp \ NSErrorChecker.cpp \ - NonNullParamChecker.cpp \ NoReturnFunctionChecker.cpp \ + NonNullParamChecker.cpp \ ObjCAtSyncChecker.cpp \ ObjCContainersASTChecker.cpp \ ObjCContainersChecker.cpp \ diff --git a/lib/clang/libclangstaticanalyzercore/Makefile b/lib/clang/libclangstaticanalyzercore/Makefile index eda991e..74f49bf 100644 --- a/lib/clang/libclangstaticanalyzercore/Makefile +++ b/lib/clang/libclangstaticanalyzercore/Makefile @@ -18,6 +18,7 @@ SRCS= APSIntType.cpp \ CheckerHelpers.cpp \ CheckerManager.cpp \ CheckerRegistry.cpp \ + CommonBugCategories.cpp \ ConstraintManager.cpp \ CoreEngine.cpp \ Environment.cpp \ @@ -41,8 +42,7 @@ SRCS= APSIntType.cpp \ SimpleSValBuilder.cpp \ Store.cpp \ SubEngine.cpp \ - SymbolManager.cpp \ - TextPathDiagnostics.cpp + SymbolManager.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index 1bd8e9e..34725fc 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -13,11 +13,13 @@ SRCS= AliasAnalysis.cpp \ Analysis.cpp \ BasicAliasAnalysis.cpp \ BranchProbabilityInfo.cpp \ + CFG.cpp \ CFGPrinter.cpp \ CaptureTracking.cpp \ CodeMetrics.cpp \ ConstantFolding.cpp \ CostModel.cpp \ + Delinearization.cpp \ DependenceAnalysis.cpp \ DomPrinter.cpp \ DominanceFrontier.cpp \ @@ -39,17 +41,7 @@ SRCS= AliasAnalysis.cpp \ ModuleDebugInfoPrinter.cpp \ NoAliasAnalysis.cpp \ PHITransAddr.cpp \ - PathNumbering.cpp \ - PathProfileInfo.cpp \ - PathProfileVerifier.cpp \ PostDominators.cpp \ - ProfileDataLoader.cpp \ - ProfileDataLoaderPass.cpp \ - ProfileEstimatorPass.cpp \ - ProfileInfo.cpp \ - ProfileInfoLoader.cpp \ - ProfileInfoLoaderPass.cpp \ - ProfileVerifierPass.cpp \ PtrUseVisitor.cpp \ RegionInfo.cpp \ RegionPass.cpp \ diff --git a/lib/clang/libllvmarchive/Makefile b/lib/clang/libllvmarchive/Makefile deleted file mode 100644 index d553405..0000000 --- a/lib/clang/libllvmarchive/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# $FreeBSD$ - -.include <bsd.own.mk> - -LIB= llvmarchive - -SRCDIR= lib/Archive -SRCS= Archive.cpp \ - ArchiveReader.cpp \ - ArchiveWriter.cpp - -.include "../clang.lib.mk" diff --git a/lib/clang/libllvmarmdesc/Makefile b/lib/clang/libllvmarmdesc/Makefile index 777e669..73999ad 100644 --- a/lib/clang/libllvmarmdesc/Makefile +++ b/lib/clang/libllvmarmdesc/Makefile @@ -8,11 +8,12 @@ SRCDIR= lib/Target/ARM/MCTargetDesc SRCS= ARMAsmBackend.cpp \ ARMELFObjectWriter.cpp \ ARMELFStreamer.cpp \ - ARMMachObjectWriter.cpp \ ARMMCAsmInfo.cpp \ ARMMCCodeEmitter.cpp \ ARMMCExpr.cpp \ ARMMCTargetDesc.cpp \ + ARMMachORelocationInfo.cpp \ + ARMMachObjectWriter.cpp \ ARMUnwindOpAsm.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile index 5df0898..afb0ecf 100644 --- a/lib/clang/libllvmasmprinter/Makefile +++ b/lib/clang/libllvmasmprinter/Makefile @@ -10,6 +10,7 @@ SRCS= ARMException.cpp \ AsmPrinterDwarf.cpp \ AsmPrinterInlineAsm.cpp \ DIE.cpp \ + DIEHash.cpp \ DwarfAccelTable.cpp \ DwarfCFIException.cpp \ DwarfCompileUnit.cpp \ diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index 1d41a6a..e43f39d 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -41,6 +41,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ LiveRangeCalc.cpp \ LiveRangeEdit.cpp \ LiveRegMatrix.cpp \ + LiveRegUnits.cpp \ LiveStackAnalysis.cpp \ LiveVariables.cpp \ LocalStackSlotAllocation.cpp \ @@ -94,16 +95,15 @@ SRCS= AggressiveAntiDepBreaker.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ ShadowStackGC.cpp \ - ShrinkWrapping.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ SpillPlacement.cpp \ Spiller.cpp \ SplitKit.cpp \ StackColoring.cpp \ + StackMaps.cpp \ StackProtector.cpp \ StackSlotColoring.cpp \ - StrongPHIElimination.cpp \ TailDuplication.cpp \ TargetFrameLoweringImpl.cpp \ TargetInstrInfo.cpp \ diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index 4cbf3d6..137b1c3 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -29,6 +29,7 @@ SRCS= AsmWriter.cpp \ LLVMContext.cpp \ LLVMContextImpl.cpp \ LeakDetector.cpp \ + LegacyPassManager.cpp \ Metadata.cpp \ Module.cpp \ Pass.cpp \ diff --git a/lib/clang/libllvmdebuginfo/Makefile b/lib/clang/libllvmdebuginfo/Makefile index 72218ad..c8039dc 100644 --- a/lib/clang/libllvmdebuginfo/Makefile +++ b/lib/clang/libllvmdebuginfo/Makefile @@ -15,7 +15,10 @@ SRCS= DIContext.cpp \ DWARFDebugFrame.cpp \ DWARFDebugInfoEntry.cpp \ DWARFDebugLine.cpp \ + DWARFDebugLoc.cpp \ DWARFDebugRangeList.cpp \ - DWARFFormValue.cpp + DWARFFormValue.cpp \ + DWARFTypeUnit.cpp \ + DWARFUnit.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmexecutionengine/Makefile b/lib/clang/libllvmexecutionengine/Makefile index 3ec39c7..382dd88 100644 --- a/lib/clang/libllvmexecutionengine/Makefile +++ b/lib/clang/libllvmexecutionengine/Makefile @@ -7,6 +7,7 @@ LIB= llvmexecutionengine SRCDIR= lib/ExecutionEngine SRCS= ExecutionEngine.cpp \ ExecutionEngineBindings.cpp \ + RTDyldMemoryManager.cpp \ TargetSelect.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile index e5e8b59..faba349 100644 --- a/lib/clang/libllvminstrumentation/Makefile +++ b/lib/clang/libllvminstrumentation/Makefile @@ -6,15 +6,12 @@ LIB= llvminstrumentation SRCDIR= lib/Transforms/Instrumentation SRCS= AddressSanitizer.cpp \ - BlackList.cpp \ BoundsChecking.cpp \ - EdgeProfiling.cpp \ + DataFlowSanitizer.cpp \ + DebugIR.cpp \ GCOVProfiling.cpp \ MemorySanitizer.cpp \ Instrumentation.cpp \ - OptimalEdgeProfiling.cpp \ - PathProfiling.cpp \ - ProfilingUtils.cpp \ ThreadSanitizer.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmjit/Makefile b/lib/clang/libllvmjit/Makefile index 682f704..a04eeb6 100644 --- a/lib/clang/libllvmjit/Makefile +++ b/lib/clang/libllvmjit/Makefile @@ -6,7 +6,6 @@ LIB= llvmjit SRCDIR= lib/ExecutionEngine/JIT SRCS= JIT.cpp \ - JITDwarfEmitter.cpp \ JITEmitter.cpp \ JITMemoryManager.cpp diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index 045d217..7fdc474 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -10,6 +10,7 @@ SRCS= ELFObjectWriter.cpp \ MCAsmInfo.cpp \ MCAsmInfoCOFF.cpp \ MCAsmInfoDarwin.cpp \ + MCAsmInfoELF.cpp \ MCAsmStreamer.cpp \ MCAssembler.cpp \ MCAtom.cpp \ @@ -21,6 +22,8 @@ SRCS= ELFObjectWriter.cpp \ MCELFObjectTargetWriter.cpp \ MCELFStreamer.cpp \ MCExpr.cpp \ + MCExternalSymbolizer.cpp \ + MCFunction.cpp \ MCInst.cpp \ MCInstPrinter.cpp \ MCInstrAnalysis.cpp \ @@ -28,12 +31,16 @@ SRCS= ELFObjectWriter.cpp \ MCMachOStreamer.cpp \ MCMachObjectTargetWriter.cpp \ MCModule.cpp \ + MCModuleYAML.cpp \ MCNullStreamer.cpp \ + MCObjectDisassembler.cpp \ MCObjectFileInfo.cpp \ MCObjectStreamer.cpp \ + MCObjectSymbolizer.cpp \ MCObjectWriter.cpp \ MCPureStreamer.cpp \ MCRegisterInfo.cpp \ + MCRelocationInfo.cpp \ MCSection.cpp \ MCSectionCOFF.cpp \ MCSectionELF.cpp \ @@ -41,6 +48,7 @@ SRCS= ELFObjectWriter.cpp \ MCStreamer.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ + MCSymbolizer.cpp \ MCValue.cpp \ MCWin64EH.cpp \ MachObjectWriter.cpp \ diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile index e5a99c9..9ba7099 100644 --- a/lib/clang/libllvmmipscodegen/Makefile +++ b/lib/clang/libllvmmipscodegen/Makefile @@ -6,6 +6,7 @@ LIB= llvmmipscodegen SRCDIR= lib/Target/Mips SRCS= Mips16FrameLowering.cpp \ + Mips16HardFloat.cpp \ Mips16ISelDAGToDAG.cpp \ Mips16ISelLowering.cpp \ Mips16InstrInfo.cpp \ diff --git a/lib/clang/libllvmmipsdesc/Makefile b/lib/clang/libllvmmipsdesc/Makefile index c5e60c6..07cbbfa 100644 --- a/lib/clang/libllvmmipsdesc/Makefile +++ b/lib/clang/libllvmmipsdesc/Makefile @@ -6,13 +6,12 @@ LIB= llvmmipsdesc SRCDIR= lib/Target/Mips/MCTargetDesc SRCS= MipsAsmBackend.cpp \ - MipsDirectObjLower.cpp \ MipsELFObjectWriter.cpp \ - MipsELFStreamer.cpp \ MipsMCAsmInfo.cpp \ MipsMCCodeEmitter.cpp \ MipsMCTargetDesc.cpp \ - MipsReginfo.cpp + MipsReginfo.cpp \ + MipsTargetStreamer.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= MipsGenInstrInfo \ diff --git a/lib/clang/libllvmobject/Makefile b/lib/clang/libllvmobject/Makefile index 7358c13..7e48093 100644 --- a/lib/clang/libllvmobject/Makefile +++ b/lib/clang/libllvmobject/Makefile @@ -8,10 +8,15 @@ SRCDIR= lib/Object SRCS= Archive.cpp \ Binary.cpp \ COFFObjectFile.cpp \ + COFFYAML.cpp \ + ELF.cpp \ ELFObjectFile.cpp \ + ELFYAML.cpp \ Error.cpp \ MachOObjectFile.cpp \ + MachOUniversal.cpp \ Object.cpp \ - ObjectFile.cpp + ObjectFile.cpp \ + YAML.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmoption/Makefile b/lib/clang/libllvmoption/Makefile new file mode 100644 index 0000000..bf88dba --- /dev/null +++ b/lib/clang/libllvmoption/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= llvmoption + +SRCDIR= lib/Option +SRCS= Arg.cpp \ + ArgList.cpp \ + OptTable.cpp \ + Option.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index 0c77b5c..9fd268b 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -9,6 +9,7 @@ SRCS= PPCAsmPrinter.cpp \ PPCBranchSelector.cpp \ PPCCTRLoops.cpp \ PPCCodeEmitter.cpp \ + PPCFastISel.cpp \ PPCFrameLowering.cpp \ PPCHazardRecognizers.cpp \ PPCISelDAGToDAG.cpp \ @@ -21,12 +22,14 @@ SRCS= PPCAsmPrinter.cpp \ PPCSelectionDAGInfo.cpp \ PPCSubtarget.cpp \ PPCTargetMachine.cpp \ + PPCTargetObjectFile.cpp \ PPCTargetTransformInfo.cpp TGHDRS= Intrinsics \ PPCGenCallingConv \ PPCGenCodeEmitter \ PPCGenDAGISel \ + PPCGenFastISel \ PPCGenInstrInfo \ PPCGenMCCodeEmitter \ PPCGenRegisterInfo \ diff --git a/lib/clang/libllvmpowerpcdesc/Makefile b/lib/clang/libllvmpowerpcdesc/Makefile index e48b484..b64b948 100644 --- a/lib/clang/libllvmpowerpcdesc/Makefile +++ b/lib/clang/libllvmpowerpcdesc/Makefile @@ -6,11 +6,13 @@ LIB= llvmpowerpcdesc SRCDIR= lib/Target/PowerPC/MCTargetDesc SRCS= PPCAsmBackend.cpp \ + PPCELFObjectWriter.cpp \ PPCMCAsmInfo.cpp \ PPCMCCodeEmitter.cpp \ + PPCMCExpr.cpp \ PPCMCTargetDesc.cpp \ - PPCPredicates.cpp \ - PPCELFObjectWriter.cpp + PPCMachObjectWriter.cpp \ + PPCPredicates.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= PPCGenInstrInfo \ diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index 38d945c..1f4edff 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -6,42 +6,41 @@ LIB= llvmscalaropts SRCDIR= lib/Transforms/Scalar SRCS= ADCE.cpp \ - BasicBlockPlacement.cpp \ CodeGenPrepare.cpp \ ConstantProp.cpp \ CorrelatedValuePropagation.cpp \ DCE.cpp \ DeadStoreElimination.cpp \ EarlyCSE.cpp \ - GlobalMerge.cpp \ + FlattenCFGPass.cpp \ GVN.cpp \ + GlobalMerge.cpp \ IndVarSimplify.cpp \ JumpThreading.cpp \ LICM.cpp \ LoopDeletion.cpp \ LoopIdiomRecognize.cpp \ - LoopInstSimplify.cpp \ + LoopRerollPass.cpp \ LoopRotation.cpp \ LoopStrengthReduce.cpp \ LoopUnrollPass.cpp \ LoopUnswitch.cpp \ LowerAtomic.cpp \ MemCpyOptimizer.cpp \ + PartiallyInlineLibCalls.cpp \ Reassociate.cpp \ Reg2Mem.cpp \ SCCP.cpp \ SROA.cpp \ - Scalar.cpp \ + SampleProfile.cpp \ ScalarReplAggregates.cpp \ SimplifyCFGPass.cpp \ - SimplifyLibCalls.cpp \ Sink.cpp \ + StructurizeCFG.cpp \ TailRecursionElimination.cpp .if ${MK_CLANG_EXTRAS} != "no" SRCS+= LoopInstSimplify.cpp \ - LowerAtomic.cpp \ - Reg2Mem.cpp \ Scalar.cpp .endif diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index ff9b9cb..eb3f633 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -18,6 +18,7 @@ SRCS= APFloat.cpp \ ConvertUTFWrapper.cpp \ CrashRecoveryContext.cpp \ DAGDeltaAlgorithm.cpp \ + DataExtractor.cpp \ Debug.cpp \ DeltaAlgorithm.cpp \ Dwarf.cpp \ @@ -38,13 +39,13 @@ SRCS= APFloat.cpp \ IsNAN.cpp \ Locale.cpp \ LockFileManager.cpp \ + MD5.cpp \ ManagedStatic.cpp \ Memory.cpp \ MemoryBuffer.cpp \ MemoryObject.cpp \ Mutex.cpp \ Path.cpp \ - PathV2.cpp \ PluginLoader.cpp \ PrettyStackTrace.cpp \ Process.cpp \ @@ -62,6 +63,7 @@ SRCS= APFloat.cpp \ StringMap.cpp \ StringPool.cpp \ StringRef.cpp \ + StringRefMemoryObject.cpp \ TargetRegistry.cpp \ ThreadLocal.cpp \ Threading.cpp \ @@ -70,6 +72,7 @@ SRCS= APFloat.cpp \ ToolOutputFile.cpp \ Triple.cpp \ Twine.cpp \ + Unicode.cpp \ Valgrind.cpp \ Watchdog.cpp \ YAMLParser.cpp \ @@ -85,8 +88,7 @@ SRCS= APFloat.cpp \ system_error.cpp .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" -SRCS+= DataExtractor.cpp \ - Disassembler.cpp +SRCS+= Disassembler.cpp .endif .if ${MK_CLANG_EXTRAS} != "no" diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index cfdc85f..f742092 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -14,6 +14,8 @@ SRCS= BasicBlockUtils.cpp \ CmpInstAnalysis.cpp \ CodeExtractor.cpp \ DemoteRegToStack.cpp \ + FlattenCFG.cpp \ + GlobalStatus.cpp \ InlineFunction.cpp \ InstructionNamer.cpp \ IntegerDivision.cpp \ @@ -34,6 +36,7 @@ SRCS= BasicBlockUtils.cpp \ SimplifyIndVar.cpp \ SimplifyInstructions.cpp \ SimplifyLibCalls.cpp \ + SpecialCaseList.cpp \ UnifyFunctionExitNodes.cpp \ ValueMapper.cpp diff --git a/lib/clang/libllvmvectorize/Makefile b/lib/clang/libllvmvectorize/Makefile index 9a760fa..7a63c9e 100644 --- a/lib/clang/libllvmvectorize/Makefile +++ b/lib/clang/libllvmvectorize/Makefile @@ -8,7 +8,6 @@ SRCDIR= lib/Transforms/Vectorize SRCS= BBVectorize.cpp \ LoopVectorize.cpp \ SLPVectorizer.cpp \ - VecUtils.cpp \ Vectorize.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmx86desc/Makefile b/lib/clang/libllvmx86desc/Makefile index a177129..6401649 100644 --- a/lib/clang/libllvmx86desc/Makefile +++ b/lib/clang/libllvmx86desc/Makefile @@ -7,10 +7,12 @@ LIB= llvmx86desc SRCDIR= lib/Target/X86/MCTargetDesc SRCS= X86AsmBackend.cpp \ X86ELFObjectWriter.cpp \ - X86MachObjectWriter.cpp \ + X86ELFRelocationInfo.cpp \ X86MCAsmInfo.cpp \ X86MCCodeEmitter.cpp \ X86MCTargetDesc.cpp \ + X86MachORelocationInfo.cpp \ + X86MachObjectWriter.cpp \ X86WinCOFFObjectWriter.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. |