diff options
author | 2019-01-27 16:59:41 +0000 | |
---|---|---|
committer | 2019-01-27 16:59:41 +0000 | |
commit | 4f0ddf557bf12a77342fb07b1c20abaa1a209238 (patch) | |
tree | 4e142fa47a6bb3bfc5e0f5aaab81ea56506a6c50 | |
parent | Merge LLVM 7.0.1 release. (diff) | |
download | wireguard-openbsd-4f0ddf557bf12a77342fb07b1c20abaa1a209238.tar.xz wireguard-openbsd-4f0ddf557bf12a77342fb07b1c20abaa1a209238.zip |
Update clang build infrastructure for LLVM 7.0.1.
56 files changed, 310 insertions, 368 deletions
diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile index bc098e3a804..e35c827501c 100644 --- a/gnu/usr.bin/clang/Makefile +++ b/gnu/usr.bin/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2019/01/27 16:59:41 patrick Exp $ .include <bsd.own.mk> @@ -10,6 +10,7 @@ SUBDIR+=libLLVMSupport SUBDIR+=libLLVMTableGen SUBDIR+=llvm-tblgen SUBDIR+=include/llvm/IR +SUBDIR+=include/llvm/Transforms/InstCombine # these need Intrinsics.gen SUBDIR+=libLLVMCore @@ -75,6 +76,7 @@ SUBDIR+=libclangAnalysis SUBDIR+=libclangEdit SUBDIR+=libclangRewrite SUBDIR+=libclangDriver +SUBDIR+=libclangDriverArch SUBDIR+=libclangSerialization SUBDIR+=libclangFrontend SUBDIR+=libclangRewriteFrontend diff --git a/gnu/usr.bin/clang/clang/Makefile b/gnu/usr.bin/clang/clang/Makefile index 9d1a4bd4b30..25495eab0a0 100644 --- a/gnu/usr.bin/clang/clang/Makefile +++ b/gnu/usr.bin/clang/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.12 2019/01/27 16:59:41 patrick Exp $ .include <bsd.own.mk> @@ -7,7 +7,8 @@ BINDIR= /usr/bin LIBEXECDIR=/usr/libexec SRCS= driver.cpp \ cc1_main.cpp \ - cc1as_main.cpp + cc1as_main.cpp \ + cc1gen_reproducer_main.cpp LINKS= ${BINDIR}/clang ${BINDIR}/clang++ \ ${BINDIR}/clang ${BINDIR}/clang-cpp @@ -30,6 +31,7 @@ CPPFLAGS+= -I${.CURDIR}/../../../llvm/tools/clang/include LLVM_LIBDEPS= clangFrontendTool \ clangFrontend \ clangDriver \ + clangDriverArch \ clangSerialization \ clangCodeGen \ clangParse \ diff --git a/gnu/usr.bin/clang/include/clang/Basic/Makefile b/gnu/usr.bin/clang/include/clang/Basic/Makefile index fbc40e32c10..f40c4d1ad6c 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Makefile +++ b/gnu/usr.bin/clang/include/clang/Basic/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:41 patrick Exp $ .include <bsd.own.mk> @@ -11,7 +11,8 @@ GEN+=DiagnosticCrossTUKinds.inc GEN+=DiagnosticDriverKinds.inc DiagnosticFrontendKinds.inc DiagnosticGroups.inc GEN+=DiagnosticIndexName.inc DiagnosticLexKinds.inc DiagnosticParseKinds.inc GEN+=DiagnosticRefactoringKinds.inc -GEN+=DiagnosticSemaKinds.inc DiagnosticSerializationKinds.inc arm_neon.inc +GEN+=DiagnosticSemaKinds.inc DiagnosticSerializationKinds.inc +GEN+=arm_fp16.inc arm_neon.inc GEN+=AttrHasAttributeImpl.inc AttrSubMatchRulesList.inc all: ${GEN} @@ -50,7 +51,12 @@ AttrSubMatchRulesList.inc: ${CLANG_INC}/clang/Basic/Attr.td ${TBLGEN} -I${CLANG_INC} \ -gen-clang-attr-subject-match-rule-list -o ${.TARGET} ${.ALLSRC} +arm_fp16.inc: ${CLANG_INC}/clang/Basic/arm_fp16.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-neon-sema \ + -o ${.TARGET} ${.ALLSRC} + arm_neon.inc: ${CLANG_INC}/clang/Basic/arm_neon.td - ${TBLGEN} -gen-arm-neon-sema -o ${.TARGET} ${.ALLSRC} + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-neon-sema \ + -o ${.TARGET} ${.ALLSRC} .include <bsd.obj.mk> diff --git a/gnu/usr.bin/clang/include/clang/Basic/Version.inc b/gnu/usr.bin/clang/include/clang/Basic/Version.inc index 94bf17ae4ca..33e8fc359ba 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Version.inc +++ b/gnu/usr.bin/clang/include/clang/Basic/Version.inc @@ -1,9 +1,9 @@ -/* $OpenBSD: Version.inc,v 1.6 2018/04/06 14:44:04 patrick Exp $ */ +/* $OpenBSD: Version.inc,v 1.7 2019/01/27 16:59:41 patrick Exp $ */ -#define CLANG_VERSION 6.0.0 -#define CLANG_VERSION_STRING "6.0.0" -#define CLANG_VERSION_MAJOR 6 +#define CLANG_VERSION 7.0.1 +#define CLANG_VERSION_STRING "7.0.1" +#define CLANG_VERSION_MAJOR 7 #define CLANG_VERSION_MINOR 0 -#define CLANG_VERSION_PATCHLEVEL 0 +#define CLANG_VERSION_PATCHLEVEL 1 #define CLANG_VENDOR "OpenBSD " diff --git a/gnu/usr.bin/clang/include/clang/Config/config.h b/gnu/usr.bin/clang/include/clang/Config/config.h index f6d6c73be47..9ce8435cb6c 100644 --- a/gnu/usr.bin/clang/include/clang/Config/config.h +++ b/gnu/usr.bin/clang/include/clang/Config/config.h @@ -11,6 +11,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 "" @@ -55,7 +61,7 @@ #define CLANG_HAVE_RLIMITS 1 /* The LLVM product name and version */ -#define BACKEND_PACKAGE_STRING "LLVM 6.0.0" +#define BACKEND_PACKAGE_STRING "LLVM 7.0.0" /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ @@ -66,6 +72,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 */ #define CLANG_ENABLE_ARCMT 0 #define CLANG_ENABLE_OBJC_REWRITER 0 diff --git a/gnu/usr.bin/clang/include/clang/intrin/Makefile b/gnu/usr.bin/clang/include/clang/intrin/Makefile index e6fffc165ae..60cc023bd8d 100644 --- a/gnu/usr.bin/clang/include/clang/intrin/Makefile +++ b/gnu/usr.bin/clang/include/clang/intrin/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.17 2018/04/07 08:19:19 landry Exp $ +# $OpenBSD: Makefile,v 1.18 2019/01/27 16:59:41 patrick Exp $ .include <bsd.own.mk> -LLVM_V= 6.0.0 +LLVM_V= 7.0.1 CLANG_INTR_INCDIR= /usr/lib/clang/${LLVM_V}/include TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen @@ -21,6 +21,7 @@ HEADERS= stdalign.h \ .if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "arm" GEN+= arm_neon.h +GEN+= arm_fp16.h HEADERS+= arm_acle.h ${GEN} .elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" HEADERS+= adxintrin.h \ @@ -53,6 +54,7 @@ HEADERS+= adxintrin.h \ bmiintrin.h \ cetintrin.h \ cpuid.h \ + cldemoteintrin.h \ clflushoptintrin.h \ clwbintrin.h \ clzerointrin.h \ @@ -64,25 +66,32 @@ HEADERS+= adxintrin.h \ gfniintrin.h \ ia32intrin.h \ immintrin.h \ + invpcidintrin.h \ lwpintrin.h \ lzcntintrin.h \ mm3dnow.h \ - mmintrin.h \ mm_malloc.h \ + mmintrin.h \ + movdirintrin.h \ mwaitxintrin.h \ nmmintrin.h \ + pconfigintrin.h \ pkuintrin.h \ pmmintrin.h \ popcntintrin.h \ prfchwintrin.h \ + ptwriteintrin.h \ rdseedintrin.h \ rtmintrin.h \ + sgxintrin.h \ shaintrin.h \ smmintrin.h \ tbmintrin.h \ tmmintrin.h \ vaesintrin.h \ vpclmulqdqintrin.h \ + waitpkgintrin.h \ + wbnoinvdintrin.h \ wmmintrin.h \ __wmmintrin_aes.h \ __wmmintrin_pclmul.h \ @@ -114,6 +123,11 @@ install includes: ${HEADERS} ${.ALLSRC} ${DESTDIR}${CLANG_INTR_INCDIR} arm_neon.h: ${CLANG_INC}/clang/Basic/arm_neon.td - ${TBLGEN} -gen-arm-neon -o ${.TARGET} ${.ALLSRC} + ${TBLGEN} -gen-arm-neon -I${CLANG_INC}/clang/Basic \ + -o ${.TARGET} ${.ALLSRC} + +arm_fp16.h: ${CLANG_INC}/clang/Basic/arm_fp16.td + ${TBLGEN} -gen-arm-fp16 -I${CLANG_INC}/clang/Basic \ + -o ${.TARGET} ${.ALLSRC} .include <bsd.obj.mk> diff --git a/gnu/usr.bin/clang/include/lld/Common/Version.inc b/gnu/usr.bin/clang/include/lld/Common/Version.inc index 81b0c44d3be..c8c20b64ed0 100644 --- a/gnu/usr.bin/clang/include/lld/Common/Version.inc +++ b/gnu/usr.bin/clang/include/lld/Common/Version.inc @@ -1,8 +1,8 @@ -/* $OpenBSD: Version.inc,v 1.1 2018/04/06 18:33:43 patrick Exp $ */ +/* $OpenBSD: Version.inc,v 1.2 2019/01/27 16:59:41 patrick Exp $ */ -#define LLD_VERSION 6.0.0 -#define LLD_VERSION_STRING "6.0.0" -#define LLD_VERSION_MAJOR 0 +#define LLD_VERSION 7.0.1 +#define LLD_VERSION_STRING "7.0.1" +#define LLD_VERSION_MAJOR 7 #define LLD_VERSION_MINOR 0 #define LLD_REVISION_STRING "" #define LLD_REPOSITORY_STRING "" diff --git a/gnu/usr.bin/clang/include/lldb/Host/Config.h b/gnu/usr.bin/clang/include/lldb/Host/Config.h index 1fc5396e2bb..b4855d79b77 100644 --- a/gnu/usr.bin/clang/include/lldb/Host/Config.h +++ b/gnu/usr.bin/clang/include/lldb/Host/Config.h @@ -12,7 +12,13 @@ #define LLDB_CONFIG_TERMIOS_SUPPORTED -/* #define LLDB_DISABLE_POSIX */ +#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 @@ -24,6 +30,6 @@ #define HAVE_NR_PROCESS_VM_READV 0 -/* #define HAVE_LIBCOMPRESSION */ +/* #undef HAVE_LIBCOMPRESSION */ #endif // #ifndef LLDB_HOST_CONFIG_H diff --git a/gnu/usr.bin/clang/include/llvm/Config/config.h b/gnu/usr.bin/clang/include/llvm/Config/config.h index b7abde0f0af..649796dd0fa 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/config.h +++ b/gnu/usr.bin/clang/include/llvm/Config/config.h @@ -45,10 +45,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 @@ -82,9 +78,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 @@ -94,21 +87,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 */ @@ -121,9 +108,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 @@ -151,18 +135,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. */ /* #undef HAVE_POSIX_FALLOCATE */ @@ -208,35 +180,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. */ /* #undef HAVE_SYSCONF */ -/* 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 @@ -252,9 +210,6 @@ /* Define to 1 if you have the <sys/types.h> header file. */ /* #undef HAVE_SYS_TYPES_H */ -/* 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. */ /* #undef HAVE_TERMINFO */ @@ -264,21 +219,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. */ /* #define HAVE_VALGRIND_VALGRIND_H 1 */ -/* 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 @@ -345,58 +291,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. */ /* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd6.0" */ -/* 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 */ -/* #define LLVM_HOST_TRIPLE "amd64-unknown-openbsd6.0" */ - -/* 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 0 - -/* LLVM version string */ -#define LLVM_VERSION_STRING "6.0.0" - /* Define if libxml2 is supported on this platform. */ /* #undef LLVM_LIBXML2_ENABLED */ @@ -410,13 +320,10 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 6.0.0" - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME +#define PACKAGE_STRING "LLVM 7.0.1" /* Define to the version of this package. */ -#define PACKAGE_VERSION "6.0.0" +#define PACKAGE_VERSION "7.0.1" /* Define to the vendor of this package. */ /* #undef PACKAGE_VENDOR */ @@ -424,12 +331,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/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h index 44ca3837477..70bcb81f84b 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h +++ b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h @@ -56,28 +56,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 0 +#define LLVM_VERSION_PATCH 1 /* LLVM version string */ -#define LLVM_VERSION_STRING "6.0.0" +#define LLVM_VERSION_STRING "7.0.1" -/* Define if we link Polly to the tools */ -/* #undef LINK_POLLY_INTO_TOOLS */ +/* Whether LLVM records statistics for use with GetStatistics(), + * PrintStatistics() or PrintStatisticsJSON() + */ +#define LLVM_FORCE_ENABLE_STATS 0 #endif diff --git a/gnu/usr.bin/clang/include/llvm/IR/Makefile b/gnu/usr.bin/clang/include/llvm/IR/Makefile index 398151aacf3..0e90980eae4 100644 --- a/gnu/usr.bin/clang/include/llvm/IR/Makefile +++ b/gnu/usr.bin/clang/include/llvm/IR/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:34 espie Exp $ +# $OpenBSD: Makefile,v 1.5 2019/01/27 16:59:41 patrick Exp $ .include <bsd.own.mk> LLVM_SRCS= ${.CURDIR}/../../../../../llvm -DEFS= Attributes.gen Intrinsics.gen +DEFS= Attributes.inc IntrinsicEnums.inc IntrinsicImpl.inc all: ${DEFS} @@ -14,14 +14,20 @@ install: clean cleandir: rm -f ${DEFS} -Attributes.gen: ${LLVM_SRCS}/include/llvm/IR/Attributes.td +Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-attrs \ -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} -Intrinsics.gen: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic \ +IntrinsicEnums.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-enums \ + -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +IntrinsicImpl.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-impl \ -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} diff --git a/gnu/usr.bin/clang/include/llvm/Mips/Makefile b/gnu/usr.bin/clang/include/llvm/Mips/Makefile index 11a42ea591e..461f36ce7b5 100644 --- a/gnu/usr.bin/clang/include/llvm/Mips/Makefile +++ b/gnu/usr.bin/clang/include/llvm/Mips/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:34 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2019/01/27 16:59:41 patrick Exp $ .include <bsd.own.mk> @@ -7,8 +7,9 @@ LLVM_SRCS= ${.CURDIR}/../../../../../llvm HDRS= MipsGenAsmMatcher.inc MipsGenAsmWriter.inc \ MipsGenCallingConv.inc MipsGenDAGISel.inc \ MipsGenDisassemblerTables.inc MipsGenFastISel.inc \ - MipsGenInstrInfo.inc MipsGenMCCodeEmitter.inc \ - MipsGenMCPseudoLowering.inc MipsGenSubtargetInfo.inc \ + MipsGenGlobalISel.inc MipsGenInstrInfo.inc \ + MipsGenMCCodeEmitter.inc MipsGenMCPseudoLowering.inc \ + MipsGenSubtargetInfo.inc MipsGenRegisterBank.inc \ MipsGenRegisterInfo.inc all: ${HDRS} @@ -49,6 +50,11 @@ MipsGenFastISel.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ -o ${.TARGET} ${.ALLSRC} +MipsGenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + MipsGenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ @@ -64,6 +70,11 @@ MipsGenMCPseudoLowering.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ -o ${.TARGET} ${.ALLSRC} +MipsGenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-bank \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + MipsGenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ diff --git a/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h b/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h deleted file mode 100644 index 3d39a2ad136..00000000000 --- a/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h +++ /dev/null @@ -1,135 +0,0 @@ -/*===-- 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/gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile b/gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile new file mode 100644 index 00000000000..c749793b4e3 --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile @@ -0,0 +1,23 @@ +# $OpenBSD: Makefile,v 1.1 2019/01/27 16:59:41 patrick Exp $ + +.include <bsd.own.mk> + +LLVM_SRCS= ${.CURDIR}/../../../../../../llvm + +DEFS= InstCombineTables.inc + +all: ${DEFS} + +install: + @# Nothing here so far ... + +clean cleandir: + rm -f ${DEFS} + +InstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \ + -I${LLVM_SRCS}/include/llvm/Transforms/InstCombine \ + -I${LLVM_SRCS}/lib/Target -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +.include <bsd.obj.mk> diff --git a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile index 3576994dd64..7a7f4af4e5f 100644 --- a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMARMCodeGen NOPIC= @@ -12,6 +12,7 @@ SRCS= A15SDOptimizer.cpp \ ARMBaseInstrInfo.cpp \ ARMBaseRegisterInfo.cpp \ ARMCallLowering.cpp \ + ARMCodeGenPrepare.cpp \ ARMComputeBlockSize.cpp \ ARMConstantIslandPass.cpp \ ARMConstantPoolValue.cpp \ @@ -28,6 +29,7 @@ SRCS= A15SDOptimizer.cpp \ ARMMCInstLower.cpp \ ARMMachineFunctionInfo.cpp \ ARMMacroFusion.cpp \ + ARMParallelDSP.cpp \ ARMRegisterBankInfo.cpp \ ARMRegisterInfo.cpp \ ARMOptimizeBarriersPass.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile index d1baef5eed4..1bc298fd34b 100644 --- a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile +++ b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMAnalysis NOPIC= @@ -66,12 +66,14 @@ SRCS= AliasAnalysis.cpp \ MemorySSAUpdater.cpp \ ModuleDebugInfoPrinter.cpp \ ModuleSummaryAnalysis.cpp \ + MustExecute.cpp \ ObjCARCAliasAnalysis.cpp \ ObjCARCAnalysisUtils.cpp \ ObjCARCInstKind.cpp \ OptimizationRemarkEmitter.cpp \ OrderedBasicBlock.cpp \ PHITransAddr.cpp \ + PhiValues.cpp \ PostDominators.cpp \ ProfileSummaryInfo.cpp \ PtrUseVisitor.cpp \ @@ -82,6 +84,7 @@ SRCS= AliasAnalysis.cpp \ ScalarEvolutionAliasAnalysis.cpp \ ScalarEvolutionExpander.cpp \ ScalarEvolutionNormalization.cpp \ + SyntheticCountsUtils.cpp \ TargetLibraryInfo.cpp \ TargetTransformInfo.cpp \ Trace.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile index 02b43fc90e2..63c10254c0f 100644 --- a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile +++ b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile @@ -1,12 +1,13 @@ -# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:34 espie Exp $ +# $OpenBSD: Makefile,v 1.4 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMAsmPrinter NOPIC= NOPROFILE= .include <bsd.own.mk> -SRCS= AddressPool.cpp \ - ARMException.cpp \ +SRCS= ARMException.cpp \ + AccelTable.cpp \ + AddressPool.cpp \ AsmPrinter.cpp \ AsmPrinterDwarf.cpp \ AsmPrinterInlineAsm.cpp \ @@ -16,7 +17,6 @@ SRCS= AddressPool.cpp \ DebugLocStream.cpp \ DIE.cpp \ DIEHash.cpp \ - DwarfAccelTable.cpp \ DwarfCFIException.cpp \ DwarfCompileUnit.cpp \ DwarfDebug.cpp \ @@ -27,6 +27,7 @@ SRCS= AddressPool.cpp \ EHStreamer.cpp \ ErlangGCPrinter.cpp \ OcamlGCPrinter.cpp \ + WinCFGuard.cpp \ WinException.cpp .PATH: ${.CURDIR}/../../../llvm/lib/CodeGen/AsmPrinter diff --git a/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile b/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile index 4949b91ac76..03adb5bb9ed 100644 --- a/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile +++ b/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2017/10/04 20:57:09 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMBinaryFormat NOPIC= @@ -8,7 +8,8 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/BinaryFormat .include <bsd.own.mk> SRCS= Dwarf.cpp \ - Magic.cpp + Magic.cpp \ + Wasm.cpp .PATH: ${.CURDIR}/../../../llvm/lib/BinaryFormat diff --git a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile index 23a52813a9c..3cf270e9422 100644 --- a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2018/08/12 16:59:31 mortimer Exp $ +# $OpenBSD: Makefile,v 1.9 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMCodeGen NOPIC= @@ -15,6 +15,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \ BasicTargetTransformInfo.cpp \ BranchFolding.cpp \ BranchRelaxation.cpp \ + BreakFalseDeps.cpp \ + CFIInstrInserter.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CodeGen.cpp \ @@ -26,20 +28,12 @@ SRCS= AggressiveAntiDepBreaker.cpp \ DwarfEHPrepare.cpp \ EarlyIfConversion.cpp \ EdgeBundles.cpp \ - ExecutionDepsFix.cpp \ + ExecutionDomainFix.cpp \ ExpandISelPseudos.cpp \ ExpandMemCmp.cpp \ ExpandPostRAPseudos.cpp \ ExpandReductions.cpp \ FEntryInserter.cpp \ - IndirectBrExpandPass.cpp \ - LazyMachineBlockFrequencyInfo.cpp \ - LiveDebugValues.cpp \ - LiveIntervals.cpp \ - LiveStacks.cpp \ - LiveRangeShrink.cpp \ - LiveRegUnits.cpp \ - LowLevelType.cpp \ FaultMaps.cpp \ FuncletLayout.cpp \ GCMetadata.cpp \ @@ -49,22 +43,30 @@ SRCS= AggressiveAntiDepBreaker.cpp \ GlobalMerge.cpp \ IfConversion.cpp \ ImplicitNullChecks.cpp \ + IndirectBrExpandPass.cpp \ InlineSpiller.cpp \ InterferenceCache.cpp \ InterleavedAccessPass.cpp \ IntrinsicLowering.cpp \ LLVMTargetMachine.cpp \ LatencyPriorityQueue.cpp \ + LazyMachineBlockFrequencyInfo.cpp \ LexicalScopes.cpp \ + LiveDebugValues.cpp \ LiveDebugVariables.cpp \ LiveInterval.cpp \ LiveIntervalUnion.cpp \ + LiveIntervals.cpp \ + LivePhysRegs.cpp \ LiveRangeCalc.cpp \ LiveRangeEdit.cpp \ + LiveRangeShrink.cpp \ LiveRegMatrix.cpp \ - LivePhysRegs.cpp \ + LiveRegUnits.cpp \ + LiveStacks.cpp \ LiveVariables.cpp \ LocalStackSlotAllocation.cpp \ + LoopTraversal.cpp \ LowLevelType.cpp \ LowerEmuTLS.cpp \ MachineBasicBlock.cpp \ @@ -115,6 +117,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoSourceValue.cpp \ + ReachingDefAnalysis.cpp \ RegAllocBase.cpp \ RegAllocBasic.cpp \ RegAllocFast.cpp \ @@ -163,7 +166,9 @@ SRCS= AggressiveAntiDepBreaker.cpp \ TargetSubtargetInfo.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ + ValueTypes.cpp \ VirtRegMap.cpp \ + WasmEHPrepare.cpp \ WinEHPrepare.cpp \ XRayInstrumentation.cpp diff --git a/gnu/usr.bin/clang/libLLVMCore/Makefile b/gnu/usr.bin/clang/libLLVMCore/Makefile index 25afc926446..d8814f91ca7 100644 --- a/gnu/usr.bin/clang/libLLVMCore/Makefile +++ b/gnu/usr.bin/clang/libLLVMCore/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMCore NOPIC= @@ -24,6 +24,7 @@ SRCS= AsmWriter.cpp \ DiagnosticHandler.cpp \ DiagnosticInfo.cpp \ DiagnosticPrinter.cpp \ + DomTreeUpdater.cpp \ Dominators.cpp \ Function.cpp \ GVMaterializer.cpp \ @@ -55,7 +56,6 @@ SRCS= AsmWriter.cpp \ User.cpp \ Value.cpp \ ValueSymbolTable.cpp \ - ValueTypes.cpp \ Verifier.cpp .PATH: ${.CURDIR}/../../../llvm/lib/IR diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile index 63df92116cf..d50f8479be3 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMDebugInfoDWARF NOPIC= @@ -9,10 +9,12 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/DWARF .include <bsd.own.mk> SRCS= DWARFAbbreviationDeclaration.cpp \ DWARFAcceleratorTable.cpp \ + DWARFAddressRange.cpp \ DWARFCompileUnit.cpp \ DWARFContext.cpp \ DWARFDataExtractor.cpp \ DWARFDebugAbbrev.cpp \ + DWARFDebugAddr.cpp \ DWARFDebugArangeSet.cpp \ DWARFDebugAranges.cpp \ DWARFDebugFrame.cpp \ @@ -22,15 +24,16 @@ SRCS= DWARFAbbreviationDeclaration.cpp \ DWARFDebugMacro.cpp \ DWARFDebugPubTable.cpp \ DWARFDebugRangeList.cpp \ + DWARFDebugRnglists.cpp \ DWARFDie.cpp \ DWARFExpression.cpp \ DWARFFormValue.cpp \ DWARFGdbIndex.cpp \ + DWARFListTable.cpp \ DWARFTypeUnit.cpp \ DWARFUnitIndex.cpp \ DWARFUnit.cpp \ - DWARFVerifier.cpp \ - SyntaxHighlighting.cpp + DWARFVerifier.cpp .PATH: ${.CURDIR}/../../../llvm/lib/DebugInfo/DWARF diff --git a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile index f8d98aeb71c..26fe11f20f9 100644 --- a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile +++ b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMGlobalISel NOPIC= @@ -10,6 +10,8 @@ SRCS= CallLowering.cpp \ IRTranslator.cpp \ InstructionSelect.cpp \ InstructionSelector.cpp \ + LegalityPredicates.cpp \ + LegalizeMutations.cpp \ Legalizer.cpp \ LegalizerHelper.cpp \ LegalizerInfo.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMInstCombine/Makefile b/gnu/usr.bin/clang/libLLVMInstCombine/Makefile index 3494b525718..e69faa97c14 100644 --- a/gnu/usr.bin/clang/libLLVMInstCombine/Makefile +++ b/gnu/usr.bin/clang/libLLVMInstCombine/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:35 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMInstCombine NOPIC= @@ -6,9 +6,11 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms/InstCombine +CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Transforms/InstCombine .include <bsd.own.mk> -SRCS= InstructionCombining.cpp \ +SRCS= AggressiveInstCombine.cpp \ + InstructionCombining.cpp \ InstCombineAddSub.cpp \ InstCombineAndOrXor.cpp \ InstCombineCalls.cpp \ @@ -20,9 +22,11 @@ SRCS= InstructionCombining.cpp \ InstCombineSelect.cpp \ InstCombineShifts.cpp \ InstCombineSimplifyDemanded.cpp \ - InstCombineVectorOps.cpp + InstCombineVectorOps.cpp \ + TruncInstCombine.cpp .PATH: ${.CURDIR}/../../../llvm/lib/Transforms/InstCombine +.PATH: ${.CURDIR}/../../../llvm/lib/Transforms/AggressiveInstCombine install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile index ca545d8f204..e6b9ebcb792 100644 --- a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile +++ b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMInstrumentation NOPIC= @@ -9,6 +9,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms .include <bsd.own.mk> SRCS= AddressSanitizer.cpp \ BoundsChecking.cpp \ + CGProfile.cpp \ DataFlowSanitizer.cpp \ EfficiencySanitizer.cpp \ GCOVProfiling.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMMC/Makefile b/gnu/usr.bin/clang/libLLVMMC/Makefile index 9feab465042..9ca2e7f6add 100644 --- a/gnu/usr.bin/clang/libLLVMMC/Makefile +++ b/gnu/usr.bin/clang/libLLVMMC/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMMC NOPIC= @@ -14,6 +14,7 @@ SRCS= ConstantPools.cpp \ MCAsmInfoCOFF.cpp \ MCAsmInfoDarwin.cpp \ MCAsmInfoELF.cpp \ + MCAsmMacro.cpp \ MCAsmStreamer.cpp \ MCAssembler.cpp \ MCCodeEmitter.cpp \ @@ -57,6 +58,7 @@ SRCS= ConstantPools.cpp \ MachObjectWriter.cpp \ StringTableBuilder.cpp \ SubtargetFeature.cpp \ + WasmObjectWriter.cpp \ WinCOFFObjectWriter.cpp .PATH: ${.CURDIR}/../../../llvm/lib/MC diff --git a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile index ea728576005..77c4a88fbef 100644 --- a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:09 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMMipsCodeGen NOPIC= @@ -17,21 +17,25 @@ SRCS= MicroMipsSizeReduction.cpp \ Mips16RegisterInfo.cpp \ MipsAnalyzeImmediate.cpp \ MipsAsmPrinter.cpp \ + MipsBranchExpansion.cpp \ MipsCCState.cpp \ + MipsCallLowering.cpp \ MipsConstantIslandPass.cpp \ MipsDelaySlotFiller.cpp \ + MipsExpandPseudo.cpp \ MipsFastISel.cpp \ - MipsHazardSchedule.cpp \ - MipsInstrInfo.cpp \ + MipsFrameLowering.cpp \ MipsISelDAGToDAG.cpp \ MipsISelLowering.cpp \ - MipsFrameLowering.cpp \ - MipsLongBranch.cpp \ + MipsInstrInfo.cpp \ + MipsInstructionSelector.cpp \ + MipsLegalizerInfo.cpp \ MipsMCInstLower.cpp \ MipsMachineFunction.cpp \ MipsModuleISelDAGToDAG.cpp \ MipsOptimizePICCall.cpp \ MipsOs16.cpp \ + MipsRegisterBankInfo.cpp \ MipsRegisterInfo.cpp \ MipsSEFrameLowering.cpp \ MipsSEInstrInfo.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile index 96b2a705638..35d2576047c 100644 --- a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile +++ b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2019/01/27 16:59:41 patrick Exp $ LIB= LLVMScalarOpts NOPIC= @@ -28,6 +28,7 @@ SRCS= ADCE.cpp \ IVUsersPrinter.cpp \ InductiveRangeCheckElimination.cpp \ IndVarSimplify.cpp \ + InstSimplifyPass.cpp \ JumpThreading.cpp \ LICM.cpp \ LoopAccessAnalysisPrinter.cpp \ @@ -45,6 +46,7 @@ SRCS= ADCE.cpp \ LoopSimplifyCFG.cpp \ LoopSink.cpp \ LoopStrengthReduce.cpp \ + LoopUnrollAndJamPass.cpp \ LoopUnrollPass.cpp \ LoopUnswitch.cpp \ LoopVersioningLICM.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile b/gnu/usr.bin/clang/libLLVMSupport/Makefile index 40d7d5986fc..e6a9064f151 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2019/01/27 16:59:42 patrick Exp $ LIB= LLVMSupport NOPIC= @@ -30,11 +30,12 @@ SRCS= APFloat.cpp \ ConvertUTF.cpp \ ConvertUTFWrapper.cpp \ CrashRecoveryContext.cpp \ + DAGDeltaAlgorithm.cpp \ + DJB.cpp \ DataExtractor.cpp \ Debug.cpp \ DebugCounter.cpp \ DeltaAlgorithm.cpp \ - DAGDeltaAlgorithm.cpp \ Error.cpp \ ErrorHandling.cpp \ FileUtilities.cpp \ @@ -45,8 +46,10 @@ SRCS= APFloat.cpp \ GlobPattern.cpp \ GraphWriter.cpp \ Hashing.cpp \ + InitLLVM.cpp \ IntEqClasses.cpp \ IntervalMap.cpp \ + JSON.cpp \ JamCRC.cpp \ KnownBits.cpp \ LEB128.cpp \ @@ -110,8 +113,11 @@ SRCS= APFloat.cpp \ TargetRegistry.cpp \ ThreadLocal.cpp \ Threading.cpp \ + UnicodeCaseFold.cpp \ Valgrind.cpp \ + VersionTuple.cpp \ Watchdog.cpp \ + WithColor.cpp \ xxhash.cpp .PATH: ${.CURDIR}/../../../llvm/lib/Support diff --git a/gnu/usr.bin/clang/libLLVMTableGen/Makefile b/gnu/usr.bin/clang/libLLVMTableGen/Makefile index fe06d9df407..987635e62f3 100644 --- a/gnu/usr.bin/clang/libLLVMTableGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMTableGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:35 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2019/01/27 16:59:42 patrick Exp $ LIB= LLVMTableGen NOPIC= @@ -9,6 +9,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/TableGen .include <bsd.own.mk> SRCS= Error.cpp \ Main.cpp \ + JSONBackend.cpp \ Record.cpp \ SetTheory.cpp \ StringMatcher.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile index 6801a2b181d..748becf4bfc 100644 --- a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile +++ b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2019/01/27 16:59:42 patrick Exp $ LIB= LLVMTransformUtils NOPIC= @@ -34,8 +34,10 @@ SRCS= ASanStackFrameLayout.cpp \ LCSSA.cpp \ LibCallsShrinkWrap.cpp \ Local.cpp \ + LoopRotationUtils.cpp \ LoopSimplify.cpp \ LoopUnroll.cpp \ + LoopUnrollAndJam.cpp \ LoopUnrollPeel.cpp \ LoopUnrollRuntime.cpp \ LoopUtils.cpp \ @@ -53,7 +55,6 @@ SRCS= ASanStackFrameLayout.cpp \ SanitizerStats.cpp \ SimplifyCFG.cpp \ SimplifyIndVar.cpp \ - SimplifyInstructions.cpp \ SimplifyLibCalls.cpp \ SplitModule.cpp \ SymbolRewriter.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMVectorize/Makefile b/gnu/usr.bin/clang/libLLVMVectorize/Makefile index c217f22ac03..5d4138823d2 100644 --- a/gnu/usr.bin/clang/libLLVMVectorize/Makefile +++ b/gnu/usr.bin/clang/libLLVMVectorize/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:42 patrick Exp $ LIB= LLVMVectorize NOPIC= @@ -8,9 +8,12 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms .include <bsd.own.mk> SRCS= LoadStoreVectorizer.cpp \ + LoopVectorizationLegality.cpp \ LoopVectorize.cpp \ SLPVectorizer.cpp \ VPlan.cpp \ + VPlanHCFGBuilder.cpp \ + VPlanVerifier.cpp \ Vectorize.cpp .PATH: ${.CURDIR}/../../../llvm/lib/Transforms/Vectorize diff --git a/gnu/usr.bin/clang/libLLVMX86AsmPrinter/Makefile b/gnu/usr.bin/clang/libLLVMX86AsmPrinter/Makefile index f4b14607985..de22d47d83d 100644 --- a/gnu/usr.bin/clang/libLLVMX86AsmPrinter/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86AsmPrinter/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:35 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2019/01/27 16:59:42 patrick Exp $ LIB= LLVMX86AsmPrinter NOPIC= @@ -8,6 +8,7 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/X86 -I${LLVM_SRCS}/lib/Target/X86 .include <bsd.own.mk> SRCS= X86ATTInstPrinter.cpp \ + X86InstPrinterCommon.cpp \ X86IntelInstPrinter.cpp \ X86InstComments.cpp diff --git a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile index 7f2e1eae633..a5e747537c4 100644 --- a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2018/08/12 16:59:31 mortimer Exp $ +# $OpenBSD: Makefile,v 1.11 2019/01/27 16:59:42 patrick Exp $ LIB= LLVMX86CodeGen NOPIC= @@ -7,7 +7,9 @@ NOPROFILE= CPPFLAGS+= -I${.OBJDIR}/../include/llvm/X86 -I${LLVM_SRCS}/lib/Target/X86 .include <bsd.own.mk> -SRCS= X86AsmPrinter.cpp \ +SRCS= ShadowCallStack.cpp\ + X86AsmPrinter.cpp \ + X86AvoidStoreForwardingBlocks.cpp \ X86CallFrameOptimization.cpp \ X86CallLowering.cpp \ X86CallingConv.cpp \ @@ -20,11 +22,14 @@ SRCS= X86AsmPrinter.cpp \ X86FixupGadgets.cpp \ X86FixupLEAs.cpp \ X86FixupSetCC.cpp \ + X86FlagsCopyLowering.cpp \ X86FloatingPoint.cpp \ X86FrameLowering.cpp \ X86ISelDAGToDAG.cpp \ X86ISelLowering.cpp \ + X86IndirectBranchTracking.cpp \ X86InstrFMA3Info.cpp \ + X86InstrFoldTables.cpp \ X86InstrInfo.cpp \ X86InstructionSelector.cpp \ X86InterleavedAccess.cpp \ @@ -39,6 +44,7 @@ SRCS= X86AsmPrinter.cpp \ X86ReturnProtectorLowering.cpp \ X86SelectionDAGInfo.cpp \ X86ShuffleDecodeConstantPool.cpp \ + X86SpeculativeLoadHardening.cpp \ X86Subtarget.cpp \ X86TargetMachine.cpp \ X86TargetObjectFile.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMipo/Makefile b/gnu/usr.bin/clang/libLLVMipo/Makefile index 30a905eaa3d..94cfee98129 100644 --- a/gnu/usr.bin/clang/libLLVMipo/Makefile +++ b/gnu/usr.bin/clang/libLLVMipo/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2019/01/27 16:59:42 patrick Exp $ LIB= LLVMipo NOPIC= @@ -35,9 +35,11 @@ SRCS= ArgumentPromotion.cpp \ PartialInlining.cpp \ PassManagerBuilder.cpp \ PruneEH.cpp \ + SCCP.cpp \ SampleProfile.cpp \ StripDeadPrototypes.cpp \ StripSymbols.cpp \ + SyntheticCountsPropagation.cpp \ ThinLTOBitcodeWriter.cpp \ WholeProgramDevirt.cpp diff --git a/gnu/usr.bin/clang/libclangAST/Makefile b/gnu/usr.bin/clang/libclangAST/Makefile index 9179d63c6ab..99f486d970a 100644 --- a/gnu/usr.bin/clang/libclangAST/Makefile +++ b/gnu/usr.bin/clang/libclangAST/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:42 patrick Exp $ LIB= clangAST NOPIC= @@ -23,6 +23,7 @@ SRCS= APValue.cpp \ CommentLexer.cpp \ CommentParser.cpp \ CommentSema.cpp \ + ComparisonCategories.cpp \ Decl.cpp \ DeclarationName.cpp \ DeclBase.cpp \ diff --git a/gnu/usr.bin/clang/libclangAnalysis/Makefile b/gnu/usr.bin/clang/libclangAnalysis/Makefile index 14e766f6bd0..1ab684a253f 100644 --- a/gnu/usr.bin/clang/libclangAnalysis/Makefile +++ b/gnu/usr.bin/clang/libclangAnalysis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:36 espie Exp $ +# $OpenBSD: Makefile,v 1.4 2019/01/27 16:59:42 patrick Exp $ LIB= clangAnalysis NOPIC= @@ -14,6 +14,7 @@ SRCS= AnalysisDeclContext.cpp \ CFGStmtMap.cpp \ CallGraph.cpp \ CocoaConventions.cpp \ + ConstructionContext.cpp \ Consumed.cpp \ CodeInjector.cpp \ Dominators.cpp \ diff --git a/gnu/usr.bin/clang/libclangBasic/Makefile b/gnu/usr.bin/clang/libclangBasic/Makefile index 94c9c054c7a..ad46618109d 100644 --- a/gnu/usr.bin/clang/libclangBasic/Makefile +++ b/gnu/usr.bin/clang/libclangBasic/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:42 patrick Exp $ LIB= clangBasic NOPIC= @@ -33,9 +33,9 @@ SRCS= Attributes.cpp \ Targets.cpp \ TokenKinds.cpp \ Version.cpp \ - VersionTuple.cpp \ VirtualFileSystem.cpp \ Warnings.cpp \ + XRayInstr.cpp \ XRayLists.cpp .PATH: ${.CURDIR}/../../../llvm/tools/clang/lib/Basic diff --git a/gnu/usr.bin/clang/libclangBasicTargets/Makefile b/gnu/usr.bin/clang/libclangBasicTargets/Makefile index 46b34b1dc8b..7eeaa60126c 100644 --- a/gnu/usr.bin/clang/libclangBasicTargets/Makefile +++ b/gnu/usr.bin/clang/libclangBasicTargets/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= clangBasicTargets NOPIC= @@ -24,6 +24,7 @@ SRCS= AArch64.cpp \ OSTargets.cpp \ PNaCl.cpp \ PPC.cpp \ + RISCV.cpp \ SPIR.cpp \ Sparc.cpp \ SystemZ.cpp \ diff --git a/gnu/usr.bin/clang/libclangCodeGen/Makefile b/gnu/usr.bin/clang/libclangCodeGen/Makefile index 638b0bc3afe..2ee877f8093 100644 --- a/gnu/usr.bin/clang/libclangCodeGen/Makefile +++ b/gnu/usr.bin/clang/libclangCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:10 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:42 patrick Exp $ LIB= clangCodeGen NOPIC= @@ -31,6 +31,7 @@ SRCS= BackendUtil.cpp \ CGExprScalar.cpp \ CGGPUBuiltin.cpp \ CGLoopInfo.cpp \ + CGNonTrivialStruct.cpp \ CGObjC.cpp \ CGObjCGNU.cpp \ CGObjCMac.cpp \ diff --git a/gnu/usr.bin/clang/libclangDriver/Makefile b/gnu/usr.bin/clang/libclangDriver/Makefile index 633534190f4..5efa3e82f51 100644 --- a/gnu/usr.bin/clang/libclangDriver/Makefile +++ b/gnu/usr.bin/clang/libclangDriver/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:42 patrick Exp $ LIB= clangDriver NOPIC= @@ -8,9 +8,7 @@ CPPFLAGS+= ${CLANG_INCLUDES} CPPFLAGS+= -I${LLVM_SRCS}/tools/clang/lib/Driver .include <bsd.own.mk> -SRCS= AArch64.cpp \ - AMDGPU.cpp \ - ARM.cpp \ +SRCS= AMDGPU.cpp \ AVR.cpp \ Action.cpp \ Ananas.cpp \ @@ -30,6 +28,7 @@ SRCS= AArch64.cpp \ FreeBSD.cpp \ Fuchsia.cpp \ Gnu.cpp \ + HIP.cpp \ Haiku.cpp \ Hexagon.cpp \ Job.cpp \ @@ -37,32 +36,27 @@ SRCS= AArch64.cpp \ MSVC.cpp \ MinGW.cpp \ Minix.cpp \ - Mips.cpp \ MipsLinux.cpp \ Multilib.cpp \ Myriad.cpp \ NaCl.cpp \ NetBSD.cpp \ OpenBSD.cpp \ - PPC.cpp \ PS4CPU.cpp \ Phases.cpp \ + RISCV.cpp \ SanitizerArgs.cpp \ Solaris.cpp \ - Sparc.cpp \ - SystemZ.cpp \ TCE.cpp \ Tool.cpp \ ToolChain.cpp \ Types.cpp \ WebAssembly.cpp \ - X86.cpp \ XCore.cpp \ XRayArgs.cpp .PATH: ${.CURDIR}/../../../llvm/tools/clang/lib/Driver .PATH: ${.CURDIR}/../../../llvm/tools/clang/lib/Driver/ToolChains -.PATH: ${.CURDIR}/../../../llvm/tools/clang/lib/Driver/ToolChains/Arch install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/libclangDriverArch/Makefile b/gnu/usr.bin/clang/libclangDriverArch/Makefile new file mode 100644 index 00000000000..e3c27ab51a5 --- /dev/null +++ b/gnu/usr.bin/clang/libclangDriverArch/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD: Makefile,v 1.1 2019/01/27 16:59:42 patrick Exp $ + +LIB= clangDriverArch +NOPIC= +NOPROFILE= + +CPPFLAGS+= ${CLANG_INCLUDES} +CPPFLAGS+= -I${LLVM_SRCS}/tools/clang/lib/Driver + +.include <bsd.own.mk> +SRCS= AArch64.cpp \ + ARM.cpp \ + Mips.cpp \ + PPC.cpp \ + RISCV.cpp \ + Sparc.cpp \ + SystemZ.cpp \ + X86.cpp + +.PATH: ${.CURDIR}/../../../llvm/tools/clang/lib/Driver/ToolChains/Arch + +install: + @# Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libclangFrontend/Makefile b/gnu/usr.bin/clang/libclangFrontend/Makefile index d0afc47ece5..f9d4d77bbe5 100644 --- a/gnu/usr.bin/clang/libclangFrontend/Makefile +++ b/gnu/usr.bin/clang/libclangFrontend/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:10 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2019/01/27 16:59:42 patrick Exp $ LIB= clangFrontend NOPIC= @@ -23,6 +23,7 @@ SRCS= ASTConsumers.cpp \ FrontendAction.cpp \ FrontendActions.cpp \ FrontendOptions.cpp \ + FrontendTiming.cpp \ HeaderIncludeGen.cpp \ InitHeaderSearch.cpp \ InitPreprocessor.cpp \ diff --git a/gnu/usr.bin/clang/libclangSema/Makefile b/gnu/usr.bin/clang/libclangSema/Makefile index 794c2925ffe..7fa951f1358 100644 --- a/gnu/usr.bin/clang/libclangSema/Makefile +++ b/gnu/usr.bin/clang/libclangSema/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:36 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2019/01/27 16:59:42 patrick Exp $ LIB= clangSema NOPIC= @@ -8,13 +8,13 @@ CPPFLAGS+= ${CLANG_INCLUDES} .include <bsd.own.mk> SRCS= AnalysisBasedWarnings.cpp \ - AttributeList.cpp \ CodeCompleteConsumer.cpp \ DeclSpec.cpp \ DelayedDiagnostic.cpp \ IdentifierResolver.cpp \ JumpDiagnostics.cpp \ MultiplexExternalSemaSource.cpp \ + ParsedAttr.cpp \ Scope.cpp \ ScopeInfo.cpp \ Sema.cpp \ diff --git a/gnu/usr.bin/clang/liblldELF/Makefile b/gnu/usr.bin/clang/liblldELF/Makefile index 8ad6bd45230..ebd16ac730d 100644 --- a/gnu/usr.bin/clang/liblldELF/Makefile +++ b/gnu/usr.bin/clang/liblldELF/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2019/01/27 16:59:42 patrick Exp $ LIB= lldELF NOPROFILE= @@ -12,11 +12,13 @@ SRCS= AArch64.cpp \ AMDGPU.cpp \ ARM.cpp \ AVR.cpp \ + CallGraphSort.cpp \ Driver.cpp \ DriverUtils.cpp \ EhFrame.cpp \ Filesystem.cpp \ GdbIndex.cpp \ + Hexagon.cpp \ ICF.cpp \ InputFiles.cpp \ InputSection.cpp \ @@ -33,7 +35,6 @@ SRCS= AArch64.cpp \ SPARCV9.cpp \ ScriptLexer.cpp \ ScriptParser.cpp \ - Strings.cpp \ SymbolTable.cpp \ Symbols.cpp \ SyntheticSections.cpp \ diff --git a/gnu/usr.bin/clang/liblldbCommands/Makefile b/gnu/usr.bin/clang/liblldbCommands/Makefile index debe5685ca1..7a2c8736db2 100644 --- a/gnu/usr.bin/clang/liblldbCommands/Makefile +++ b/gnu/usr.bin/clang/liblldbCommands/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbCommands NOPIC= @@ -8,7 +8,6 @@ NOPROFILE= SRCS= CommandCompletions.cpp \ CommandObjectApropos.cpp \ - CommandObjectArgs.cpp \ CommandObjectBreakpoint.cpp \ CommandObjectBreakpointCommand.cpp \ CommandObjectBugreport.cpp \ @@ -28,7 +27,7 @@ SRCS= CommandCompletions.cpp \ CommandObjectRegister.cpp \ CommandObjectSettings.cpp \ CommandObjectSource.cpp \ - CommandObjectSyntax.cpp \ + CommandObjectStats.cpp \ CommandObjectTarget.cpp \ CommandObjectThread.cpp \ CommandObjectType.cpp \ diff --git a/gnu/usr.bin/clang/liblldbCore/Makefile b/gnu/usr.bin/clang/liblldbCore/Makefile index 765a146ea76..b8c41be49a6 100644 --- a/gnu/usr.bin/clang/liblldbCore/Makefile +++ b/gnu/usr.bin/clang/liblldbCore/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbCore NOPIC= @@ -15,6 +15,7 @@ SRCS= Address.cpp \ Debugger.cpp \ Disassembler.cpp \ DumpDataExtractor.cpp \ + DumpRegisterValue.cpp \ DynamicLoader.cpp \ EmulateInstruction.cpp \ Event.cpp \ diff --git a/gnu/usr.bin/clang/liblldbInterpreter/Makefile b/gnu/usr.bin/clang/liblldbInterpreter/Makefile index 32304ed5175..6bd3a612992 100644 --- a/gnu/usr.bin/clang/liblldbInterpreter/Makefile +++ b/gnu/usr.bin/clang/liblldbInterpreter/Makefile @@ -1,12 +1,11 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbInterpreter NOPIC= NOPROFILE= .include <bsd.own.mk> -SRCS= Args.cpp \ - CommandAlias.cpp \ +SRCS= CommandAlias.cpp \ CommandHistory.cpp \ CommandInterpreter.cpp \ CommandObject.cpp \ @@ -14,6 +13,7 @@ SRCS= Args.cpp \ CommandObjectScript.cpp \ CommandOptionValidators.cpp \ CommandReturnObject.cpp \ + OptionArgParser.cpp \ OptionGroupArchitecture.cpp \ OptionGroupBoolean.cpp \ OptionGroupFile.cpp \ diff --git a/gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile b/gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile index 07179352516..f6a05168df4 100644 --- a/gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile @@ -1,13 +1,15 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbPluginArchitecture NOPIC= NOPROFILE= .include <bsd.own.mk> -SRCS= ArchitectureArm.cpp +SRCS= ArchitectureArm.cpp \ + ArchitecturePPC64.cpp .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Architecture/Arm +.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Architecture/PPC64 install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile b/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile index d6142835fab..d3403d44bac 100644 --- a/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbPluginDynamicLoader NOPIC= @@ -8,6 +8,7 @@ NOPROFILE= SRCS= AuxVector.cpp \ DYLDRendezvous.cpp \ DynamicLoaderDarwin.cpp \ + DynamicLoaderDarwinKernel.cpp \ DynamicLoaderHexagonDYLD.cpp \ DynamicLoaderMacOS.cpp \ DynamicLoaderMacOSXDYLD.cpp \ @@ -16,6 +17,7 @@ SRCS= AuxVector.cpp \ DynamicLoaderWindowsDYLD.cpp \ HexagonDYLDRendezvous.cpp \ +.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD diff --git a/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile index a3a186b37e2..7c33229de20 100644 --- a/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbPluginExpressionParser NOPIC= @@ -13,6 +13,7 @@ SRCS= ASTDumper.cpp \ ClangExpressionParser.cpp \ ClangExpressionVariable.cpp \ ClangFunctionCaller.cpp \ + ClangHost.cpp \ ClangModulesDeclVendor.cpp \ ClangPersistentVariables.cpp \ ClangUserExpression.cpp \ diff --git a/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile b/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile index 91be390671b..795547dce58 100644 --- a/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbPluginInstruction NOPIC= @@ -9,12 +9,14 @@ SRCS= EmulateInstructionARM.cpp \ EmulateInstructionARM64.cpp \ EmulateInstructionMIPS.cpp \ EmulateInstructionMIPS64.cpp \ + EmulateInstructionPPC64.cpp \ EmulationStateARM.cpp \ .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/ARM .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/ARM64 .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/MIPS .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/MIPS64 +.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/PPC64 install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile index 9d3338a76cc..ff53acafcba 100644 --- a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbPluginProcess NOPIC= @@ -11,7 +11,6 @@ SRCS= DynamicRegisterInfo.cpp \ GDBRemoteCommunication.cpp \ GDBRemoteCommunicationClient.cpp \ GDBRemoteCommunicationServer.cpp \ - GDBRemoteCommunicationServerCommon.cpp \ GDBRemoteCommunicationServerLLGS.cpp \ GDBRemoteCommunicationServerPlatform.cpp \ GDBRemoteRegisterContext.cpp \ @@ -28,6 +27,7 @@ SRCS= DynamicRegisterInfo.cpp \ ProcessElfCore.cpp \ ProcessGDBRemote.cpp \ ProcessGDBRemoteLog.cpp \ + ProcessMachCore.cpp \ ProcessMinidump.cpp \ RegisterContextDarwin_arm.cpp \ RegisterContextDarwin_arm64.cpp \ @@ -77,6 +77,7 @@ SRCS= DynamicRegisterInfo.cpp \ StopInfoMachException.cpp \ ThreadElfCore.cpp \ ThreadGDBRemote.cpp \ + ThreadMachCore.cpp \ ThreadMemory.cpp \ ThreadMinidump.cpp \ UnwindLLDB.cpp \ @@ -85,6 +86,7 @@ SRCS= DynamicRegisterInfo.cpp \ .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/Utility .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/elf-core .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/gdb-remote +.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/mach-core .PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/minidump install: diff --git a/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile index 91ecc0cb485..484d9ce5fc3 100644 --- a/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile @@ -1,17 +1,19 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbPluginSymbolFile NOPIC= NOPROFILE= .include <bsd.own.mk> -SRCS= DIERef.cpp \ +SRCS= AppleDWARFIndex.cpp \ + DIERef.cpp \ DWARFASTParserClang.cpp \ DWARFASTParserGo.cpp \ DWARFASTParserJava.cpp \ DWARFASTParserOCaml.cpp \ DWARFAbbreviationDeclaration.cpp \ DWARFAttribute.cpp \ + DWARFBaseDIE.cpp \ DWARFCompileUnit.cpp \ DWARFDIE.cpp \ DWARFDIECollection.cpp \ @@ -25,16 +27,19 @@ SRCS= DIERef.cpp \ DWARFDebugMacinfo.cpp \ DWARFDebugMacinfoEntry.cpp \ DWARFDebugMacro.cpp \ - DWARFDebugPubnames.cpp \ - DWARFDebugPubnamesSet.cpp \ DWARFDebugRanges.cpp \ DWARFDeclContext.cpp \ DWARFDefines.cpp \ DWARFFormValue.cpp \ + DWARFIndex.cpp \ + DWARFUnit.cpp \ + DebugNamesDWARFIndex.cpp \ HashedNameToDIE.cpp \ LogChannelDWARF.cpp \ + ManualDWARFIndex.cpp \ NameToDIE.cpp \ PDBASTParser.cpp \ + PDBLocationToDWARFExpression.cpp \ SymbolFileDWARF.cpp \ SymbolFileDWARFDebugMap.cpp \ SymbolFileDWARFDwo.cpp \ diff --git a/gnu/usr.bin/clang/liblldbUtility/Makefile b/gnu/usr.bin/clang/liblldbUtility/Makefile index 8c17fdbb459..fc1f7bca4a2 100644 --- a/gnu/usr.bin/clang/liblldbUtility/Makefile +++ b/gnu/usr.bin/clang/liblldbUtility/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/27 16:59:42 patrick Exp $ LIB= lldbUtility NOPIC= @@ -7,16 +7,18 @@ NOPROFILE= .include <bsd.own.mk> SRCS= ArchSpec.cpp \ + Args.cpp \ Baton.cpp \ + CompletionRequest.cpp \ Connection.cpp \ ConstString.cpp \ DataBufferHeap.cpp \ DataBufferLLVM.cpp \ DataEncoder.cpp \ DataExtractor.cpp \ + Environment.cpp \ FastDemangle.cpp \ FileSpec.cpp \ - History.cpp \ IOObject.cpp \ JSON.cpp \ LLDBAssert.cpp \ diff --git a/gnu/usr.bin/clang/lldb/Makefile b/gnu/usr.bin/clang/lldb/Makefile index 7f5b3c4be99..f70bab63a4d 100644 --- a/gnu/usr.bin/clang/lldb/Makefile +++ b/gnu/usr.bin/clang/lldb/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2018/10/05 03:47:59 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 2019/01/27 16:59:42 patrick Exp $ .include <bsd.own.mk> @@ -67,6 +67,7 @@ LLVM_LIBDEPS= ${BACKEND_ASMPARSER} \ clangBasicTargets \ clangCodeGen \ clangDriver \ + clangDriverArch \ clangEdit \ clangFrontend \ clangLex \ diff --git a/gnu/usr.bin/clang/llvm-tblgen/Makefile b/gnu/usr.bin/clang/llvm-tblgen/Makefile index 8ae2350fe87..d24d76c761f 100644 --- a/gnu/usr.bin/clang/llvm-tblgen/Makefile +++ b/gnu/usr.bin/clang/llvm-tblgen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2018/04/06 14:44:04 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2019/01/27 16:59:42 patrick Exp $ PROG= llvm-tblgen NOMAN= @@ -8,6 +8,7 @@ SRCS= AsmMatcherEmitter.cpp \ AsmWriterEmitter.cpp \ AsmWriterInst.cpp \ Attributes.cpp \ + CTagsEmitter.cpp \ CallingConvEmitter.cpp \ CodeEmitterGen.cpp \ CodeGenDAGPatterns.cpp \ @@ -32,7 +33,9 @@ SRCS= AsmMatcherEmitter.cpp \ InstrInfoEmitter.cpp \ IntrinsicEmitter.cpp \ OptParserEmitter.cpp \ + PredicateExpander.cpp \ PseudoLoweringEmitter.cpp \ + RISCVCompressInstEmitter.cpp \ RegisterBankEmitter.cpp \ RegisterInfoEmitter.cpp \ SDNodeProperties.cpp \ @@ -41,12 +44,12 @@ SRCS= AsmMatcherEmitter.cpp \ SubtargetFeatureInfo.cpp \ TableGen.cpp \ Types.cpp \ + WebAssemblyDisassemblerEmitter.cpp \ X86DisassemblerTables.cpp \ X86EVEX2VEXTablesEmitter.cpp \ X86FoldTablesEmitter.cpp \ X86ModRMFilters.cpp \ - X86RecognizableInstr.cpp \ - CTagsEmitter.cpp + X86RecognizableInstr.cpp .PATH: ${.CURDIR}/../../../llvm/utils/TableGen |