diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-01-14 20:12:43 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-01-14 20:12:43 +0000 |
commit | 0bd56e6caa13367b1386362329946770bc35feff (patch) | |
tree | 82538b4d6a9209d1fbfd7eab7a46df14b42db7fe | |
parent | 86d685a17b1e4f8b57c4d5bd48e0a5429f3028e3 (diff) |
Update clang build infrastructure for LLVM 3.9.1
"go ahead" kettenis@
"just go ahead" deraadt@
"sounds good to me" stefan@
34 files changed, 273 insertions, 204 deletions
diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile index 16db2a2b389..f55f1135f7f 100644 --- a/gnu/usr.bin/clang/Makefile +++ b/gnu/usr.bin/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 11:02:05 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ .include <bsd.own.mk> @@ -38,6 +38,9 @@ SUBDIR+=libLLVMOption SUBDIR+=libLLVMTarget SUBDIR+=libLLVMAsmParser SUBDIR+=libLLVMProfileData +SUBDIR+=libLLVMCoverage +SUBDIR+=libLLVMDebugInfoCodeView +SUBDIR+=libLLVMGlobalISel SUBDIR+=include/llvm/${LLVM_ARCH} diff --git a/gnu/usr.bin/clang/clang/Makefile b/gnu/usr.bin/clang/clang/Makefile index 353a54d9682..b16aaa5e67c 100644 --- a/gnu/usr.bin/clang/clang/Makefile +++ b/gnu/usr.bin/clang/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:48 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ PROG= clang BINDIR= /usr/bin @@ -52,6 +52,9 @@ LLVM_LIBDEPS= clangFrontendTool \ LLVMInstCombine \ LLVMInstrumentation \ LLVMProfileData \ + LLVMCoverage \ + LLVMDebugInfoCodeView \ + LLVMGlobalISel \ LLVMTransformUtils \ LLVMBitWriter \ LLVMAnalysis \ diff --git a/gnu/usr.bin/clang/include/clang/Basic/Version.inc b/gnu/usr.bin/clang/include/clang/Basic/Version.inc index f0b416867a0..4ee10db7ee5 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Version.inc +++ b/gnu/usr.bin/clang/include/clang/Basic/Version.inc @@ -1,8 +1,8 @@ -/* $OpenBSD: Version.inc,v 1.1 2016/09/05 10:56:48 pascal Exp $ */ +/* $OpenBSD: Version.inc,v 1.2 2017/01/14 20:12:41 patrick Exp $ */ -#define CLANG_VERSION 3.8.1 +#define CLANG_VERSION 3.9.1 #define CLANG_VERSION_MAJOR 3 -#define CLANG_VERSION_MINOR 8 +#define CLANG_VERSION_MINOR 9 #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 15c8a00dccd..1b281ae8fef 100644 --- a/gnu/usr.bin/clang/include/clang/Config/config.h +++ b/gnu/usr.bin/clang/include/clang/Config/config.h @@ -8,6 +8,9 @@ /* Bug report URL. */ #define BUG_REPORT_URL "http://llvm.org/bugs/" +/* Default C++ stdlib to use. */ +#define CLANG_DEFAULT_CXX_STDLIB "" + /* Default OpenMP runtime used by -fopenmp. */ #define CLANG_DEFAULT_OPENMP_RUNTIME "libomp" @@ -30,9 +33,15 @@ /* #undef CLANG_HAVE_LIBXML */ /* The LLVM product name and version */ -#define BACKEND_PACKAGE_STRING "LLVM 3.8.1" +#define BACKEND_PACKAGE_STRING "LLVM 3.9.1" /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ +/* pass --build-id to ld */ +/* #undef ENABLE_LINKER_BUILD_ID */ + +/* enable x86 relax relocations by default */ +#define ENABLE_X86_RELAX_RELOCATIONS 0 + #endif diff --git a/gnu/usr.bin/clang/include/clang/intrin/Makefile b/gnu/usr.bin/clang/include/clang/intrin/Makefile index 876c2bb8177..1835ceb4eff 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.4 2017/01/07 09:50:08 kettenis Exp $ +# $OpenBSD: Makefile,v 1.5 2017/01/14 20:12:41 patrick Exp $ .include <bsd.own.mk> -LLVM_V= 3.8.1 +LLVM_V= 3.9.1 CLANG_INTR_INCDIR= /usr/lib/clang/${LLVM_V}/include .PATH: ${.CURDIR}/../../../../../llvm/tools/clang/lib/Headers diff --git a/gnu/usr.bin/clang/include/llvm/AArch64/Makefile b/gnu/usr.bin/clang/include/llvm/AArch64/Makefile index 32faf7a7a50..ebbcc6b8468 100644 --- a/gnu/usr.bin/clang/include/llvm/AArch64/Makefile +++ b/gnu/usr.bin/clang/include/llvm/AArch64/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/11/24 22:32:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ .include <bsd.own.mk> @@ -11,7 +11,7 @@ HDRS= AArch64GenAsmMatcher.inc AArch64GenAsmWriter.inc \ AArch64GenInstrInfo.inc AArch64GenRegisterInfo.inc \ AArch64GenSubtargetInfo.inc \ AArch64GenMCCodeEmitter.inc AArch64GenMCPseudoLowering.inc \ - AArch64GenDisassemblerTables.inc + AArch64GenSystemOperands.inc all: ${HDRS} @@ -84,8 +84,8 @@ AArch64GenMCPseudoLowering.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} -AArch64GenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ +AArch64GenSystemOperands.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} diff --git a/gnu/usr.bin/clang/include/llvm/Config/config.h b/gnu/usr.bin/clang/include/llvm/Config/config.h index 3385ebbf91f..7f4f7ea7448 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/config.h +++ b/gnu/usr.bin/clang/include/llvm/Config/config.h @@ -15,15 +15,9 @@ /* Define to enable crash overrides */ #define ENABLE_CRASH_OVERRIDES -/* Define to disable C++ atexit */ -#define DISABLE_LLVM_DYLIB_ATEXIT - /* Define if position independent code is enabled */ #define ENABLE_PIC -/* Define if timestamp information (e.g., __DATE__) is allowed */ -#define ENABLE_TIMESTAMPS 1 - /* Define to 1 if you have the `arc4random' function. */ #define HAVE_DECL_ARC4RANDOM 1 @@ -256,6 +250,9 @@ /* Define if you have the shl_load function. */ #undef HAVE_SHL_LOAD +/* Define to 1 if you have the `sigaltstack' function. */ +#define HAVE_SIGALTSTACK 1 + /* Define to 1 if you have the `siglongjmp' function. */ /* #undef HAVE_SIGLONGJMP */ @@ -327,6 +324,9 @@ /* Define if the setupterm() function is supported this platform. */ #define HAVE_TERMINFO 1 +/* Define if the xar_open() function is supported this platform. */ +/* #undef HAVE_LIBXAR */ + /* Define to 1 if you have the <termios.h> header file. */ #define HAVE_TERMIOS_H 1 @@ -336,6 +336,9 @@ /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 +/* Define to 1 if you have the `_Unwind_Backtrace' function. */ +/* #undef HAVE_UNWIND_BACKTRACE */ + /* Define to 1 if you have the <utime.h> header file. */ #define HAVE_UTIME_H 1 @@ -496,13 +499,16 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 8 +#define LLVM_VERSION_MINOR 9 /* Patch version of the LLVM API */ #define LLVM_VERSION_PATCH 1 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.8.1" +#define LLVM_VERSION_STRING "3.9.1" + +/* LLVM version information */ +/* #undef LLVM_VERSION_INFO */ /* Define if we link Polly to the tools */ /* #undef LINK_POLLY_INTO_TOOLS */ @@ -534,13 +540,16 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.8.1" +#define PACKAGE_STRING "LLVM 3.9.1" /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.8.1" +#define PACKAGE_VERSION "3.9.1" + +/* Define to the vendor of this package. */ +/* #undef PACKAGE_VENDOR */ /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void @@ -557,9 +566,6 @@ /* Define to 1 if your <sys/time.h> declares `struct tm'. */ #undef TM_IN_SYS_TIME -/* Type of 1st arg on ELM Callback */ -/* #undef WIN32_ELMCB_PCSTR */ - /* Define to `int' if <sys/types.h> does not define. */ #undef pid_t 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 1278273a904..ee834e599eb 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h +++ b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h @@ -94,13 +94,13 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 8 +#define LLVM_VERSION_MINOR 9 /* Patch version of the LLVM API */ #define LLVM_VERSION_PATCH 1 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.8.1" +#define LLVM_VERSION_STRING "3.9.1" /* Define if we link Polly to the tools */ /* #undef LINK_POLLY_INTO_TOOLS */ diff --git a/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h b/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h index b467064dbc7..ea779d0c739 100644 --- a/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h +++ b/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h @@ -21,8 +21,6 @@ /* Please leave this file C-compatible. */ -/* Please keep this file in sync with DataTypes.h.in */ - #ifndef SUPPORT_DATATYPES_H #define SUPPORT_DATATYPES_H @@ -37,34 +35,43 @@ #include <math.h> #endif -#ifndef _MSC_VER - -/* Note that this header's correct operation depends on __STDC_LIMIT_MACROS - being defined. We would define it here, but in order to prevent Bad Things - happening when system headers or C++ STL headers include stdint.h before we - define it here, we define it on the g++ command line (in Makefile.rules). */ -#if !defined(__STDC_LIMIT_MACROS) -# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h" +#ifdef __cplusplus +#include <cinttypes> +#else +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif #endif -#if !defined(__STDC_CONSTANT_MACROS) -# error "Must #define __STDC_CONSTANT_MACROS before " \ - "#including Support/DataTypes.h" +#ifdef __cplusplus +#include <cstdint> +#else +#ifdef HAVE_STDINT_H +#include <stdint.h> +#else +#error "Compiler must provide an implementation of stdint.h" +#endif #endif -/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */ -#include <sys/types.h> +#ifndef _MSC_VER -#ifdef HAVE_INTTYPES_H -#include <inttypes.h> +#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 -#ifdef HAVE_STDINT_H -#include <stdint.h> +#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 -#include "llvm/Support/AIXDataTypesFix.h" +// 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 */ @@ -77,106 +84,36 @@ typedef u_int64_t uint64_t; #endif #else /* _MSC_VER */ -/* Visual C++ doesn't provide standard integer headers, but it does provide - built-in data types. */ -#ifdef HAVE_STDINT_H -#include <stdint.h> -#endif -#include <stdlib.h> -#include <stddef.h> -#include <sys/types.h> #ifdef __cplusplus -#include <cmath> +#include <cstdlib> +#include <cstddef> #else -#include <math.h> +#include <stdlib.h> +#include <stddef.h> #endif -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -typedef signed int int32_t; -typedef unsigned int uint32_t; -typedef short int16_t; -typedef unsigned short uint16_t; -typedef signed char int8_t; -typedef unsigned char uint8_t; +#include <sys/types.h> + #if defined(_WIN64) - typedef signed __int64 ssize_t; +typedef signed __int64 ssize_t; #else - typedef signed int ssize_t; -#endif -#ifndef INT8_MAX -# define INT8_MAX 127 -#endif -#ifndef INT8_MIN -# define INT8_MIN -128 -#endif -#ifndef UINT8_MAX -# define UINT8_MAX 255 -#endif -#ifndef INT16_MAX -# define INT16_MAX 32767 -#endif -#ifndef INT16_MIN -# define INT16_MIN -32768 -#endif -#ifndef UINT16_MAX -# define UINT16_MAX 65535 -#endif -#ifndef INT32_MAX -# define INT32_MAX 2147483647 -#endif -#ifndef INT32_MIN -/* MSC treats -2147483648 as -(2147483648U). */ -# define INT32_MIN (-INT32_MAX - 1) -#endif -#ifndef UINT32_MAX -# define UINT32_MAX 4294967295U -#endif -/* Certain compatibility updates to VC++ introduce the `cstdint' - * header, which defines the INT*_C macros. On default installs they - * are absent. */ -#ifndef INT8_C -# define INT8_C(C) C##i8 -#endif -#ifndef UINT8_C -# define UINT8_C(C) C##ui8 -#endif -#ifndef INT16_C -# define INT16_C(C) C##i16 -#endif -#ifndef UINT16_C -# define UINT16_C(C) C##ui16 -#endif -#ifndef INT32_C -# define INT32_C(C) C##i32 -#endif -#ifndef UINT32_C -# define UINT32_C(C) C##ui32 -#endif -#ifndef INT64_C -# define INT64_C(C) C##i64 -#endif -#ifndef UINT64_C -# define UINT64_C(C) C##ui64 -#endif - -#ifndef PRId64 -# define PRId64 "I64d" -#endif -#ifndef PRIi64 -# define PRIi64 "I64i" -#endif -#ifndef PRIo64 -# define PRIo64 "I64o" -#endif -#ifndef PRIu64 -# define PRIu64 "I64u" -#endif -#ifndef PRIx64 -# define PRIx64 "I64x" -#endif -#ifndef PRIX64 -# define PRIX64 "I64X" -#endif +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 */ @@ -191,14 +128,8 @@ typedef unsigned char uint8_t; # define UINT64_MAX 0xffffffffffffffffULL #endif -#if __GNUC__ > 3 -#define END_WITH_NULL __attribute__((sentinel)) -#else -#define END_WITH_NULL -#endif - #ifndef HUGE_VALF #define HUGE_VALF (float)HUGE_VAL #endif -#endif /* SUPPORT_DATATYPES_H */ +#endif /* SUPPORT_DATATYPES_H */ diff --git a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile index 15dcddcb1f1..5084e125627 100644 --- a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/11/24 22:32:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMAArch64CodeGen NOPIC= @@ -29,6 +29,7 @@ SRCS= AArch64A57FPLoadBalancing.cpp \ AArch64MCInstLower.cpp \ AArch64PromoteConstant.cpp \ AArch64PBQPRegAlloc.cpp \ + AArch64RedundantCopyElimination.cpp \ AArch64RegisterInfo.cpp \ AArch64SelectionDAGInfo.cpp \ AArch64StorePairSuppress.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile index ab3ac88f4f4..3a3d1306c82 100644 --- a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile +++ b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:48 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMAnalysis NOPIC= @@ -9,6 +9,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Analysis .include <bsd.own.mk> SRCS= AliasAnalysis.cpp \ AliasAnalysisEvaluator.cpp \ + AliasAnalysisSummary.cpp \ AliasSetTracker.cpp \ Analysis.cpp \ AssumptionCache.cpp \ @@ -18,7 +19,8 @@ SRCS= AliasAnalysis.cpp \ BranchProbabilityInfo.cpp \ CFG.cpp \ CFGPrinter.cpp \ - CFLAliasAnalysis.cpp \ + CFLAndersAliasAnalysis.cpp \ + CFLSteensAliasAnalysis.cpp \ CGSCCPassManager.cpp \ CallGraph.cpp \ CallGraphSCCPass.cpp \ @@ -36,12 +38,14 @@ SRCS= AliasAnalysis.cpp \ EHPersonalities.cpp \ GlobalsModRef.cpp \ IVUsers.cpp \ + IndirectCallPromotionAnalysis.cpp \ InlineCost.cpp \ InstCount.cpp \ InstructionSimplify.cpp \ Interval.cpp \ IntervalPartition.cpp \ IteratedDominanceFrontier.cpp \ + LazyBlockFrequencyInfo.cpp \ LazyCallGraph.cpp \ LazyValueInfo.cpp \ Lint.cpp \ @@ -49,18 +53,23 @@ SRCS= AliasAnalysis.cpp \ LoopAccessAnalysis.cpp \ LoopInfo.cpp \ LoopPass.cpp \ + LoopPassManager.cpp \ + LoopUnrollAnalyzer.cpp \ MemDepPrinter.cpp \ MemDerefPrinter.cpp \ MemoryBuiltins.cpp \ MemoryDependenceAnalysis.cpp \ MemoryLocation.cpp \ ModuleDebugInfoPrinter.cpp \ + ModuleSummaryAnalysis.cpp \ ObjCARCAliasAnalysis.cpp \ ObjCARCAnalysisUtils.cpp \ ObjCARCInstKind.cpp \ + OptimizationDiagnosticInfo.cpp \ OrderedBasicBlock.cpp \ PHITransAddr.cpp \ PostDominators.cpp \ + ProfileSummaryInfo.cpp \ PtrUseVisitor.cpp \ RegionInfo.cpp \ RegionPass.cpp \ @@ -74,6 +83,7 @@ SRCS= AliasAnalysis.cpp \ TargetTransformInfo.cpp \ Trace.cpp \ TypeBasedAliasAnalysis.cpp \ + TypeMetadataUtils.cpp \ ScopedNoAliasAA.cpp \ ValueTracking.cpp \ VectorUtils.cpp diff --git a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile index 62fa1a5bca4..e0e6e1e09fd 100644 --- a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile +++ b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMAsmPrinter NOPIC= @@ -10,7 +10,9 @@ SRCS= AddressPool.cpp \ AsmPrinter.cpp \ AsmPrinterDwarf.cpp \ AsmPrinterInlineAsm.cpp \ + CodeViewDebug.cpp \ DbgValueHistoryCalculator.cpp \ + DebugHandlerBase.cpp \ DebugLocStream.cpp \ DIE.cpp \ DIEHash.cpp \ @@ -25,8 +27,7 @@ SRCS= AddressPool.cpp \ EHStreamer.cpp \ ErlangGCPrinter.cpp \ OcamlGCPrinter.cpp \ - WinException.cpp \ - WinCodeViewLineTables.cpp + WinException.cpp .PATH: ${.CURDIR}/../../../llvm/lib/CodeGen/AsmPrinter diff --git a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile index a7a5c4c3768..e72ecf64dd1 100644 --- a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMCodeGen NOPIC= @@ -18,14 +18,13 @@ SRCS= AggressiveAntiDepBreaker.cpp \ CallingConvLower.cpp \ CodeGen.cpp \ CodeGenPrepare.cpp \ - CoreCLRGC.cpp \ CriticalAntiDepBreaker.cpp \ DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ + DetectDeadLanes.cpp \ DwarfEHPrepare.cpp \ EarlyIfConversion.cpp \ EdgeBundles.cpp \ - ErlangGC.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ ExpandPostRAPseudos.cpp \ @@ -57,6 +56,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ LiveStackAnalysis.cpp \ LiveVariables.cpp \ LocalStackSlotAllocation.cpp \ + LowerEmuTLS.cpp \ MachineBasicBlock.cpp \ MachineBlockFrequencyInfo.cpp \ MachineBlockPlacement.cpp \ @@ -87,14 +87,15 @@ SRCS= AggressiveAntiDepBreaker.cpp \ MachineVerifier.cpp \ MIRPrinter.cpp \ MIRPrintingPass.cpp \ - OcamlGC.cpp \ OptimizePHIs.cpp \ PHIElimination.cpp \ PHIEliminationUtils.cpp \ ParallelCG.cpp \ - Passes.cpp \ + PatchableFunction.cpp \ PeepholeOptimizer.cpp \ + PostRAHazardRecognizer.cpp \ PostRASchedulerList.cpp \ + PreISelIntrinsicLowering.cpp \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoSourceValue.cpp \ @@ -103,16 +104,22 @@ SRCS= AggressiveAntiDepBreaker.cpp \ RegAllocFast.cpp \ RegAllocGreedy.cpp \ RegAllocPBQP.cpp \ + RegUsageInfoCollector.cpp \ + RegUsageInfoPropagate.cpp \ RegisterClassInfo.cpp \ RegisterCoalescer.cpp \ RegisterPressure.cpp \ RegisterScavenging.cpp \ + RegisterUsageInfo.cpp \ + RenameIndependentSubregs.cpp \ + SafeStack.cpp \ + SafeStackColoring.cpp \ + SafeStackLayout.cpp \ ScheduleDAG.cpp \ ScheduleDAGInstrs.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ ShrinkWrap.cpp \ - ShadowStackGC.cpp \ ShadowStackGCLowering.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ @@ -123,19 +130,21 @@ SRCS= AggressiveAntiDepBreaker.cpp \ StackSlotColoring.cpp \ StackMapLivenessAnalysis.cpp \ StackMaps.cpp \ - StatepointExampleGC.cpp \ TailDuplication.cpp \ + TailDuplicator.cpp \ TargetFrameLoweringImpl.cpp \ TargetInstrInfo.cpp \ TargetLoweringBase.cpp \ TargetLoweringObjectFileImpl.cpp \ TargetOptionsImpl.cpp \ + TargetPassConfig.cpp \ TargetRegisterInfo.cpp \ TargetSchedule.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ VirtRegMap.cpp \ - WinEHPrepare.cpp + WinEHPrepare.cpp \ + XRayInstrumentation.cpp .PATH: ${.CURDIR}/../../../llvm/lib/CodeGen diff --git a/gnu/usr.bin/clang/libLLVMCore/Makefile b/gnu/usr.bin/clang/libLLVMCore/Makefile index 207bbb9c465..d1c98a6afea 100644 --- a/gnu/usr.bin/clang/libLLVMCore/Makefile +++ b/gnu/usr.bin/clang/libLLVMCore/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMCore NOPIC= @@ -41,12 +41,14 @@ SRCS= AsmWriter.cpp \ Mangler.cpp \ Metadata.cpp \ Module.cpp \ + ModuleSummaryIndex.cpp \ Operator.cpp \ + OptBisect.cpp \ Pass.cpp \ PassManager.cpp \ PassRegistry.cpp \ + ProfileSummary.cpp \ Statepoint.cpp \ - FunctionInfo.cpp \ Type.cpp \ TypeFinder.cpp \ Use.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMCoverage/Makefile b/gnu/usr.bin/clang/libLLVMCoverage/Makefile new file mode 100644 index 00000000000..57b540eae9c --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMCoverage/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/14 20:12:41 patrick Exp $ + +LIB= LLVMCoverage +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData/Coverage + +.include <bsd.own.mk> +SRCS= CoverageMapping.cpp \ + CoverageMappingReader.cpp \ + CoverageMappingWriter.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/ProfileData/Coverage + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile new file mode 100644 index 00000000000..f377514624d --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/14 20:12:41 patrick Exp $ + +LIB= LLVMDebugInfoCodeView +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/CodeView + +.include <bsd.own.mk> +SRCS= ByteStream.cpp \ + CVTypeVisitor.cpp \ + CodeViewError.cpp \ + FieldListRecordBuilder.cpp \ + Line.cpp \ + ListRecordBuilder.cpp \ + MemoryTypeTableBuilder.cpp \ + ModuleSubstream.cpp \ + ModuleSubstreamVisitor.cpp \ + RecordSerialization.cpp \ + StreamReader.cpp \ + StreamWriter.cpp \ + SymbolDumper.cpp \ + TypeDumper.cpp \ + TypeRecord.cpp \ + TypeRecordBuilder.cpp \ + TypeStreamMerger.cpp \ + TypeTableBuilder.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/DebugInfo/CodeView + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile new file mode 100644 index 00000000000..ed5cef7e6cc --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/14 20:12:41 patrick Exp $ + +LIB= LLVMGlobalISel +NOPIC= +NOPROFILE= + +.include <bsd.own.mk> +SRCS= GlobalISel.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/CodeGen/GlobalISel + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile index 427b74be50d..94552876b3e 100644 --- a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile +++ b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMInstrumentation NOPIC= @@ -10,12 +10,13 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms SRCS= AddressSanitizer.cpp \ BoundsChecking.cpp \ DataFlowSanitizer.cpp \ + EfficiencySanitizer.cpp \ GCOVProfiling.cpp \ MemorySanitizer.cpp \ + IndirectCallPromotion.cpp \ Instrumentation.cpp \ InstrProfiling.cpp \ PGOInstrumentation.cpp \ - SafeStack.cpp \ SanitizerCoverage.cpp \ ThreadSanitizer.cpp diff --git a/gnu/usr.bin/clang/libLLVMMC/Makefile b/gnu/usr.bin/clang/libLLVMMC/Makefile index d3a85d044f9..8af28018701 100644 --- a/gnu/usr.bin/clang/libLLVMMC/Makefile +++ b/gnu/usr.bin/clang/libLLVMMC/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMMC NOPIC= @@ -17,7 +17,7 @@ SRCS= ConstantPools.cpp \ MCAsmStreamer.cpp \ MCAssembler.cpp \ MCCodeEmitter.cpp \ - MCCodeGenInfo.cpp \ + MCCodeView.cpp \ MCContext.cpp \ MCDwarf.cpp \ MCELFObjectTargetWriter.cpp \ @@ -46,7 +46,6 @@ SRCS= ConstantPools.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ MCSymbolELF.cpp \ - MCSymbolizer.cpp \ MCTargetOptions.cpp \ MCValue.cpp \ MCWin64EH.cpp \ @@ -55,8 +54,7 @@ SRCS= ConstantPools.cpp \ StringTableBuilder.cpp \ SubtargetFeature.cpp \ WinCOFFObjectWriter.cpp \ - WinCOFFStreamer.cpp \ - YAML.cpp + WinCOFFStreamer.cpp .PATH: ${.CURDIR}/../../../llvm/lib/MC diff --git a/gnu/usr.bin/clang/libLLVMObject/Makefile b/gnu/usr.bin/clang/libLLVMObject/Makefile index 2bf4c50204d..cd6f4652c7b 100644 --- a/gnu/usr.bin/clang/libLLVMObject/Makefile +++ b/gnu/usr.bin/clang/libLLVMObject/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMObject NOPIC= @@ -11,20 +11,18 @@ SRCS= Archive.cpp \ ArchiveWriter.cpp \ Binary.cpp \ COFFObjectFile.cpp \ - COFFYAML.cpp \ ELF.cpp \ ELFObjectFile.cpp \ - ELFYAML.cpp \ Error.cpp \ IRObjectFile.cpp \ MachOObjectFile.cpp \ MachOUniversal.cpp \ + ModuleSummaryIndexObjectFile.cpp \ Object.cpp \ ObjectFile.cpp \ RecordStreamer.cpp \ SymbolicFile.cpp \ - SymbolSize.cpp \ - FunctionIndexObjectFile.cpp + SymbolSize.cpp .PATH: ${.CURDIR}/../../../llvm/lib/Object diff --git a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile index 53e047e5cb9..6e84a492137 100644 --- a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/19 11:39:05 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMPowerPCCodeGen NOPIC= @@ -11,6 +11,7 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/PowerPC \ SRCS= PPCBoolRetToInt.cpp \ PPCAsmPrinter.cpp \ PPCBranchSelector.cpp \ + PPCCCState.cpp \ PPCCTRLoops.cpp \ PPCHazardRecognizers.cpp \ PPCInstrInfo.cpp \ @@ -19,11 +20,11 @@ SRCS= PPCBoolRetToInt.cpp \ PPCEarlyReturn.cpp \ PPCFastISel.cpp \ PPCFrameLowering.cpp \ - PPCLoopDataPrefetch.cpp \ PPCLoopPreIncPrep.cpp \ PPCMCInstLower.cpp \ PPCMachineFunctionInfo.cpp \ PPCMIPeephole.cpp \ + PPCQPXLoadSplat.cpp \ PPCRegisterInfo.cpp \ PPCSubtarget.cpp \ PPCTargetMachine.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMProfileData/Makefile b/gnu/usr.bin/clang/libLLVMProfileData/Makefile index 60ee4ca0a5e..36293136c34 100644 --- a/gnu/usr.bin/clang/libLLVMProfileData/Makefile +++ b/gnu/usr.bin/clang/libLLVMProfileData/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMProfileData NOPIC= @@ -10,9 +10,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData SRCS= InstrProf.cpp \ InstrProfReader.cpp \ InstrProfWriter.cpp \ - CoverageMapping.cpp \ - CoverageMappingWriter.cpp \ - CoverageMappingReader.cpp \ + ProfileSummaryBuilder.cpp \ SampleProf.cpp \ SampleProfReader.cpp \ SampleProfWriter.cpp diff --git a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile index a74c95635ac..10fef1fe17f 100644 --- a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile +++ b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMScalarOpts NOPIC= @@ -20,11 +20,14 @@ SRCS= ADCE.cpp \ FlattenCFGPass.cpp \ Float2Int.cpp \ GVN.cpp \ + GVNHoist.cpp \ + GuardWidening.cpp \ InductiveRangeCheckElimination.cpp \ IndVarSimplify.cpp \ JumpThreading.cpp \ LICM.cpp \ LoadCombine.cpp \ + LoopDataPrefetch.cpp \ LoopDeletion.cpp \ LoopDistribute.cpp \ LoopIdiomRecognize.cpp \ @@ -33,9 +36,11 @@ SRCS= ADCE.cpp \ LoopLoadElimination.cpp \ LoopRerollPass.cpp \ LoopRotation.cpp \ + LoopSimplifyCFG.cpp \ LoopStrengthReduce.cpp \ LoopUnrollPass.cpp \ LoopUnswitch.cpp \ + LoopVersioningLICM.cpp \ LowerAtomic.cpp \ LowerExpectIntrinsic.cpp \ MemCpyOptimizer.cpp \ @@ -49,7 +54,6 @@ SRCS= ADCE.cpp \ SCCP.cpp \ SROA.cpp \ Scalar.cpp \ - ScalarReplAggregates.cpp \ Scalarizer.cpp \ SeparateConstOffsetFromGEP.cpp \ SimplifyCFGPass.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile b/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile index 65753f6a26c..dab8d3f3842 100644 --- a/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile +++ b/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMSelectionDAG NOPIC= @@ -25,10 +25,10 @@ SRCS= DAGCombiner.cpp \ SelectionDAGDumper.cpp \ SelectionDAGISel.cpp \ SelectionDAGPrinter.cpp \ + SelectionDAGTargetInfo.cpp \ StatepointLowering.cpp \ ScheduleDAGVLIW.cpp \ - TargetLowering.cpp \ - TargetSelectionDAGInfo.cpp + TargetLowering.cpp .PATH: ${.CURDIR}/../../../llvm/lib/CodeGen/SelectionDAG diff --git a/gnu/usr.bin/clang/libLLVMSparcCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMSparcCodeGen/Makefile index c1d21bd24a2..3c41fc00e29 100644 --- a/gnu/usr.bin/clang/libLLVMSparcCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMSparcCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMSparcCodeGen NOPIC= @@ -9,6 +9,7 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Sparc \ .include <bsd.own.mk> SRCS= DelaySlotFiller.cpp \ + LeonPasses.cpp \ SparcAsmPrinter.cpp \ SparcInstrInfo.cpp \ SparcISelDAGToDAG.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile b/gnu/usr.bin/clang/libLLVMSupport/Makefile index 66599b02978..dfdbfbfb9f6 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:49 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMSupport NOPIC= @@ -28,6 +28,7 @@ SRCS= APFloat.cpp \ DeltaAlgorithm.cpp \ DAGDeltaAlgorithm.cpp \ Dwarf.cpp \ + Error.cpp \ ErrorHandling.cpp \ FileUtilities.cpp \ FileOutputBuffer.cpp \ @@ -54,6 +55,8 @@ SRCS= APFloat.cpp \ RandomNumberGenerator.cpp \ Regex.cpp \ ScaledNumber.cpp \ + ScopedPrinter.cpp \ + SHA1.cpp \ SmallPtrSet.cpp \ SmallVector.cpp \ SourceMgr.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile index e69fcfde7bb..58efb6b6d9c 100644 --- a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile +++ b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMTransformUtils NOPIC= @@ -20,7 +20,9 @@ SRCS= ASanStackFrameLayout.cpp \ CodeExtractor.cpp \ CtorUtils.cpp \ DemoteRegToStack.cpp \ + Evaluator.cpp \ FlattenCFG.cpp \ + FunctionImportUtils.cpp \ GlobalStatus.cpp \ InlineFunction.cpp \ InstructionNamer.cpp \ @@ -35,10 +37,13 @@ SRCS= ASanStackFrameLayout.cpp \ LowerInvoke.cpp \ LowerSwitch.cpp \ Mem2Reg.cpp \ + MemorySSA.cpp \ MetaRenamer.cpp \ ModuleUtils.cpp \ + NameAnonFunctions.cpp \ PromoteMemoryToRegister.cpp \ SSAUpdater.cpp \ + SanitizerStats.cpp \ SimplifyCFG.cpp \ SimplifyIndVar.cpp \ SimplifyInstructions.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMVectorize/Makefile b/gnu/usr.bin/clang/libLLVMVectorize/Makefile index d9c322d5611..955bb4a6c8c 100644 --- a/gnu/usr.bin/clang/libLLVMVectorize/Makefile +++ b/gnu/usr.bin/clang/libLLVMVectorize/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMVectorize NOPIC= @@ -9,6 +9,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms .include <bsd.own.mk> SRCS= BBVectorize.cpp \ Vectorize.cpp \ + LoadStoreVectorizer.cpp \ LoopVectorize.cpp \ SLPVectorizer.cpp diff --git a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile index a8db7629a0d..8f0e8b9210d 100644 --- a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMX86CodeGen NOPIC= @@ -11,6 +11,9 @@ SRCS= X86AsmPrinter.cpp \ X86CallFrameOptimization.cpp \ X86ExpandPseudo.cpp \ X86FastISel.cpp \ + X86FixupBWInsts.cpp \ + X86FixupLEAs.cpp \ + X86FixupSetCC.cpp \ X86FloatingPoint.cpp \ X86FrameLowering.cpp \ X86ISelDAGToDAG.cpp \ @@ -27,7 +30,7 @@ SRCS= X86AsmPrinter.cpp \ X86TargetObjectFile.cpp \ X86TargetTransformInfo.cpp \ X86VZeroUpper.cpp \ - X86FixupLEAs.cpp \ + X86WinAllocaExpander.cpp \ X86WinEHState.cpp \ X86OptimizeLEAs.cpp diff --git a/gnu/usr.bin/clang/libLLVMX86Desc/Makefile b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile index 6071ef357f1..3aece1401ea 100644 --- a/gnu/usr.bin/clang/libLLVMX86Desc/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:41 patrick Exp $ LIB= LLVMX86Desc NOPIC= @@ -14,9 +14,7 @@ SRCS= X86AsmBackend.cpp \ X86MachObjectWriter.cpp \ X86ELFObjectWriter.cpp \ X86WinCOFFStreamer.cpp \ - X86WinCOFFObjectWriter.cpp \ - X86MachORelocationInfo.cpp \ - X86ELFRelocationInfo.cpp + X86WinCOFFObjectWriter.cpp .PATH: ${.CURDIR}/../../../llvm/lib/Target/X86/MCTargetDesc diff --git a/gnu/usr.bin/clang/libLLVMipo/Makefile b/gnu/usr.bin/clang/libLLVMipo/Makefile index 41d6a273d1b..63e79f9a5ab 100644 --- a/gnu/usr.bin/clang/libLLVMipo/Makefile +++ b/gnu/usr.bin/clang/libLLVMipo/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:42 patrick Exp $ LIB= LLVMipo NOPIC= @@ -28,14 +28,15 @@ SRCS= ArgumentPromotion.cpp \ Inliner.cpp \ Internalize.cpp \ LoopExtractor.cpp \ - LowerBitSets.cpp \ + LowerTypeTests.cpp \ MergeFunctions.cpp \ PartialInlining.cpp \ PassManagerBuilder.cpp \ PruneEH.cpp \ SampleProfile.cpp \ StripDeadPrototypes.cpp \ - StripSymbols.cpp + StripSymbols.cpp \ + WholeProgramDevirt.cpp .PATH: ${.CURDIR}/../../../llvm/lib/Transforms/IPO diff --git a/gnu/usr.bin/clang/libclangBasic/Makefile b/gnu/usr.bin/clang/libclangBasic/Makefile index 4a0a6a8eca6..6c12452c876 100644 --- a/gnu/usr.bin/clang/libclangBasic/Makefile +++ b/gnu/usr.bin/clang/libclangBasic/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:42 patrick Exp $ LIB= clangBasic NOPIC= @@ -10,6 +10,7 @@ CPPFLAGS+= ${CLANG_INCLUDES} SRCS= Attributes.cpp \ Builtins.cpp \ CharInfo.cpp \ + Cuda.cpp \ Diagnostic.cpp \ DiagnosticIDs.cpp \ DiagnosticOptions.cpp \ diff --git a/gnu/usr.bin/clang/libclangCodeGen/Makefile b/gnu/usr.bin/clang/libclangCodeGen/Makefile index e2010b4549d..772450d034a 100644 --- a/gnu/usr.bin/clang/libclangCodeGen/Makefile +++ b/gnu/usr.bin/clang/libclangCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:42 patrick Exp $ LIB= clangCodeGen NOPIC= @@ -12,6 +12,7 @@ SRCS= BackendUtil.cpp \ CGBlocks.cpp \ CGBuiltin.cpp \ CGCUDANV.cpp \ + CGCUDABuiltin.cpp \ CGCUDARuntime.cpp \ CGCXX.cpp \ CGCXXABI.cpp \ @@ -35,6 +36,7 @@ SRCS= BackendUtil.cpp \ CGObjCRuntime.cpp \ CGOpenCLRuntime.cpp \ CGOpenMPRuntime.cpp \ + CGOpenMPRuntimeNVPTX.cpp \ CGRecordLayoutBuilder.cpp \ CGStmt.cpp \ CGStmtOpenMP.cpp \ @@ -53,6 +55,7 @@ SRCS= BackendUtil.cpp \ ModuleBuilder.cpp \ ObjectFilePCHContainerOperations.cpp \ SanitizerMetadata.cpp \ + SwiftCallingConv.cpp \ TargetInfo.cpp .PATH: ${.CURDIR}/../../../llvm/tools/clang/lib/CodeGen diff --git a/gnu/usr.bin/clang/llvm-tblgen/Makefile b/gnu/usr.bin/clang/llvm-tblgen/Makefile index ae25e2c7fdb..c80248bb5a8 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.1 2016/09/05 10:56:50 pascal Exp $ +# $OpenBSD: Makefile,v 1.2 2017/01/14 20:12:42 patrick Exp $ PROG= llvm-tblgen NOMAN= @@ -32,6 +32,7 @@ SRCS= AsmMatcherEmitter.cpp \ OptParserEmitter.cpp \ PseudoLoweringEmitter.cpp \ RegisterInfoEmitter.cpp \ + SearchableTableEmitter.cpp \ SubtargetEmitter.cpp \ TableGen.cpp \ X86DisassemblerTables.cpp \ |