summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/clang/Makefile3
-rw-r--r--gnu/usr.bin/clang/clang-tblgen/Makefile5
-rw-r--r--gnu/usr.bin/clang/clang/Makefile3
-rw-r--r--gnu/usr.bin/clang/clang/clang.12
-rw-r--r--gnu/usr.bin/clang/include/clang/Basic/Makefile8
-rw-r--r--gnu/usr.bin/clang/include/clang/Basic/Version.inc8
-rw-r--r--gnu/usr.bin/clang/include/clang/Config/config.h10
-rw-r--r--gnu/usr.bin/clang/include/clang/Parse/Makefile9
-rw-r--r--gnu/usr.bin/clang/include/clang/intrin/Makefile7
-rw-r--r--gnu/usr.bin/clang/include/lld/Config/Version.inc6
-rw-r--r--gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h8
-rw-r--r--gnu/usr.bin/clang/include/llvm/Config/config.h42
-rw-r--r--gnu/usr.bin/clang/include/llvm/Config/llvm-config.h5
-rw-r--r--gnu/usr.bin/clang/include/llvm/Support/DataTypes.h4
-rw-r--r--gnu/usr.bin/clang/include/llvm/Support/VCSRevision.h1
-rw-r--r--gnu/usr.bin/clang/include/llvm/X86/Makefile11
-rw-r--r--gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile6
-rw-r--r--gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile6
-rw-r--r--gnu/usr.bin/clang/libLLVMAnalysis/Makefile4
-rw-r--r--gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile18
-rw-r--r--gnu/usr.bin/clang/libLLVMCodeGen/Makefile13
-rw-r--r--gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile16
-rw-r--r--gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile4
-rw-r--r--gnu/usr.bin/clang/libLLVMDebugInfoMSF/Makefile6
-rw-r--r--gnu/usr.bin/clang/libLLVMInstrumentation/Makefile3
-rw-r--r--gnu/usr.bin/clang/libLLVMLTO/Makefile5
-rw-r--r--gnu/usr.bin/clang/libLLVMMC/Makefile8
-rw-r--r--gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile5
-rw-r--r--gnu/usr.bin/clang/libLLVMObject/Makefile7
-rw-r--r--gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile3
-rw-r--r--gnu/usr.bin/clang/libLLVMScalarOpts/Makefile6
-rw-r--r--gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile3
-rw-r--r--gnu/usr.bin/clang/libLLVMSupport/Makefile13
-rw-r--r--gnu/usr.bin/clang/libLLVMTransformUtils/Makefile6
-rw-r--r--gnu/usr.bin/clang/libLLVMVectorize/Makefile5
-rw-r--r--gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile4
-rw-r--r--gnu/usr.bin/clang/libLLVMipo/Makefile3
-rw-r--r--gnu/usr.bin/clang/libclangAST/Makefile4
-rw-r--r--gnu/usr.bin/clang/libclangBasic/Makefile6
-rw-r--r--gnu/usr.bin/clang/libclangCodeGen/Makefile6
-rw-r--r--gnu/usr.bin/clang/libclangDriver/Makefile54
-rw-r--r--gnu/usr.bin/clang/libclangFrontend/Makefile3
-rw-r--r--gnu/usr.bin/clang/liblldCore/Makefile3
-rw-r--r--gnu/usr.bin/clang/liblldELF/Makefile21
-rw-r--r--gnu/usr.bin/clang/lld/Makefile3
-rw-r--r--gnu/usr.bin/clang/llvm-tblgen/Makefile4
46 files changed, 255 insertions, 125 deletions
diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile
index 0da60613221..32ac5a7b3c5 100644
--- a/gnu/usr.bin/clang/Makefile
+++ b/gnu/usr.bin/clang/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2017/01/25 07:29:30 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2017/10/04 20:57:09 patrick Exp $
.include <bsd.own.mk>
@@ -19,6 +19,7 @@ SUBDIR+=libLLVMSelectionDAG
SUBDIR+=libLLVMAsmPrinter
# only required by llc
#SUBDIR+=libLLVMMIRParser
+SUBDIR+=libLLVMBinaryFormat
SUBDIR+=libLLVMBitReader
SUBDIR+=libLLVMBitWriter
SUBDIR+=libLLVMTransformUtils
diff --git a/gnu/usr.bin/clang/clang-tblgen/Makefile b/gnu/usr.bin/clang/clang-tblgen/Makefile
index b8f148d55ee..098967dc33f 100644
--- a/gnu/usr.bin/clang/clang-tblgen/Makefile
+++ b/gnu/usr.bin/clang/clang-tblgen/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
PROG= clang-tblgen
NOMAN=
@@ -10,10 +10,11 @@ SRCS= ClangASTNodesEmitter.cpp \
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp \
ClangCommentHTMLTagsEmitter.cpp \
ClangDiagnosticsEmitter.cpp \
+ ClangOptionDocEmitter.cpp \
ClangSACheckersEmitter.cpp \
NeonEmitter.cpp \
TableGen.cpp
-
+
.PATH: ${.CURDIR}/../../../llvm/tools/clang/utils/TableGen
LLVM_LIBDEPS= LLVMTableGen LLVMSupport
diff --git a/gnu/usr.bin/clang/clang/Makefile b/gnu/usr.bin/clang/clang/Makefile
index 4b3870ea823..3a83708f96e 100644
--- a/gnu/usr.bin/clang/clang/Makefile
+++ b/gnu/usr.bin/clang/clang/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.10 2017/10/04 20:57:09 patrick Exp $
.include <bsd.own.mk>
@@ -79,6 +79,7 @@ LLVM_LIBDEPS= clangFrontendTool \
${BACKEND_ASMPRINTER} \
LLVMMC \
${BACKEND_UTILS} \
+ LLVMBinaryFormat \
LLVMCore \
LLVMSupport
diff --git a/gnu/usr.bin/clang/clang/clang.1 b/gnu/usr.bin/clang/clang/clang.1
index 3b9d6ee87f0..3cc29196c99 100644
--- a/gnu/usr.bin/clang/clang/clang.1
+++ b/gnu/usr.bin/clang/clang/clang.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "CLANG" "1" "Feb 26, 2017" "4.0" "Clang"
+.TH "CLANG" "1" "Aug 20, 2017" "5" "Clang"
.SH NAME
clang \- the Clang C, C++, and Objective-C compiler
.
diff --git a/gnu/usr.bin/clang/include/clang/Basic/Makefile b/gnu/usr.bin/clang/include/clang/Basic/Makefile
index 06a820490a9..281f43b8370 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.3 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
.include <bsd.own.mk>
@@ -10,7 +10,7 @@ GEN+=DiagnosticCommentKinds.inc DiagnosticCommonKinds.inc
GEN+=DiagnosticDriverKinds.inc DiagnosticFrontendKinds.inc DiagnosticGroups.inc
GEN+=DiagnosticIndexName.inc DiagnosticLexKinds.inc DiagnosticParseKinds.inc
GEN+=DiagnosticSemaKinds.inc DiagnosticSerializationKinds.inc arm_neon.inc
-GEN+=AttrHasAttributeImpl.inc
+GEN+=AttrHasAttributeImpl.inc AttrSubMatchRulesList.inc
all: ${GEN}
@@ -41,6 +41,10 @@ AttrHasAttributeImpl.inc: ${CLANG_INC}/clang/Basic/Attr.td
${TBLGEN} -I${CLANG_INC} \
-gen-clang-attr-has-attribute-impl -o ${.TARGET} ${.ALLSRC}
+AttrSubMatchRulesList.inc: ${CLANG_INC}/clang/Basic/Attr.td
+ ${TBLGEN} -I${CLANG_INC} \
+ -gen-clang-attr-subject-match-rule-list -o ${.TARGET} ${.ALLSRC}
+
arm_neon.inc: ${CLANG_INC}/clang/Basic/arm_neon.td
${TBLGEN} -gen-arm-neon-sema -o ${.TARGET} ${.ALLSRC}
diff --git a/gnu/usr.bin/clang/include/clang/Basic/Version.inc b/gnu/usr.bin/clang/include/clang/Basic/Version.inc
index 55597cc4fac..2bac59a3a70 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.3 2017/01/24 08:44:47 patrick Exp $ */
+/* $OpenBSD: Version.inc,v 1.4 2017/10/04 20:57:09 patrick Exp $ */
-#define CLANG_VERSION 4.0.0
-#define CLANG_VERSION_STRING "4.0.0"
-#define CLANG_VERSION_MAJOR 4
+#define CLANG_VERSION 5.0.0
+#define CLANG_VERSION_STRING "5.0.0"
+#define CLANG_VERSION_MAJOR 5
#define CLANG_VERSION_MINOR 0
#define CLANG_VERSION_PATCHLEVEL 0
diff --git a/gnu/usr.bin/clang/include/clang/Config/config.h b/gnu/usr.bin/clang/include/clang/Config/config.h
index 51bba5bbb66..32ee8386820 100644
--- a/gnu/usr.bin/clang/include/clang/Config/config.h
+++ b/gnu/usr.bin/clang/include/clang/Config/config.h
@@ -38,11 +38,14 @@
/* Define if we have libxml2 */
/* #undef CLANG_HAVE_LIBXML */
+/* Define if we have z3 and want to build it */
+/* undef CLANG_ANALYZER_WITH_Z3 */
+
/* Define if we have sys/resource.h (rlimits) */
#define CLANG_HAVE_RLIMITS 1
/* The LLVM product name and version */
-#define BACKEND_PACKAGE_STRING "LLVM 4.0.0"
+#define BACKEND_PACKAGE_STRING "LLVM 5.0.0"
/* Linker version detected at compile time. */
/* #undef HOST_LINK_VERSION */
@@ -53,4 +56,9 @@
/* enable x86 relax relocations by default */
#define ENABLE_X86_RELAX_RELOCATIONS 0
+/* Enable each functionality of modules */
+/* #undef CLANG_ENABLE_ARCMT */
+/* #undef CLANG_ENABLE_OBJC_REWRITER */
+/* #undef CLANG_ENABLE_STATIC_ANALYZER */
+
#endif
diff --git a/gnu/usr.bin/clang/include/clang/Parse/Makefile b/gnu/usr.bin/clang/include/clang/Parse/Makefile
index bfc238634cd..050283e3afa 100644
--- a/gnu/usr.bin/clang/include/clang/Parse/Makefile
+++ b/gnu/usr.bin/clang/include/clang/Parse/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
.include <bsd.own.mk>
TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen
CLANG_INC=${.CURDIR}/../../../../../llvm/tools/clang/include
-GEN= AttrParserStringSwitches.inc
+GEN= AttrParserStringSwitches.inc AttrSubMatchRulesParserStringSwitches.inc
all: ${GEN}
@@ -19,4 +19,9 @@ AttrParserStringSwitches.inc: ${CLANG_INC}/clang/Basic/Attr.td
${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parser-string-switches \
-o ${.TARGET} ${.ALLSRC}
+AttrSubMatchRulesParserStringSwitches.inc: ${CLANG_INC}/clang/Basic/Attr.td
+ ${TBLGEN} -I${CLANG_INC} \
+ -gen-clang-attr-subject-match-rules-parser-string-switches \
+ -o ${.TARGET} ${.ALLSRC}
+
.include <bsd.obj.mk>
diff --git a/gnu/usr.bin/clang/include/clang/intrin/Makefile b/gnu/usr.bin/clang/include/clang/intrin/Makefile
index d744f7adeff..273af4b170f 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.12 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.13 2017/10/04 20:57:09 patrick Exp $
.include <bsd.own.mk>
-LLVM_V= 4.0.0
+LLVM_V= 5.0.0
CLANG_INTR_INCDIR= /usr/lib/clang/${LLVM_V}/include
TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen
@@ -40,11 +40,13 @@ HEADERS+= adxintrin.h \
avx512vlcdintrin.h \
avx512vldqintrin.h \
avx512vlintrin.h \
+ avx512vpopcntdqintrin.h \
avxintrin.h \
bmi2intrin.h \
bmiintrin.h \
cpuid.h \
clflushoptintrin.h \
+ clzerointrin.h \
emmintrin.h \
f16cintrin.h \
fma4intrin.h \
@@ -52,6 +54,7 @@ HEADERS+= adxintrin.h \
fxsrintrin.h \
ia32intrin.h \
immintrin.h \
+ lwpintrin.h \
lzcntintrin.h \
mm3dnow.h \
mmintrin.h \
diff --git a/gnu/usr.bin/clang/include/lld/Config/Version.inc b/gnu/usr.bin/clang/include/lld/Config/Version.inc
index 612aee22a21..c28c23e1907 100644
--- a/gnu/usr.bin/clang/include/lld/Config/Version.inc
+++ b/gnu/usr.bin/clang/include/lld/Config/Version.inc
@@ -1,7 +1,7 @@
-/* $OpenBSD: Version.inc,v 1.2 2017/01/24 08:44:47 patrick Exp $ */
+/* $OpenBSD: Version.inc,v 1.3 2017/10/04 20:57:09 patrick Exp $ */
-#define LLD_VERSION 4.0.0
-#define LLD_VERSION_STRING "4.0.0"
+#define LLD_VERSION 5.0.0
+#define LLD_VERSION_STRING "5.0.0"
#define LLD_VERSION_MAJOR 0
#define LLD_VERSION_MINOR 0
#define LLD_REVISION_STRING ""
diff --git a/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h b/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h
index 62f685c54ef..ad6aecf7745 100644
--- a/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h
+++ b/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h
@@ -15,9 +15,11 @@
/* Define to enable checks that alter the LLVM C++ ABI */
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 0
-/* Define to disable the link-time checking of mismatch for
- LLVM_ENABLE_ABI_BREAKING_CHECKS */
-#define LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING 0
+/* Define to enable reverse iteration of unordered llvm containers */
+#define LLVM_ENABLE_REVERSE_ITERATION 0
+
+/* Allow selectively disabling link-time mismatch checking so that header-only
++ ADT content from LLVM can be used without linking libSupport. */
#if !LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
// ABI_BREAKING_CHECKS protection: provides link-time failure when clients build
diff --git a/gnu/usr.bin/clang/include/llvm/Config/config.h b/gnu/usr.bin/clang/include/llvm/Config/config.h
index 6defc8a9cb9..b3d3c356833 100644
--- a/gnu/usr.bin/clang/include/llvm/Config/config.h
+++ b/gnu/usr.bin/clang/include/llvm/Config/config.h
@@ -18,6 +18,8 @@
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
+/* #undef BACKTRACE_HEADER */
+
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
#undef HAVE_CRASHREPORTERCLIENT_H
@@ -53,12 +55,12 @@
/* Define if dlopen() is available on this platform. */
#define HAVE_DLOPEN 1
+/* Define if dladdr() is available on this platform. */
+#define HAVE_DLADDR 1
+
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
-/* Define to 1 if you have the <execinfo.h> header file. */
-/* #define HAVE_EXECINFO_H 1 */
-
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
@@ -350,35 +352,14 @@
/* Host triple LLVM will be executed on */
/* #define LLVM_HOST_TRIPLE "amd64-unknown-openbsd6.0" */
-/* LLVM architecture name for the native architecture, if available */
-/* #define LLVM_NATIVE_ARCH X86 */
-
-/* LLVM name for the native AsmParser init function, if available */
-/* #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser */
-
-/* LLVM name for the native AsmPrinter init function, if available */
-/* #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter */
-
-/* LLVM name for the native Disassembler init function, if available */
-/* #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler */
-
-/* LLVM name for the native Target init function, if available */
-/* #define LLVM_NATIVE_TARGET LLVMInitializeX86Target */
-
-/* LLVM name for the native TargetInfo init function, if available */
-/* #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo */
-
-/* LLVM name for the native target MC init function, if available */
-/* #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC */
-
/* Define if this is Unixish platform */
#define LLVM_ON_UNIX 1
/* Define if this is Win32ish platform */
/* #undef LLVM_ON_WIN32 */
-/* Installation prefix directory */
-/* #define LLVM_PREFIX "/usr/local" */
+/* 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
@@ -389,6 +370,9 @@
/* 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 4
@@ -399,7 +383,7 @@
#define LLVM_VERSION_PATCH 0
/* LLVM version string */
-#define LLVM_VERSION_STRING "4.0.0"
+#define LLVM_VERSION_STRING "5.0.0"
/* Define to the extension used for shared libraries, say, ".so". */
#define LTDL_SHLIB_EXT ".so"
@@ -411,13 +395,13 @@
#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 4.0.0"
+#define PACKAGE_STRING "LLVM 5.0.0"
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
-#define PACKAGE_VERSION "4.0.0"
+#define PACKAGE_VERSION "5.0.0"
/* Define to the vendor of this package. */
/* #undef PACKAGE_VENDOR */
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 cbd0ea38747..21ff8215d7b 100644
--- a/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h
+++ b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h
@@ -57,9 +57,6 @@
/* Define if this is Win32ish platform */
/* #undef LLVM_ON_WIN32 */
-/* Installation prefix directory */
-/* #define LLVM_PREFIX "/usr/local" */
-
/* Define if we have the Intel JIT API runtime support library */
#define LLVM_USE_INTEL_JITEVENTS 0
@@ -76,7 +73,7 @@
#define LLVM_VERSION_PATCH 0
/* LLVM version string */
-#define LLVM_VERSION_STRING "4.0.0"
+#define LLVM_VERSION_STRING "5.0.0"
/* 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 ea779d0c739..3d39a2ad136 100644
--- a/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h
+++ b/gnu/usr.bin/clang/include/llvm/Support/DataTypes.h
@@ -85,11 +85,11 @@ typedef u_int64_t uint64_t;
#else /* _MSC_VER */
#ifdef __cplusplus
-#include <cstdlib>
#include <cstddef>
+#include <cstdlib>
#else
-#include <stdlib.h>
#include <stddef.h>
+#include <stdlib.h>
#endif
#include <sys/types.h>
diff --git a/gnu/usr.bin/clang/include/llvm/Support/VCSRevision.h b/gnu/usr.bin/clang/include/llvm/Support/VCSRevision.h
new file mode 100644
index 00000000000..438f884131b
--- /dev/null
+++ b/gnu/usr.bin/clang/include/llvm/Support/VCSRevision.h
@@ -0,0 +1 @@
+/* #undef LLVM_REVISION */
diff --git a/gnu/usr.bin/clang/include/llvm/X86/Makefile b/gnu/usr.bin/clang/include/llvm/X86/Makefile
index b92452ff5fb..da16456b013 100644
--- a/gnu/usr.bin/clang/include/llvm/X86/Makefile
+++ b/gnu/usr.bin/clang/include/llvm/X86/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
.include <bsd.own.mk>
@@ -6,8 +6,8 @@ LLVM_SRCS= ${.CURDIR}/../../../../../llvm
HDRS= X86GenAsmMatcher.inc X86GenAsmWriter.inc X86GenAsmWriter1.inc \
X86GenCallingConv.inc X86GenDAGISel.inc X86GenDisassemblerTables.inc \
- X86GenFastISel.inc X86GenInstrInfo.inc X86GenRegisterInfo.inc \
- X86GenSubtargetInfo.inc
+ X86GenEVEX2VEXTables.inc X86GenFastISel.inc X86GenInstrInfo.inc \
+ X86GenRegisterInfo.inc X86GenSubtargetInfo.inc
all: ${HDRS}
@@ -67,4 +67,9 @@ X86GenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td
-I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \
-o ${.TARGET} ${.ALLSRC}
+X86GenEVEX2VEXTables.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td
+ ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-x86-EVEX2VEX-tables \
+ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \
+ -o ${.TARGET} ${.ALLSRC}
+
.include <bsd.obj.mk>
diff --git a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile
index a6ddba3df88..4b547ef3bfe 100644
--- a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile
+++ b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMAArch64CodeGen
NOPIC=
@@ -9,14 +9,15 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/AArch64 \
.include <bsd.own.mk>
SRCS= AArch64A57FPLoadBalancing.cpp \
- AArch64AddressTypePromotion.cpp \
AArch64AdvSIMDScalarPass.cpp \
AArch64AsmPrinter.cpp \
AArch64CleanupLocalDynamicTLSPass.cpp \
AArch64CollectLOH.cpp \
+ AArch64CondBrTuning.cpp \
AArch64ConditionalCompares.cpp \
AArch64DeadRegisterDefinitionsPass.cpp \
AArch64ExpandPseudoInsts.cpp \
+ AArch64FalkorHWPFFix.cpp \
AArch64FastISel.cpp \
AArch64A53Fix835769.cpp \
AArch64FrameLowering.cpp \
@@ -25,6 +26,7 @@ SRCS= AArch64A57FPLoadBalancing.cpp \
AArch64ISelLowering.cpp \
AArch64InstrInfo.cpp \
AArch64LoadStoreOptimizer.cpp \
+ AArch64MacroFusion.cpp \
AArch64MCInstLower.cpp \
AArch64PromoteConstant.cpp \
AArch64PBQPRegAlloc.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile b/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile
index d240631b87a..49137c9dda2 100644
--- a/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile
+++ b/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMAArch64Desc
NOPIC=
@@ -16,7 +16,9 @@ SRCS= AArch64AsmBackend.cpp \
AArch64MCCodeEmitter.cpp \
AArch64MCExpr.cpp \
AArch64MCTargetDesc.cpp \
- AArch64TargetStreamer.cpp
+ AArch64TargetStreamer.cpp \
+ AArch64WinCOFFObjectWriter.cpp \
+ AArch64WinCOFFStreamer.cpp
.PATH: ${.CURDIR}/../../../llvm/lib/Target/AArch64/MCTargetDesc
diff --git a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile
index 221ca063a91..5d510de5202 100644
--- a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile
+++ b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:34 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMAnalysis
NOPIC=
@@ -61,6 +61,8 @@ SRCS= AliasAnalysis.cpp \
MemoryBuiltins.cpp \
MemoryDependenceAnalysis.cpp \
MemoryLocation.cpp \
+ MemorySSA.cpp \
+ MemorySSAUpdater.cpp \
ModuleDebugInfoPrinter.cpp \
ModuleSummaryAnalysis.cpp \
ObjCARCAliasAnalysis.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile b/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile
new file mode 100644
index 00000000000..4949b91ac76
--- /dev/null
+++ b/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2017/10/04 20:57:09 patrick Exp $
+
+LIB= LLVMBinaryFormat
+NOPIC=
+NOPROFILE=
+
+CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/BinaryFormat
+
+.include <bsd.own.mk>
+SRCS= Dwarf.cpp \
+ Magic.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/lib/BinaryFormat
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
diff --git a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile
index dcef0640b4c..9043190a4cf 100644
--- a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile
+++ b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMCodeGen
NOPIC=
@@ -13,6 +13,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
Analysis.cpp \
AtomicExpandPass.cpp \
BasicTargetTransformInfo.cpp \
+ BranchCoalescing.cpp \
BranchFolding.cpp \
BranchRelaxation.cpp \
CalcSpillWeights.cpp \
@@ -30,7 +31,12 @@ SRCS= AggressiveAntiDepBreaker.cpp \
ExecutionDepsFix.cpp \
ExpandISelPseudos.cpp \
ExpandPostRAPseudos.cpp \
+ ExpandReductions.cpp \
+ FEntryInserter.cpp \
+ LazyMachineBlockFrequencyInfo.cpp \
LiveDebugValues.cpp \
+ LiveRangeShrink.cpp \
+ LiveRegUnits.cpp \
FaultMaps.cpp \
FuncletLayout.cpp \
GCMetadata.cpp \
@@ -69,6 +75,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
MachineCopyPropagation.cpp \
MachineDominators.cpp \
MachineDominanceFrontier.cpp \
+ MachineFrameInfo.cpp \
MachineFunction.cpp \
MachineFunctionPass.cpp \
MachineFunctionPrinterPass.cpp \
@@ -78,6 +85,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \
MachineLoopInfo.cpp \
MachineModuleInfo.cpp \
MachineModuleInfoImpls.cpp \
+ MachineOptimizationRemarkEmitter.cpp \
+ MachineOutliner.cpp \
MachinePassRegistry.cpp \
MachinePipeliner.cpp \
MachinePostDominators.cpp \
@@ -88,6 +97,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
MachineSink.cpp \
MachineTraceMetrics.cpp \
MachineVerifier.cpp \
+ MacroFusion.cpp \
MIRPrinter.cpp \
MIRPrintingPass.cpp \
OptimizePHIs.cpp \
@@ -119,6 +129,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
SafeStack.cpp \
SafeStackColoring.cpp \
SafeStackLayout.cpp \
+ ScalarizeMaskedMemIntrin.cpp \
ScheduleDAG.cpp \
ScheduleDAGInstrs.cpp \
ScheduleDAGPrinter.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile
index f6e830ec2f0..307713f8a5c 100644
--- a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile
+++ b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMDebugInfoCodeView
NOPIC=
@@ -7,22 +7,20 @@ NOPROFILE=
CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/CodeView
.include <bsd.own.mk>
-SRCS= CVTypeDumper.cpp \
- CVTypeVisitor.cpp \
+SRCS= CVTypeVisitor.cpp \
CodeViewError.cpp \
CodeViewRecordIO.cpp \
+ Formatters.cpp \
Line.cpp \
- ModuleSubstream.cpp \
- ModuleSubstreamVisitor.cpp \
RecordSerialization.cpp \
SymbolDumper.cpp \
- TypeDatabase.cpp \
- TypeDatabaseVisitor.cpp \
TypeDumpVisitor.cpp \
- TypeRecord.cpp \
+ TypeIndex.cpp \
+ TypeName.cpp \
TypeRecordMapping.cpp \
TypeSerializer.cpp \
- TypeStreamMerger.cpp
+ TypeStreamMerger.cpp \
+ TypeTableCollection.cpp
.PATH: ${.CURDIR}/../../../llvm/lib/DebugInfo/CodeView
diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile
index abb0de4e40b..a4d9ac043e8 100644
--- a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile
+++ b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMDebugInfoDWARF
NOPIC=
@@ -11,6 +11,7 @@ SRCS= DWARFAbbreviationDeclaration.cpp \
DWARFAcceleratorTable.cpp \
DWARFCompileUnit.cpp \
DWARFContext.cpp \
+ DWARFDataExtractor.cpp \
DWARFDebugAbbrev.cpp \
DWARFDebugArangeSet.cpp \
DWARFDebugAranges.cpp \
@@ -27,6 +28,7 @@ SRCS= DWARFAbbreviationDeclaration.cpp \
DWARFTypeUnit.cpp \
DWARFUnitIndex.cpp \
DWARFUnit.cpp \
+ DWARFVerifier.cpp \
SyntaxHighlighting.cpp
.PATH: ${.CURDIR}/../../../llvm/lib/DebugInfo/DWARF
diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoMSF/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoMSF/Makefile
index c63d358df99..d16edc7eddf 100644
--- a/gnu/usr.bin/clang/libLLVMDebugInfoMSF/Makefile
+++ b/gnu/usr.bin/clang/libLLVMDebugInfoMSF/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMDebugInfoMSF
NOPIC=
@@ -10,9 +10,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/MSF
SRCS= MappedBlockStream.cpp \
MSFBuilder.cpp \
MSFCommon.cpp \
- MSFError.cpp \
- StreamReader.cpp \
- StreamWriter.cpp
+ MSFError.cpp
.PATH: ${.CURDIR}/../../../llvm/lib/DebugInfo/MSF
diff --git a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile
index a77f5e8cb93..d02e4b6cb7b 100644
--- a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile
+++ b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMInstrumentation
NOPIC=
@@ -17,6 +17,7 @@ SRCS= AddressSanitizer.cpp \
Instrumentation.cpp \
InstrProfiling.cpp \
PGOInstrumentation.cpp \
+ PGOMemOPSizeOpt.cpp \
SanitizerCoverage.cpp \
ThreadSanitizer.cpp
diff --git a/gnu/usr.bin/clang/libLLVMLTO/Makefile b/gnu/usr.bin/clang/libLLVMLTO/Makefile
index 30381e5db30..48490845ff5 100644
--- a/gnu/usr.bin/clang/libLLVMLTO/Makefile
+++ b/gnu/usr.bin/clang/libLLVMLTO/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMLTO
NOPIC=
@@ -7,7 +7,8 @@ NOPROFILE=
CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/LTO
.include <bsd.own.mk>
-SRCS= LTO.cpp \
+SRCS= Caching.cpp \
+ LTO.cpp \
LTOBackend.cpp \
LTOCodeGenerator.cpp \
LTOModule.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMMC/Makefile b/gnu/usr.bin/clang/libLLVMMC/Makefile
index 3ba590728b1..a5148986feb 100644
--- a/gnu/usr.bin/clang/libLLVMMC/Makefile
+++ b/gnu/usr.bin/clang/libLLVMMC/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMMC
NOPIC=
@@ -42,19 +42,21 @@ SRCS= ConstantPools.cpp \
MCSectionCOFF.cpp \
MCSectionELF.cpp \
MCSectionMachO.cpp \
+ MCSectionWasm.cpp \
MCStreamer.cpp \
MCSubtargetInfo.cpp \
MCSymbol.cpp \
MCSymbolELF.cpp \
MCTargetOptions.cpp \
MCValue.cpp \
+ MCWasmStreamer.cpp \
MCWin64EH.cpp \
+ MCWinCOFFStreamer.cpp \
MCWinEH.cpp \
MachObjectWriter.cpp \
StringTableBuilder.cpp \
SubtargetFeature.cpp \
- WinCOFFObjectWriter.cpp \
- WinCOFFStreamer.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 538d0645cd0..ea728576005 100644
--- a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile
+++ b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMMipsCodeGen
NOPIC=
@@ -7,7 +7,8 @@ NOPROFILE=
CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips -I${LLVM_SRCS}/lib/Target/Mips
.include <bsd.own.mk>
-SRCS= Mips16FrameLowering.cpp \
+SRCS= MicroMipsSizeReduction.cpp \
+ Mips16FrameLowering.cpp \
Mips16HardFloat.cpp \
Mips16HardFloatInfo.cpp \
Mips16InstrInfo.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMObject/Makefile b/gnu/usr.bin/clang/libLLVMObject/Makefile
index 139f394f4d2..741fd0a0a81 100644
--- a/gnu/usr.bin/clang/libLLVMObject/Makefile
+++ b/gnu/usr.bin/clang/libLLVMObject/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMObject
NOPIC=
@@ -16,16 +16,17 @@ SRCS= Archive.cpp \
ELFObjectFile.cpp \
Error.cpp \
IRObjectFile.cpp \
+ IRSymtab.cpp \
MachOObjectFile.cpp \
MachOUniversal.cpp \
- ModuleSummaryIndexObjectFile.cpp \
ModuleSymbolTable.cpp \
Object.cpp \
ObjectFile.cpp \
RecordStreamer.cpp \
SymbolicFile.cpp \
SymbolSize.cpp \
- WasmObjectFile.cpp
+ WasmObjectFile.cpp \
+ WindowsResource.cpp
.PATH: ${.CURDIR}/../../../llvm/lib/Object
diff --git a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile
index 8906b6d5766..12a65b10eb5 100644
--- a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile
+++ b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMPowerPCCodeGen
NOPIC=
@@ -13,6 +13,7 @@ SRCS= PPCBoolRetToInt.cpp \
PPCBranchSelector.cpp \
PPCCCState.cpp \
PPCCTRLoops.cpp \
+ PPCExpandISEL.cpp \
PPCHazardRecognizers.cpp \
PPCInstrInfo.cpp \
PPCISelDAGToDAG.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile
index 79c7f6ad8c0..69318ab0c84 100644
--- a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile
+++ b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMScalarOpts
NOPIC=
@@ -21,13 +21,13 @@ SRCS= ADCE.cpp \
Float2Int.cpp \
GVN.cpp \
GVNHoist.cpp \
+ GVNSink.cpp \
GuardWidening.cpp \
IVUsersPrinter.cpp \
InductiveRangeCheckElimination.cpp \
IndVarSimplify.cpp \
JumpThreading.cpp \
LICM.cpp \
- LoadCombine.cpp \
LoopAccessAnalysisPrinter.cpp \
LoopDataPrefetch.cpp \
LoopDeletion.cpp \
@@ -37,6 +37,7 @@ SRCS= ADCE.cpp \
LoopInterchange.cpp \
LoopLoadElimination.cpp \
LoopPassManager.cpp \
+ LoopPredication.cpp \
LoopRerollPass.cpp \
LoopRotation.cpp \
LoopSimplifyCFG.cpp \
@@ -62,6 +63,7 @@ SRCS= ADCE.cpp \
Scalar.cpp \
Scalarizer.cpp \
SeparateConstOffsetFromGEP.cpp \
+ SimpleLoopUnswitch.cpp \
SimplifyCFGPass.cpp \
Sink.cpp \
SpeculativeExecution.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile b/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile
index d857b9ced30..908c32af3e2 100644
--- a/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile
+++ b/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMSelectionDAG
NOPIC=
@@ -21,6 +21,7 @@ SRCS= DAGCombiner.cpp \
ScheduleDAGRRList.cpp \
ScheduleDAGSDNodes.cpp \
SelectionDAG.cpp \
+ SelectionDAGAddressAnalysis.cpp \
SelectionDAGBuilder.cpp \
SelectionDAGDumper.cpp \
SelectionDAGISel.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile b/gnu/usr.bin/clang/libLLVMSupport/Makefile
index b9c45b8700a..96c08a5d401 100644
--- a/gnu/usr.bin/clang/libLLVMSupport/Makefile
+++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMSupport
NOPIC=
@@ -10,13 +10,19 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Support
SRCS= APFloat.cpp \
APInt.cpp \
APSInt.cpp \
+ ARMAttributeParser.cpp \
ARMBuildAttrs.cpp \
ARMWinEH.cpp \
Allocator.cpp \
+ BinaryStreamError.cpp \
+ BinaryStreamReader.cpp \
+ BinaryStreamRef.cpp \
+ BinaryStreamWriter.cpp \
BlockFrequency.cpp \
BranchProbability.cpp \
circular_raw_ostream.cpp \
COM.cpp \
+ CachePruning.cpp \
Chrono.cpp \
CommandLine.cpp \
Compression.cpp \
@@ -25,14 +31,15 @@ SRCS= APFloat.cpp \
CrashRecoveryContext.cpp \
DataExtractor.cpp \
Debug.cpp \
+ DebugCounter.cpp \
DeltaAlgorithm.cpp \
DAGDeltaAlgorithm.cpp \
- Dwarf.cpp \
Error.cpp \
ErrorHandling.cpp \
FileUtilities.cpp \
FileOutputBuffer.cpp \
FoldingSet.cpp \
+ FormatVariadic.cpp \
FormattedStream.cpp \
GlobPattern.cpp \
GraphWriter.cpp \
@@ -44,6 +51,7 @@ SRCS= APFloat.cpp \
LineIterator.cpp \
Locale.cpp \
LockFileManager.cpp \
+ LowLevelType.cpp \
ManagedStatic.cpp \
MathExtras.cpp \
MemoryBuffer.cpp \
@@ -96,7 +104,6 @@ SRCS= APFloat.cpp \
Process.cpp \
Program.cpp \
RWMutex.cpp \
- SearchForAddressOfSpecialSymbol.cpp \
Signals.cpp \
TargetRegistry.cpp \
ThreadLocal.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile
index 0f6aaac7c85..f95cd367fdf 100644
--- a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile
+++ b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMTransformUtils
NOPIC=
@@ -42,10 +42,11 @@ SRCS= ASanStackFrameLayout.cpp \
LowerInvoke.cpp \
LowerSwitch.cpp \
Mem2Reg.cpp \
- MemorySSA.cpp \
MetaRenamer.cpp \
ModuleUtils.cpp \
NameAnonGlobals.cpp \
+ OrderedInstructions.cpp \
+ PredicateInfo.cpp \
PromoteMemoryToRegister.cpp \
SSAUpdater.cpp \
SanitizerStats.cpp \
@@ -57,6 +58,7 @@ SRCS= ASanStackFrameLayout.cpp \
SymbolRewriter.cpp \
UnifyFunctionExitNodes.cpp \
Utils.cpp \
+ VNCoercion.cpp \
ValueMapper.cpp
.PATH: ${.CURDIR}/../../../llvm/lib/Transforms/Utils
diff --git a/gnu/usr.bin/clang/libLLVMVectorize/Makefile b/gnu/usr.bin/clang/libLLVMVectorize/Makefile
index 13544a96dd5..a1e045e6d16 100644
--- a/gnu/usr.bin/clang/libLLVMVectorize/Makefile
+++ b/gnu/usr.bin/clang/libLLVMVectorize/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMVectorize
NOPIC=
@@ -7,8 +7,7 @@ NOPROFILE=
CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms
.include <bsd.own.mk>
-SRCS= BBVectorize.cpp \
- Vectorize.cpp \
+SRCS= 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 9d57d336c56..31dfe391494 100644
--- a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile
+++ b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:09 patrick Exp $
LIB= LLVMX86CodeGen
NOPIC=
@@ -10,6 +10,7 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/X86 -I${LLVM_SRCS}/lib/Target/X86
SRCS= X86AsmPrinter.cpp \
X86CallFrameOptimization.cpp \
X86CallingConv.cpp \
+ X86CmovConversion.cpp \
X86EvexToVex.cpp \
X86ExpandPseudo.cpp \
X86FastISel.cpp \
@@ -25,6 +26,7 @@ SRCS= X86AsmPrinter.cpp \
X86InterleavedAccess.cpp \
X86MCInstLower.cpp \
X86MachineFunctionInfo.cpp \
+ X86MacroFusion.cpp \
X86PadShortFunction.cpp \
X86RegisterInfo.cpp \
X86SelectionDAGInfo.cpp \
diff --git a/gnu/usr.bin/clang/libLLVMipo/Makefile b/gnu/usr.bin/clang/libLLVMipo/Makefile
index 1982a8eb9c5..39a1ffd35fe 100644
--- a/gnu/usr.bin/clang/libLLVMipo/Makefile
+++ b/gnu/usr.bin/clang/libLLVMipo/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:10 patrick Exp $
LIB= LLVMipo
NOPIC=
@@ -37,6 +37,7 @@ SRCS= ArgumentPromotion.cpp \
SampleProfile.cpp \
StripDeadPrototypes.cpp \
StripSymbols.cpp \
+ ThinLTOBitcodeWriter.cpp \
WholeProgramDevirt.cpp
.PATH: ${.CURDIR}/../../../llvm/lib/Transforms/IPO
diff --git a/gnu/usr.bin/clang/libclangAST/Makefile b/gnu/usr.bin/clang/libclangAST/Makefile
index e1e770fbc15..ac6b8b9acfc 100644
--- a/gnu/usr.bin/clang/libclangAST/Makefile
+++ b/gnu/usr.bin/clang/libclangAST/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:10 patrick Exp $
LIB= clangAST
NOPIC=
@@ -13,6 +13,7 @@ SRCS= APValue.cpp \
ASTDiagnostic.cpp \
ASTDumper.cpp \
ASTImporter.cpp \
+ ASTStructuralEquivalence.cpp \
ASTTypeTraits.cpp \
AttrImpl.cpp \
CXXInheritance.cpp \
@@ -46,6 +47,7 @@ SRCS= APValue.cpp \
MicrosoftMangle.cpp \
NestedNameSpecifier.cpp \
NSAPI.cpp \
+ ODRHash.cpp \
OpenMPClause.cpp \
ParentMap.cpp \
RawCommentList.cpp \
diff --git a/gnu/usr.bin/clang/libclangBasic/Makefile b/gnu/usr.bin/clang/libclangBasic/Makefile
index 9e675c1508c..50381afbef1 100644
--- a/gnu/usr.bin/clang/libclangBasic/Makefile
+++ b/gnu/usr.bin/clang/libclangBasic/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:10 patrick Exp $
LIB= clangBasic
NOPIC=
@@ -18,6 +18,7 @@ SRCS= Attributes.cpp \
FileSystemStatCache.cpp \
IdentifierTable.cpp \
LangOptions.cpp \
+ MemoryBufferCache.cpp \
Module.cpp \
ObjCRuntime.cpp \
OpenMPKinds.cpp \
@@ -32,7 +33,8 @@ SRCS= Attributes.cpp \
Version.cpp \
VersionTuple.cpp \
VirtualFileSystem.cpp \
- Warnings.cpp
+ Warnings.cpp \
+ XRayLists.cpp
.PATH: ${.CURDIR}/../../../llvm/tools/clang/lib/Basic
diff --git a/gnu/usr.bin/clang/libclangCodeGen/Makefile b/gnu/usr.bin/clang/libclangCodeGen/Makefile
index 377af6930c9..638b0bc3afe 100644
--- a/gnu/usr.bin/clang/libclangCodeGen/Makefile
+++ b/gnu/usr.bin/clang/libclangCodeGen/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2017/10/04 20:57:10 patrick Exp $
LIB= clangCodeGen
NOPIC=
@@ -12,7 +12,6 @@ SRCS= BackendUtil.cpp \
CGBlocks.cpp \
CGBuiltin.cpp \
CGCUDANV.cpp \
- CGCUDABuiltin.cpp \
CGCUDARuntime.cpp \
CGCXX.cpp \
CGCXXABI.cpp \
@@ -30,6 +29,7 @@ SRCS= BackendUtil.cpp \
CGExprComplex.cpp \
CGExprConstant.cpp \
CGExprScalar.cpp \
+ CGGPUBuiltin.cpp \
CGLoopInfo.cpp \
CGObjC.cpp \
CGObjCGNU.cpp \
@@ -50,8 +50,10 @@ SRCS= BackendUtil.cpp \
CodeGenPGO.cpp \
CodeGenTBAA.cpp \
CodeGenTypes.cpp \
+ ConstantInitBuilder.cpp \
CoverageMappingGen.cpp \
ItaniumCXXABI.cpp \
+ MacroPPCallbacks.cpp \
MicrosoftCXXABI.cpp \
ModuleBuilder.cpp \
ObjectFilePCHContainerOperations.cpp \
diff --git a/gnu/usr.bin/clang/libclangDriver/Makefile b/gnu/usr.bin/clang/libclangDriver/Makefile
index d1c2dc96f75..2e9a268de36 100644
--- a/gnu/usr.bin/clang/libclangDriver/Makefile
+++ b/gnu/usr.bin/clang/libclangDriver/Makefile
@@ -1,31 +1,69 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:10 patrick Exp $
LIB= clangDriver
NOPIC=
NOPROFILE=
CPPFLAGS+= ${CLANG_INCLUDES}
+CPPFLAGS+= -I${LLVM_SRCS}/tools/clang/lib/Driver
.include <bsd.own.mk>
-SRCS= Action.cpp \
+SRCS= AArch64.cpp \
+ AMDGPU.cpp \
+ ARM.cpp \
+ AVR.cpp \
+ Action.cpp \
+ Ananas.cpp \
+ BareMetal.cpp \
+ Bitrig.cpp \
+ Clang.cpp \
+ CloudABI.cpp \
+ CommonArgs.cpp \
Compilation.cpp \
- CrossWindowsToolChain.cpp \
+ Contiki.cpp \
+ CrossWindows.cpp \
+ Cuda.cpp \
+ Darwin.cpp \
Distro.cpp \
+ DragonFly.cpp \
Driver.cpp \
DriverOptions.cpp \
+ FreeBSD.cpp \
+ Fuchsia.cpp \
+ Gnu.cpp \
+ Haiku.cpp \
+ Hexagon.cpp \
Job.cpp \
- MinGWToolChain.cpp \
+ Linux.cpp \
+ MSVC.cpp \
+ MinGW.cpp \
+ Minix.cpp \
+ Mips.cpp \
+ MipsLinux.cpp \
Multilib.cpp \
- MSVCToolChain.cpp \
+ Myriad.cpp \
+ NaCl.cpp \
+ NetBSD.cpp \
+ OpenBSD.cpp \
+ PPC.cpp \
+ PS4CPU.cpp \
Phases.cpp \
SanitizerArgs.cpp \
+ Solaris.cpp \
+ Sparc.cpp \
+ SystemZ.cpp \
+ TCE.cpp \
Tool.cpp \
ToolChain.cpp \
- ToolChains.cpp \
- Tools.cpp \
- Types.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/libclangFrontend/Makefile b/gnu/usr.bin/clang/libclangFrontend/Makefile
index 91dca3a6c2b..d0afc47ece5 100644
--- a/gnu/usr.bin/clang/libclangFrontend/Makefile
+++ b/gnu/usr.bin/clang/libclangFrontend/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2017/10/04 20:57:10 patrick Exp $
LIB= clangFrontend
NOPIC=
@@ -32,6 +32,7 @@ SRCS= ASTConsumers.cpp \
ModuleDependencyCollector.cpp \
MultiplexConsumer.cpp \
PCHContainerOperations.cpp \
+ PrecompiledPreamble.cpp \
PrintPreprocessedOutput.cpp \
SerializedDiagnosticPrinter.cpp \
SerializedDiagnosticReader.cpp \
diff --git a/gnu/usr.bin/clang/liblldCore/Makefile b/gnu/usr.bin/clang/liblldCore/Makefile
index 2e2a355fedc..8078d2d40f3 100644
--- a/gnu/usr.bin/clang/liblldCore/Makefile
+++ b/gnu/usr.bin/clang/liblldCore/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:10 patrick Exp $
LIB= lldCore
NOPROFILE=
@@ -14,6 +14,7 @@ SRCS= DefinedAtom.cpp \
Reproduce.cpp \
Resolver.cpp \
SymbolTable.cpp \
+ TargetOptionsCommandFlags.cpp \
Writer.cpp
.PATH: ${.CURDIR}/../../../llvm/tools/lld/lib/Core
diff --git a/gnu/usr.bin/clang/liblldELF/Makefile b/gnu/usr.bin/clang/liblldELF/Makefile
index 7e2a245421b..197cc591b40 100644
--- a/gnu/usr.bin/clang/liblldELF/Makefile
+++ b/gnu/usr.bin/clang/liblldELF/Makefile
@@ -1,25 +1,37 @@
-# $OpenBSD: Makefile,v 1.3 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/10/04 20:57:10 patrick Exp $
LIB= lldELF
NOPROFILE=
CPPFLAGS+= -I${LLVM_SRCS}/tools/lld/include
+CPPFLAGS+= -I${LLVM_SRCS}/tools/lld/ELF
.include <bsd.own.mk>
-SRCS= Driver.cpp \
+SRCS= AArch64.cpp \
+ AMDGPU.cpp \
+ ARM.cpp \
+ AVR.cpp \
+ Driver.cpp \
DriverUtils.cpp \
EhFrame.cpp \
Error.cpp \
+ Filesystem.cpp \
GdbIndex.cpp \
ICF.cpp \
InputFiles.cpp \
InputSection.cpp \
LinkerScript.cpp \
LTO.cpp \
+ MapFile.cpp \
MarkLive.cpp \
Mips.cpp \
+ MipsArchTree.cpp \
OutputSections.cpp \
+ PPC.cpp \
+ PPC64.cpp \
Relocations.cpp \
+ SPARCV9.cpp \
+ ScriptLexer.cpp \
ScriptParser.cpp \
Strings.cpp \
SymbolTable.cpp \
@@ -27,9 +39,12 @@ SRCS= Driver.cpp \
SyntheticSections.cpp \
Target.cpp \
Thunks.cpp \
- Writer.cpp
+ Writer.cpp \
+ X86.cpp \
+ X86_64.cpp
.PATH: ${.CURDIR}/../../../llvm/tools/lld/ELF
+.PATH: ${.CURDIR}/../../../llvm/tools/lld/ELF/Arch
Driver.o: Options.inc
diff --git a/gnu/usr.bin/clang/lld/Makefile b/gnu/usr.bin/clang/lld/Makefile
index 5a9662833ff..3fde919093b 100644
--- a/gnu/usr.bin/clang/lld/Makefile
+++ b/gnu/usr.bin/clang/lld/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2017/07/27 10:23:25 espie Exp $
+# $OpenBSD: Makefile,v 1.11 2017/10/04 20:57:10 patrick Exp $
.include <bsd.own.mk>
@@ -58,6 +58,7 @@ LLVM_LIBDEPS= lldELF \
${BACKEND_ASMPRINTER} \
LLVMMC \
${BACKEND_UTILS} \
+ LLVMBinaryFormat \
LLVMCore \
LLVMSupport
diff --git a/gnu/usr.bin/clang/llvm-tblgen/Makefile b/gnu/usr.bin/clang/llvm-tblgen/Makefile
index ab273e9c9a7..3715df65537 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.6 2017/07/09 15:28:36 espie Exp $
+# $OpenBSD: Makefile,v 1.7 2017/10/04 20:57:10 patrick Exp $
PROG= llvm-tblgen
NOMAN=
@@ -30,6 +30,7 @@ SRCS= AsmMatcherEmitter.cpp \
IntrinsicEmitter.cpp \
OptParserEmitter.cpp \
PseudoLoweringEmitter.cpp \
+ RegisterBankEmitter.cpp \
RegisterInfoEmitter.cpp \
SearchableTableEmitter.cpp \
SubtargetEmitter.cpp \
@@ -37,6 +38,7 @@ SRCS= AsmMatcherEmitter.cpp \
TableGen.cpp \
Types.cpp \
X86DisassemblerTables.cpp \
+ X86EVEX2VEXTablesEmitter.cpp \
X86ModRMFilters.cpp \
X86RecognizableInstr.cpp \
CTagsEmitter.cpp