diff options
Diffstat (limited to 'lib')
29 files changed, 344 insertions, 298 deletions
diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h index cb89cc37f1262..9096dc913f141 100644 --- a/lib/clang/freebsd_cc_version.h +++ b/lib/clang/freebsd_cc_version.h @@ -1,3 +1,3 @@ /* $FreeBSD$ */ -#define FREEBSD_CC_VERSION 1200015 +#define FREEBSD_CC_VERSION 1200016 diff --git a/lib/clang/headers/Makefile b/lib/clang/headers/Makefile index a353b05a473a2..9b4607f322f14 100644 --- a/lib/clang/headers/Makefile +++ b/lib/clang/headers/Makefile @@ -4,14 +4,17 @@ .PATH: ${CLANG_SRCS}/lib/Headers -INCSDIR= ${LIBDIR}/clang/6.0.1/include +INCSDIR= ${LIBDIR}/clang/7.0.0/include +GENINCS+= arm_fp16.h GENINCS+= arm_neon.h INCS+= __clang_cuda_builtin_vars.h INCS+= __clang_cuda_cmath.h INCS+= __clang_cuda_complex_builtins.h +INCS+= __clang_cuda_device_functions.h INCS+= __clang_cuda_intrinsics.h +INCS+= __clang_cuda_libdevice_declares.h INCS+= __clang_cuda_math_forward_declares.h INCS+= __clang_cuda_runtime_wrapper.h INCS+= __stddef_max_align_t.h @@ -50,6 +53,7 @@ INCS+= avxintrin.h INCS+= bmi2intrin.h INCS+= bmiintrin.h INCS+= cetintrin.h +INCS+= cldemoteintrin.h INCS+= clflushoptintrin.h INCS+= clwbintrin.h INCS+= clzerointrin.h @@ -64,23 +68,28 @@ INCS+= htmintrin.h INCS+= htmxlintrin.h INCS+= ia32intrin.h INCS+= immintrin.h +INCS+= invpcidintrin.h INCS+= lwpintrin.h INCS+= lzcntintrin.h INCS+= mm3dnow.h INCS+= mm_malloc.h INCS+= mmintrin.h INCS+= module.modulemap +INCS+= movdirintrin.h INCS+= msa.h INCS+= mwaitxintrin.h INCS+= nmmintrin.h INCS+= opencl-c.h +INCS+= pconfigintrin.h INCS+= pkuintrin.h INCS+= pmmintrin.h INCS+= popcntintrin.h INCS+= prfchwintrin.h +INCS+= ptwriteintrin.h INCS+= rdseedintrin.h INCS+= rtmintrin.h INCS+= s390intrin.h +INCS+= sgxintrin.h INCS+= shaintrin.h INCS+= smmintrin.h INCS+= tbmintrin.h @@ -89,6 +98,8 @@ INCS+= vadefs.h INCS+= vaesintrin.h INCS+= vecintrin.h INCS+= vpclmulqdqintrin.h +INCS+= waitpkgintrin.h +INCS+= wbnoinvdintrin.h INCS+= wmmintrin.h INCS+= x86intrin.h INCS+= xmmintrin.h @@ -119,10 +130,15 @@ INCS+= unwind.h INCS+= varargs.h .endif +arm_fp16.h: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td + ${CLANG_TBLGEN} -gen-arm-fp16 \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td + arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td ${CLANG_TBLGEN} -gen-arm-neon \ - -d ${.TARGET:C/$/.d/} -o ${.TARGET} \ - ${CLANG_SRCS}/include/clang/Basic/arm_neon.td + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td CLEANFILES= ${GENINCS} ${GENINCS:C/$/.d/} diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 7f33eef122505..9f8b12bd73080 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 6.0.1 -#define CLANG_VERSION_STRING "6.0.1" -#define CLANG_VERSION_MAJOR 6 +#define CLANG_VERSION 7.0.0 +#define CLANG_VERSION_STRING "7.0.0" +#define CLANG_VERSION_MAJOR 7 #define CLANG_VERSION_MINOR 0 -#define CLANG_VERSION_PATCHLEVEL 1 +#define CLANG_VERSION_PATCHLEVEL 0 #define CLANG_VENDOR "FreeBSD " -#define SVN_REVISION "335540" +#define SVN_REVISION "340910" diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h index 959553629e24f..49b99a6e04837 100644 --- a/lib/clang/include/clang/Config/config.h +++ b/lib/clang/include/clang/Config/config.h @@ -12,6 +12,12 @@ /* Default linker to use. */ #define CLANG_DEFAULT_LINKER "" +/* Default C/ObjC standard to use. */ +/* #undef CLANG_DEFAULT_STD_C */ + +/* Default C++/ObjC++ standard to use. */ +/* #undef CLANG_DEFAULT_STD_CXX */ + /* Default C++ stdlib to use. */ #define CLANG_DEFAULT_CXX_STDLIB "" @@ -56,7 +62,7 @@ #define CLANG_HAVE_RLIMITS 1 /* The LLVM product name and version */ -#define BACKEND_PACKAGE_STRING "LLVM 6.0.1" +#define BACKEND_PACKAGE_STRING "LLVM 7.0.0" /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ @@ -67,6 +73,9 @@ /* enable x86 relax relocations by default */ #define ENABLE_X86_RELAX_RELOCATIONS 0 +/* Enable the experimental new pass manager by default */ +#define ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER 0 + /* Enable each functionality of modules */ /* #undef CLANG_ENABLE_ARCMT */ /* #undef CLANG_ENABLE_OBJC_REWRITER */ diff --git a/lib/clang/include/lld/Common/Version.inc b/lib/clang/include/lld/Common/Version.inc index 5e7f5111371f0..dbb721da2a327 100644 --- a/lib/clang/include/lld/Common/Version.inc +++ b/lib/clang/include/lld/Common/Version.inc @@ -1,10 +1,10 @@ // $FreeBSD$ -#define LLD_VERSION 6.0.1 -#define LLD_VERSION_STRING "6.0.1" -#define LLD_VERSION_MAJOR 6 +#define LLD_VERSION 7.0.0 +#define LLD_VERSION_STRING "7.0.0" +#define LLD_VERSION_MAJOR 7 #define LLD_VERSION_MINOR 0 #define LLD_REPOSITORY_STRING "FreeBSD" // <Upstream revision at import>-<Local identifier in __FreeBSD_version style> -#define LLD_REVISION_STRING "335540-1200004" +#define LLD_REVISION_STRING "340910-1200005" diff --git a/lib/clang/include/lldb/Host/Config.h b/lib/clang/include/lldb/Host/Config.h index 86ef19b64e151..eda561667ca63 100644 --- a/lib/clang/include/lldb/Host/Config.h +++ b/lib/clang/include/lldb/Host/Config.h @@ -13,8 +13,14 @@ #define LLDB_CONFIG_TERMIOS_SUPPORTED +#define LLDB_EDITLINE_USE_WCHAR 0 + +#define LLDB_HAVE_EL_RFUNC_T 0 + /* #undef LLDB_DISABLE_POSIX */ +#define LLDB_LIBDIR_SUFFIX "" + #define HAVE_SYS_EVENT_H 1 #define HAVE_PPOLL 1 @@ -25,6 +31,8 @@ #define HAVE_NR_PROCESS_VM_READV 0 +#ifndef HAVE_LIBCOMPRESSION /* #undef HAVE_LIBCOMPRESSION */ +#endif #endif // #ifndef LLDB_HOST_CONFIG_H diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 3ac238b9821cf..023a928453a13 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -44,10 +44,6 @@ /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ #define LLVM_ENABLE_DIA_SDK 0 -/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. - */ -#define HAVE_DIRENT_H 1 - /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 @@ -83,9 +79,6 @@ /* 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 - /* Define to 1 if you have the `getpagesize' function. */ #define HAVE_GETPAGESIZE 1 @@ -95,21 +88,15 @@ /* Define to 1 if you have the `getrusage' function. */ #define HAVE_GETRUSAGE 1 -/* Define to 1 if you have the `gettimeofday' function. */ -#define HAVE_GETTIMEOFDAY 1 - -/* Define to 1 if the system has the type `int64_t'. */ -#define HAVE_INT64_T 1 - -/* Define to 1 if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - /* Define to 1 if you have the `isatty' function. */ #define HAVE_ISATTY 1 /* Define to 1 if you have the `edit' library (-ledit). */ #define HAVE_LIBEDIT 1 +/* Define to 1 if you have the `pfm' library (-lpfm). */ +/* #undef HAVE_LIBPFM */ + /* Define to 1 if you have the `psapi' library (-lpsapi). */ /* #undef HAVE_LIBPSAPI */ @@ -122,9 +109,6 @@ /* Define to 1 if you have the `pthread_setname_np' function. */ /* #undef HAVE_PTHREAD_SETNAME_NP */ -/* Define to 1 if you have the `shell32' library (-lshell32). */ -/* #undef HAVE_LIBSHELL32 */ - /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 @@ -152,18 +136,6 @@ /* Define to 1 if you have the `malloc_zone_statistics' function. */ /* #undef HAVE_MALLOC_ZONE_STATISTICS */ -/* Define to 1 if you have the `mkdtemp' function. */ -#define HAVE_MKDTEMP 1 - -/* Define to 1 if you have the `mkstemp' function. */ -#define HAVE_MKSTEMP 1 - -/* Define to 1 if you have the `mktemp' function. */ -#define HAVE_MKTEMP 1 - -/* 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 `posix_fallocate' function. */ #define HAVE_POSIX_FALLOCATE 1 @@ -209,35 +181,21 @@ /* Define to 1 if you have the <signal.h> header file. */ #define HAVE_SIGNAL_H 1 -/* Define to 1 if you have the <stdint.h> header file. */ -#define HAVE_STDINT_H 1 - /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 -/* Define to 1 if you have the `strtoll' function. */ -#define HAVE_STRTOLL 1 - /* Define to 1 if you have the `sysconf' function. */ #define HAVE_SYSCONF 1 -/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. - */ -#define HAVE_SYS_DIR_H 1 - /* Define to 1 if you have the <sys/ioctl.h> header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the <sys/mman.h> header file. */ #define HAVE_SYS_MMAN_H 1 -/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. - */ -/* #undef HAVE_SYS_NDIR_H */ - /* Define to 1 if you have the <sys/param.h> header file. */ #define HAVE_SYS_PARAM_H 1 @@ -253,9 +211,6 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 -/* Define to 1 if you have the <sys/uio.h> header file. */ -#define HAVE_SYS_UIO_H 1 - /* Define if the setupterm() function is supported this platform. */ #define HAVE_TERMINFO 1 @@ -265,21 +220,12 @@ /* Define to 1 if you have the <termios.h> header file. */ #define HAVE_TERMIOS_H 1 -/* Define to 1 if the system has the type `uint64_t'. */ -#define HAVE_UINT64_T 1 - /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 -/* Define to 1 if the system has the type `u_int64_t'. */ -#define HAVE_U_INT64_T 1 - /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ /* #undef HAVE_VALGRIND_VALGRIND_H */ -/* Define to 1 if you have the `writev' function. */ -#define HAVE_WRITEV 1 - /* Define to 1 if you have the <zlib.h> header file. */ #define HAVE_ZLIB_H 1 @@ -346,58 +292,22 @@ /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ -/* Define if we link Polly to the tools */ -/* #undef LINK_POLLY_INTO_TOOLS */ - /* Target triple LLVM will generate code for by default */ /* Doesn't use `cmakedefine` because it is allowed to be empty. */ /* #undef LLVM_DEFAULT_TARGET_TRIPLE */ -/* Define if threads enabled */ -#define LLVM_ENABLE_THREADS 1 - /* Define if zlib compression is available */ #define LLVM_ENABLE_ZLIB 1 -/* Has gcc/MSVC atomic intrinsics */ -#define LLVM_HAS_ATOMICS 1 - -/* Host triple LLVM will be executed on */ -/* #undef LLVM_HOST_TRIPLE */ - -/* Define if this is Unixish platform */ -#define LLVM_ON_UNIX 1 - -/* Define if this is Win32ish platform */ -/* #undef LLVM_ON_WIN32 */ - /* Define if overriding target triple is enabled */ /* #undef LLVM_TARGET_TRIPLE_ENV */ -/* Define if we have the Intel JIT API runtime support library */ -#define LLVM_USE_INTEL_JITEVENTS 0 - -/* Define if we have the oprofile JIT-support library */ -#define LLVM_USE_OPROFILE 0 - /* LLVM version information */ /* #undef LLVM_VERSION_INFO */ /* Whether tools show host and target info when invoked with --version */ #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1 -/* Major version of the LLVM API */ -#define LLVM_VERSION_MAJOR 6 - -/* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 0 - -/* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 - -/* LLVM version string */ -#define LLVM_VERSION_STRING "6.0.1" - /* Define if libxml2 is supported on this platform. */ /* #undef LLVM_LIBXML2_ENABLED */ @@ -411,13 +321,10 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 6.0.1" - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME +#define PACKAGE_STRING "LLVM 7.0.0" /* Define to the version of this package. */ -#define PACKAGE_VERSION "6.0.1" +#define PACKAGE_VERSION "7.0.0" /* Define to the vendor of this package. */ /* #undef PACKAGE_VENDOR */ @@ -425,12 +332,6 @@ /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void -/* Define to a function replacing strtoll */ -/* #undef strtoll */ - -/* Define to a function implementing strtoull */ -/* #undef strtoull */ - /* Define to a function implementing stricmp */ /* #undef stricmp */ diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 29bcf51f7db95..5e920c7b5da30 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -57,25 +57,30 @@ /* Define if this is Unixish platform */ #define LLVM_ON_UNIX 1 -/* Define if this is Win32ish platform */ -/* #undef LLVM_ON_WIN32 */ - /* Define if we have the Intel JIT API runtime support library */ #define LLVM_USE_INTEL_JITEVENTS 0 /* Define if we have the oprofile JIT-support library */ #define LLVM_USE_OPROFILE 0 +/* Define if we have the perf JIT-support library */ +#define LLVM_USE_PERF 0 + /* Major version of the LLVM API */ -#define LLVM_VERSION_MAJOR 6 +#define LLVM_VERSION_MAJOR 7 /* Minor version of the LLVM API */ #define LLVM_VERSION_MINOR 0 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "6.0.1" +#define LLVM_VERSION_STRING "7.0.0" + +/* Whether LLVM records statistics for use with GetStatistics(), + * PrintStatistics() or PrintStatisticsJSON() + */ +#define LLVM_FORCE_ENABLE_STATS 0 #endif diff --git a/lib/clang/include/llvm/Support/DataTypes.h b/lib/clang/include/llvm/Support/DataTypes.h deleted file mode 100644 index d48e83df38ef6..0000000000000 --- a/lib/clang/include/llvm/Support/DataTypes.h +++ /dev/null @@ -1,136 +0,0 @@ -/* $FreeBSD$ */ -/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\ -|* *| -|* The LLVM Compiler Infrastructure *| -|* *| -|* This file is distributed under the University of Illinois Open Source *| -|* License. See LICENSE.TXT for details. *| -|* *| -|*===----------------------------------------------------------------------===*| -|* *| -|* This file contains definitions to figure out the size of _HOST_ data types.*| -|* This file is important because different host OS's define different macros,*| -|* which makes portability tough. This file exports the following *| -|* definitions: *| -|* *| -|* [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types*| -|* [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. *| -|* *| -|* No library is required when using these functions. *| -|* *| -|*===----------------------------------------------------------------------===*/ - -/* Please leave this file C-compatible. */ - -#ifndef SUPPORT_DATATYPES_H -#define SUPPORT_DATATYPES_H - -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UINT64_T 1 -#define HAVE_U_INT64_T 1 - -#ifdef __cplusplus -#include <cmath> -#else -#include <math.h> -#endif - -#ifdef __cplusplus -#include <cinttypes> -#else -#ifdef HAVE_INTTYPES_H -#include <inttypes.h> -#endif -#endif - -#ifdef __cplusplus -#include <cstdint> -#else -#ifdef HAVE_STDINT_H -#include <stdint.h> -#else -#error "Compiler must provide an implementation of stdint.h" -#endif -#endif - -#ifndef _MSC_VER - -#if !defined(UINT32_MAX) -# error "The standard header <cstdint> is not C++11 compliant. Must #define "\ - "__STDC_LIMIT_MACROS before #including Support/DataTypes.h" -#endif - -#if !defined(UINT32_C) -# error "The standard header <cstdint> is not C++11 compliant. Must #define "\ - "__STDC_CONSTANT_MACROS before #including Support/DataTypes.h" -#endif - -/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */ -#include <sys/types.h> - -#ifdef _AIX -// GCC is strict about defining large constants: they must have LL modifier. -#undef INT64_MAX -#undef INT64_MIN -#endif - -/* Handle incorrect definition of uint64_t as u_int64_t */ -#ifndef HAVE_UINT64_T -#ifdef HAVE_U_INT64_T -typedef u_int64_t uint64_t; -#else -# error "Don't have a definition for uint64_t on this platform" -#endif -#endif - -#else /* _MSC_VER */ -#ifdef __cplusplus -#include <cstddef> -#include <cstdlib> -#else -#include <stddef.h> -#include <stdlib.h> -#endif -#include <sys/types.h> - -#if defined(_WIN64) -typedef signed __int64 ssize_t; -#else -typedef signed int ssize_t; -#endif /* _WIN64 */ - -#ifndef HAVE_INTTYPES_H -#define PRId64 "I64d" -#define PRIi64 "I64i" -#define PRIo64 "I64o" -#define PRIu64 "I64u" -#define PRIx64 "I64x" -#define PRIX64 "I64X" - -#define PRId32 "d" -#define PRIi32 "i" -#define PRIo32 "o" -#define PRIu32 "u" -#define PRIx32 "x" -#define PRIX32 "X" -#endif /* HAVE_INTTYPES_H */ - -#endif /* _MSC_VER */ - -/* Set defaults for constants which we cannot find. */ -#if !defined(INT64_MAX) -# define INT64_MAX 9223372036854775807LL -#endif -#if !defined(INT64_MIN) -# define INT64_MIN ((-INT64_MAX)-1) -#endif -#if !defined(UINT64_MAX) -# define UINT64_MAX 0xffffffffffffffffULL -#endif - -#ifndef HUGE_VALF -#define HUGE_VALF (float)HUGE_VAL -#endif - -#endif /* SUPPORT_DATATYPES_H */ diff --git a/lib/clang/include/llvm/Support/VCSRevision.h b/lib/clang/include/llvm/Support/VCSRevision.h index d16d9c27dfb38..7b753fecb5954 100644 --- a/lib/clang/include/llvm/Support/VCSRevision.h +++ b/lib/clang/include/llvm/Support/VCSRevision.h @@ -1,2 +1,2 @@ /* $FreeBSD$ */ -#define LLVM_REVISION "svn-r335540" +#define LLVM_REVISION "svn-r340910" diff --git a/lib/clang/libclang/Makefile b/lib/clang/libclang/Makefile index ff5f33967d266..84a2626b3217f 100644 --- a/lib/clang/libclang/Makefile +++ b/lib/clang/libclang/Makefile @@ -56,6 +56,7 @@ SRCS_MIN+= AST/CommentCommandTraits.cpp SRCS_MIN+= AST/CommentLexer.cpp SRCS_MIN+= AST/CommentParser.cpp SRCS_MIN+= AST/CommentSema.cpp +SRCS_MIN+= AST/ComparisonCategories.cpp SRCS_FUL+= AST/DataCollection.cpp SRCS_MIN+= AST/Decl.cpp SRCS_MIN+= AST/DeclBase.cpp @@ -121,6 +122,7 @@ SRCS_MIN+= Analysis/CloneDetection.cpp SRCS_MIN+= Analysis/CocoaConventions.cpp SRCS_FUL+= Analysis/CodeInjector.cpp SRCS_MIN+= Analysis/Consumed.cpp +SRCS_MIN+= Analysis/ConstructionContext.cpp SRCS_FUL+= Analysis/Dominators.cpp SRCS_MIN+= Analysis/FormatString.cpp SRCS_MIN+= Analysis/LiveVariables.cpp @@ -175,6 +177,7 @@ SRCS_MIN+= Basic/Targets/Nios2.cpp SRCS_MIN+= Basic/Targets/OSTargets.cpp SRCS_MIN+= Basic/Targets/PNaCl.cpp SRCS_MIN+= Basic/Targets/PPC.cpp +SRCS_MIN+= Basic/Targets/RISCV.cpp SRCS_MIN+= Basic/Targets/SPIR.cpp SRCS_MIN+= Basic/Targets/Sparc.cpp SRCS_MIN+= Basic/Targets/SystemZ.cpp @@ -184,9 +187,9 @@ SRCS_MIN+= Basic/Targets/X86.cpp SRCS_MIN+= Basic/Targets/XCore.cpp SRCS_MIN+= Basic/TokenKinds.cpp SRCS_MIN+= Basic/Version.cpp -SRCS_MIN+= Basic/VersionTuple.cpp SRCS_MIN+= Basic/VirtualFileSystem.cpp SRCS_MIN+= Basic/Warnings.cpp +SRCS_MIN+= Basic/XRayInstr.cpp SRCS_MIN+= Basic/XRayLists.cpp SRCS_MIN+= CodeGen/BackendUtil.cpp SRCS_MIN+= CodeGen/CGAtomic.cpp @@ -212,6 +215,7 @@ SRCS_MIN+= CodeGen/CGExprConstant.cpp SRCS_MIN+= CodeGen/CGExprScalar.cpp SRCS_MIN+= CodeGen/CGGPUBuiltin.cpp SRCS_MIN+= CodeGen/CGLoopInfo.cpp +SRCS_MIN+= CodeGen/CGNonTrivialStruct.cpp SRCS_MIN+= CodeGen/CGObjC.cpp SRCS_MIN+= CodeGen/CGObjCGNU.cpp SRCS_MIN+= CodeGen/CGObjCMac.cpp @@ -242,6 +246,7 @@ SRCS_MIN+= CodeGen/SanitizerMetadata.cpp SRCS_MIN+= CodeGen/SwiftCallingConv.cpp SRCS_MIN+= CodeGen/TargetInfo.cpp SRCS_MIN+= CodeGen/VarBypassDetector.cpp +SRCS_FUL+= CrossTU/CrossTranslationUnit.cpp SRCS_MIN+= Driver/Action.cpp SRCS_MIN+= Driver/Compilation.cpp SRCS_MIN+= Driver/Distro.cpp @@ -260,6 +265,7 @@ SRCS_MIN+= Driver/ToolChains/Arch/AArch64.cpp SRCS_MIN+= Driver/ToolChains/Arch/ARM.cpp SRCS_MIN+= Driver/ToolChains/Arch/Mips.cpp SRCS_MIN+= Driver/ToolChains/Arch/PPC.cpp +SRCS_MIN+= Driver/ToolChains/Arch/RISCV.cpp SRCS_MIN+= Driver/ToolChains/Arch/Sparc.cpp SRCS_MIN+= Driver/ToolChains/Arch/SystemZ.cpp SRCS_MIN+= Driver/ToolChains/Arch/X86.cpp @@ -275,6 +281,7 @@ SRCS_MIN+= Driver/ToolChains/DragonFly.cpp SRCS_MIN+= Driver/ToolChains/FreeBSD.cpp SRCS_MIN+= Driver/ToolChains/Fuchsia.cpp SRCS_MIN+= Driver/ToolChains/Gnu.cpp +SRCS_MIN+= Driver/ToolChains/HIP.cpp SRCS_MIN+= Driver/ToolChains/Haiku.cpp SRCS_MIN+= Driver/ToolChains/Hexagon.cpp SRCS_MIN+= Driver/ToolChains/Linux.cpp @@ -287,6 +294,7 @@ SRCS_MIN+= Driver/ToolChains/NaCl.cpp SRCS_MIN+= Driver/ToolChains/NetBSD.cpp SRCS_MIN+= Driver/ToolChains/OpenBSD.cpp SRCS_MIN+= Driver/ToolChains/PS4CPU.cpp +SRCS_MIN+= Driver/ToolChains/RISCV.cpp SRCS_MIN+= Driver/ToolChains/Solaris.cpp SRCS_MIN+= Driver/ToolChains/TCE.cpp SRCS_MIN+= Driver/ToolChains/WebAssembly.cpp @@ -326,6 +334,7 @@ SRCS_MIN+= Frontend/DiagnosticRenderer.cpp SRCS_MIN+= Frontend/FrontendAction.cpp SRCS_MIN+= Frontend/FrontendActions.cpp SRCS_MIN+= Frontend/FrontendOptions.cpp +SRCS_MIN+= Frontend/FrontendTiming.cpp SRCS_MIN+= Frontend/HeaderIncludeGen.cpp SRCS_MIN+= Frontend/InitHeaderSearch.cpp SRCS_MIN+= Frontend/InitPreprocessor.cpp @@ -405,13 +414,13 @@ SRCS_MIN+= Rewrite/RewriteRope.cpp SRCS_MIN+= Rewrite/Rewriter.cpp SRCS_MIN+= Rewrite/TokenRewriter.cpp SRCS_MIN+= Sema/AnalysisBasedWarnings.cpp -SRCS_MIN+= Sema/AttributeList.cpp SRCS_MIN+= Sema/CodeCompleteConsumer.cpp SRCS_MIN+= Sema/DeclSpec.cpp SRCS_MIN+= Sema/DelayedDiagnostic.cpp SRCS_MIN+= Sema/IdentifierResolver.cpp SRCS_MIN+= Sema/JumpDiagnostics.cpp SRCS_MIN+= Sema/MultiplexExternalSemaSource.cpp +SRCS_MIN+= Sema/ParsedAttr.cpp SRCS_MIN+= Sema/Scope.cpp SRCS_MIN+= Sema/ScopeInfo.cpp SRCS_MIN+= Sema/Sema.cpp @@ -472,6 +481,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp SRCS_FUL+= StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CStringChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp @@ -499,6 +509,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/FixedAddressChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/GTestChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/GenericTaintChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/IdenticalExprChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/InnerPointerChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/IteratorChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp @@ -512,6 +523,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/MallocChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/MallocSizeofChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/NSErrorChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp @@ -520,6 +532,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/NullabilityChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ObjCContainersChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp @@ -534,6 +547,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/PthreadLockChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/RetainCountChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ReturnUndefChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/SimpleStreamChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp @@ -541,11 +555,13 @@ SRCS_FUL+= StaticAnalyzer/Checkers/StreamChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/TaintTesterChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/TraversalChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/TrustNonnullChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/UndefBranchChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/UndefResultChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/UninitializedObjectChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/UnixAPIChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/VLASizeChecker.cpp @@ -595,6 +611,7 @@ SRCS_FUL+= StaticAnalyzer/Core/SimpleSValBuilder.cpp SRCS_FUL+= StaticAnalyzer/Core/Store.cpp SRCS_FUL+= StaticAnalyzer/Core/SubEngine.cpp SRCS_FUL+= StaticAnalyzer/Core/SymbolManager.cpp +SRCS_FUL+= StaticAnalyzer/Core/WorkList.cpp SRCS_FUL+= StaticAnalyzer/Core/Z3ConstraintManager.cpp SRCS_FUL+= StaticAnalyzer/Frontend/AnalysisConsumer.cpp SRCS_FUL+= StaticAnalyzer/Frontend/CheckerRegistration.cpp @@ -608,6 +625,8 @@ SRCS_MIN+= Tooling/Core/Lookup.cpp SRCS_EXT+= Tooling/Core/Replacement.cpp SRCS_MIN+= Tooling/FileMatchTrie.cpp SRCS_MIN+= Tooling/FixIt.cpp +SRCS_EXT+= Tooling/Inclusions/HeaderIncludes.cpp +SRCS_EXT+= Tooling/Inclusions/IncludeStyle.cpp SRCS_MIN+= Tooling/JSONCompilationDatabase.cpp SRCS_MIN+= Tooling/Refactoring.cpp SRCS_MIN+= Tooling/RefactoringCallbacks.cpp @@ -751,10 +770,16 @@ clang/Basic/DiagnosticIndexName.inc: \ -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td TGHDRS+= clang/Basic/DiagnosticIndexName.inc +clang/Basic/arm_fp16.inc: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td + ${CLANG_TBLGEN} -gen-arm-neon-sema \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td +TGHDRS+= clang/Basic/arm_fp16.inc + clang/Basic/arm_neon.inc: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td ${CLANG_TBLGEN} -gen-arm-neon-sema \ - -d ${.TARGET:C/$/.d/} -o ${.TARGET} \ - ${CLANG_SRCS}/include/clang/Basic/arm_neon.td + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td TGHDRS+= clang/Basic/arm_neon.inc clang/Driver/Options.inc: ${CLANG_SRCS}/include/clang/Driver/Options.td @@ -824,7 +849,8 @@ TGHDRS+= clang/Serialization/AttrPCHWrite.inc clang/StaticAnalyzer/Checkers/Checkers.inc: \ ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td ${CLANG_TBLGEN} -gen-clang-sa-checkers \ - -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \ + -I ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers \ + -d ${.TARGET:C/$/.d/} -o ${.TARGET} \ ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td TGHDRS+= clang/StaticAnalyzer/Checkers/Checkers.inc diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile index ca6ce80a0607c..ea334b7d04ddd 100644 --- a/lib/clang/liblldb/Makefile +++ b/lib/clang/liblldb/Makefile @@ -101,7 +101,6 @@ SRCS+= Breakpoint/WatchpointList.cpp SRCS+= Breakpoint/WatchpointOptions.cpp SRCS+= Commands/CommandCompletions.cpp SRCS+= Commands/CommandObjectApropos.cpp -SRCS+= Commands/CommandObjectArgs.cpp SRCS+= Commands/CommandObjectBreakpoint.cpp SRCS+= Commands/CommandObjectBreakpointCommand.cpp SRCS+= Commands/CommandObjectBugreport.cpp @@ -122,7 +121,7 @@ SRCS+= Commands/CommandObjectQuit.cpp SRCS+= Commands/CommandObjectRegister.cpp SRCS+= Commands/CommandObjectSettings.cpp SRCS+= Commands/CommandObjectSource.cpp -SRCS+= Commands/CommandObjectSyntax.cpp +SRCS+= Commands/CommandObjectStats.cpp SRCS+= Commands/CommandObjectTarget.cpp SRCS+= Commands/CommandObjectThread.cpp SRCS+= Commands/CommandObjectType.cpp @@ -139,6 +138,7 @@ SRCS+= Core/Communication.cpp SRCS+= Core/Debugger.cpp SRCS+= Core/Disassembler.cpp SRCS+= Core/DumpDataExtractor.cpp +SRCS+= Core/DumpRegisterValue.cpp SRCS+= Core/DynamicLoader.cpp SRCS+= Core/EmulateInstruction.cpp SRCS+= Core/Event.cpp @@ -249,7 +249,6 @@ SRCS+= Host/posix/ProcessLauncherPosixFork.cpp SRCS+= Initialization/SystemInitializer.cpp SRCS+= Initialization/SystemInitializerCommon.cpp SRCS+= Initialization/SystemLifetimeManager.cpp -SRCS+= Interpreter/Args.cpp SRCS+= Interpreter/CommandAlias.cpp SRCS+= Interpreter/CommandHistory.cpp SRCS+= Interpreter/CommandInterpreter.cpp @@ -258,6 +257,7 @@ SRCS+= Interpreter/CommandObjectRegexCommand.cpp SRCS+= Interpreter/CommandObjectScript.cpp SRCS+= Interpreter/CommandOptionValidators.cpp SRCS+= Interpreter/CommandReturnObject.cpp +SRCS+= Interpreter/OptionArgParser.cpp SRCS+= Interpreter/OptionGroupArchitecture.cpp SRCS+= Interpreter/OptionGroupBoolean.cpp SRCS+= Interpreter/OptionGroupFile.cpp @@ -301,6 +301,7 @@ SRCS+= Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp SRCS+= Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp SRCS+= Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp SRCS+= Plugins/Architecture/Arm/ArchitectureArm.cpp +SRCS+= Plugins/Architecture/PPC64/ArchitecturePPC64.cpp SRCS+= Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp SRCS+= Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp SRCS+= Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp @@ -314,6 +315,7 @@ SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangHost.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangUserExpression.cpp @@ -327,6 +329,7 @@ SRCS+= Plugins/Instruction/ARM/EmulationStateARM.cpp SRCS+= Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp SRCS+= Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp SRCS+= Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp +SRCS+= Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp SRCS+= Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp SRCS+= Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp @@ -438,11 +441,14 @@ SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemote.cpp SRCS+= Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp SRCS+= Plugins/Process/gdb-remote/ThreadGDBRemote.cpp SRCS+= Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp +SRCS+= Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp +SRCS+= Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp SRCS+= Plugins/SymbolFile/DWARF/DIERef.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFASTParserGo.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFAttribute.cpp +SRCS+= Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDIE.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDIECollection.cpp @@ -454,13 +460,15 @@ SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp -SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDefines.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFFormValue.cpp +SRCS+= Plugins/SymbolFile/DWARF/DWARFIndex.cpp +SRCS+= Plugins/SymbolFile/DWARF/DWARFUnit.cpp SRCS+= Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp SRCS+= Plugins/SymbolFile/DWARF/LogChannelDWARF.cpp +SRCS+= Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp SRCS+= Plugins/SymbolFile/DWARF/NameToDIE.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp @@ -565,13 +573,16 @@ SRCS+= Target/ThreadSpec.cpp SRCS+= Target/UnixSignals.cpp SRCS+= Target/UnwindAssembly.cpp SRCS+= Utility/ArchSpec.cpp +SRCS+= Utility/Args.cpp SRCS+= Utility/Baton.cpp +SRCS+= Utility/CompletionRequest.cpp SRCS+= Utility/Connection.cpp SRCS+= Utility/ConstString.cpp SRCS+= Utility/DataBufferHeap.cpp SRCS+= Utility/DataBufferLLVM.cpp SRCS+= Utility/DataEncoder.cpp SRCS+= Utility/DataExtractor.cpp +SRCS+= Utility/Environment.cpp SRCS+= Utility/FastDemangle.cpp SRCS+= Utility/FileSpec.cpp SRCS+= Utility/IOObject.cpp diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile index ec56aaf7342c9..66540a28ca85a 100644 --- a/lib/clang/libllvm/Makefile +++ b/lib/clang/libllvm/Makefile @@ -84,12 +84,14 @@ SRCS_MIN+= Analysis/MemorySSA.cpp SRCS_MIN+= Analysis/MemorySSAUpdater.cpp SRCS_MIN+= Analysis/ModuleDebugInfoPrinter.cpp SRCS_MIN+= Analysis/ModuleSummaryAnalysis.cpp +SRCS_MIN+= Analysis/MustExecute.cpp SRCS_MIN+= Analysis/ObjCARCAliasAnalysis.cpp SRCS_MIN+= Analysis/ObjCARCAnalysisUtils.cpp SRCS_MIN+= Analysis/ObjCARCInstKind.cpp SRCS_MIN+= Analysis/OptimizationRemarkEmitter.cpp SRCS_MIN+= Analysis/OrderedBasicBlock.cpp SRCS_MIN+= Analysis/PHITransAddr.cpp +SRCS_MIN+= Analysis/PhiValues.cpp SRCS_MIN+= Analysis/PostDominators.cpp SRCS_MIN+= Analysis/ProfileSummaryInfo.cpp SRCS_MIN+= Analysis/PtrUseVisitor.cpp @@ -101,6 +103,7 @@ SRCS_MIN+= Analysis/ScalarEvolutionAliasAnalysis.cpp SRCS_MIN+= Analysis/ScalarEvolutionExpander.cpp SRCS_MIN+= Analysis/ScalarEvolutionNormalization.cpp SRCS_MIN+= Analysis/ScopedNoAliasAA.cpp +SRCS_MIN+= Analysis/SyntheticCountsUtils.cpp SRCS_MIN+= Analysis/TargetLibraryInfo.cpp SRCS_MIN+= Analysis/TargetTransformInfo.cpp SRCS_MIN+= Analysis/Trace.cpp @@ -115,6 +118,7 @@ SRCS_MIN+= AsmParser/LLParser.cpp SRCS_MIN+= AsmParser/Parser.cpp SRCS_MIN+= BinaryFormat/Dwarf.cpp SRCS_MIN+= BinaryFormat/Magic.cpp +SRCS_MIN+= BinaryFormat/Wasm.cpp SRCS_MIN+= Bitcode/Reader/BitReader.cpp SRCS_MIN+= Bitcode/Reader/BitcodeReader.cpp SRCS_MIN+= Bitcode/Reader/BitstreamReader.cpp @@ -128,6 +132,7 @@ SRCS_MIN+= CodeGen/AggressiveAntiDepBreaker.cpp SRCS_MIN+= CodeGen/AllocationOrder.cpp SRCS_MIN+= CodeGen/Analysis.cpp SRCS_MIN+= CodeGen/AsmPrinter/ARMException.cpp +SRCS_MIN+= CodeGen/AsmPrinter/AccelTable.cpp SRCS_MIN+= CodeGen/AsmPrinter/AddressPool.cpp SRCS_MIN+= CodeGen/AsmPrinter/AsmPrinter.cpp SRCS_MIN+= CodeGen/AsmPrinter/AsmPrinterDwarf.cpp @@ -138,7 +143,6 @@ SRCS_MIN+= CodeGen/AsmPrinter/DIEHash.cpp SRCS_MIN+= CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp SRCS_MIN+= CodeGen/AsmPrinter/DebugHandlerBase.cpp SRCS_MIN+= CodeGen/AsmPrinter/DebugLocStream.cpp -SRCS_MIN+= CodeGen/AsmPrinter/DwarfAccelTable.cpp SRCS_MIN+= CodeGen/AsmPrinter/DwarfCFIException.cpp SRCS_MIN+= CodeGen/AsmPrinter/DwarfCompileUnit.cpp SRCS_MIN+= CodeGen/AsmPrinter/DwarfDebug.cpp @@ -149,12 +153,15 @@ SRCS_MIN+= CodeGen/AsmPrinter/DwarfUnit.cpp SRCS_MIN+= CodeGen/AsmPrinter/EHStreamer.cpp SRCS_MIN+= CodeGen/AsmPrinter/ErlangGCPrinter.cpp SRCS_MIN+= CodeGen/AsmPrinter/OcamlGCPrinter.cpp +SRCS_MIN+= CodeGen/AsmPrinter/WinCFGuard.cpp SRCS_MIN+= CodeGen/AsmPrinter/WinException.cpp SRCS_MIN+= CodeGen/AtomicExpandPass.cpp SRCS_MIN+= CodeGen/BasicTargetTransformInfo.cpp SRCS_MIN+= CodeGen/BranchFolding.cpp SRCS_MIN+= CodeGen/BranchRelaxation.cpp +SRCS_MIN+= CodeGen/BreakFalseDeps.cpp SRCS_MIN+= CodeGen/BuiltinGCs.cpp +SRCS_MIN+= CodeGen/CFIInstrInserter.cpp SRCS_MIN+= CodeGen/CalcSpillWeights.cpp SRCS_MIN+= CodeGen/CallingConvLower.cpp SRCS_MIN+= CodeGen/CodeGen.cpp @@ -166,7 +173,7 @@ SRCS_MIN+= CodeGen/DetectDeadLanes.cpp SRCS_MIN+= CodeGen/DwarfEHPrepare.cpp SRCS_MIN+= CodeGen/EarlyIfConversion.cpp SRCS_MIN+= CodeGen/EdgeBundles.cpp -SRCS_MIN+= CodeGen/ExecutionDepsFix.cpp +SRCS_MIN+= CodeGen/ExecutionDomainFix.cpp SRCS_MIN+= CodeGen/ExpandISelPseudos.cpp SRCS_MIN+= CodeGen/ExpandMemCmp.cpp SRCS_MIN+= CodeGen/ExpandPostRAPseudos.cpp @@ -183,6 +190,8 @@ SRCS_MIN+= CodeGen/GlobalISel/GlobalISel.cpp SRCS_MIN+= CodeGen/GlobalISel/IRTranslator.cpp SRCS_MIN+= CodeGen/GlobalISel/InstructionSelect.cpp SRCS_MIN+= CodeGen/GlobalISel/InstructionSelector.cpp +SRCS_MIN+= CodeGen/GlobalISel/LegalityPredicates.cpp +SRCS_MIN+= CodeGen/GlobalISel/LegalizeMutations.cpp SRCS_MIN+= CodeGen/GlobalISel/Legalizer.cpp SRCS_MIN+= CodeGen/GlobalISel/LegalizerHelper.cpp SRCS_MIN+= CodeGen/GlobalISel/LegalizerInfo.cpp @@ -218,6 +227,7 @@ SRCS_MIN+= CodeGen/LiveRegUnits.cpp SRCS_MIN+= CodeGen/LiveStacks.cpp SRCS_MIN+= CodeGen/LiveVariables.cpp SRCS_MIN+= CodeGen/LocalStackSlotAllocation.cpp +SRCS_MIN+= CodeGen/LoopTraversal.cpp SRCS_MIN+= CodeGen/LowLevelType.cpp SRCS_MIN+= CodeGen/LowerEmuTLS.cpp SRCS_MIN+= CodeGen/MIRCanonicalizerPass.cpp @@ -271,6 +281,7 @@ SRCS_MIN+= CodeGen/PreISelIntrinsicLowering.cpp SRCS_MIN+= CodeGen/ProcessImplicitDefs.cpp SRCS_MIN+= CodeGen/PrologEpilogInserter.cpp SRCS_MIN+= CodeGen/PseudoSourceValue.cpp +SRCS_MIN+= CodeGen/ReachingDefAnalysis.cpp SRCS_MIN+= CodeGen/RegAllocBase.cpp SRCS_MIN+= CodeGen/RegAllocBasic.cpp SRCS_MIN+= CodeGen/RegAllocFast.cpp @@ -342,7 +353,9 @@ SRCS_MIN+= CodeGen/TargetSchedule.cpp SRCS_MIN+= CodeGen/TargetSubtargetInfo.cpp SRCS_MIN+= CodeGen/TwoAddressInstructionPass.cpp SRCS_MIN+= CodeGen/UnreachableBlockElim.cpp +SRCS_MIN+= CodeGen/ValueTypes.cpp SRCS_MIN+= CodeGen/VirtRegMap.cpp +SRCS_MIN+= CodeGen/WasmEHPrepare.cpp SRCS_MIN+= CodeGen/WinEHPrepare.cpp SRCS_MIN+= CodeGen/XRayInstrumentation.cpp SRCS_EXT+= DebugInfo/CodeView/AppendingTypeTableBuilder.cpp @@ -385,10 +398,12 @@ SRCS_MIN+= DebugInfo/CodeView/TypeStreamMerger.cpp SRCS_MIN+= DebugInfo/CodeView/TypeTableCollection.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFAcceleratorTable.cpp +SRCS_MIW+= DebugInfo/DWARF/DWARFAddressRange.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFCompileUnit.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFContext.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDataExtractor.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDebugAbbrev.cpp +SRCS_MIW+= DebugInfo/DWARF/DWARFDebugAddr.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDebugArangeSet.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDebugAranges.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDebugFrame.cpp @@ -398,15 +413,16 @@ SRCS_MIW+= DebugInfo/DWARF/DWARFDebugLoc.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDebugMacro.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDebugPubTable.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDebugRangeList.cpp +SRCS_MIW+= DebugInfo/DWARF/DWARFDebugRnglists.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFDie.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFExpression.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFFormValue.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFGdbIndex.cpp +SRCS_MIW+= DebugInfo/DWARF/DWARFListTable.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFTypeUnit.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFUnit.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFUnitIndex.cpp SRCS_MIW+= DebugInfo/DWARF/DWARFVerifier.cpp -SRCS_MIW+= DebugInfo/DWARF/SyntaxHighlighting.cpp SRCS_MIN+= DebugInfo/MSF/MSFBuilder.cpp SRCS_MIN+= DebugInfo/MSF/MSFCommon.cpp SRCS_MIN+= DebugInfo/MSF/MSFError.cpp @@ -494,14 +510,22 @@ SRCS_XDB+= ExecutionEngine/Interpreter/Execution.cpp SRCS_XDB+= ExecutionEngine/Interpreter/ExternalFunctions.cpp SRCS_XDB+= ExecutionEngine/Interpreter/Interpreter.cpp SRCS_XDB+= ExecutionEngine/MCJIT/MCJIT.cpp +SRCS_EXT+= ExecutionEngine/Orc/CompileOnDemandLayer.cpp +SRCS_EXT+= ExecutionEngine/Orc/Core.cpp SRCS_EXT+= ExecutionEngine/Orc/ExecutionUtils.cpp +SRCS_EXT+= ExecutionEngine/Orc/IRCompileLayer.cpp +SRCS_EXT+= ExecutionEngine/Orc/IRTransformLayer.cpp SRCS_EXT+= ExecutionEngine/Orc/IndirectionUtils.cpp +SRCS_EXT+= ExecutionEngine/Orc/LLJIT.cpp +SRCS_EXT+= ExecutionEngine/Orc/Layer.cpp +SRCS_EXT+= ExecutionEngine/Orc/Legacy.cpp SRCS_EXT+= ExecutionEngine/Orc/NullResolver.cpp SRCS_EXT+= ExecutionEngine/Orc/OrcABISupport.cpp SRCS_EXT+= ExecutionEngine/Orc/OrcCBindings.cpp SRCS_EXT+= ExecutionEngine/Orc/OrcError.cpp SRCS_EXT+= ExecutionEngine/Orc/OrcMCJITReplacement.cpp SRCS_EXT+= ExecutionEngine/Orc/RPCUtils.cpp +SRCS_EXT+= ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp SRCS_XDB+= ExecutionEngine/RuntimeDyld/JITSymbol.cpp SRCS_XDB+= ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp SRCS_XDB+= ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -529,6 +553,7 @@ SRCS_MIN+= IR/DebugLoc.cpp SRCS_MIN+= IR/DiagnosticHandler.cpp SRCS_MIN+= IR/DiagnosticInfo.cpp SRCS_MIN+= IR/DiagnosticPrinter.cpp +SRCS_MIN+= IR/DomTreeUpdater.cpp SRCS_MIN+= IR/Dominators.cpp SRCS_MIN+= IR/Function.cpp SRCS_MIN+= IR/GVMaterializer.cpp @@ -561,7 +586,6 @@ SRCS_MIN+= IR/Use.cpp SRCS_MIN+= IR/User.cpp SRCS_MIN+= IR/Value.cpp SRCS_MIN+= IR/ValueSymbolTable.cpp -SRCS_MIN+= IR/ValueTypes.cpp SRCS_MIN+= IR/Verifier.cpp SRCS_MIN+= IRReader/IRReader.cpp SRCS_EXL+= LTO/Caching.cpp @@ -581,6 +605,7 @@ SRCS_MIN+= MC/MCAsmInfo.cpp SRCS_MIN+= MC/MCAsmInfoCOFF.cpp SRCS_MIN+= MC/MCAsmInfoDarwin.cpp SRCS_MIN+= MC/MCAsmInfoELF.cpp +SRCS_MIN+= MC/MCAsmMacro.cpp SRCS_MIN+= MC/MCAsmStreamer.cpp SRCS_MIN+= MC/MCAssembler.cpp SRCS_MIN+= MC/MCCodeEmitter.cpp @@ -637,6 +662,7 @@ SRCS_MIN+= MC/MCWinEH.cpp SRCS_MIN+= MC/MachObjectWriter.cpp SRCS_MIN+= MC/StringTableBuilder.cpp SRCS_MIN+= MC/SubtargetFeature.cpp +SRCS_MIN+= MC/WasmObjectWriter.cpp SRCS_MIN+= MC/WinCOFFObjectWriter.cpp SRCS_MIN+= Object/Archive.cpp SRCS_MIN+= Object/ArchiveWriter.cpp @@ -673,6 +699,7 @@ SRCS_MIN+= Option/ArgList.cpp SRCS_MIN+= Option/OptTable.cpp SRCS_MIN+= Option/Option.cpp SRCS_MIN+= Passes/PassBuilder.cpp +SRCS_EXT+= Passes/PassPlugin.cpp SRCS_MIN+= ProfileData/Coverage/CoverageMapping.cpp SRCS_MIN+= ProfileData/Coverage/CoverageMappingReader.cpp SRCS_MIN+= ProfileData/Coverage/CoverageMappingWriter.cpp @@ -707,6 +734,7 @@ SRCS_MIN+= Support/ConvertUTF.cpp SRCS_MIN+= Support/ConvertUTFWrapper.cpp SRCS_MIN+= Support/CrashRecoveryContext.cpp SRCS_MIN+= Support/DAGDeltaAlgorithm.cpp +SRCS_MIN+= Support/DJB.cpp SRCS_MIN+= Support/DataExtractor.cpp SRCS_MIN+= Support/Debug.cpp SRCS_MIN+= Support/DebugCounter.cpp @@ -724,8 +752,10 @@ SRCS_MIN+= Support/GlobPattern.cpp SRCS_MIN+= Support/GraphWriter.cpp SRCS_MIN+= Support/Hashing.cpp SRCS_MIN+= Support/Host.cpp +SRCS_MIN+= Support/InitLLVM.cpp SRCS_MIN+= Support/IntEqClasses.cpp SRCS_MIN+= Support/IntervalMap.cpp +SRCS_MIN+= Support/JSON.cpp SRCS_MIN+= Support/JamCRC.cpp SRCS_MIN+= Support/KnownBits.cpp SRCS_MIN+= Support/LEB128.cpp @@ -776,7 +806,10 @@ SRCS_MIN+= Support/TrigramIndex.cpp SRCS_MIN+= Support/Triple.cpp SRCS_MIN+= Support/Twine.cpp SRCS_MIN+= Support/Unicode.cpp +SRCS_MIN+= Support/UnicodeCaseFold.cpp SRCS_MIN+= Support/Valgrind.cpp +SRCS_MIN+= Support/VersionTuple.cpp +SRCS_MIW+= Support/WithColor.cpp SRCS_MIN+= Support/YAMLParser.cpp SRCS_MIN+= Support/YAMLTraits.cpp SRCS_MIN+= Support/circular_raw_ostream.cpp @@ -789,6 +822,7 @@ SRCS_MIN+= Support/regfree.c SRCS_MIN+= Support/regstrlcpy.c SRCS_LLD+= Support/xxhash.cpp SRCS_MIN+= TableGen/Error.cpp +SRCS_MIN+= TableGen/JSONBackend.cpp SRCS_MIN+= TableGen/Main.cpp SRCS_MIN+= TableGen/Record.cpp SRCS_MIN+= TableGen/SetTheory.cpp @@ -856,6 +890,7 @@ SRCS_MIN+= Target/ARM/ARMAsmPrinter.cpp SRCS_MIN+= Target/ARM/ARMBaseInstrInfo.cpp SRCS_MIN+= Target/ARM/ARMBaseRegisterInfo.cpp SRCS_MIN+= Target/ARM/ARMCallLowering.cpp +SRCS_MIN+= Target/ARM/ARMCodeGenPrepare.cpp SRCS_MIN+= Target/ARM/ARMComputeBlockSize.cpp SRCS_MIN+= Target/ARM/ARMConstantIslandPass.cpp SRCS_MIN+= Target/ARM/ARMConstantPoolValue.cpp @@ -873,6 +908,7 @@ SRCS_MIN+= Target/ARM/ARMMCInstLower.cpp SRCS_MIN+= Target/ARM/ARMMachineFunctionInfo.cpp SRCS_MIN+= Target/ARM/ARMMacroFusion.cpp SRCS_MIN+= Target/ARM/ARMOptimizeBarriersPass.cpp +SRCS_MIN+= Target/ARM/ARMParallelDSP.cpp SRCS_MIN+= Target/ARM/ARMRegisterBankInfo.cpp SRCS_MIN+= Target/ARM/ARMRegisterInfo.cpp SRCS_MIN+= Target/ARM/ARMSelectionDAGInfo.cpp @@ -914,7 +950,9 @@ SRCS_MIN+= Target/BPF/BPFISelDAGToDAG.cpp SRCS_MIN+= Target/BPF/BPFISelLowering.cpp SRCS_MIN+= Target/BPF/BPFInstrInfo.cpp SRCS_MIN+= Target/BPF/BPFMCInstLower.cpp +SRCS_MIN+= Target/BPF/BPFMIPeephole.cpp SRCS_MIN+= Target/BPF/BPFRegisterInfo.cpp +SRCS_MIN+= Target/BPF/BPFSelectionDAGInfo.cpp SRCS_MIN+= Target/BPF/BPFSubtarget.cpp SRCS_MIN+= Target/BPF/BPFTargetMachine.cpp SRCS_MIN+= Target/BPF/Disassembler/BPFDisassembler.cpp @@ -951,21 +989,25 @@ SRCS_MIN+= Target/Mips/Mips16InstrInfo.cpp SRCS_MIN+= Target/Mips/Mips16RegisterInfo.cpp SRCS_MIN+= Target/Mips/MipsAnalyzeImmediate.cpp SRCS_MIN+= Target/Mips/MipsAsmPrinter.cpp +SRCS_MIN+= Target/Mips/MipsBranchExpansion.cpp SRCS_MIN+= Target/Mips/MipsCCState.cpp +SRCS_MIN+= Target/Mips/MipsCallLowering.cpp SRCS_MIN+= Target/Mips/MipsConstantIslandPass.cpp SRCS_MIN+= Target/Mips/MipsDelaySlotFiller.cpp +SRCS_MIN+= Target/Mips/MipsExpandPseudo.cpp SRCS_MIN+= Target/Mips/MipsFastISel.cpp SRCS_MIN+= Target/Mips/MipsFrameLowering.cpp -SRCS_MIN+= Target/Mips/MipsHazardSchedule.cpp SRCS_MIN+= Target/Mips/MipsISelDAGToDAG.cpp SRCS_MIN+= Target/Mips/MipsISelLowering.cpp SRCS_MIN+= Target/Mips/MipsInstrInfo.cpp -SRCS_MIN+= Target/Mips/MipsLongBranch.cpp +SRCS_MIN+= Target/Mips/MipsInstructionSelector.cpp +SRCS_MIN+= Target/Mips/MipsLegalizerInfo.cpp SRCS_MIN+= Target/Mips/MipsMCInstLower.cpp SRCS_MIN+= Target/Mips/MipsMachineFunction.cpp SRCS_MIN+= Target/Mips/MipsModuleISelDAGToDAG.cpp SRCS_MIN+= Target/Mips/MipsOptimizePICCall.cpp SRCS_MIN+= Target/Mips/MipsOs16.cpp +SRCS_MIN+= Target/Mips/MipsRegisterBankInfo.cpp SRCS_MIN+= Target/Mips/MipsRegisterInfo.cpp SRCS_MIN+= Target/Mips/MipsSEFrameLowering.cpp SRCS_MIN+= Target/Mips/MipsSEISelDAGToDAG.cpp @@ -1060,6 +1102,7 @@ SRCS_XDW+= Target/X86/Disassembler/X86Disassembler.cpp SRCS_XDW+= Target/X86/Disassembler/X86DisassemblerDecoder.cpp SRCS_MIN+= Target/X86/InstPrinter/X86ATTInstPrinter.cpp SRCS_MIN+= Target/X86/InstPrinter/X86InstComments.cpp +SRCS_MIN+= Target/X86/InstPrinter/X86InstPrinterCommon.cpp SRCS_MIN+= Target/X86/InstPrinter/X86IntelInstPrinter.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86AsmBackend.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp @@ -1072,7 +1115,9 @@ SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp SRCS_MIN+= Target/X86/TargetInfo/X86TargetInfo.cpp SRCS_MIN+= Target/X86/Utils/X86ShuffleDecode.cpp +SRCS_MIN+= Target/X86/ShadowCallStack.cpp SRCS_MIN+= Target/X86/X86AsmPrinter.cpp +SRCS_MIN+= Target/X86/X86AvoidStoreForwardingBlocks.cpp SRCS_MIN+= Target/X86/X86CallFrameOptimization.cpp SRCS_MIN+= Target/X86/X86CallLowering.cpp SRCS_MIN+= Target/X86/X86CallingConv.cpp @@ -1089,7 +1134,9 @@ SRCS_MIN+= Target/X86/X86FloatingPoint.cpp SRCS_MIN+= Target/X86/X86FrameLowering.cpp SRCS_MIN+= Target/X86/X86ISelDAGToDAG.cpp SRCS_MIN+= Target/X86/X86ISelLowering.cpp +SRCS_MIN+= Target/X86/X86IndirectBranchTracking.cpp SRCS_MIN+= Target/X86/X86InstrFMA3Info.cpp +SRCS_MIN+= Target/X86/X86InstrFoldTables.cpp SRCS_MIN+= Target/X86/X86InstrInfo.cpp SRCS_MIN+= Target/X86/X86InstructionSelector.cpp SRCS_MIN+= Target/X86/X86InterleavedAccess.cpp @@ -1104,6 +1151,7 @@ SRCS_MIN+= Target/X86/X86RegisterInfo.cpp SRCS_MIN+= Target/X86/X86RetpolineThunks.cpp SRCS_MIN+= Target/X86/X86SelectionDAGInfo.cpp SRCS_MIN+= Target/X86/X86ShuffleDecodeConstantPool.cpp +SRCS_MIN+= Target/X86/X86SpeculativeLoadHardening.cpp SRCS_MIN+= Target/X86/X86Subtarget.cpp SRCS_MIN+= Target/X86/X86TargetMachine.cpp SRCS_MIN+= Target/X86/X86TargetObjectFile.cpp @@ -1114,6 +1162,8 @@ SRCS_MIN+= Target/X86/X86WinEHState.cpp .endif # MK_LLVM_TARGET_X86 SRCS_EXT+= ToolDrivers/llvm-dlltool/DlltoolDriver.cpp SRCS_EXL+= ToolDrivers/llvm-lib/LibDriver.cpp +SRCS_MIN+= Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp +SRCS_MIN+= Transforms/AggressiveInstCombine/TruncInstCombine.cpp SRCS_MIN+= Transforms/Coroutines/CoroCleanup.cpp SRCS_MIN+= Transforms/Coroutines/CoroEarly.cpp SRCS_MIN+= Transforms/Coroutines/CoroElide.cpp @@ -1123,6 +1173,7 @@ SRCS_MIN+= Transforms/Coroutines/Coroutines.cpp SRCS_MIN+= Transforms/IPO/AlwaysInliner.cpp SRCS_MIN+= Transforms/IPO/ArgumentPromotion.cpp SRCS_MIN+= Transforms/IPO/BarrierNoopPass.cpp +SRCS_EXT+= Transforms/IPO/BlockExtractor.cpp SRCS_MIN+= Transforms/IPO/CalledValuePropagation.cpp SRCS_MIN+= Transforms/IPO/ConstantMerge.cpp SRCS_MIN+= Transforms/IPO/CrossDSOCFI.cpp @@ -1147,9 +1198,11 @@ SRCS_MIN+= Transforms/IPO/MergeFunctions.cpp SRCS_MIN+= Transforms/IPO/PartialInlining.cpp SRCS_MIN+= Transforms/IPO/PassManagerBuilder.cpp SRCS_MIN+= Transforms/IPO/PruneEH.cpp +SRCS_MIN+= Transforms/IPO/SCCP.cpp SRCS_MIN+= Transforms/IPO/SampleProfile.cpp SRCS_MIN+= Transforms/IPO/StripDeadPrototypes.cpp SRCS_MIN+= Transforms/IPO/StripSymbols.cpp +SRCS_MIN+= Transforms/IPO/SyntheticCountsPropagation.cpp SRCS_MIN+= Transforms/IPO/ThinLTOBitcodeWriter.cpp SRCS_MIN+= Transforms/IPO/WholeProgramDevirt.cpp SRCS_MIN+= Transforms/InstCombine/InstCombineAddSub.cpp @@ -1167,6 +1220,7 @@ SRCS_MIN+= Transforms/InstCombine/InstCombineVectorOps.cpp SRCS_MIN+= Transforms/InstCombine/InstructionCombining.cpp SRCS_MIN+= Transforms/Instrumentation/AddressSanitizer.cpp SRCS_MIN+= Transforms/Instrumentation/BoundsChecking.cpp +SRCS_MIN+= Transforms/Instrumentation/CGProfile.cpp SRCS_MIN+= Transforms/Instrumentation/DataFlowSanitizer.cpp SRCS_MIN+= Transforms/Instrumentation/EfficiencySanitizer.cpp SRCS_MIN+= Transforms/Instrumentation/GCOVProfiling.cpp @@ -1209,6 +1263,7 @@ SRCS_MIN+= Transforms/Scalar/IVUsersPrinter.cpp SRCS_MIN+= Transforms/Scalar/IndVarSimplify.cpp SRCS_MIN+= Transforms/Scalar/InductiveRangeCheckElimination.cpp SRCS_EXT+= Transforms/Scalar/InferAddressSpaces.cpp +SRCS_MIN+= Transforms/Scalar/InstSimplifyPass.cpp SRCS_MIN+= Transforms/Scalar/JumpThreading.cpp SRCS_MIN+= Transforms/Scalar/LICM.cpp SRCS_MIN+= Transforms/Scalar/LoopAccessAnalysisPrinter.cpp @@ -1227,6 +1282,7 @@ SRCS_MIN+= Transforms/Scalar/LoopSimplifyCFG.cpp SRCS_MIN+= Transforms/Scalar/LoopSink.cpp SRCS_MIN+= Transforms/Scalar/LoopStrengthReduce.cpp SRCS_MIN+= Transforms/Scalar/LoopUnrollPass.cpp +SRCS_MIN+= Transforms/Scalar/LoopUnrollAndJamPass.cpp SRCS_MIN+= Transforms/Scalar/LoopUnswitch.cpp SRCS_MIN+= Transforms/Scalar/LoopVersioningLICM.cpp SRCS_MIN+= Transforms/Scalar/LowerAtomic.cpp @@ -1282,7 +1338,9 @@ SRCS_MIN+= Transforms/Utils/LCSSA.cpp SRCS_MIN+= Transforms/Utils/LibCallsShrinkWrap.cpp SRCS_MIN+= Transforms/Utils/Local.cpp SRCS_MIN+= Transforms/Utils/LoopSimplify.cpp +SRCS_MIN+= Transforms/Utils/LoopRotationUtils.cpp SRCS_MIN+= Transforms/Utils/LoopUnroll.cpp +SRCS_MIN+= Transforms/Utils/LoopUnrollAndJam.cpp SRCS_MIN+= Transforms/Utils/LoopUnrollPeel.cpp SRCS_MIN+= Transforms/Utils/LoopUnrollRuntime.cpp SRCS_MIN+= Transforms/Utils/LoopUtils.cpp @@ -1300,7 +1358,6 @@ SRCS_MIN+= Transforms/Utils/SSAUpdater.cpp SRCS_MIN+= Transforms/Utils/SanitizerStats.cpp SRCS_MIN+= Transforms/Utils/SimplifyCFG.cpp SRCS_MIN+= Transforms/Utils/SimplifyIndVar.cpp -SRCS_MIN+= Transforms/Utils/SimplifyInstructions.cpp SRCS_MIN+= Transforms/Utils/SimplifyLibCalls.cpp SRCS_MIN+= Transforms/Utils/SplitModule.cpp SRCS_MIN+= Transforms/Utils/StripGCRelocates.cpp @@ -1311,11 +1368,15 @@ SRCS_EXT+= Transforms/Utils/Utils.cpp SRCS_MIN+= Transforms/Utils/VNCoercion.cpp SRCS_MIN+= Transforms/Utils/ValueMapper.cpp SRCS_MIN+= Transforms/Vectorize/LoadStoreVectorizer.cpp +SRCS_MIN+= Transforms/Vectorize/LoopVectorizationLegality.cpp SRCS_MIN+= Transforms/Vectorize/LoopVectorize.cpp SRCS_MIN+= Transforms/Vectorize/SLPVectorizer.cpp SRCS_MIN+= Transforms/Vectorize/VPlan.cpp +SRCS_MIN+= Transforms/Vectorize/VPlanHCFGBuilder.cpp +SRCS_MIN+= Transforms/Vectorize/VPlanVerifier.cpp SRCS_EXT+= Transforms/Vectorize/Vectorize.cpp SRCS_EXT+= XRay/InstrumentationMap.cpp +SRCS_EXT+= XRay/Trace.cpp SRCS_ALL+= ${SRCS_MIN} .if !defined(TOOLS_PREFIX) || ${MK_LLD_BOOTSTRAP} != "no" @@ -1347,17 +1408,23 @@ SRCS_ALL+= ${SRCS_XDW} .endif SRCS+= ${SRCS_ALL:O} -llvm/IR/Attributes.gen: ${LLVM_SRCS}/include/llvm/IR/Attributes.td +llvm/IR/Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td ${LLVM_TBLGEN} -gen-attrs \ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ ${LLVM_SRCS}/include/llvm/IR/Attributes.td -TGHDRS+= llvm/IR/Attributes.gen +TGHDRS+= llvm/IR/Attributes.inc -llvm/IR/Intrinsics.gen: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td - ${LLVM_TBLGEN} -gen-intrinsic \ +llvm/IR/IntrinsicEnums.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td + ${LLVM_TBLGEN} -gen-intrinsic-enums \ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td -TGHDRS+= llvm/IR/Intrinsics.gen +TGHDRS+= llvm/IR/IntrinsicEnums.inc + +llvm/IR/IntrinsicImpl.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td + ${LLVM_TBLGEN} -gen-intrinsic-impl \ + -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ + ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td +TGHDRS+= llvm/IR/IntrinsicImpl.inc AttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td ${LLVM_TBLGEN} -gen-attrs \ @@ -1365,6 +1432,12 @@ AttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td TGHDRS+= AttributesCompatFunc.inc +InstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td + ${LLVM_TBLGEN} -gen-searchable-tables \ + -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ + ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td +TGHDRS+= InstCombineTables.inc + llvm-lib/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td ${LLVM_TBLGEN} -gen-opt-parser-defs \ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ @@ -1469,9 +1542,11 @@ TGHDRS+= MipsGenCallingConv.inc TGHDRS+= MipsGenDAGISel.inc TGHDRS+= MipsGenDisassemblerTables.inc TGHDRS+= MipsGenFastISel.inc +TGHDRS+= MipsGenGlobalISel.inc TGHDRS+= MipsGenInstrInfo.inc TGHDRS+= MipsGenMCCodeEmitter.inc TGHDRS+= MipsGenMCPseudoLowering.inc +TGHDRS+= MipsGenRegisterBank.inc TGHDRS+= MipsGenRegisterInfo.inc TGHDRS+= MipsGenSubtargetInfo.inc .endif # MK_LLVM_TARGET_MIPS diff --git a/lib/clang/libllvmminimal/Makefile b/lib/clang/libllvmminimal/Makefile index df730a7fba085..248b8e38fc21a 100644 --- a/lib/clang/libllvmminimal/Makefile +++ b/lib/clang/libllvmminimal/Makefile @@ -22,6 +22,7 @@ SRCS+= Support/FormattedStream.cpp SRCS+= Support/Hashing.cpp SRCS+= Support/Host.cpp SRCS+= Support/IntEqClasses.cpp +SRCS+= Support/JSON.cpp SRCS+= Support/Locale.cpp SRCS+= Support/LowLevelType.cpp SRCS+= Support/MD5.cpp @@ -50,6 +51,7 @@ SRCS+= Support/ToolOutputFile.cpp SRCS+= Support/Triple.cpp SRCS+= Support/Twine.cpp SRCS+= Support/Unicode.cpp +SRCS+= Support/WithColor.cpp SRCS+= Support/circular_raw_ostream.cpp SRCS+= Support/raw_ostream.cpp SRCS+= Support/regcomp.c @@ -58,6 +60,7 @@ SRCS+= Support/regexec.c SRCS+= Support/regfree.c SRCS+= Support/regstrlcpy.c SRCS+= TableGen/Error.cpp +SRCS+= TableGen/JSONBackend.cpp SRCS+= TableGen/Main.cpp SRCS+= TableGen/Record.cpp SRCS+= TableGen/SetTheory.cpp diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index db2d3144f901e..74975b2fe33dd 100644 --- a/lib/libc++/Makefile +++ b/lib/libc++/Makefile @@ -20,6 +20,7 @@ SHLIB_LDSCRIPT= libc++.ldscript SRCS+= algorithm.cpp SRCS+= any.cpp SRCS+= bind.cpp +SRCS+= charconv.cpp SRCS+= chrono.cpp SRCS+= condition_variable.cpp SRCS+= debug.cpp @@ -84,6 +85,7 @@ STD_HEADERS+= __bsd_locale_defaults.h STD_HEADERS+= __bsd_locale_fallbacks.h STD_HEADERS+= __config STD_HEADERS+= __debug +STD_HEADERS+= __errc STD_HEADERS+= __functional_03 STD_HEADERS+= __functional_base STD_HEADERS+= __functional_base_03 @@ -91,6 +93,7 @@ STD_HEADERS+= __hash_table STD_HEADERS+= __libcpp_version STD_HEADERS+= __locale STD_HEADERS+= __mutex_base +STD_HEADERS+= __node_handle STD_HEADERS+= __nullptr STD_HEADERS+= __split_buffer STD_HEADERS+= __sso_allocator @@ -111,6 +114,7 @@ STD_HEADERS+= cctype STD_HEADERS+= cerrno STD_HEADERS+= cfenv STD_HEADERS+= cfloat +STD_HEADERS+= charconv STD_HEADERS+= chrono STD_HEADERS+= cinttypes STD_HEADERS+= ciso646 @@ -118,6 +122,7 @@ STD_HEADERS+= climits STD_HEADERS+= clocale STD_HEADERS+= cmath STD_HEADERS+= codecvt +STD_HEADERS+= compare STD_HEADERS+= complex STD_HEADERS+= complex.h STD_HEADERS+= condition_variable @@ -138,6 +143,7 @@ STD_HEADERS+= cwctype STD_HEADERS+= deque STD_HEADERS+= errno.h STD_HEADERS+= exception +STD_HEADERS+= filesystem STD_HEADERS+= float.h STD_HEADERS+= forward_list STD_HEADERS+= fstream @@ -172,6 +178,7 @@ STD_HEADERS+= scoped_allocator STD_HEADERS+= set STD_HEADERS+= setjmp.h STD_HEADERS+= shared_mutex +STD_HEADERS+= span STD_HEADERS+= sstream STD_HEADERS+= stack STD_HEADERS+= stdbool.h @@ -198,6 +205,7 @@ STD_HEADERS+= utility STD_HEADERS+= valarray STD_HEADERS+= variant STD_HEADERS+= vector +STD_HEADERS+= version STD_HEADERS+= wchar.h STD_HEADERS+= wctype.h @@ -236,6 +244,7 @@ EXP_HEADERS+= propagate_const EXP_HEADERS+= ratio EXP_HEADERS+= regex EXP_HEADERS+= set +EXP_HEADERS+= simd EXP_HEADERS+= string EXP_HEADERS+= string_view EXP_HEADERS+= system_error diff --git a/lib/libc++experimental/Makefile b/lib/libc++experimental/Makefile index e2563cc5cd1f5..8d1e4b58bbe24 100644 --- a/lib/libc++experimental/Makefile +++ b/lib/libc++experimental/Makefile @@ -11,9 +11,6 @@ MK_PROFILE= no .PATH: ${SRCDIR}/src/experimental -SRCS+= filesystem/directory_iterator.cpp -SRCS+= filesystem/operations.cpp -SRCS+= filesystem/path.cpp SRCS+= memory_resource.cpp WARNS?= 0 diff --git a/lib/libc++fs/Makefile b/lib/libc++fs/Makefile new file mode 100644 index 0000000000000..a89c5d6821d46 --- /dev/null +++ b/lib/libc++fs/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +.include <src.opts.mk> + +PACKAGE= clibs +SRCDIR= ${SRCTOP}/contrib/libc++ + +LIB= c++fs +NO_PIC= +MK_PROFILE= no + +.PATH: ${SRCDIR}/src/filesystem + +SRCS+= directory_iterator.cpp +SRCS+= int128_builtins.cpp +SRCS+= operations.cpp + +WARNS?= 0 +CXXFLAGS+= ${PICFLAG} +CXXFLAGS+= -isystem ${SRCDIR}/include +CXXFLAGS+= -nostdinc++ +CXXFLAGS+= -nostdlib +CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY +CXXFLAGS+= -DLIBCXXRT +.if empty(CXXFLAGS:M-std=*) +CXXFLAGS+= -std=c++14 +.endif + +.include <bsd.lib.mk> diff --git a/lib/libclang_rt/Makefile b/lib/libclang_rt/Makefile index 6ad465bf0f67e..cda97b74258f2 100644 --- a/lib/libclang_rt/Makefile +++ b/lib/libclang_rt/Makefile @@ -6,6 +6,10 @@ SUBDIR+= asan SUBDIR+= asan-preinit SUBDIR+= asan_cxx SUBDIR+= asan_dynamic +.if ${MACHINE_CPUARCH} == "amd64" +SUBDIR+= msan +SUBDIR+= msan_cxx +.endif SUBDIR+= safestack SUBDIR+= stats SUBDIR+= stats_client diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc index 4b39ef388d65c..4ad9508fd66d4 100644 --- a/lib/libclang_rt/Makefile.inc +++ b/lib/libclang_rt/Makefile.inc @@ -14,7 +14,7 @@ CRTSRC= ${SRCTOP}/contrib/compiler-rt .PATH: ${CRTSRC}/lib -CLANGDIR= /usr/lib/clang/6.0.1 +CLANGDIR= /usr/lib/clang/7.0.0 LIBDIR= ${CLANGDIR}/lib/freebsd SHLIBDIR= ${LIBDIR} diff --git a/lib/libclang_rt/asan/Makefile b/lib/libclang_rt/asan/Makefile index bea52db93e912..6a7d22b7bde99 100644 --- a/lib/libclang_rt/asan/Makefile +++ b/lib/libclang_rt/asan/Makefile @@ -33,6 +33,7 @@ SRCS+= interception/interception_type_test.cc SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc SRCS+= sanitizer_common/sanitizer_allocator_checks.cc +SRCS+= sanitizer_common/sanitizer_allocator_report.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc @@ -52,8 +53,8 @@ SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc SRCS+= sanitizer_common/sanitizer_posix.cc SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc -SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc @@ -63,6 +64,7 @@ SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_report.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc @@ -71,6 +73,7 @@ SRCS+= ubsan/ubsan_diag.cc SRCS+= ubsan/ubsan_flags.cc SRCS+= ubsan/ubsan_handlers.cc SRCS+= ubsan/ubsan_init.cc +SRCS+= ubsan/ubsan_monitor.cc SRCS+= ubsan/ubsan_value.cc .include <bsd.lib.mk> diff --git a/lib/libclang_rt/asan_dynamic/Makefile b/lib/libclang_rt/asan_dynamic/Makefile index 4edb66e9c52cf..d4fcbee346db0 100644 --- a/lib/libclang_rt/asan_dynamic/Makefile +++ b/lib/libclang_rt/asan_dynamic/Makefile @@ -36,6 +36,7 @@ SRCS+= interception/interception_type_test.cc SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc SRCS+= sanitizer_common/sanitizer_allocator_checks.cc +SRCS+= sanitizer_common/sanitizer_allocator_report.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc @@ -55,8 +56,8 @@ SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc SRCS+= sanitizer_common/sanitizer_posix.cc SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc -SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc @@ -66,6 +67,7 @@ SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_report.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc @@ -75,6 +77,7 @@ SRCS+= ubsan/ubsan_flags.cc SRCS+= ubsan/ubsan_handlers.cc SRCS+= ubsan/ubsan_handlers_cxx.cc SRCS+= ubsan/ubsan_init.cc +SRCS+= ubsan/ubsan_monitor.cc SRCS+= ubsan/ubsan_type_hash.cc SRCS+= ubsan/ubsan_type_hash_itanium.cc SRCS+= ubsan/ubsan_value.cc @@ -90,4 +93,3 @@ CC= ${CXX} CXXFLAGS.ubsan_handlers_cxx.cc= -frtti CXXFLAGS.ubsan_type_hash.cc= -frtti CXXFLAGS.ubsan_type_hash_itanium.cc= -frtti -CXXFLAGS.ubsan_type_hash_win.cc= -frtti diff --git a/lib/libclang_rt/include/Makefile b/lib/libclang_rt/include/Makefile index 3745e8d91984c..c9ebff4fd13b0 100644 --- a/lib/libclang_rt/include/Makefile +++ b/lib/libclang_rt/include/Makefile @@ -16,6 +16,7 @@ INCS+= hwasan_interface.h INCS+= linux_syscall_hooks.h INCS+= lsan_interface.h INCS+= msan_interface.h +INCS+= netbsd_syscall_hooks.h INCS+= scudo_interface.h INCS+= tsan_interface.h INCS+= tsan_interface_atomic.h diff --git a/lib/libclang_rt/msan/Makefile b/lib/libclang_rt/msan/Makefile new file mode 100644 index 0000000000000..1ea0689c58f28 --- /dev/null +++ b/lib/libclang_rt/msan/Makefile @@ -0,0 +1,63 @@ +# $FreeBSD$ + +.include <bsd.init.mk> + +LIB= clang_rt.msan-${CRTARCH} + +SRCS+= interception/interception_linux.cc +SRCS+= interception/interception_type_test.cc +SRCS+= msan/msan.cc +SRCS+= msan/msan_allocator.cc +SRCS+= msan/msan_chained_origin_depot.cc +SRCS+= msan/msan_interceptors.cc +SRCS+= msan/msan_linux.cc +SRCS+= msan/msan_poisoning.cc +SRCS+= msan/msan_report.cc +SRCS+= msan/msan_thread.cc +SRCS+= sanitizer_common/sancov_flags.cc +SRCS+= sanitizer_common/sanitizer_allocator.cc +SRCS+= sanitizer_common/sanitizer_allocator_checks.cc +SRCS+= sanitizer_common/sanitizer_allocator_report.cc +SRCS+= sanitizer_common/sanitizer_common.cc +SRCS+= sanitizer_common/sanitizer_common_libcdep.cc +SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc +SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc +SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc +SRCS+= sanitizer_common/sanitizer_errno.cc +SRCS+= sanitizer_common/sanitizer_file.cc +SRCS+= sanitizer_common/sanitizer_flag_parser.cc +SRCS+= sanitizer_common/sanitizer_flags.cc +SRCS+= sanitizer_common/sanitizer_libc.cc +SRCS+= sanitizer_common/sanitizer_libignore.cc +SRCS+= sanitizer_common/sanitizer_linux.cc +SRCS+= sanitizer_common/sanitizer_linux_libcdep.cc +SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc +SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc +SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc +SRCS+= sanitizer_common/sanitizer_posix.cc +SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cc +SRCS+= sanitizer_common/sanitizer_procmaps_common.cc +SRCS+= sanitizer_common/sanitizer_stackdepot.cc +SRCS+= sanitizer_common/sanitizer_stacktrace.cc +SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc +SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc +SRCS+= sanitizer_common/sanitizer_suppressions.cc +SRCS+= sanitizer_common/sanitizer_symbolizer.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_report.cc +SRCS+= sanitizer_common/sanitizer_termination.cc +SRCS+= sanitizer_common/sanitizer_thread_registry.cc +SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc +SRCS+= sanitizer_common/sanitizer_unwind_linux_libcdep.cc +SRCS+= ubsan/ubsan_diag.cc +SRCS+= ubsan/ubsan_flags.cc +SRCS+= ubsan/ubsan_handlers.cc +SRCS+= ubsan/ubsan_init.cc +SRCS+= ubsan/ubsan_monitor.cc +SRCS+= ubsan/ubsan_value.cc + +.include <bsd.lib.mk> diff --git a/lib/libclang_rt/msan_cxx/Makefile b/lib/libclang_rt/msan_cxx/Makefile new file mode 100644 index 0000000000000..44fb5df9b7278 --- /dev/null +++ b/lib/libclang_rt/msan_cxx/Makefile @@ -0,0 +1,16 @@ +# $FreeBSD$ + +.include <bsd.init.mk> + +LIB= clang_rt.msan_cxx-${CRTARCH} + +SRCS+= msan/msan_new_delete.cc +SRCS+= ubsan/ubsan_handlers_cxx.cc +SRCS+= ubsan/ubsan_type_hash.cc +SRCS+= ubsan/ubsan_type_hash_itanium.cc + +.include <bsd.lib.mk> + +CXXFLAGS.ubsan_handlers_cxx.cc= -frtti +CXXFLAGS.ubsan_type_hash.cc= -frtti +CXXFLAGS.ubsan_type_hash_itanium.cc= -frtti diff --git a/lib/libclang_rt/safestack/Makefile b/lib/libclang_rt/safestack/Makefile index 9bb10f46dbb80..8f49840003423 100644 --- a/lib/libclang_rt/safestack/Makefile +++ b/lib/libclang_rt/safestack/Makefile @@ -24,14 +24,12 @@ SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc SRCS+= sanitizer_common/sanitizer_posix.cc SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc -SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc SRCS+= sanitizer_common/sanitizer_suppressions.cc -SRCS+= sanitizer_common/sanitizer_symbolizer.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc diff --git a/lib/libclang_rt/stats/Makefile b/lib/libclang_rt/stats/Makefile index 3ffa2f8a6b0d2..93b6c1f7c9875 100644 --- a/lib/libclang_rt/stats/Makefile +++ b/lib/libclang_rt/stats/Makefile @@ -4,12 +4,11 @@ LIB= clang_rt.stats-${CRTARCH} -SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc SRCS+= sanitizer_common/sanitizer_allocator_checks.cc +SRCS+= sanitizer_common/sanitizer_allocator_report.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc -SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc SRCS+= sanitizer_common/sanitizer_errno.cc @@ -26,8 +25,8 @@ SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc SRCS+= sanitizer_common/sanitizer_posix.cc SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc -SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc @@ -37,6 +36,7 @@ SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_report.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc diff --git a/lib/libclang_rt/tsan/Makefile b/lib/libclang_rt/tsan/Makefile index 416fa377938b0..3f73c2c7946e9 100644 --- a/lib/libclang_rt/tsan/Makefile +++ b/lib/libclang_rt/tsan/Makefile @@ -9,6 +9,7 @@ SRCS+= interception/interception_type_test.cc SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc SRCS+= sanitizer_common/sanitizer_allocator_checks.cc +SRCS+= sanitizer_common/sanitizer_allocator_report.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc @@ -28,8 +29,8 @@ SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc SRCS+= sanitizer_common/sanitizer_posix.cc SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc -SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc @@ -39,6 +40,7 @@ SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_report.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc @@ -77,6 +79,7 @@ SRCS+= ubsan/ubsan_diag.cc SRCS+= ubsan/ubsan_flags.cc SRCS+= ubsan/ubsan_handlers.cc SRCS+= ubsan/ubsan_init.cc +SRCS+= ubsan/ubsan_monitor.cc SRCS+= ubsan/ubsan_value.cc .include <bsd.lib.mk> diff --git a/lib/libclang_rt/tsan_cxx/Makefile b/lib/libclang_rt/tsan_cxx/Makefile index 3581ff34fe9d8..c5917b04da590 100644 --- a/lib/libclang_rt/tsan_cxx/Makefile +++ b/lib/libclang_rt/tsan_cxx/Makefile @@ -14,4 +14,3 @@ SRCS+= ubsan/ubsan_type_hash_itanium.cc CXXFLAGS.ubsan_handlers_cxx.cc= -frtti CXXFLAGS.ubsan_type_hash.cc= -frtti CXXFLAGS.ubsan_type_hash_itanium.cc= -frtti -CXXFLAGS.ubsan_type_hash_win.cc= -frtti diff --git a/lib/libclang_rt/ubsan_standalone/Makefile b/lib/libclang_rt/ubsan_standalone/Makefile index 888037f32f4aa..c343066934658 100644 --- a/lib/libclang_rt/ubsan_standalone/Makefile +++ b/lib/libclang_rt/ubsan_standalone/Makefile @@ -9,6 +9,7 @@ SRCS+= interception/interception_type_test.cc SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc SRCS+= sanitizer_common/sanitizer_allocator_checks.cc +SRCS+= sanitizer_common/sanitizer_allocator_report.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc @@ -28,8 +29,8 @@ SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc SRCS+= sanitizer_common/sanitizer_posix.cc SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc -SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc @@ -39,6 +40,7 @@ SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_report.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc @@ -49,6 +51,8 @@ SRCS+= ubsan/ubsan_flags.cc SRCS+= ubsan/ubsan_handlers.cc SRCS+= ubsan/ubsan_init.cc SRCS+= ubsan/ubsan_init_standalone.cc +SRCS+= ubsan/ubsan_init_standalone_preinit.cc +SRCS+= ubsan/ubsan_monitor.cc SRCS+= ubsan/ubsan_signals_standalone.cc SRCS+= ubsan/ubsan_value.cc |