diff options
Diffstat (limited to 'lib')
62 files changed, 443 insertions, 164 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index a7513c3..cd0bcdd 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -41,10 +41,12 @@ SUBDIR= libclanganalysis \ libllvmipa \ libllvmipo \ libllvmirreader \ + libllvmlibdriver \ libllvmlinker \ libllvmmc \ libllvmmcdisassembler \ libllvmmcparser \ + libllvmmirparser \ libllvmobjcarcopts \ libllvmobject \ libllvmoption \ @@ -97,7 +99,11 @@ SUBDIR= libclanganalysis \ libllvmx86utils .if ${MK_CLANG_EXTRAS} != "no" -SUBDIR+=libllvmdebuginfo +SUBDIR+=libllvmdebuginfodwarf \ + libllvmdebuginfopdb \ + libllvmlto \ + libllvmorcjit \ + libllvmpasses .endif # MK_CLANG_EXTRAS .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" SUBDIR+=libllvmexecutionengine \ @@ -118,11 +124,17 @@ SUBDIR+=liblldb \ liblldbHostCommon \ liblldbHostFreeBSD \ liblldbHostPOSIX \ + liblldbInitialization \ liblldbInterpreter \ liblldbSymbol \ liblldbTarget \ liblldbUtility \ \ + liblldbPluginABISysV_arm \ + liblldbPluginABISysV_arm64 \ + liblldbPluginABISysV_i386 \ + liblldbPluginABISysV_mips \ + liblldbPluginABISysV_mips64 \ liblldbPluginABISysV_ppc \ liblldbPluginABISysV_ppc64 \ liblldbPluginABISysV_x86_64 \ @@ -132,6 +144,8 @@ SUBDIR+=liblldb \ liblldbPluginDynamicLoaderPosixDYLD \ liblldbPluginInstructionARM \ liblldbPluginInstructionARM64 \ + liblldbPluginInstructionMIPS \ + liblldbPluginInstructionMIPS64 \ liblldbPluginInstrumentationRuntimeAddressSanitizer \ liblldbPluginJITLoaderGDB \ liblldbPluginMemoryHistoryASan \ diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index 5cb0dd0..1610a90 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -227,11 +227,20 @@ Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td .endfor +# XXX: Atrocious hack, need to clean this up later +.if defined(LIB) && ${LIB} == "llvmlibdriver" +Options.inc.h: ${LLVM_SRCS}/lib/LibDriver/Options.td + ${TBLGEN} -gen-opt-parser-defs \ + -I ${LLVM_SRCS}/include \ + -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \ + ${LLVM_SRCS}/lib/LibDriver/Options.td +.else Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td ${TBLGEN} -gen-opt-parser-defs \ -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \ -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \ ${CLANG_SRCS}/include/clang/Driver/Options.td +.endif Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td ${CLANG_TBLGEN} -gen-clang-sa-checkers \ diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index d78b20d..055f051 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -8,9 +8,10 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm .PATH: ${LLVM_SRCS}/tools/clang/lib/Headers -INCSDIR=${LIBDIR}/clang/3.6.1/include +INCSDIR=${LIBDIR}/clang/3.7.0/include -INCS= __stddef_max_align_t.h \ +INCS= Intrin.h \ + __stddef_max_align_t.h \ __wmmintrin_aes.h \ __wmmintrin_pclmul.h \ adxintrin.h \ @@ -19,18 +20,23 @@ INCS= __stddef_max_align_t.h \ arm_acle.h \ avx2intrin.h \ avx512bwintrin.h \ + avx512dqintrin.h \ avx512erintrin.h \ avx512fintrin.h \ avx512vlbwintrin.h \ + avx512vldqintrin.h \ avx512vlintrin.h \ avxintrin.h \ bmi2intrin.h \ bmiintrin.h \ cpuid.h \ + cuda_builtin_vars.h \ emmintrin.h \ f16cintrin.h \ fma4intrin.h \ fmaintrin.h \ + htmintrin.h \ + htmxlintrin.h \ ia32intrin.h \ immintrin.h \ lzcntintrin.h \ @@ -44,14 +50,17 @@ INCS= __stddef_max_align_t.h \ prfchwintrin.h \ rdseedintrin.h \ rtmintrin.h \ + s390intrin.h \ shaintrin.h \ smmintrin.h \ tbmintrin.h \ tmmintrin.h \ + vadefs.h \ wmmintrin.h \ x86intrin.h \ xmmintrin.h \ xopintrin.h \ + xtestintrin.h \ ${GENINCS} GENINCS= arm_neon.h CLEANFILES= ${GENINCS} diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index e13af79..db50948 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -1,11 +1,11 @@ /* $FreeBSD$ */ -#define CLANG_VERSION 3.6.1 +#define CLANG_VERSION 3.7.0 #define CLANG_VERSION_MAJOR 3 -#define CLANG_VERSION_MINOR 6 -#define CLANG_VERSION_PATCHLEVEL 1 +#define CLANG_VERSION_MINOR 7 +#define CLANG_VERSION_PATCHLEVEL 0 #define CLANG_VENDOR "FreeBSD " -#define CLANG_VENDOR_SUFFIX " 20150525" +#define CLANG_VENDOR_SUFFIX " 20150621" -#define SVN_REVISION "237755" +#define SVN_REVISION "240225" diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h index bb435f9..43b3a1a 100644 --- a/lib/clang/include/clang/Config/config.h +++ b/lib/clang/include/clang/Config/config.h @@ -10,6 +10,9 @@ /* Bug report URL. */ #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/" +/* Default OpenMP runtime used by -fopenmp. */ +#define CLANG_DEFAULT_OPENMP_RUNTIME "libgomp" + /* Multilib suffix for libdir. */ #define CLANG_LIBDIR_SUFFIX "" @@ -28,7 +31,7 @@ /* Define if we have libxml2 */ /* #undef CLANG_HAVE_LIBXML */ -#define PACKAGE_STRING "LLVM 3.6.1" +#define PACKAGE_STRING "LLVM 3.7.0svn" /* The LLVM product name and version */ #define BACKEND_PACKAGE_STRING PACKAGE_STRING diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 7a4e7ea..92d51c1 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -8,14 +8,20 @@ /* Get __FreeBSD_version. */ #include <osreldate.h> +/* Exported configuration */ +#include "llvm/Config/llvm-config.h" + /* Bug report URL. */ #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/" +/* Default OpenMP runtime used by -fopenmp. */ +#define CLANG_DEFAULT_OPENMP_RUNTIME "libgomp" + /* Define if we have libxml2 */ /* #undef CLANG_HAVE_LIBXML */ /* Multilib suffix for libdir. */ -/* #undef CLANG_LIBDIR_SUFFIX */ +#define CLANG_LIBDIR_SUFFIX "" /* Relative directory for resource files */ #define CLANG_RESOURCE_DIR "" @@ -44,9 +50,6 @@ /* Define to 1 if you have the `backtrace' function. */ /* #undef HAVE_BACKTRACE */ -/* Define to 1 if you have the `ceilf' function. */ -#define HAVE_CEILF 1 - /* Define to 1 if you have the <CrashReporterClient.h> header file. */ /* #undef HAVE_CRASHREPORTERCLIENT_H */ @@ -93,12 +96,6 @@ #define HAVE_EXECINFO_H 1 #endif -/* Define to 1 if you have the `exp' function. */ -#define HAVE_EXP 1 - -/* Define to 1 if you have the `exp2' function. */ -#define HAVE_EXP2 1 - /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -114,15 +111,6 @@ /* Define to 1 if you have the <ffi.h> header file. */ /* #undef HAVE_FFI_H */ -/* Set to 1 if the finite function is found in <ieeefp.h> */ -/* #undef HAVE_FINITE_IN_IEEEFP_H */ - -/* Define to 1 if you have the `floorf' function. */ -#define HAVE_FLOORF 1 - -/* Define to 1 if you have the `fmodf' function. */ -#define HAVE_FMODF 1 - /* Define to 1 if you have the `futimens' function. */ #if __FreeBSD_version >= 1100056 #define HAVE_FUTIMENS 1 @@ -155,18 +143,6 @@ /* Define to 1 if you have the `isatty' function. */ #define HAVE_ISATTY 1 -/* Set to 1 if the isinf function is found in <cmath> */ -#define HAVE_ISINF_IN_CMATH 1 - -/* Set to 1 if the isinf function is found in <math.h> */ -#define HAVE_ISINF_IN_MATH_H 1 - -/* Set to 1 if the isnan function is found in <cmath> */ -#define HAVE_ISNAN_IN_CMATH 1 - -/* Set to 1 if the isnan function is found in <math.h> */ -#define HAVE_ISNAN_IN_MATH_H 1 - /* Define if libedit is available on this platform. */ #define HAVE_LIBEDIT 1 @@ -176,11 +152,14 @@ /* Define to 1 if you have the `m' library (-lm). */ #define HAVE_LIBM 1 +/* Define to 1 if you have the `ole32' library (-lole32). */ +/* #undef HAVE_LIBOLE32 */ + /* Define to 1 if you have the `psapi' library (-lpsapi). */ /* #undef HAVE_LIBPSAPI */ /* Define to 1 if you have the `pthread' library (-lpthread). */ -/* #undef HAVE_LIBPTHREAD */ +#define HAVE_LIBPTHREAD 1 /* Define to 1 if you have the `shell32' library (-lshell32). */ /* #undef HAVE_LIBSHELL32 */ @@ -198,17 +177,6 @@ the current directory to the dynamic linker search path. */ #define HAVE_LINK_R 1 -/* Define to 1 if you have the `log' function. */ -#define HAVE_LOG 1 - -/* Define to 1 if you have the `log10' function. */ -#define HAVE_LOG10 1 - -/* Define to 1 if you have the `log2' function. */ -#if __FreeBSD_version >= 900027 || (__FreeBSD_version < 900000 && __FreeBSD_version >= 802502) -#define HAVE_LOG2 1 -#endif - /* Define to 1 if you have the `longjmp' function. */ #define HAVE_LONGJMP 1 @@ -252,15 +220,9 @@ /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ -/* Define to 1 if you have the `nearbyintf' function. */ -#define HAVE_NEARBYINTF 1 - /* Define to 1 if you have the `posix_spawn' function. */ /* #undef HAVE_POSIX_SPAWN */ -/* Define to 1 if you have the `powf' function. */ -#define HAVE_POWF 1 - /* Define to 1 if you have the `pread' function. */ #define HAVE_PREAD 1 @@ -268,16 +230,16 @@ #define HAVE_PRINTF_A 1 /* Have pthread_getspecific */ -/* #undef HAVE_PTHREAD_GETSPECIFIC */ +#define HAVE_PTHREAD_GETSPECIFIC 1 /* Define to 1 if you have the <pthread.h> header file. */ -/* #undef HAVE_PTHREAD_H */ +#define HAVE_PTHREAD_H 1 /* Have pthread_mutex_lock */ -/* #undef HAVE_PTHREAD_MUTEX_LOCK */ +#define HAVE_PTHREAD_MUTEX_LOCK 1 /* Have pthread_rwlock_init */ -/* #undef HAVE_PTHREAD_RWLOCK_INIT */ +#define HAVE_PTHREAD_RWLOCK_INIT 1 /* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */ #define HAVE_RAND48 1 @@ -285,15 +247,6 @@ /* Define to 1 if you have the `realpath' function. */ #define HAVE_REALPATH 1 -/* Define to 1 if you have the `rintf' function. */ -#define HAVE_RINTF 1 - -/* Define to 1 if you have the `round' function. */ -#define HAVE_ROUND 1 - -/* Define to 1 if you have the `roundf' function. */ -#define HAVE_ROUNDF 1 - /* Define to 1 if you have the `sbrk' function. */ #define HAVE_SBRK 1 @@ -324,12 +277,6 @@ /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 -/* Set to 1 if the std::isinf function is found in <cmath> */ -#define HAVE_STD_ISINF_IN_CMATH 1 - -/* 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 `strerror' function. */ #define HAVE_STRERROR 1 @@ -342,9 +289,6 @@ /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 -/* Define to 1 if you have the `strtof' function. */ -#define HAVE_STRTOF 1 - /* Define to 1 if you have the `strtoll' function. */ #define HAVE_STRTOLL 1 @@ -470,6 +414,9 @@ /* Have host's ___chkstk */ /* #undef HAVE____CHKSTK */ +/* Have host's ___chkstk_ms */ +/* #undef HAVE____CHKSTK_MS */ + /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ @@ -488,8 +435,11 @@ /* Installation directory for documentation */ /* #undef LLVM_DOCSDIR */ +/* Define to enable checks that alter the LLVM C++ ABI */ +#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1 + /* Define if threads enabled */ -#define LLVM_ENABLE_THREADS 0 +#define LLVM_ENABLE_THREADS 1 /* Define if zlib is enabled */ #define LLVM_ENABLE_ZLIB 1 @@ -498,7 +448,7 @@ /* #undef LLVM_ETCDIR */ /* Has gcc/MSVC atomic intrinsics */ -#define LLVM_HAS_ATOMICS 0 +#define LLVM_HAS_ATOMICS 1 /* Host triple LLVM will be executed on */ /* #undef LLVM_HOST_TRIPLE */ @@ -555,13 +505,13 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 6 +#define LLVM_VERSION_MINOR 7 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.6.1" +#define LLVM_VERSION_STRING "3.7.0svn" /* The shared library extension */ #define LTDL_SHLIB_EXT ".so" @@ -577,13 +527,13 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.6.1" +#define PACKAGE_STRING "LLVM 3.7.0svn" /* 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.6.1" +#define PACKAGE_VERSION "3.7.0svn" /* 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 a44de59..b6df38d 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -31,14 +31,17 @@ /* Installation directory for documentation */ /* #undef LLVM_DOCSDIR */ +/* Define to enable checks that alter the LLVM C++ ABI */ +#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1 + /* Define if threads enabled */ -#define LLVM_ENABLE_THREADS 0 +#define LLVM_ENABLE_THREADS 1 /* Installation directory for config files */ /* #undef LLVM_ETCDIR */ /* Has gcc/MSVC atomic intrinsics */ -#define LLVM_HAS_ATOMICS 0 +#define LLVM_HAS_ATOMICS 1 /* Host triple LLVM will be executed on */ /* #undef LLVM_HOST_TRIPLE */ @@ -92,12 +95,12 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 6 +#define LLVM_VERSION_MINOR 7 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.6.1" +#define LLVM_VERSION_STRING "3.7.0svn" #endif diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index 6a5791c..68c2a77 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -10,6 +10,7 @@ SRCS= Attributes.cpp \ CharInfo.cpp \ Diagnostic.cpp \ DiagnosticIDs.cpp \ + DiagnosticOptions.cpp \ FileManager.cpp \ FileSystemStatCache.cpp \ IdentifierTable.cpp \ diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile index 95b8fc8..8e63fb0 100644 --- a/lib/clang/libclangfrontend/Makefile +++ b/lib/clang/libclangfrontend/Makefile @@ -29,6 +29,7 @@ SRCS= ASTConsumers.cpp \ LogDiagnosticPrinter.cpp \ ModuleDependencyCollector.cpp \ MultiplexConsumer.cpp \ + PCHContainerOperations.cpp \ PrintPreprocessedOutput.cpp \ SerializedDiagnosticPrinter.cpp \ SerializedDiagnosticReader.cpp \ diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile index 1306cdf..dc1726a 100644 --- a/lib/clang/liblldb/Makefile +++ b/lib/clang/liblldb/Makefile @@ -7,8 +7,8 @@ LIB= lldb CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POSIX SRCDIR= tools/lldb/source -SRCS= lldb.cpp \ - lldb-log.cpp +SRCS= lldb.cpp + TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbAPI/Makefile b/lib/clang/liblldbAPI/Makefile index 44addca..0ecf54a 100644 --- a/lib/clang/liblldbAPI/Makefile +++ b/lib/clang/liblldbAPI/Makefile @@ -6,6 +6,7 @@ LIB= lldbAPI SRCDIR= tools/lldb/source/API SRCS= SBAddress.cpp \ + SBAttachInfo.cpp \ SBBlock.cpp \ SBBreakpoint.cpp \ SBBreakpointLocation.cpp \ @@ -28,6 +29,8 @@ SRCS= SBAddress.cpp \ SBHostOS.cpp \ SBInstruction.cpp \ SBInstructionList.cpp \ + SBLanguageRuntime.cpp \ + SBLaunchInfo.cpp \ SBLineEntry.cpp \ SBListener.cpp \ SBModule.cpp \ @@ -57,8 +60,10 @@ SRCS= SBAddress.cpp \ SBTypeSynthetic.cpp \ SBUnixSignals.cpp \ SBValue.cpp \ + SBVariablesOptions.cpp \ SBValueList.cpp \ - SBWatchpoint.cpp + SBWatchpoint.cpp \ + SystemInitializerFull.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbCommands/Makefile b/lib/clang/liblldbCommands/Makefile index 833c8a8..d554be9 100644 --- a/lib/clang/liblldbCommands/Makefile +++ b/lib/clang/liblldbCommands/Makefile @@ -10,12 +10,14 @@ SRCS= CommandCompletions.cpp \ CommandObjectArgs.cpp \ CommandObjectBreakpoint.cpp \ CommandObjectBreakpointCommand.cpp \ + CommandObjectBugreport.cpp \ CommandObjectCommands.cpp \ CommandObjectDisassemble.cpp \ CommandObjectExpression.cpp \ CommandObjectFrame.cpp \ CommandObjectGUI.cpp \ CommandObjectHelp.cpp \ + CommandObjectLanguage.cpp \ CommandObjectLog.cpp \ CommandObjectMemory.cpp \ CommandObjectMultiword.cpp \ diff --git a/lib/clang/liblldbCore/Makefile b/lib/clang/liblldbCore/Makefile index 7d9e86b..86bff4d 100644 --- a/lib/clang/liblldbCore/Makefile +++ b/lib/clang/liblldbCore/Makefile @@ -18,6 +18,7 @@ SRCS= Address.cpp \ ConnectionMachPort.cpp \ ConnectionSharedMemory.cpp \ ConstString.cpp \ + CxaDemangle.cpp \ DataBufferHeap.cpp \ DataBufferMemoryMap.cpp \ DataEncoder.cpp \ @@ -31,11 +32,13 @@ SRCS= Address.cpp \ FastDemangle.cpp \ FileLineResolver.cpp \ FileSpecList.cpp \ + FormatEntity.cpp \ History.cpp \ IOHandler.cpp \ Language.cpp \ Listener.cpp \ Log.cpp \ + Logging.cpp \ Mangled.cpp \ Module.cpp \ ModuleChild.cpp \ diff --git a/lib/clang/liblldbDataFormatters/Makefile b/lib/clang/liblldbDataFormatters/Makefile index df34f00..8814697 100644 --- a/lib/clang/liblldbDataFormatters/Makefile +++ b/lib/clang/liblldbDataFormatters/Makefile @@ -30,7 +30,8 @@ SRCS= CF.cpp \ TypeSummary.cpp \ TypeSynthetic.cpp \ TypeValidator.cpp \ - ValueObjectPrinter.cpp + ValueObjectPrinter.cpp \ + VectorType.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbHostCommon/Makefile b/lib/clang/liblldbHostCommon/Makefile index af3c053..f463c9c 100644 --- a/lib/clang/liblldbHostCommon/Makefile +++ b/lib/clang/liblldbHostCommon/Makefile @@ -9,25 +9,30 @@ SRCS= Condition.cpp \ Editline.cpp \ File.cpp \ FileSpec.cpp \ + FileSystem.cpp \ Host.cpp \ HostInfoBase.cpp \ HostNativeThreadBase.cpp \ HostProcess.cpp \ HostThread.cpp \ IOObject.cpp \ + LockFileBase.cpp \ MonitoringProcessLauncher.cpp \ Mutex.cpp \ + NativeRegisterContext.cpp \ OptionParser.cpp \ PipeBase.cpp \ ProcessRunLock.cpp \ Socket.cpp \ SocketAddress.cpp \ SoftwareBreakpoint.cpp \ + StringConvert.cpp \ Symbols.cpp \ Terminal.cpp \ ThisThread.cpp \ ThreadLauncher.cpp \ - TimeValue.cpp + TimeValue.cpp \ + XML.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbHostPOSIX/Makefile b/lib/clang/liblldbHostPOSIX/Makefile index 6fe660a..a46dbca 100644 --- a/lib/clang/liblldbHostPOSIX/Makefile +++ b/lib/clang/liblldbHostPOSIX/Makefile @@ -10,6 +10,7 @@ SRCS= ConnectionFileDescriptorPosix.cpp \ HostInfoPosix.cpp \ HostProcessPosix.cpp \ HostThreadPosix.cpp \ + LockFilePosix.cpp \ PipePosix.cpp \ ProcessLauncherPosix.cpp diff --git a/lib/clang/liblldbInitialization/Makefile b/lib/clang/liblldbInitialization/Makefile new file mode 100644 index 0000000..9507b6e --- /dev/null +++ b/lib/clang/liblldbInitialization/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbInitialization + +SRCDIR= tools/lldb/source/Initialization +SRCS= SystemInitializer.cpp \ + SystemInitializerCommon.cpp \ + SystemLifetimeManager.cpp + +#TGHDRS= AttrList \ +# Attrs \ +# DiagnosticCommonKinds \ +# DeclNodes \ +# StmtNodes \ +# CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbInterpreter/Makefile b/lib/clang/liblldbInterpreter/Makefile index f707d9b..2ef5d6e 100644 --- a/lib/clang/liblldbInterpreter/Makefile +++ b/lib/clang/liblldbInterpreter/Makefile @@ -34,6 +34,8 @@ SRCS= Args.cpp \ OptionValueFileSpec.cpp \ OptionValueFileSpecLIst.cpp \ OptionValueFormat.cpp \ + OptionValueFormatEntity.cpp \ + OptionValueLanguage.cpp \ OptionValuePathMappings.cpp \ OptionValueProperties.cpp \ OptionValueRegex.cpp \ diff --git a/lib/clang/liblldbPluginABISysV_arm/Makefile b/lib/clang/liblldbPluginABISysV_arm/Makefile new file mode 100644 index 0000000..9e59f5b --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_arm/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_arm + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-arm +SRCS= ABISysV_arm.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_arm64/Makefile b/lib/clang/liblldbPluginABISysV_arm64/Makefile new file mode 100644 index 0000000..c5dbee6 --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_arm64/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_arm64 + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-arm64 +SRCS= ABISysV_arm64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_i386/Makefile b/lib/clang/liblldbPluginABISysV_i386/Makefile new file mode 100644 index 0000000..ecc26a1 --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_i386/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_i386 + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-i386 +SRCS= ABISysV_i386.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_mips/Makefile b/lib/clang/liblldbPluginABISysV_mips/Makefile new file mode 100644 index 0000000..f80d87d --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_mips/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_mips + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-mips +SRCS= ABISysV_mips.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_mips64/Makefile b/lib/clang/liblldbPluginABISysV_mips64/Makefile new file mode 100644 index 0000000..293435f --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_mips64/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_mips64 + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-mips64 +SRCS= ABISysV_mips64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginInstructionMIPS/Makefile b/lib/clang/liblldbPluginInstructionMIPS/Makefile new file mode 100644 index 0000000..5fdbcd1 --- /dev/null +++ b/lib/clang/liblldbPluginInstructionMIPS/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginInstructionMIPS + +SRCDIR= tools/lldb/source/Plugins/Instruction/MIPS +SRCS= EmulateInstructionMIPS.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginInstructionMIPS64/Makefile b/lib/clang/liblldbPluginInstructionMIPS64/Makefile new file mode 100644 index 0000000..3779562 --- /dev/null +++ b/lib/clang/liblldbPluginInstructionMIPS64/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginInstructionMIPS64 + +SRCDIR= tools/lldb/source/Plugins/Instruction/MIPS64 +SRCS= EmulateInstructionMIPS64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginProcessElfCore/Makefile b/lib/clang/liblldbPluginProcessElfCore/Makefile index 66852dd..e8fc698 100644 --- a/lib/clang/liblldbPluginProcessElfCore/Makefile +++ b/lib/clang/liblldbPluginProcessElfCore/Makefile @@ -10,6 +10,8 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Uti SRCDIR= tools/lldb/source/Plugins/Process/elf-core SRCS= ProcessElfCore.cpp \ ThreadElfCore.cpp \ + RegisterContextPOSIXCore_arm.cpp \ + RegisterContextPOSIXCore_arm64.cpp \ RegisterContextPOSIXCore_mips64.cpp \ RegisterContextPOSIXCore_powerpc.cpp \ RegisterContextPOSIXCore_x86_64.cpp diff --git a/lib/clang/liblldbPluginProcessFreeBSD/Makefile b/lib/clang/liblldbPluginProcessFreeBSD/Makefile index 2002b7d..2af488b 100644 --- a/lib/clang/liblldbPluginProcessFreeBSD/Makefile +++ b/lib/clang/liblldbPluginProcessFreeBSD/Makefile @@ -11,7 +11,15 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POS SRCDIR= tools/lldb/source/Plugins/Process/FreeBSD SRCS= FreeBSDThread.cpp \ ProcessFreeBSD.cpp \ - ProcessMonitor.cpp + ProcessMonitor.cpp \ + POSIXStopInfo.cpp \ + POSIXThread.cpp \ + ProcessPOSIX.cpp \ + RegisterContextPOSIXProcessMonitor_arm.cpp \ + RegisterContextPOSIXProcessMonitor_arm64.cpp \ + RegisterContextPOSIXProcessMonitor_mips64.cpp \ + RegisterContextPOSIXProcessMonitor_powerpc.cpp \ + RegisterContextPOSIXProcessMonitor_x86.cpp TGHDRS= DiagnosticCommonKinds \ DeclNodes \ diff --git a/lib/clang/liblldbPluginProcessGDBRemote/Makefile b/lib/clang/liblldbPluginProcessGDBRemote/Makefile index 5bbb40f..ec59e3c 100644 --- a/lib/clang/liblldbPluginProcessGDBRemote/Makefile +++ b/lib/clang/liblldbPluginProcessGDBRemote/Makefile @@ -8,6 +8,9 @@ SRCDIR= tools/lldb/source/Plugins/Process/gdb-remote SRCS= GDBRemoteCommunication.cpp \ GDBRemoteCommunicationClient.cpp \ GDBRemoteCommunicationServer.cpp \ + GDBRemoteCommunicationServerCommon.cpp \ + GDBRemoteCommunicationServerLLGS.cpp \ + GDBRemoteCommunicationServerPlatform.cpp \ GDBRemoteRegisterContext.cpp \ ProcessGDBRemote.cpp \ ProcessGDBRemoteLog.cpp \ diff --git a/lib/clang/liblldbPluginProcessPOSIX/Makefile b/lib/clang/liblldbPluginProcessPOSIX/Makefile index ddd902a..8c73930 100644 --- a/lib/clang/liblldbPluginProcessPOSIX/Makefile +++ b/lib/clang/liblldbPluginProcessPOSIX/Makefile @@ -10,15 +10,9 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Uti CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD SRCDIR= tools/lldb/source/Plugins/Process/POSIX -SRCS= POSIXStopInfo.cpp \ - POSIXThread.cpp \ +SRCS= CrashReason.cpp \ ProcessMessage.cpp \ - ProcessPOSIX.cpp \ - ProcessPOSIXLog.cpp \ - RegisterContextPOSIXProcessMonitor_arm64.cpp \ - RegisterContextPOSIXProcessMonitor_mips64.cpp \ - RegisterContextPOSIXProcessMonitor_powerpc.cpp \ - RegisterContextPOSIXProcessMonitor_x86.cpp + ProcessPOSIXLog.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbPluginProcessUtility/Makefile b/lib/clang/liblldbPluginProcessUtility/Makefile index d43396f..f130841 100644 --- a/lib/clang/liblldbPluginProcessUtility/Makefile +++ b/lib/clang/liblldbPluginProcessUtility/Makefile @@ -11,18 +11,23 @@ SRCS= DynamicRegisterInfo.cpp \ HistoryUnwind.cpp \ InferiorCallPOSIX.cpp \ LinuxSignals.cpp \ + MipsLinuxSignals.cpp \ RegisterContextDarwin_arm.cpp \ RegisterContextDarwin_arm64.cpp \ RegisterContextDarwin_i386.cpp \ RegisterContextDarwin_x86_64.cpp \ RegisterContextDummy.cpp \ + RegisterContextFreeBSD_arm.cpp \ + RegisterContextFreeBSD_arm64.cpp \ RegisterContextFreeBSD_i386.cpp \ RegisterContextFreeBSD_mips64.cpp \ RegisterContextFreeBSD_powerpc.cpp \ RegisterContextFreeBSD_x86_64.cpp \ RegisterContextHistory.cpp \ + RegisterContextLinux_arm.cpp \ RegisterContextLinux_arm64.cpp \ RegisterContextLinux_i386.cpp \ + RegisterContextLinux_mips.cpp \ RegisterContextLinux_x86_64.cpp \ RegisterContextLLDB.cpp \ RegisterContextMach_arm.cpp \ @@ -30,6 +35,7 @@ SRCS= DynamicRegisterInfo.cpp \ RegisterContextMach_x86_64.cpp \ RegisterContextMacOSXFrameBackchain.cpp \ RegisterContextMemory.cpp \ + RegisterContextPOSIX_arm.cpp \ RegisterContextPOSIX_arm64.cpp \ RegisterContextPOSIX_mips64.cpp \ RegisterContextPOSIX_powerpc.cpp \ diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile index 95ced8d..8163ad5 100644 --- a/lib/clang/liblldbTarget/Makefile +++ b/lib/clang/liblldbTarget/Makefile @@ -18,8 +18,6 @@ SRCS= ABI.cpp \ LanguageRuntime.cpp \ Memory.cpp \ MemoryHistory.cpp \ - NativeRegisterContext.cpp \ - NativeRegisterContextRegisterInfo.cpp \ ObjCLanguageRuntime.cpp \ OperatingSystem.cpp \ PathMappingList.cpp \ diff --git a/lib/clang/liblldbUtility/Makefile b/lib/clang/liblldbUtility/Makefile index 13ed72d..918cfab 100644 --- a/lib/clang/liblldbUtility/Makefile +++ b/lib/clang/liblldbUtility/Makefile @@ -7,7 +7,12 @@ LIB= lldbUtility SRCDIR= tools/lldb/source/Utility SRCS= ARM64_DWARF_Registers.cpp \ ARM_DWARF_Registers.cpp \ + ConvertEnum.cpp \ + JSON.cpp \ KQueue.cpp \ + LLDBAssert.cpp \ + ModuleCache.cpp \ + NameMatches.cpp \ PseudoTerminal.cpp \ Range.cpp \ RegisterNumber.cpp \ diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index 7c81c5b..b12d0ae 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -26,26 +26,29 @@ SRCS= AliasAnalysis.cpp \ CostModel.cpp \ Delinearization.cpp \ DependenceAnalysis.cpp \ + DivergenceAnalysis.cpp \ DomPrinter.cpp \ DominanceFrontier.cpp \ - FunctionTargetTransformInfo.cpp \ IVUsers.cpp \ InstCount.cpp \ InstructionSimplify.cpp \ Interval.cpp \ IntervalPartition.cpp \ - JumpInstrTableInfo.cpp \ + IteratedDominanceFrontier.cpp \ LazyCallGraph.cpp \ LazyValueInfo.cpp \ LibCallAliasAnalysis.cpp \ LibCallSemantics.cpp \ Lint.cpp \ Loads.cpp \ + LoopAccessAnalysis.cpp \ LoopInfo.cpp \ LoopPass.cpp \ MemDepPrinter.cpp \ + MemDerefPrinter.cpp \ MemoryBuiltins.cpp \ MemoryDependenceAnalysis.cpp \ + MemoryLocation.cpp \ ModuleDebugInfoPrinter.cpp \ NoAliasAnalysis.cpp \ PHITransAddr.cpp \ @@ -60,6 +63,7 @@ SRCS= AliasAnalysis.cpp \ ScalarEvolutionNormalization.cpp \ ScopedNoAliasAA.cpp \ SparsePropagation.cpp \ + TargetLibraryInfo.cpp \ TargetTransformInfo.cpp \ Trace.cpp \ TypeBasedAliasAnalysis.cpp \ diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile index dc951e3..6da61b9 100644 --- a/lib/clang/libllvmarmcodegen/Makefile +++ b/lib/clang/libllvmarmcodegen/Makefile @@ -21,8 +21,8 @@ SRCS= A15SDOptimizer.cpp \ ARMLoadStoreOptimizer.cpp \ ARMMCInstLower.cpp \ ARMMachineFunctionInfo.cpp \ - ARMRegisterInfo.cpp \ ARMOptimizeBarriersPass.cpp \ + ARMRegisterInfo.cpp \ ARMSelectionDAGInfo.cpp \ ARMSubtarget.cpp \ ARMTargetMachine.cpp \ @@ -31,11 +31,10 @@ SRCS= A15SDOptimizer.cpp \ MLxExpansionPass.cpp \ Thumb1FrameLowering.cpp \ Thumb1InstrInfo.cpp \ - Thumb1RegisterInfo.cpp \ Thumb2ITBlockPass.cpp \ Thumb2InstrInfo.cpp \ - Thumb2RegisterInfo.cpp \ - Thumb2SizeReduction.cpp + Thumb2SizeReduction.cpp \ + ThumbRegisterInfo.cpp TGHDRS= ARMGenAsmWriter \ ARMGenCallingConv \ diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile index 4ff6f22..f7d41c2 100644 --- a/lib/clang/libllvmasmprinter/Makefile +++ b/lib/clang/libllvmasmprinter/Makefile @@ -24,8 +24,8 @@ SRCS= ARMException.cpp \ EHStreamer.cpp \ ErlangGCPrinter.cpp \ OcamlGCPrinter.cpp \ - Win64Exception.cpp \ - WinCodeViewLineTables.cpp + WinCodeViewLineTables.cpp \ + WinException.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index d5d8e43..eedba37 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -15,6 +15,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ CallingConvLower.cpp \ CodeGen.cpp \ CodeGenPrepare.cpp \ + CoreCLRGC.cpp \ CriticalAntiDepBreaker.cpp \ DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ @@ -25,16 +26,17 @@ SRCS= AggressiveAntiDepBreaker.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ ExpandPostRAPseudos.cpp \ - ForwardControlFlowIntegrity.cpp \ + FaultMaps.cpp \ GCMetadata.cpp \ GCMetadataPrinter.cpp \ + GCRootLowering.cpp \ GCStrategy.cpp \ GlobalMerge.cpp \ IfConversion.cpp \ + ImplicitNullChecks.cpp \ InlineSpiller.cpp \ InterferenceCache.cpp \ IntrinsicLowering.cpp \ - JumpInstrTables.cpp \ LLVMTargetMachine.cpp \ LatencyPriorityQueue.cpp \ LexicalScopes.cpp \ @@ -49,6 +51,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \ LiveStackAnalysis.cpp \ LiveVariables.cpp \ LocalStackSlotAllocation.cpp \ + MIRPrinter.cpp \ + MIRPrintingPass.cpp \ MachineBasicBlock.cpp \ MachineBlockFrequencyInfo.cpp \ MachineBlockPlacement.cpp \ @@ -101,6 +105,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ ShadowStackGC.cpp \ + ShadowStackGCLowering.cpp \ + ShrinkWrap.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ SpillPlacement.cpp \ @@ -121,7 +127,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \ TargetSchedule.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ - VirtRegMap.cpp + VirtRegMap.cpp \ + WinEHPrepare.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index 921d0be..52cf1d0 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -17,6 +17,7 @@ SRCS= AsmWriter.cpp \ DIBuilder.cpp \ DataLayout.cpp \ DebugInfo.cpp \ + DebugInfoMetadata.cpp \ DebugLoc.cpp \ DiagnosticInfo.cpp \ DiagnosticPrinter.cpp \ @@ -39,6 +40,7 @@ SRCS= AsmWriter.cpp \ Metadata.cpp \ MetadataTracking.cpp \ Module.cpp \ + Operator.cpp \ Pass.cpp \ PassManager.cpp \ PassRegistry.cpp \ @@ -46,7 +48,6 @@ SRCS= AsmWriter.cpp \ Type.cpp \ TypeFinder.cpp \ Use.cpp \ - UseListOrder.cpp \ User.cpp \ Value.cpp \ ValueSymbolTable.cpp \ diff --git a/lib/clang/libllvmdebuginfo/Makefile.depend b/lib/clang/libllvmdebuginfo/Makefile.depend deleted file mode 100644 index c9899bc..0000000 --- a/lib/clang/libllvmdebuginfo/Makefile.depend +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ -# Autogenerated - do NOT edit! - -DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} - -DIRDEPS = \ - include \ - include/xlocale \ - lib/libc++ \ - lib/msun \ - - -.include <dirdeps.mk> - -.if ${DEP_RELDIR} == ${_DEP_RELDIR} -# local dependencies - needed for -jN in clean tree -.endif diff --git a/lib/clang/libllvmdebuginfo/Makefile b/lib/clang/libllvmdebuginfodwarf/Makefile index 3cee40e..5f52f33 100644 --- a/lib/clang/libllvmdebuginfo/Makefile +++ b/lib/clang/libllvmdebuginfodwarf/Makefile @@ -2,11 +2,11 @@ .include <src.opts.mk> -LIB= llvmdebuginfo +LIB= llvmdebuginfodwarf -SRCDIR= lib/DebugInfo -SRCS= DIContext.cpp \ - DWARFAbbreviationDeclaration.cpp \ +SRCDIR= lib/DebugInfo/DWARF +SRCS= DWARFAbbreviationDeclaration.cpp \ + DWARFAcceleratorTable.cpp \ DWARFCompileUnit.cpp \ DWARFContext.cpp \ DWARFDebugAbbrev.cpp \ @@ -19,11 +19,7 @@ SRCS= DIContext.cpp \ DWARFDebugRangeList.cpp \ DWARFFormValue.cpp \ DWARFTypeUnit.cpp \ - DWARFUnit.cpp - -.if ${MK_CLANG_EXTRAS} != "no" -SRCS+= DWARFAcceleratorTable.cpp \ + DWARFUnit.cpp \ SyntaxHighlighting.cpp -.endif .include "../clang.lib.mk" diff --git a/lib/clang/libllvmdebuginfopdb/Makefile b/lib/clang/libllvmdebuginfopdb/Makefile new file mode 100644 index 0000000..1b694db --- /dev/null +++ b/lib/clang/libllvmdebuginfopdb/Makefile @@ -0,0 +1,47 @@ +# $FreeBSD$ + +.include <src.opts.mk> + +LIB= llvmdebuginfopdb + +SRCDIR= lib/DebugInfo/PDB +SRCS= IPDBSourceFile.cpp \ + PDB.cpp \ + PDBContext.cpp \ + PDBExtras.cpp \ + PDBInterfaceAnchors.cpp \ + PDBSymDumper.cpp \ + PDBSymbol.cpp \ + PDBSymbolAnnotation.cpp \ + PDBSymbolBlock.cpp \ + PDBSymbolCompiland.cpp \ + PDBSymbolCompilandDetails.cpp \ + PDBSymbolCompilandEnv.cpp \ + PDBSymbolCustom.cpp \ + PDBSymbolData.cpp \ + PDBSymbolExe.cpp \ + PDBSymbolFunc.cpp \ + PDBSymbolFuncDebugEnd.cpp \ + PDBSymbolFuncDebugStart.cpp \ + PDBSymbolLabel.cpp \ + PDBSymbolPublicSymbol.cpp \ + PDBSymbolThunk.cpp \ + PDBSymbolTypeArray.cpp \ + PDBSymbolTypeBaseClass.cpp \ + PDBSymbolTypeBuiltin.cpp \ + PDBSymbolTypeCustom.cpp \ + PDBSymbolTypeDimension.cpp \ + PDBSymbolTypeEnum.cpp \ + PDBSymbolTypeFriend.cpp \ + PDBSymbolTypeFunctionArg.cpp \ + PDBSymbolTypeFunctionSig.cpp \ + PDBSymbolTypeManaged.cpp \ + PDBSymbolTypePointer.cpp \ + PDBSymbolTypeTypedef.cpp \ + PDBSymbolTypeUDT.cpp \ + PDBSymbolTypeVTable.cpp \ + PDBSymbolTypeVTableShape.cpp \ + PDBSymbolUnknown.cpp \ + PDBSymbolUsingNamespace.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmexecutionengine/Makefile b/lib/clang/libllvmexecutionengine/Makefile index 5a7e6c3..13855a0 100644 --- a/lib/clang/libllvmexecutionengine/Makefile +++ b/lib/clang/libllvmexecutionengine/Makefile @@ -8,6 +8,7 @@ SRCDIR= lib/ExecutionEngine SRCS= ExecutionEngine.cpp \ ExecutionEngineBindings.cpp \ GDBRegistrationListener.cpp \ + SectionMemoryManager.cpp \ TargetSelect.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile index 963b638..b01b91a 100644 --- a/lib/clang/libllvminstrumentation/Makefile +++ b/lib/clang/libllvminstrumentation/Makefile @@ -12,6 +12,7 @@ SRCS= AddressSanitizer.cpp \ MemorySanitizer.cpp \ Instrumentation.cpp \ InstrProfiling.cpp \ + SafeStack.cpp \ SanitizerCoverage.cpp \ ThreadSanitizer.cpp diff --git a/lib/clang/libllvmipo/Makefile b/lib/clang/libllvmipo/Makefile index 85af036..8bd2169 100644 --- a/lib/clang/libllvmipo/Makefile +++ b/lib/clang/libllvmipo/Makefile @@ -19,6 +19,7 @@ SRCS= ArgumentPromotion.cpp \ Inliner.cpp \ Internalize.cpp \ LoopExtractor.cpp \ + LowerBitSets.cpp \ MergeFunctions.cpp \ PartialInlining.cpp \ PassManagerBuilder.cpp \ diff --git a/lib/clang/libllvmlibdriver/Makefile b/lib/clang/libllvmlibdriver/Makefile new file mode 100644 index 0000000..863ef48 --- /dev/null +++ b/lib/clang/libllvmlibdriver/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= llvmlibdriver + +SRCDIR= lib/LibDriver +SRCS= LibDriver.cpp +CFLAGS+= -I${.CURDIR} + +TGHDRS= Options + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmlibdriver/Options.inc b/lib/clang/libllvmlibdriver/Options.inc new file mode 100644 index 0000000..37422c1 --- /dev/null +++ b/lib/clang/libllvmlibdriver/Options.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "Options.inc.h" diff --git a/lib/clang/libllvmlto/Makefile b/lib/clang/libllvmlto/Makefile new file mode 100644 index 0000000..776c45f --- /dev/null +++ b/lib/clang/libllvmlto/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.include <src.opts.mk> + +LIB= llvmlto + +SRCDIR= lib/LTO +SRCS= LTOCodeGenerator.cpp \ + LTOModule.cpp + +TGHDRS= Intrinsics + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index f4582c2..8db86fd 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -18,13 +18,13 @@ SRCS= ConstantPools.cpp \ MCCodeGenInfo.cpp \ MCContext.cpp \ MCDwarf.cpp \ - MCELF.cpp \ MCELFObjectTargetWriter.cpp \ MCELFStreamer.cpp \ MCExpr.cpp \ MCInst.cpp \ MCInstPrinter.cpp \ MCInstrAnalysis.cpp \ + MCInstrDesc.cpp \ MCLabel.cpp \ MCLinkerOptimizationHint.cpp \ MCMachOStreamer.cpp \ @@ -41,6 +41,7 @@ SRCS= ConstantPools.cpp \ MCStreamer.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ + MCSymbolELF.cpp \ MCSymbolizer.cpp \ MCTargetOptions.cpp \ MCValue.cpp \ diff --git a/lib/clang/libllvmmcjit/Makefile b/lib/clang/libllvmmcjit/Makefile index ea3cf07..207fd81 100644 --- a/lib/clang/libllvmmcjit/Makefile +++ b/lib/clang/libllvmmcjit/Makefile @@ -5,7 +5,6 @@ LIB= llvmmcjit SRCDIR= lib/ExecutionEngine/MCJIT -SRCS= MCJIT.cpp \ - SectionMemoryManager.cpp +SRCS= MCJIT.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmirparser/Makefile b/lib/clang/libllvmmirparser/Makefile new file mode 100644 index 0000000..633c020 --- /dev/null +++ b/lib/clang/libllvmmirparser/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= llvmmirparser + +SRCDIR= lib/CodeGen/MIRParser +SRCS= MIRParser.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmobjcarcopts/Makefile b/lib/clang/libllvmobjcarcopts/Makefile index ee3ca83..308e11a 100644 --- a/lib/clang/libllvmobjcarcopts/Makefile +++ b/lib/clang/libllvmobjcarcopts/Makefile @@ -5,16 +5,17 @@ LIB= llvmobjcarcopts SRCDIR= lib/Transforms/ObjCARC -SRCS= ObjCARC.cpp \ - ObjCARCOpts.cpp \ - ObjCARCExpand.cpp \ +SRCS= ARCInstKind.cpp \ + DependencyAnalysis.cpp \ + ObjCARC.cpp \ ObjCARCAPElim.cpp \ ObjCARCAliasAnalysis.cpp \ - ObjCARCUtil.cpp \ ObjCARCContract.cpp \ - DependencyAnalysis.cpp \ + ObjCARCExpand.cpp \ + ObjCARCOpts.cpp \ ProvenanceAnalysis.cpp \ - ProvenanceAnalysisEvaluator.cpp + ProvenanceAnalysisEvaluator.cpp \ + PtrState.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmobject/Makefile b/lib/clang/libllvmobject/Makefile index 804fff8..2254d53 100644 --- a/lib/clang/libllvmobject/Makefile +++ b/lib/clang/libllvmobject/Makefile @@ -6,6 +6,7 @@ LIB= llvmobject SRCDIR= lib/Object SRCS= Archive.cpp \ + ArchiveWriter.cpp \ Binary.cpp \ COFFObjectFile.cpp \ COFFYAML.cpp \ diff --git a/lib/clang/libllvmorcjit/Makefile b/lib/clang/libllvmorcjit/Makefile new file mode 100644 index 0000000..84621de --- /dev/null +++ b/lib/clang/libllvmorcjit/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= llvmorcjit + +SRCDIR= lib/ExecutionEngine/Orc +SRCS= ExecutionUtils.cpp \ + IndirectionUtils.cpp \ + OrcMCJITReplacement.cpp \ + OrcTargetSupport.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmpasses/Makefile b/lib/clang/libllvmpasses/Makefile new file mode 100644 index 0000000..ed4e20d --- /dev/null +++ b/lib/clang/libllvmpasses/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +.include <src.opts.mk> + +LIB= llvmpasses + +SRCDIR= lib/Passes +SRCS= PassBuilder.cpp + +TGHDRS= Intrinsics + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index 211bc22..dc05068 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -8,20 +8,28 @@ SRCDIR= lib/Target/PowerPC SRCS= PPCAsmPrinter.cpp \ PPCBranchSelector.cpp \ PPCCTRLoops.cpp \ + PPCEarlyReturn.cpp \ PPCFastISel.cpp \ PPCFrameLowering.cpp \ PPCHazardRecognizers.cpp \ PPCISelDAGToDAG.cpp \ PPCISelLowering.cpp \ PPCInstrInfo.cpp \ + PPCLoopDataPrefetch.cpp \ + PPCLoopPreIncPrep.cpp \ PPCMCInstLower.cpp \ PPCMachineFunctionInfo.cpp \ PPCRegisterInfo.cpp \ PPCSelectionDAGInfo.cpp \ PPCSubtarget.cpp \ + PPCTLSDynamicCall.cpp \ + PPCTOCRegDeps.cpp \ PPCTargetMachine.cpp \ PPCTargetObjectFile.cpp \ - PPCTargetTransformInfo.cpp + PPCTargetTransformInfo.cpp \ + PPCVSXCopy.cpp \ + PPCVSXFMAMutate.cpp \ + PPCVSXSwapRemoval.cpp TGHDRS= Intrinsics \ PPCGenCallingConv \ diff --git a/lib/clang/libllvmruntimedyld/Makefile b/lib/clang/libllvmruntimedyld/Makefile index 75eb843..a4326b5 100644 --- a/lib/clang/libllvmruntimedyld/Makefile +++ b/lib/clang/libllvmruntimedyld/Makefile @@ -7,6 +7,7 @@ LIB= llvmruntimedyld SRCDIR= lib/ExecutionEngine/RuntimeDyld SRCS= RTDyldMemoryManager.cpp \ RuntimeDyld.cpp \ + RuntimeDyldCOFF.cpp \ RuntimeDyldChecker.cpp \ RuntimeDyldELF.cpp \ RuntimeDyldMachO.cpp diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index bb8dc96..8579df9 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -7,6 +7,7 @@ LIB= llvmscalaropts SRCDIR= lib/Transforms/Scalar SRCS= ADCE.cpp \ AlignmentFromAssumptions.cpp \ + BDCE.cpp \ ConstantHoisting.cpp \ ConstantProp.cpp \ CorrelatedValuePropagation.cpp \ @@ -14,24 +15,32 @@ SRCS= ADCE.cpp \ DeadStoreElimination.cpp \ EarlyCSE.cpp \ FlattenCFGPass.cpp \ + Float2Int.cpp \ GVN.cpp \ IndVarSimplify.cpp \ + InductiveRangeCheckElimination.cpp \ JumpThreading.cpp \ LICM.cpp \ LoadCombine.cpp \ LoopDeletion.cpp \ + LoopDistribute.cpp \ LoopIdiomRecognize.cpp \ + LoopInterchange.cpp \ LoopRerollPass.cpp \ LoopRotation.cpp \ LoopStrengthReduce.cpp \ LoopUnrollPass.cpp \ LoopUnswitch.cpp \ LowerAtomic.cpp \ + LowerExpectIntrinsic.cpp \ MemCpyOptimizer.cpp \ MergedLoadStoreMotion.cpp \ + NaryReassociate.cpp \ PartiallyInlineLibCalls.cpp \ + PlaceSafepoints.cpp \ Reassociate.cpp \ Reg2Mem.cpp \ + RewriteStatepointsForGC.cpp \ SCCP.cpp \ SROA.cpp \ SampleProfile.cpp \ @@ -40,6 +49,8 @@ SRCS= ADCE.cpp \ SeparateConstOffsetFromGEP.cpp \ SimplifyCFGPass.cpp \ Sink.cpp \ + SpeculativeExecution.cpp \ + StraightLineStrengthReduce.cpp \ StructurizeCFG.cpp \ TailRecursionElimination.cpp diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index f325b15..db11396 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -14,6 +14,7 @@ SRCS= APFloat.cpp \ Atomic.cpp \ BlockFrequency.cpp \ BranchProbability.cpp \ + COM.cpp \ CommandLine.cpp \ Compression.cpp \ ConvertUTF.c \ @@ -36,8 +37,6 @@ SRCS= APFloat.cpp \ IntEqClasses.cpp \ IntervalMap.cpp \ IntrusiveRefCntPtr.cpp \ - IsInf.cpp \ - IsNAN.cpp \ LEB128.cpp \ LineIterator.cpp \ Locale.cpp \ @@ -71,6 +70,8 @@ SRCS= APFloat.cpp \ StringMap.cpp \ StringPool.cpp \ StringRef.cpp \ + StringSaver.cpp \ + TargetParser.cpp \ TargetRegistry.cpp \ ThreadLocal.cpp \ Threading.cpp \ diff --git a/lib/clang/libllvmtablegen/Makefile b/lib/clang/libllvmtablegen/Makefile index fb0c5b8..be5e521 100644 --- a/lib/clang/libllvmtablegen/Makefile +++ b/lib/clang/libllvmtablegen/Makefile @@ -10,8 +10,8 @@ SRCS= Error.cpp \ Record.cpp \ SetTheory.cpp \ StringMatcher.cpp \ - TableGenBackend.cpp \ TGLexer.cpp \ - TGParser.cpp + TGParser.cpp \ + TableGenBackend.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile index 3f9619b..2935e3e 100644 --- a/lib/clang/libllvmtarget/Makefile +++ b/lib/clang/libllvmtarget/Makefile @@ -7,10 +7,12 @@ LIB= llvmtarget SRCDIR= lib/Target SRCS= Target.cpp \ TargetIntrinsicInfo.cpp \ - TargetLibraryInfo.cpp \ TargetLoweringObjectFile.cpp \ TargetMachine.cpp \ TargetMachineC.cpp \ + TargetRecip.cpp \ TargetSubtargetInfo.cpp +TGHDRS= Intrinsics + .include "../clang.lib.mk" diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index a3cf212..2c0d7c5 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -27,7 +27,7 @@ SRCS= ASanStackFrameLayout.cpp \ LoopSimplify.cpp \ LoopUnroll.cpp \ LoopUnrollRuntime.cpp \ - LowerExpectIntrinsic.cpp \ + LoopUtils.cpp \ LowerInvoke.cpp \ LowerSwitch.cpp \ Mem2Reg.cpp \ diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile index b030b1f..0f6776a 100644 --- a/lib/clang/libllvmx86codegen/Makefile +++ b/lib/clang/libllvmx86codegen/Makefile @@ -7,6 +7,7 @@ LIB= llvmx86codegen SRCDIR= lib/Target/X86 SRCS= X86AsmPrinter.cpp \ X86CallFrameOptimization.cpp \ + X86ExpandPseudo.cpp \ X86FastISel.cpp \ X86FixupLEAs.cpp \ X86FloatingPoint.cpp \ @@ -23,7 +24,8 @@ SRCS= X86AsmPrinter.cpp \ X86TargetMachine.cpp \ X86TargetObjectFile.cpp \ X86TargetTransformInfo.cpp \ - X86VZeroUpper.cpp + X86VZeroUpper.cpp \ + X86WinEHState.cpp TGHDRS= Intrinsics \ X86GenCallingConv \ diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc index 03873f2..d9f0dca 100644 --- a/lib/libclang_rt/Makefile.inc +++ b/lib/libclang_rt/Makefile.inc @@ -5,7 +5,7 @@ CRTARCH=${MACHINE_CPUARCH:C/amd64/x86_64/} CRTSRC=${.CURDIR}/../../../contrib/compiler-rt -LIBDIR=/usr/lib/clang/3.6.1/lib/freebsd +LIBDIR=/usr/lib/clang/3.7.0/lib/freebsd NO_PIC= MK_PROFILE=no |