summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/freebsd_cc_version.h2
-rw-r--r--lib/clang/headers/Makefile24
-rw-r--r--lib/clang/include/clang/Basic/Version.inc8
-rw-r--r--lib/clang/include/clang/Config/config.h10
-rw-r--r--lib/clang/include/lld/Config/Version.inc8
-rw-r--r--lib/clang/include/lldb/Host/Config.h28
-rw-r--r--lib/clang/include/llvm/Config/abi-breaking.h8
-rw-r--r--lib/clang/include/llvm/Config/config.h50
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h7
-rw-r--r--lib/clang/include/llvm/Support/DataTypes.h6
-rw-r--r--lib/clang/include/llvm/Support/VCSRevision.h2
-rw-r--r--lib/clang/libclang/Makefile77
-rw-r--r--lib/clang/liblldb/Makefile83
-rw-r--r--lib/clang/libllvm/Makefile222
-rw-r--r--lib/clang/libllvmminimal/Makefile3
-rw-r--r--lib/clang/llvm.build.mk3
16 files changed, 390 insertions, 151 deletions
diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h
index e7a5706..1b075f9 100644
--- a/lib/clang/freebsd_cc_version.h
+++ b/lib/clang/freebsd_cc_version.h
@@ -1,3 +1,3 @@
/* $FreeBSD$ */
-#define FREEBSD_CC_VERSION 1100504
+#define FREEBSD_CC_VERSION 1100505
diff --git a/lib/clang/headers/Makefile b/lib/clang/headers/Makefile
index be03a70..710e9f4 100644
--- a/lib/clang/headers/Makefile
+++ b/lib/clang/headers/Makefile
@@ -4,7 +4,7 @@
.PATH: ${CLANG_SRCS}/lib/Headers
-INCSDIR= ${LIBDIR}/clang/4.0.0/include
+INCSDIR= ${LIBDIR}/clang/5.0.0/include
GENINCS+= arm_neon.h
@@ -37,10 +37,12 @@ INCS+= avx512vlbwintrin.h
INCS+= avx512vlcdintrin.h
INCS+= avx512vldqintrin.h
INCS+= avx512vlintrin.h
+INCS+= avx512vpopcntdqintrin.h
INCS+= avxintrin.h
INCS+= bmi2intrin.h
INCS+= bmiintrin.h
INCS+= clflushoptintrin.h
+INCS+= clzerointrin.h
INCS+= cpuid.h
INCS+= emmintrin.h
INCS+= f16cintrin.h
@@ -51,6 +53,7 @@ INCS+= htmintrin.h
INCS+= htmxlintrin.h
INCS+= ia32intrin.h
INCS+= immintrin.h
+INCS+= lwpintrin.h
INCS+= lzcntintrin.h
INCS+= mm3dnow.h
INCS+= mm_malloc.h
@@ -84,6 +87,25 @@ INCS+= xsavesintrin.h
INCS+= xtestintrin.h
INCS+= ${GENINCS}
+# Headers which possibly conflict with our own versions:
+.if defined(INSTALL_CONFLICTING_CLANG_HEADERS)
+INCS+= float.h
+INCS+= intrin.h
+INCS+= inttypes.h
+INCS+= iso646.h
+INCS+= limits.h
+INCS+= stdalign.h
+INCS+= stdarg.h
+INCS+= stdatomic.h
+INCS+= stdbool.h
+INCS+= stddef.h
+INCS+= stdint.h
+INCS+= stdnoreturn.h
+INCS+= tgmath.h
+INCS+= unwind.h
+INCS+= varargs.h
+.endif
+
arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
${CLANG_TBLGEN} -gen-arm-neon \
-d ${.TARGET:C/$/.d/} -o ${.TARGET} \
diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc
index 24fdb8b..51e63ee 100644
--- a/lib/clang/include/clang/Basic/Version.inc
+++ b/lib/clang/include/clang/Basic/Version.inc
@@ -1,11 +1,11 @@
/* $FreeBSD$ */
-#define CLANG_VERSION 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
#define CLANG_VENDOR "FreeBSD "
-#define SVN_REVISION "297347"
+#define SVN_REVISION "312559"
diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h
index 07f6325..b8bc8c4 100644
--- a/lib/clang/include/clang/Config/config.h
+++ b/lib/clang/include/clang/Config/config.h
@@ -39,11 +39,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.0svn"
/* Linker version detected at compile time. */
/* #undef HOST_LINK_VERSION */
@@ -54,4 +57,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/lib/clang/include/lld/Config/Version.inc b/lib/clang/include/lld/Config/Version.inc
index 49ce2ca..4dad500 100644
--- a/lib/clang/include/lld/Config/Version.inc
+++ b/lib/clang/include/lld/Config/Version.inc
@@ -1,8 +1,8 @@
// $FreeBSD$
-#define LLD_VERSION 4.0.0
-#define LLD_VERSION_STRING "4.0.0"
-#define LLD_VERSION_MAJOR 4
+#define LLD_VERSION 5.0.0
+#define LLD_VERSION_STRING "5.0.0"
+#define LLD_VERSION_MAJOR 5
#define LLD_VERSION_MINOR 0
-#define LLD_REVISION_STRING "297347"
+#define LLD_REVISION_STRING "312559"
#define LLD_REPOSITORY_STRING "FreeBSD"
diff --git a/lib/clang/include/lldb/Host/Config.h b/lib/clang/include/lldb/Host/Config.h
new file mode 100644
index 0000000..670eca5
--- /dev/null
+++ b/lib/clang/include/lldb/Host/Config.h
@@ -0,0 +1,28 @@
+// $FreeBSD$
+//===-- Config.h -----------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_HOST_CONFIG_H
+#define LLDB_HOST_CONFIG_H
+
+#define LLDB_CONFIG_TERMIOS_SUPPORTED
+
+/* #undef LLDB_DISABLE_POSIX */
+
+#define HAVE_SYS_EVENT_H 1
+
+#define HAVE_PPOLL 1
+
+#define HAVE_SIGACTION 1
+
+#define HAVE_PROCESS_VM_READV 0
+
+#define HAVE_NR_PROCESS_VM_READV 0
+
+#endif // #ifndef LLDB_HOST_CONFIG_H
diff --git a/lib/clang/include/llvm/Config/abi-breaking.h b/lib/clang/include/llvm/Config/abi-breaking.h
index 39c4162..a6976a1 100644
--- a/lib/clang/include/llvm/Config/abi-breaking.h
+++ b/lib/clang/include/llvm/Config/abi-breaking.h
@@ -16,9 +16,11 @@
/* Define to enable checks that alter the LLVM C++ ABI */
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1
-/* 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/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index a5b7ce9..1a0d316 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -17,8 +17,12 @@
/* Define to 1 to enable crash overrides, and to 0 otherwise. */
#define ENABLE_CRASH_OVERRIDES 1
+#if __FreeBSD_version >= 1000052
/* Define to 1 if you have the `backtrace' function. */
-/* #undef HAVE_BACKTRACE */
+#define HAVE_BACKTRACE TRUE
+
+#define BACKTRACE_HEADER <execinfo.h>
+#endif
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
/* #undef HAVE_CRASHREPORTERCLIENT_H */
@@ -55,14 +59,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. */
-#if __FreeBSD_version >= 1000052
-#define HAVE_EXECINFO_H 1
-#endif
-
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
@@ -356,35 +358,14 @@
/* Host triple LLVM will be executed on */
/* #undef LLVM_HOST_TRIPLE */
-/* 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"
+/* 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
@@ -395,8 +376,11 @@
/* 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
+#define LLVM_VERSION_MAJOR 5
/* Minor version of the LLVM API */
#define LLVM_VERSION_MINOR 0
@@ -405,7 +389,7 @@
#define LLVM_VERSION_PATCH 0
/* LLVM version string */
-#define LLVM_VERSION_STRING "4.0.0"
+#define LLVM_VERSION_STRING "5.0.0svn"
/* Define to the extension used for shared libraries, say, ".so". */
#define LTDL_SHLIB_EXT ".so"
@@ -417,13 +401,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.0svn"
/* 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.0svn"
/* Define to the vendor of this package. */
/* #undef PACKAGE_VENDOR */
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
index 755017f..f922655 100644
--- a/lib/clang/include/llvm/Config/llvm-config.h
+++ b/lib/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"
-
/* Define if we have the Intel JIT API runtime support library */
#define LLVM_USE_INTEL_JITEVENTS 0
@@ -67,7 +64,7 @@
#define LLVM_USE_OPROFILE 0
/* Major version of the LLVM API */
-#define LLVM_VERSION_MAJOR 4
+#define LLVM_VERSION_MAJOR 5
/* Minor version of the LLVM API */
#define LLVM_VERSION_MINOR 0
@@ -76,6 +73,6 @@
#define LLVM_VERSION_PATCH 0
/* LLVM version string */
-#define LLVM_VERSION_STRING "4.0.0"
+#define LLVM_VERSION_STRING "5.0.0svn"
#endif
diff --git a/lib/clang/include/llvm/Support/DataTypes.h b/lib/clang/include/llvm/Support/DataTypes.h
index 5d02231..d48e83d 100644
--- a/lib/clang/include/llvm/Support/DataTypes.h
+++ b/lib/clang/include/llvm/Support/DataTypes.h
@@ -86,11 +86,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>
@@ -133,4 +133,4 @@ typedef signed int ssize_t;
#define HUGE_VALF (float)HUGE_VAL
#endif
-#endif /* SUPPORT_DATATYPES_H */
+#endif /* SUPPORT_DATATYPES_H */
diff --git a/lib/clang/include/llvm/Support/VCSRevision.h b/lib/clang/include/llvm/Support/VCSRevision.h
new file mode 100644
index 0000000..a1682db
--- /dev/null
+++ b/lib/clang/include/llvm/Support/VCSRevision.h
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#define LLVM_REVISION "svn-r312559"
diff --git a/lib/clang/libclang/Makefile b/lib/clang/libclang/Makefile
index 54fb0d7..544f7d4 100644
--- a/lib/clang/libclang/Makefile
+++ b/lib/clang/libclang/Makefile
@@ -7,6 +7,7 @@ LIB= clang
CFLAGS+= -I${.OBJDIR}
CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
+CFLAGS+= -I${CLANG_SRCS}/lib/Driver
# Ensure FREEBSD_CC_VERSION is defined for Basic/Targets.cpp
CFLAGS.Targets.cpp+= -include ../freebsd_cc_version.h
@@ -44,6 +45,7 @@ SRCS_MIN+= AST/ASTContext.cpp
SRCS_MIN+= AST/ASTDiagnostic.cpp
SRCS_MIN+= AST/ASTDumper.cpp
SRCS_MIN+= AST/ASTImporter.cpp
+SRCS_MIN+= AST/ASTStructuralEquivalence.cpp
SRCS_MIN+= AST/ASTTypeTraits.cpp
SRCS_MIN+= AST/AttrImpl.cpp
SRCS_MIN+= AST/CXXInheritance.cpp
@@ -77,6 +79,7 @@ SRCS_MIN+= AST/MicrosoftCXXABI.cpp
SRCS_MIN+= AST/MicrosoftMangle.cpp
SRCS_MIN+= AST/NSAPI.cpp
SRCS_MIN+= AST/NestedNameSpecifier.cpp
+SRCS_MIN+= AST/ODRHash.cpp
SRCS_MIN+= AST/OpenMPClause.cpp
SRCS_MIN+= AST/ParentMap.cpp
SRCS_MIN+= AST/RawCommentList.cpp
@@ -141,6 +144,7 @@ SRCS_MIN+= Basic/FileManager.cpp
SRCS_MIN+= Basic/FileSystemStatCache.cpp
SRCS_MIN+= Basic/IdentifierTable.cpp
SRCS_MIN+= Basic/LangOptions.cpp
+SRCS_MIN+= Basic/MemoryBufferCache.cpp
SRCS_MIN+= Basic/Module.cpp
SRCS_MIN+= Basic/ObjCRuntime.cpp
SRCS_MIN+= Basic/OpenMPKinds.cpp
@@ -156,11 +160,11 @@ SRCS_MIN+= Basic/Version.cpp
SRCS_MIN+= Basic/VersionTuple.cpp
SRCS_MIN+= Basic/VirtualFileSystem.cpp
SRCS_MIN+= Basic/Warnings.cpp
+SRCS_MIN+= Basic/XRayLists.cpp
SRCS_MIN+= CodeGen/BackendUtil.cpp
SRCS_MIN+= CodeGen/CGAtomic.cpp
SRCS_MIN+= CodeGen/CGBlocks.cpp
SRCS_MIN+= CodeGen/CGBuiltin.cpp
-SRCS_MIN+= CodeGen/CGCUDABuiltin.cpp
SRCS_MIN+= CodeGen/CGCUDANV.cpp
SRCS_MIN+= CodeGen/CGCUDARuntime.cpp
SRCS_MIN+= CodeGen/CGCXX.cpp
@@ -179,6 +183,7 @@ SRCS_MIN+= CodeGen/CGExprCXX.cpp
SRCS_MIN+= CodeGen/CGExprComplex.cpp
SRCS_MIN+= CodeGen/CGExprConstant.cpp
SRCS_MIN+= CodeGen/CGExprScalar.cpp
+SRCS_MIN+= CodeGen/CGGPUBuiltin.cpp
SRCS_MIN+= CodeGen/CGLoopInfo.cpp
SRCS_MIN+= CodeGen/CGObjC.cpp
SRCS_MIN+= CodeGen/CGObjCGNU.cpp
@@ -199,8 +204,10 @@ SRCS_MIN+= CodeGen/CodeGenModule.cpp
SRCS_MIN+= CodeGen/CodeGenPGO.cpp
SRCS_MIN+= CodeGen/CodeGenTBAA.cpp
SRCS_MIN+= CodeGen/CodeGenTypes.cpp
+SRCS_MIN+= CodeGen/ConstantInitBuilder.cpp
SRCS_MIN+= CodeGen/CoverageMappingGen.cpp
SRCS_MIN+= CodeGen/ItaniumCXXABI.cpp
+SRCS_MIN+= CodeGen/MacroPPCallbacks.cpp
SRCS_MIN+= CodeGen/MicrosoftCXXABI.cpp
SRCS_MIN+= CodeGen/ModuleBuilder.cpp
SRCS_MIN+= CodeGen/ObjectFilePCHContainerOperations.cpp
@@ -210,36 +217,72 @@ SRCS_MIN+= CodeGen/TargetInfo.cpp
SRCS_MIN+= CodeGen/VarBypassDetector.cpp
SRCS_MIN+= Driver/Action.cpp
SRCS_MIN+= Driver/Compilation.cpp
-SRCS_MIN+= Driver/CrossWindowsToolChain.cpp
SRCS_MIN+= Driver/Distro.cpp
SRCS_MIN+= Driver/Driver.cpp
SRCS_MIN+= Driver/DriverOptions.cpp
SRCS_MIN+= Driver/Job.cpp
-SRCS_MIN+= Driver/MSVCToolChain.cpp
-SRCS_MIN+= Driver/MinGWToolChain.cpp
SRCS_MIN+= Driver/Multilib.cpp
SRCS_MIN+= Driver/Phases.cpp
SRCS_MIN+= Driver/SanitizerArgs.cpp
SRCS_MIN+= Driver/Tool.cpp
SRCS_MIN+= Driver/ToolChain.cpp
-SRCS_MIN+= Driver/ToolChains.cpp
-SRCS_MIN+= Driver/Tools.cpp
+SRCS_MIN+= Driver/ToolChains/AMDGPU.cpp
+SRCS_MIN+= Driver/ToolChains/AVR.cpp
+SRCS_MIN+= Driver/ToolChains/Ananas.cpp
+SRCS_MIN+= Driver/ToolChains/Arch/AArch64.cpp
+SRCS_MIN+= Driver/ToolChains/Arch/ARM.cpp
+SRCS_MIN+= Driver/ToolChains/Arch/Mips.cpp
+SRCS_MIN+= Driver/ToolChains/Arch/PPC.cpp
+SRCS_MIN+= Driver/ToolChains/Arch/Sparc.cpp
+SRCS_MIN+= Driver/ToolChains/Arch/SystemZ.cpp
+SRCS_MIN+= Driver/ToolChains/Arch/X86.cpp
+SRCS_MIN+= Driver/ToolChains/BareMetal.cpp
+SRCS_MIN+= Driver/ToolChains/Bitrig.cpp
+SRCS_MIN+= Driver/ToolChains/Clang.cpp
+SRCS_MIN+= Driver/ToolChains/CloudABI.cpp
+SRCS_MIN+= Driver/ToolChains/CommonArgs.cpp
+SRCS_MIN+= Driver/ToolChains/Contiki.cpp
+SRCS_MIN+= Driver/ToolChains/CrossWindows.cpp
+SRCS_MIN+= Driver/ToolChains/Cuda.cpp
+SRCS_MIN+= Driver/ToolChains/Darwin.cpp
+SRCS_MIN+= Driver/ToolChains/DragonFly.cpp
+SRCS_MIN+= Driver/ToolChains/FreeBSD.cpp
+SRCS_MIN+= Driver/ToolChains/Fuchsia.cpp
+SRCS_MIN+= Driver/ToolChains/Gnu.cpp
+SRCS_MIN+= Driver/ToolChains/Haiku.cpp
+SRCS_MIN+= Driver/ToolChains/Hexagon.cpp
+SRCS_MIN+= Driver/ToolChains/Linux.cpp
+SRCS_MIN+= Driver/ToolChains/MSVC.cpp
+SRCS_MIN+= Driver/ToolChains/MinGW.cpp
+SRCS_MIN+= Driver/ToolChains/Minix.cpp
+SRCS_MIN+= Driver/ToolChains/MipsLinux.cpp
+SRCS_MIN+= Driver/ToolChains/Myriad.cpp
+SRCS_MIN+= Driver/ToolChains/NaCl.cpp
+SRCS_MIN+= Driver/ToolChains/NetBSD.cpp
+SRCS_MIN+= Driver/ToolChains/OpenBSD.cpp
+SRCS_MIN+= Driver/ToolChains/PS4CPU.cpp
+SRCS_MIN+= Driver/ToolChains/Solaris.cpp
+SRCS_MIN+= Driver/ToolChains/TCE.cpp
+SRCS_MIN+= Driver/ToolChains/WebAssembly.cpp
+SRCS_MIN+= Driver/ToolChains/XCore.cpp
SRCS_MIN+= Driver/Types.cpp
+SRCS_MIN+= Driver/XRayArgs.cpp
SRCS_MIN+= Edit/Commit.cpp
SRCS_MIN+= Edit/EditedSource.cpp
SRCS_MIN+= Edit/RewriteObjCFoundationAPI.cpp
SRCS_EXT+= Format/AffectedRangeManager.cpp
SRCS_EXT+= Format/BreakableToken.cpp
-SRCS_EXT+= Format/Comments.cpp
SRCS_EXT+= Format/ContinuationIndenter.cpp
SRCS_EXT+= Format/Format.cpp
SRCS_EXT+= Format/FormatToken.cpp
SRCS_EXT+= Format/FormatTokenLexer.cpp
+SRCS_EXT+= Format/NamespaceEndCommentsFixer.cpp
SRCS_EXT+= Format/SortJavaScriptImports.cpp
SRCS_EXT+= Format/TokenAnalyzer.cpp
SRCS_EXT+= Format/TokenAnnotator.cpp
SRCS_EXT+= Format/UnwrappedLineFormatter.cpp
SRCS_EXT+= Format/UnwrappedLineParser.cpp
+SRCS_EXT+= Format/UsingDeclarationsSorter.cpp
SRCS_EXT+= Format/WhitespaceManager.cpp
SRCS_MIN+= Frontend/ASTConsumers.cpp
SRCS_MIN+= Frontend/ASTMerge.cpp
@@ -266,6 +309,7 @@ SRCS_MIN+= Frontend/LogDiagnosticPrinter.cpp
SRCS_MIN+= Frontend/ModuleDependencyCollector.cpp
SRCS_MIN+= Frontend/MultiplexConsumer.cpp
SRCS_MIN+= Frontend/PCHContainerOperations.cpp
+SRCS_MIN+= Frontend/PrecompiledPreamble.cpp
SRCS_MIN+= Frontend/PrintPreprocessedOutput.cpp
SRCS_MIN+= Frontend/Rewrite/FixItRewriter.cpp
SRCS_MIN+= Frontend/Rewrite/FrontendActions.cpp
@@ -412,7 +456,6 @@ SRCS_FUL+= StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
-SRCS_FUL+= StaticAnalyzer/Checkers/CheckerDocumentation.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/ChrootChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/ClangCheckers.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/CloneChecker.cpp
@@ -429,7 +472,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/FixedAddressChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/GTestChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/GenericTaintChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
-SRCS_FUL+= StaticAnalyzer/Checkers/IteratorPastEndChecker.cpp
+SRCS_FUL+= StaticAnalyzer/Checkers/IteratorChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/LocalizationChecker.cpp
@@ -441,6 +484,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/MallocChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
+SRCS_FUL+= StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/NSErrorChecker.cpp
SRCS_FUL+= StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
@@ -513,6 +557,7 @@ SRCS_FUL+= StaticAnalyzer/Core/PathDiagnostic.cpp
SRCS_FUL+= StaticAnalyzer/Core/PlistDiagnostics.cpp
SRCS_FUL+= StaticAnalyzer/Core/ProgramState.cpp
SRCS_FUL+= StaticAnalyzer/Core/RangeConstraintManager.cpp
+SRCS_FUL+= StaticAnalyzer/Core/RangedConstraintManager.cpp
SRCS_FUL+= StaticAnalyzer/Core/RegionStore.cpp
SRCS_FUL+= StaticAnalyzer/Core/SValBuilder.cpp
SRCS_FUL+= StaticAnalyzer/Core/SVals.cpp
@@ -521,6 +566,7 @@ SRCS_FUL+= StaticAnalyzer/Core/SimpleSValBuilder.cpp
SRCS_FUL+= StaticAnalyzer/Core/Store.cpp
SRCS_FUL+= StaticAnalyzer/Core/SubEngine.cpp
SRCS_FUL+= StaticAnalyzer/Core/SymbolManager.cpp
+SRCS_FUL+= StaticAnalyzer/Core/Z3ConstraintManager.cpp
SRCS_FUL+= StaticAnalyzer/Frontend/AnalysisConsumer.cpp
SRCS_FUL+= StaticAnalyzer/Frontend/CheckerRegistration.cpp
SRCS_FUL+= StaticAnalyzer/Frontend/FrontendActions.cpp
@@ -637,6 +683,12 @@ clang/Basic/AttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_SRCS}/include/clang/Basic/Attr.td
TGHDRS+= clang/Basic/AttrList.inc
+clang/Basic/AttrSubMatchRulesList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
+ ${CLANG_TBLGEN} -gen-clang-attr-subject-match-rule-list \
+ -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
+ ${CLANG_SRCS}/include/clang/Basic/Attr.td
+TGHDRS+= clang/Basic/AttrSubMatchRulesList.inc
+
.for hdr in \
AST Analysis Comment Common Driver Frontend Lex Parse Sema Serialization
clang/Basic/Diagnostic${hdr}Kinds.inc: \
@@ -681,6 +733,13 @@ clang/Parse/AttrParserStringSwitches.inc: \
${CLANG_SRCS}/include/clang/Basic/Attr.td
TGHDRS+= clang/Parse/AttrParserStringSwitches.inc
+clang/Parse/AttrSubMatchRulesParserStringSwitches.inc: \
+ ${CLANG_SRCS}/include/clang/Basic/Attr.td
+ ${CLANG_TBLGEN} -gen-clang-attr-subject-match-rules-parser-string-switches \
+ -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
+ ${CLANG_SRCS}/include/clang/Basic/Attr.td
+TGHDRS+= clang/Parse/AttrSubMatchRulesParserStringSwitches.inc
+
clang/Sema/AttrParsedAttrImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-impl \
-I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile
index 189119a..d57a637 100644
--- a/lib/clang/liblldb/Makefile
+++ b/lib/clang/liblldb/Makefile
@@ -61,6 +61,7 @@ SRCS+= API/SBTarget.cpp
SRCS+= API/SBThread.cpp
SRCS+= API/SBThreadCollection.cpp
SRCS+= API/SBThreadPlan.cpp
+SRCS+= API/SBTrace.cpp
SRCS+= API/SBType.cpp
SRCS+= API/SBTypeCategory.cpp
SRCS+= API/SBTypeEnumMember.cpp
@@ -131,29 +132,19 @@ SRCS+= Core/AddressResolver.cpp
SRCS+= Core/AddressResolverFileLine.cpp
SRCS+= Core/AddressResolverName.cpp
SRCS+= Core/ArchSpec.cpp
-SRCS+= Core/Baton.cpp
SRCS+= Core/Broadcaster.cpp
SRCS+= Core/Communication.cpp
-SRCS+= Core/Connection.cpp
-SRCS+= Core/ConstString.cpp
-SRCS+= Core/DataBufferHeap.cpp
-SRCS+= Core/DataBufferMemoryMap.cpp
-SRCS+= Core/DataEncoder.cpp
-SRCS+= Core/DataExtractor.cpp
SRCS+= Core/Debugger.cpp
SRCS+= Core/Disassembler.cpp
+SRCS+= Core/DumpDataExtractor.cpp
SRCS+= Core/DynamicLoader.cpp
SRCS+= Core/EmulateInstruction.cpp
-SRCS+= Core/Error.cpp
SRCS+= Core/Event.cpp
-SRCS+= Core/FastDemangle.cpp
SRCS+= Core/FileLineResolver.cpp
SRCS+= Core/FileSpecList.cpp
SRCS+= Core/FormatEntity.cpp
SRCS+= Core/IOHandler.cpp
SRCS+= Core/Listener.cpp
-SRCS+= Core/Log.cpp
-SRCS+= Core/Logging.cpp
SRCS+= Core/Mangled.cpp
SRCS+= Core/Module.cpp
SRCS+= Core/ModuleChild.cpp
@@ -161,25 +152,14 @@ SRCS+= Core/ModuleList.cpp
SRCS+= Core/Opcode.cpp
SRCS+= Core/PluginManager.cpp
SRCS+= Core/RegisterValue.cpp
-SRCS+= Core/RegularExpression.cpp
SRCS+= Core/Scalar.cpp
SRCS+= Core/SearchFilter.cpp
SRCS+= Core/Section.cpp
SRCS+= Core/SourceManager.cpp
SRCS+= Core/State.cpp
-SRCS+= Core/Stream.cpp
SRCS+= Core/StreamAsynchronousIO.cpp
-SRCS+= Core/StreamCallback.cpp
SRCS+= Core/StreamFile.cpp
-SRCS+= Core/StreamGDBRemote.cpp
-SRCS+= Core/StreamString.cpp
-SRCS+= Core/StringList.cpp
-SRCS+= Core/StructuredData.cpp
-SRCS+= Core/Timer.cpp
-SRCS+= Core/UUID.cpp
-SRCS+= Core/UserID.cpp
SRCS+= Core/UserSettingsController.cpp
-SRCS+= Core/VMRange.cpp
SRCS+= Core/Value.cpp
SRCS+= Core/ValueObject.cpp
SRCS+= Core/ValueObjectCast.cpp
@@ -228,35 +208,32 @@ SRCS+= Expression/UtilityFunction.cpp
SRCS+= Host/common/Editline.cpp
SRCS+= Host/common/File.cpp
SRCS+= Host/common/FileCache.cpp
-SRCS+= Host/common/FileSpec.cpp
SRCS+= Host/common/FileSystem.cpp
SRCS+= Host/common/Host.cpp
SRCS+= Host/common/HostInfoBase.cpp
SRCS+= Host/common/HostNativeThreadBase.cpp
SRCS+= Host/common/HostProcess.cpp
SRCS+= Host/common/HostThread.cpp
-SRCS+= Host/common/IOObject.cpp
SRCS+= Host/common/LockFileBase.cpp
+SRCS+= Host/common/MainLoop.cpp
SRCS+= Host/common/MonitoringProcessLauncher.cpp
SRCS+= Host/common/NativeBreakpointList.cpp
SRCS+= Host/common/NativeWatchpointList.cpp
SRCS+= Host/common/OptionParser.cpp
SRCS+= Host/common/PipeBase.cpp
SRCS+= Host/common/ProcessRunLock.cpp
+SRCS+= Host/common/PseudoTerminal.cpp
SRCS+= Host/common/Socket.cpp
SRCS+= Host/common/SocketAddress.cpp
SRCS+= Host/common/StringConvert.cpp
SRCS+= Host/common/Symbols.cpp
SRCS+= Host/common/TCPSocket.cpp
SRCS+= Host/common/Terminal.cpp
-SRCS+= Host/common/ThisThread.cpp
SRCS+= Host/common/ThreadLauncher.cpp
SRCS+= Host/common/UDPSocket.cpp
SRCS+= Host/common/XML.cpp
SRCS+= Host/freebsd/Host.cpp
SRCS+= Host/freebsd/HostInfoFreeBSD.cpp
-SRCS+= Host/freebsd/HostThreadFreeBSD.cpp
-SRCS+= Host/freebsd/ThisThread.cpp
SRCS+= Host/posix/ConnectionFileDescriptorPosix.cpp
SRCS+= Host/posix/DomainSocket.cpp
SRCS+= Host/posix/FileSystem.cpp
@@ -264,9 +241,8 @@ SRCS+= Host/posix/HostInfoPosix.cpp
SRCS+= Host/posix/HostProcessPosix.cpp
SRCS+= Host/posix/HostThreadPosix.cpp
SRCS+= Host/posix/LockFilePosix.cpp
-SRCS+= Host/posix/MainLoopPosix.cpp
SRCS+= Host/posix/PipePosix.cpp
-SRCS+= Host/posix/ProcessLauncherPosix.cpp
+SRCS+= Host/posix/ProcessLauncherPosixFork.cpp
SRCS+= Initialization/SystemInitializer.cpp
SRCS+= Initialization/SystemInitializerCommon.cpp
SRCS+= Initialization/SystemLifetimeManager.cpp
@@ -347,10 +323,13 @@ SRCS+= Plugins/Instruction/ARM/EmulationStateARM.cpp
SRCS+= Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
SRCS+= Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
SRCS+= Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
-SRCS+= Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp
+SRCS+= Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp
+SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
+SRCS+= Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp
SRCS+= Plugins/JITLoader/GDB/JITLoaderGDB.cpp
SRCS+= Plugins/Language/CPlusPlus/BlockPointer.cpp
SRCS+= Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
+SRCS+= Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
SRCS+= Plugins/Language/CPlusPlus/LibCxx.cpp
SRCS+= Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
SRCS+= Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
@@ -370,12 +349,16 @@ SRCS+= Plugins/Language/ObjC/NSSet.cpp
SRCS+= Plugins/Language/ObjC/NSString.cpp
SRCS+= Plugins/Language/ObjC/ObjCLanguage.cpp
SRCS+= Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
+SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
+SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
+SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
SRCS+= Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
SRCS+= Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
SRCS+= Plugins/ObjectFile/ELF/ELFHeader.cpp
SRCS+= Plugins/ObjectFile/ELF/ObjectFileELF.cpp
SRCS+= Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
SRCS+= Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
+SRCS+= Plugins/Platform/POSIX/PlatformPOSIX.cpp
SRCS+= Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
SRCS+= Plugins/Process/FreeBSD/FreeBSDThread.cpp
SRCS+= Plugins/Process/FreeBSD/POSIXStopInfo.cpp
@@ -401,25 +384,28 @@ SRCS+= Plugins/Process/Utility/NetBSDSignals.cpp
SRCS+= Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
SRCS+= Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextDummy.cpp
-SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_arm.cpp
SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextHistory.cpp
SRCS+= Plugins/Process/Utility/RegisterContextLLDB.cpp
-SRCS+= Plugins/Process/Utility/RegisterContextLinux_arm.cpp
SRCS+= Plugins/Process/Utility/RegisterContextLinux_i386.cpp
SRCS+= Plugins/Process/Utility/RegisterContextLinux_mips.cpp
+SRCS+= Plugins/Process/Utility/RegisterContextLinux_mips64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp
SRCS+= Plugins/Process/Utility/RegisterContextMemory.cpp
+SRCS+= Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
+SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp
+SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
SRCS+= Plugins/Process/Utility/RegisterContextThreadMemory.cpp
+SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp
SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
SRCS+= Plugins/Process/Utility/StopInfoMachException.cpp
SRCS+= Plugins/Process/Utility/ThreadMemory.cpp
@@ -523,6 +509,7 @@ SRCS+= Target/Language.cpp
SRCS+= Target/LanguageRuntime.cpp
SRCS+= Target/Memory.cpp
SRCS+= Target/MemoryHistory.cpp
+SRCS+= Target/ModuleCache.cpp
SRCS+= Target/ObjCLanguageRuntime.cpp
SRCS+= Target/OperatingSystem.cpp
SRCS+= Target/PathMappingList.cpp
@@ -534,6 +521,7 @@ SRCS+= Target/Queue.cpp
SRCS+= Target/QueueItem.cpp
SRCS+= Target/QueueList.cpp
SRCS+= Target/RegisterContext.cpp
+SRCS+= Target/RegisterNumber.cpp
SRCS+= Target/SectionLoadHistory.cpp
SRCS+= Target/SectionLoadList.cpp
SRCS+= Target/StackFrame.cpp
@@ -566,21 +554,42 @@ SRCS+= Target/ThreadPlanTracer.cpp
SRCS+= Target/ThreadSpec.cpp
SRCS+= Target/UnixSignals.cpp
SRCS+= Target/UnwindAssembly.cpp
-SRCS+= Utility/ARM_DWARF_Registers.cpp
-SRCS+= Utility/ConvertEnum.cpp
+SRCS+= Utility/Baton.cpp
+SRCS+= Utility/Connection.cpp
+SRCS+= Utility/ConstString.cpp
+SRCS+= Utility/DataBufferHeap.cpp
+SRCS+= Utility/DataBufferLLVM.cpp
+SRCS+= Utility/DataEncoder.cpp
+SRCS+= Utility/DataExtractor.cpp
+SRCS+= Utility/FastDemangle.cpp
+SRCS+= Utility/FileSpec.cpp
+SRCS+= Utility/IOObject.cpp
SRCS+= Utility/JSON.cpp
SRCS+= Utility/LLDBAssert.cpp
-SRCS+= Utility/ModuleCache.cpp
+SRCS+= Utility/Log.cpp
+SRCS+= Utility/Logging.cpp
SRCS+= Utility/NameMatches.cpp
-SRCS+= Utility/PseudoTerminal.cpp
-SRCS+= Utility/RegisterNumber.cpp
+SRCS+= Utility/RegularExpression.cpp
SRCS+= Utility/SelectHelper.cpp
SRCS+= Utility/SharingPtr.cpp
+SRCS+= Utility/Status.cpp
+SRCS+= Utility/Stream.cpp
+SRCS+= Utility/StreamCallback.cpp
+SRCS+= Utility/StreamGDBRemote.cpp
+SRCS+= Utility/StreamString.cpp
SRCS+= Utility/StringExtractor.cpp
SRCS+= Utility/StringExtractorGDBRemote.cpp
SRCS+= Utility/StringLexer.cpp
+SRCS+= Utility/StringList.cpp
+SRCS+= Utility/StructuredData.cpp
SRCS+= Utility/TaskPool.cpp
+SRCS+= Utility/TildeExpressionResolver.cpp
+SRCS+= Utility/Timer.cpp
+SRCS+= Utility/UUID.cpp
SRCS+= Utility/UriParser.cpp
+SRCS+= Utility/UserID.cpp
+SRCS+= Utility/VASprintf.cpp
+SRCS+= Utility/VMRange.cpp
SRCS+= lldb.cpp
.include "../clang.build.mk"
diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
index 1ec73bd..aa1a3f3 100644
--- a/lib/clang/libllvm/Makefile
+++ b/lib/clang/libllvm/Makefile
@@ -67,6 +67,8 @@ SRCS_MIN+= Analysis/MemDerefPrinter.cpp
SRCS_MIN+= Analysis/MemoryBuiltins.cpp
SRCS_MIN+= Analysis/MemoryDependenceAnalysis.cpp
SRCS_MIN+= Analysis/MemoryLocation.cpp
+SRCS_MIN+= Analysis/MemorySSA.cpp
+SRCS_MIN+= Analysis/MemorySSAUpdater.cpp
SRCS_MIN+= Analysis/ModuleDebugInfoPrinter.cpp
SRCS_MIN+= Analysis/ModuleSummaryAnalysis.cpp
SRCS_MIN+= Analysis/ObjCARCAliasAnalysis.cpp
@@ -106,6 +108,8 @@ SRCS_MIN+= Bitcode/Writer/BitWriter.cpp
SRCS_MIN+= Bitcode/Writer/BitcodeWriter.cpp
SRCS_MIN+= Bitcode/Writer/BitcodeWriterPass.cpp
SRCS_MIN+= Bitcode/Writer/ValueEnumerator.cpp
+SRCS_MIN+= BinaryFormat/Dwarf.cpp
+SRCS_MIN+= BinaryFormat/Magic.cpp
SRCS_MIN+= CodeGen/AggressiveAntiDepBreaker.cpp
SRCS_MIN+= CodeGen/AllocationOrder.cpp
SRCS_MIN+= CodeGen/Analysis.cpp
@@ -134,6 +138,7 @@ SRCS_MIN+= CodeGen/AsmPrinter/OcamlGCPrinter.cpp
SRCS_MIN+= CodeGen/AsmPrinter/WinException.cpp
SRCS_MIN+= CodeGen/AtomicExpandPass.cpp
SRCS_MIN+= CodeGen/BasicTargetTransformInfo.cpp
+SRCS_MIN+= CodeGen/BranchCoalescing.cpp
SRCS_MIN+= CodeGen/BranchFolding.cpp
SRCS_MIN+= CodeGen/BranchRelaxation.cpp
SRCS_MIN+= CodeGen/BuiltinGCs.cpp
@@ -152,13 +157,28 @@ SRCS_MIN+= CodeGen/EdgeBundles.cpp
SRCS_MIN+= CodeGen/ExecutionDepsFix.cpp
SRCS_MIN+= CodeGen/ExpandISelPseudos.cpp
SRCS_MIN+= CodeGen/ExpandPostRAPseudos.cpp
+SRCS_MIN+= CodeGen/ExpandReductions.cpp
+SRCS_MIN+= CodeGen/FEntryInserter.cpp
SRCS_MIN+= CodeGen/FaultMaps.cpp
SRCS_MIN+= CodeGen/FuncletLayout.cpp
SRCS_MIN+= CodeGen/GCMetadata.cpp
SRCS_MIN+= CodeGen/GCMetadataPrinter.cpp
SRCS_MIN+= CodeGen/GCRootLowering.cpp
SRCS_MIN+= CodeGen/GCStrategy.cpp
+SRCS_MIN+= CodeGen/GlobalISel/CallLowering.cpp
SRCS_MIN+= CodeGen/GlobalISel/GlobalISel.cpp
+SRCS_MIN+= CodeGen/GlobalISel/IRTranslator.cpp
+SRCS_MIN+= CodeGen/GlobalISel/InstructionSelect.cpp
+SRCS_MIN+= CodeGen/GlobalISel/InstructionSelector.cpp
+SRCS_MIN+= CodeGen/GlobalISel/Legalizer.cpp
+SRCS_MIN+= CodeGen/GlobalISel/LegalizerHelper.cpp
+SRCS_MIN+= CodeGen/GlobalISel/LegalizerInfo.cpp
+SRCS_MIN+= CodeGen/GlobalISel/Localizer.cpp
+SRCS_MIN+= CodeGen/GlobalISel/MachineIRBuilder.cpp
+SRCS_MIN+= CodeGen/GlobalISel/RegBankSelect.cpp
+SRCS_MIN+= CodeGen/GlobalISel/RegisterBank.cpp
+SRCS_MIN+= CodeGen/GlobalISel/RegisterBankInfo.cpp
+SRCS_MIN+= CodeGen/GlobalISel/Utils.cpp
SRCS_MIN+= CodeGen/GlobalMerge.cpp
SRCS_MIN+= CodeGen/IfConversion.cpp
SRCS_MIN+= CodeGen/ImplicitNullChecks.cpp
@@ -168,6 +188,7 @@ SRCS_MIN+= CodeGen/InterleavedAccessPass.cpp
SRCS_MIN+= CodeGen/IntrinsicLowering.cpp
SRCS_MIN+= CodeGen/LLVMTargetMachine.cpp
SRCS_MIN+= CodeGen/LatencyPriorityQueue.cpp
+SRCS_MIN+= CodeGen/LazyMachineBlockFrequencyInfo.cpp
SRCS_MIN+= CodeGen/LexicalScopes.cpp
SRCS_MIN+= CodeGen/LiveDebugValues.cpp
SRCS_MIN+= CodeGen/LiveDebugVariables.cpp
@@ -177,7 +198,9 @@ SRCS_MIN+= CodeGen/LiveIntervalUnion.cpp
SRCS_MIN+= CodeGen/LivePhysRegs.cpp
SRCS_MIN+= CodeGen/LiveRangeCalc.cpp
SRCS_MIN+= CodeGen/LiveRangeEdit.cpp
+SRCS_MIN+= CodeGen/LiveRangeShrink.cpp
SRCS_MIN+= CodeGen/LiveRegMatrix.cpp
+SRCS_MIN+= CodeGen/LiveRegUnits.cpp
SRCS_MIN+= CodeGen/LiveStackAnalysis.cpp
SRCS_MIN+= CodeGen/LiveVariables.cpp
SRCS_MIN+= CodeGen/LocalStackSlotAllocation.cpp
@@ -197,6 +220,7 @@ SRCS_MIN+= CodeGen/MachineCombiner.cpp
SRCS_MIN+= CodeGen/MachineCopyPropagation.cpp
SRCS_MIN+= CodeGen/MachineDominanceFrontier.cpp
SRCS_MIN+= CodeGen/MachineDominators.cpp
+SRCS_MIN+= CodeGen/MachineFrameInfo.cpp
SRCS_MIN+= CodeGen/MachineFunction.cpp
SRCS_MIN+= CodeGen/MachineFunctionPass.cpp
SRCS_MIN+= CodeGen/MachineFunctionPrinterPass.cpp
@@ -206,6 +230,8 @@ SRCS_MIN+= CodeGen/MachineLICM.cpp
SRCS_MIN+= CodeGen/MachineLoopInfo.cpp
SRCS_MIN+= CodeGen/MachineModuleInfo.cpp
SRCS_MIN+= CodeGen/MachineModuleInfoImpls.cpp
+SRCS_MIN+= CodeGen/MachineOptimizationRemarkEmitter.cpp
+SRCS_MIN+= CodeGen/MachineOutliner.cpp
SRCS_MIN+= CodeGen/MachinePassRegistry.cpp
SRCS_MIN+= CodeGen/MachinePipeliner.cpp
SRCS_MIN+= CodeGen/MachinePostDominators.cpp
@@ -216,6 +242,7 @@ SRCS_MIN+= CodeGen/MachineScheduler.cpp
SRCS_MIN+= CodeGen/MachineSink.cpp
SRCS_MIN+= CodeGen/MachineTraceMetrics.cpp
SRCS_MIN+= CodeGen/MachineVerifier.cpp
+SRCS_MIN+= CodeGen/MacroFusion.cpp
SRCS_MIN+= CodeGen/OptimizePHIs.cpp
SRCS_MIN+= CodeGen/PHIElimination.cpp
SRCS_MIN+= CodeGen/PHIEliminationUtils.cpp
@@ -245,6 +272,7 @@ SRCS_MIN+= CodeGen/ResetMachineFunctionPass.cpp
SRCS_MIN+= CodeGen/SafeStack.cpp
SRCS_MIN+= CodeGen/SafeStackColoring.cpp
SRCS_MIN+= CodeGen/SafeStackLayout.cpp
+SRCS_MIN+= CodeGen/ScalarizeMaskedMemIntrin.cpp
SRCS_MIN+= CodeGen/ScheduleDAG.cpp
SRCS_MIN+= CodeGen/ScheduleDAGInstrs.cpp
SRCS_MIN+= CodeGen/ScheduleDAGPrinter.cpp
@@ -261,6 +289,7 @@ SRCS_MIN+= CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
SRCS_MIN+= CodeGen/SelectionDAG/LegalizeVectorOps.cpp
SRCS_MIN+= CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
SRCS_MIN+= CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
+SRCS_MIN+= CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
SRCS_MIN+= CodeGen/SelectionDAG/ScheduleDAGFast.cpp
SRCS_MIN+= CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
SRCS_MIN+= CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
@@ -301,28 +330,43 @@ SRCS_MIN+= CodeGen/VirtRegMap.cpp
SRCS_MIN+= CodeGen/WinEHPrepare.cpp
SRCS_MIN+= CodeGen/XRayInstrumentation.cpp
SRCS_MIN+= DebugInfo/CodeView/CVSymbolVisitor.cpp
-SRCS_MIN+= DebugInfo/CodeView/CVTypeDumper.cpp
SRCS_MIN+= DebugInfo/CodeView/CVTypeVisitor.cpp
SRCS_MIN+= DebugInfo/CodeView/CodeViewError.cpp
SRCS_MIN+= DebugInfo/CodeView/CodeViewRecordIO.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugChecksumsSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugCrossExSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugCrossImpSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugFrameDataSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugLinesSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugStringTableSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugSubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugSubsectionRecord.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugSubsectionVisitor.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugSymbolRVASubsection.cpp
+SRCS_EXT+= DebugInfo/CodeView/DebugSymbolsSubsection.cpp
SRCS_EXT+= DebugInfo/CodeView/EnumTables.cpp
+SRCS_MIN+= DebugInfo/CodeView/Formatters.cpp
+SRCS_EXT+= DebugInfo/CodeView/LazyRandomTypeCollection.cpp
SRCS_MIN+= DebugInfo/CodeView/Line.cpp
-SRCS_MIN+= DebugInfo/CodeView/ModuleSubstream.cpp
-SRCS_MIN+= DebugInfo/CodeView/ModuleSubstreamVisitor.cpp
SRCS_MIN+= DebugInfo/CodeView/RecordSerialization.cpp
+SRCS_EXT+= DebugInfo/CodeView/StringsAndChecksums.cpp
SRCS_MIN+= DebugInfo/CodeView/SymbolDumper.cpp
SRCS_MIN+= DebugInfo/CodeView/SymbolRecordMapping.cpp
-SRCS_MIN+= DebugInfo/CodeView/TypeDatabase.cpp
-SRCS_MIN+= DebugInfo/CodeView/TypeDatabaseVisitor.cpp
+SRCS_EXT+= DebugInfo/CodeView/SymbolSerializer.cpp
SRCS_MIN+= DebugInfo/CodeView/TypeDumpVisitor.cpp
-SRCS_MIN+= DebugInfo/CodeView/TypeRecord.cpp
+SRCS_MIN+= DebugInfo/CodeView/TypeIndex.cpp
+SRCS_MIN+= DebugInfo/CodeView/TypeIndexDiscovery.cpp
+SRCS_MIN+= DebugInfo/CodeView/TypeName.cpp
SRCS_MIN+= DebugInfo/CodeView/TypeRecordMapping.cpp
SRCS_MIN+= DebugInfo/CodeView/TypeSerializer.cpp
SRCS_MIN+= DebugInfo/CodeView/TypeStreamMerger.cpp
+SRCS_MIN+= DebugInfo/CodeView/TypeTableCollection.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFAcceleratorTable.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFCompileUnit.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFContext.cpp
+SRCS_MIW+= DebugInfo/DWARF/DWARFDataExtractor.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFDebugAbbrev.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFDebugArangeSet.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFDebugAranges.cpp
@@ -339,15 +383,45 @@ SRCS_MIW+= DebugInfo/DWARF/DWARFGdbIndex.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFTypeUnit.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFUnit.cpp
SRCS_MIW+= DebugInfo/DWARF/DWARFUnitIndex.cpp
+SRCS_MIW+= DebugInfo/DWARF/DWARFVerifier.cpp
SRCS_MIW+= DebugInfo/DWARF/SyntaxHighlighting.cpp
SRCS_MIN+= DebugInfo/MSF/MSFBuilder.cpp
SRCS_MIN+= DebugInfo/MSF/MSFCommon.cpp
SRCS_MIN+= DebugInfo/MSF/MSFError.cpp
SRCS_MIN+= DebugInfo/MSF/MappedBlockStream.cpp
-SRCS_MIN+= DebugInfo/MSF/StreamReader.cpp
-SRCS_MIN+= DebugInfo/MSF/StreamWriter.cpp
SRCS_EXT+= DebugInfo/PDB/GenericError.cpp
SRCS_EXT+= DebugInfo/PDB/IPDBSourceFile.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/DbiModuleList.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/DbiStream.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/DbiStreamBuilder.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/EnumTables.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/GSI.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/GlobalsStream.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/Hash.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/HashTable.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/InfoStream.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/InfoStreamBuilder.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/ModuleDebugStream.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/NamedStreamMap.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/NativeBuiltinSymbol.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumModules.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/NativeExeSymbol.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/NativeRawSymbol.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/NativeSession.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/PDBFile.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/PDBFileBuilder.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/PDBStringTable.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/PublicsStream.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/PublicsStreamBuilder.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/RawError.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/SymbolStream.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/TpiHashing.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/TpiStream.cpp
+SRCS_EXT+= DebugInfo/PDB/Native/TpiStreamBuilder.cpp
SRCS_EXT+= DebugInfo/PDB/PDB.cpp
SRCS_EXT+= DebugInfo/PDB/PDBContext.cpp
SRCS_EXT+= DebugInfo/PDB/PDBExtras.cpp
@@ -385,28 +459,7 @@ SRCS_EXT+= DebugInfo/PDB/PDBSymbolTypeVTable.cpp
SRCS_EXT+= DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp
SRCS_EXT+= DebugInfo/PDB/PDBSymbolUnknown.cpp
SRCS_EXT+= DebugInfo/PDB/PDBSymbolUsingNamespace.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/DbiStream.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/DbiStreamBuilder.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/EnumTables.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/GSI.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/GlobalsStream.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/Hash.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/InfoStream.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/InfoStreamBuilder.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/ModInfo.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/ModStream.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/NameHashTable.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/NameMap.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/NameMapBuilder.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/PDBFile.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/PDBFileBuilder.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/PublicsStream.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/RawError.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/RawSession.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/SymbolStream.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/TpiHashing.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/TpiStream.cpp
-SRCS_EXT+= DebugInfo/PDB/Raw/TpiStreamBuilder.cpp
+SRCS_EXT+= DebugInfo/PDB/UDTLayout.cpp
SRCS_EXT+= DebugInfo/Symbolize/DIPrinter.cpp
SRCS_MIW+= DebugInfo/Symbolize/SymbolizableObjectFile.cpp
SRCS_MIW+= DebugInfo/Symbolize/Symbolize.cpp
@@ -425,6 +478,7 @@ SRCS_EXT+= ExecutionEngine/Orc/OrcABISupport.cpp
SRCS_EXT+= ExecutionEngine/Orc/OrcCBindings.cpp
SRCS_EXT+= ExecutionEngine/Orc/OrcError.cpp
SRCS_EXT+= ExecutionEngine/Orc/OrcMCJITReplacement.cpp
+SRCS_EXT+= ExecutionEngine/Orc/RPCUtils.cpp
SRCS_XDB+= ExecutionEngine/RuntimeDyld/JITSymbol.cpp
SRCS_XDB+= ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
SRCS_XDB+= ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -476,6 +530,7 @@ SRCS_MIN+= IR/Pass.cpp
SRCS_MIN+= IR/PassManager.cpp
SRCS_MIN+= IR/PassRegistry.cpp
SRCS_MIN+= IR/ProfileSummary.cpp
+SRCS_MIN+= IR/SafepointIRVerifier.cpp
SRCS_MIN+= IR/Statepoint.cpp
SRCS_MIN+= IR/Type.cpp
SRCS_MIN+= IR/TypeFinder.cpp
@@ -487,13 +542,12 @@ SRCS_MIN+= IR/ValueTypes.cpp
SRCS_MIN+= IR/Verifier.cpp
SRCS_MIN+= IRReader/IRReader.cpp
SRCS_EXL+= LTO/Caching.cpp
-SRCS_EXL+= LTO/LTO.cpp
+SRCS_MIN+= LTO/LTO.cpp
SRCS_MIN+= LTO/LTOBackend.cpp
SRCS_EXL+= LTO/LTOCodeGenerator.cpp
SRCS_EXL+= LTO/LTOModule.cpp
SRCS_EXL+= LTO/ThinLTOCodeGenerator.cpp
SRCS_MIN+= LTO/UpdateCompilerUsed.cpp
-SRCS_EXL+= LibDriver/LibDriver.cpp
SRCS_MIN+= LineEditor/LineEditor.cpp
SRCS_MIN+= Linker/IRMover.cpp
SRCS_MIN+= Linker/LinkModules.cpp
@@ -545,31 +599,35 @@ SRCS_MIN+= MC/MCSection.cpp
SRCS_MIN+= MC/MCSectionCOFF.cpp
SRCS_MIN+= MC/MCSectionELF.cpp
SRCS_MIN+= MC/MCSectionMachO.cpp
+SRCS_MIN+= MC/MCSectionWasm.cpp
SRCS_MIN+= MC/MCStreamer.cpp
SRCS_MIN+= MC/MCSubtargetInfo.cpp
SRCS_MIN+= MC/MCSymbol.cpp
SRCS_MIN+= MC/MCSymbolELF.cpp
SRCS_MIN+= MC/MCTargetOptions.cpp
SRCS_MIN+= MC/MCValue.cpp
+SRCS_MIN+= MC/MCWasmStreamer.cpp
SRCS_MIN+= MC/MCWin64EH.cpp
+SRCS_MIN+= MC/MCWinCOFFStreamer.cpp
SRCS_MIN+= MC/MCWinEH.cpp
SRCS_MIN+= MC/MachObjectWriter.cpp
SRCS_MIN+= MC/StringTableBuilder.cpp
SRCS_MIN+= MC/SubtargetFeature.cpp
SRCS_MIN+= MC/WinCOFFObjectWriter.cpp
-SRCS_MIN+= MC/WinCOFFStreamer.cpp
SRCS_MIN+= Object/Archive.cpp
SRCS_MIN+= Object/ArchiveWriter.cpp
SRCS_MIN+= Object/Binary.cpp
+SRCS_EXT+= Object/COFFImportFile.cpp
+SRCS_EXT+= Object/COFFModuleDefinition.cpp
SRCS_MIN+= Object/COFFObjectFile.cpp
SRCS_MIN+= Object/Decompressor.cpp
SRCS_MIN+= Object/ELF.cpp
SRCS_MIN+= Object/ELFObjectFile.cpp
SRCS_MIN+= Object/Error.cpp
SRCS_MIN+= Object/IRObjectFile.cpp
+SRCS_MIN+= Object/IRSymtab.cpp
SRCS_MIN+= Object/MachOObjectFile.cpp
SRCS_MIN+= Object/MachOUniversal.cpp
-SRCS_MIN+= Object/ModuleSummaryIndexObjectFile.cpp
SRCS_MIN+= Object/ModuleSymbolTable.cpp
SRCS_EXT+= Object/Object.cpp
SRCS_MIN+= Object/ObjectFile.cpp
@@ -577,10 +635,15 @@ SRCS_MIN+= Object/RecordStreamer.cpp
SRCS_MIW+= Object/SymbolSize.cpp
SRCS_MIN+= Object/SymbolicFile.cpp
SRCS_MIN+= Object/WasmObjectFile.cpp
+SRCS_MIW+= Object/WindowsResource.cpp
SRCS_MIN+= ObjectYAML/COFFYAML.cpp
+SRCS_EXT+= ObjectYAML/CodeViewYAMLDebugSections.cpp
+SRCS_EXT+= ObjectYAML/CodeViewYAMLSymbols.cpp
+SRCS_EXT+= ObjectYAML/CodeViewYAMLTypes.cpp
SRCS_MIN+= ObjectYAML/DWARFYAML.cpp
SRCS_MIN+= ObjectYAML/ELFYAML.cpp
SRCS_MIN+= ObjectYAML/MachOYAML.cpp
+SRCS_EXT+= ObjectYAML/YAML.cpp
SRCS_MIN+= Option/Arg.cpp
SRCS_MIN+= Option/ArgList.cpp
SRCS_MIN+= Option/OptTable.cpp
@@ -599,9 +662,14 @@ SRCS_EXT+= ProfileData/SampleProfWriter.cpp
SRCS_MIN+= Support/APFloat.cpp
SRCS_MIN+= Support/APInt.cpp
SRCS_MIN+= Support/APSInt.cpp
+SRCS_MIN+= Support/ARMAttributeParser.cpp
SRCS_MIN+= Support/ARMBuildAttrs.cpp
SRCS_MIN+= Support/Allocator.cpp
SRCS_MIN+= Support/Atomic.cpp
+SRCS_MIN+= Support/BinaryStreamError.cpp
+SRCS_MIN+= Support/BinaryStreamReader.cpp
+SRCS_MIN+= Support/BinaryStreamRef.cpp
+SRCS_MIN+= Support/BinaryStreamWriter.cpp
SRCS_MIN+= Support/BlockFrequency.cpp
SRCS_MIN+= Support/BranchProbability.cpp
SRCS_EXT+= Support/COM.cpp
@@ -615,8 +683,8 @@ SRCS_MIN+= Support/CrashRecoveryContext.cpp
SRCS_MIN+= Support/DAGDeltaAlgorithm.cpp
SRCS_MIN+= Support/DataExtractor.cpp
SRCS_MIN+= Support/Debug.cpp
+SRCS_MIN+= Support/DebugCounter.cpp
SRCS_MIN+= Support/DeltaAlgorithm.cpp
-SRCS_MIN+= Support/Dwarf.cpp
SRCS_MIN+= Support/DynamicLibrary.cpp
SRCS_MIN+= Support/Errno.cpp
SRCS_MIN+= Support/Error.cpp
@@ -637,6 +705,7 @@ SRCS_MIN+= Support/LEB128.cpp
SRCS_MIN+= Support/LineIterator.cpp
SRCS_MIN+= Support/Locale.cpp
SRCS_MIN+= Support/LockFileManager.cpp
+SRCS_MIN+= Support/LowLevelType.cpp
SRCS_MIN+= Support/MD5.cpp
SRCS_MIN+= Support/ManagedStatic.cpp
SRCS_MIN+= Support/MathExtras.cpp
@@ -645,6 +714,7 @@ SRCS_MIN+= Support/MemoryBuffer.cpp
SRCS_MIN+= Support/Mutex.cpp
SRCS_MIN+= Support/NativeFormatting.cpp
SRCS_MIN+= Support/Options.cpp
+SRCS_LLD+= Support/Parallel.cpp
SRCS_MIN+= Support/Path.cpp
SRCS_MIN+= Support/PluginLoader.cpp
SRCS_MIN+= Support/PrettyStackTrace.cpp
@@ -656,7 +726,6 @@ SRCS_MIN+= Support/Regex.cpp
SRCS_MIN+= Support/SHA1.cpp
SRCS_MIN+= Support/ScaledNumber.cpp
SRCS_MIN+= Support/ScopedPrinter.cpp
-SRCS_MIN+= Support/SearchForAddressOfSpecialSymbol.cpp
SRCS_MIN+= Support/Signals.cpp
SRCS_MIN+= Support/SmallPtrSet.cpp
SRCS_MIN+= Support/SmallVector.cpp
@@ -702,25 +771,31 @@ SRCS_MIN+= TableGen/TGParser.cpp
SRCS_MIN+= TableGen/TableGenBackend.cpp
SRCS_MIN+= Target/AArch64/AArch64A53Fix835769.cpp
SRCS_MIN+= Target/AArch64/AArch64A57FPLoadBalancing.cpp
-SRCS_MIN+= Target/AArch64/AArch64AddressTypePromotion.cpp
SRCS_MIN+= Target/AArch64/AArch64AdvSIMDScalarPass.cpp
SRCS_MIN+= Target/AArch64/AArch64AsmPrinter.cpp
+SRCS_MIN+= Target/AArch64/AArch64CallLowering.cpp
SRCS_MIN+= Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
SRCS_MIN+= Target/AArch64/AArch64CollectLOH.cpp
+SRCS_MIN+= Target/AArch64/AArch64CondBrTuning.cpp
SRCS_MIN+= Target/AArch64/AArch64ConditionOptimizer.cpp
SRCS_MIN+= Target/AArch64/AArch64ConditionalCompares.cpp
SRCS_MIN+= Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
SRCS_MIN+= Target/AArch64/AArch64ExpandPseudoInsts.cpp
+SRCS_MIN+= Target/AArch64/AArch64FalkorHWPFFix.cpp
SRCS_MIN+= Target/AArch64/AArch64FastISel.cpp
SRCS_MIN+= Target/AArch64/AArch64FrameLowering.cpp
SRCS_MIN+= Target/AArch64/AArch64ISelDAGToDAG.cpp
SRCS_MIN+= Target/AArch64/AArch64ISelLowering.cpp
SRCS_MIN+= Target/AArch64/AArch64InstrInfo.cpp
+SRCS_MIN+= Target/AArch64/AArch64InstructionSelector.cpp
+SRCS_MIN+= Target/AArch64/AArch64LegalizerInfo.cpp
SRCS_MIN+= Target/AArch64/AArch64LoadStoreOptimizer.cpp
SRCS_MIN+= Target/AArch64/AArch64MCInstLower.cpp
+SRCS_MIN+= Target/AArch64/AArch64MacroFusion.cpp
SRCS_MIN+= Target/AArch64/AArch64PBQPRegAlloc.cpp
SRCS_MIN+= Target/AArch64/AArch64PromoteConstant.cpp
SRCS_MIN+= Target/AArch64/AArch64RedundantCopyElimination.cpp
+SRCS_MIN+= Target/AArch64/AArch64RegisterBankInfo.cpp
SRCS_MIN+= Target/AArch64/AArch64RegisterInfo.cpp
SRCS_MIN+= Target/AArch64/AArch64SelectionDAGInfo.cpp
SRCS_MIN+= Target/AArch64/AArch64StorePairSuppress.cpp
@@ -742,12 +817,15 @@ SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
+SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
+SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
SRCS_MIN+= Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
SRCS_MIN+= Target/AArch64/Utils/AArch64BaseInfo.cpp
SRCS_MIN+= Target/ARM/A15SDOptimizer.cpp
SRCS_MIN+= Target/ARM/ARMAsmPrinter.cpp
SRCS_MIN+= Target/ARM/ARMBaseInstrInfo.cpp
SRCS_MIN+= Target/ARM/ARMBaseRegisterInfo.cpp
+SRCS_MIN+= Target/ARM/ARMCallLowering.cpp
SRCS_MIN+= Target/ARM/ARMComputeBlockSize.cpp
SRCS_MIN+= Target/ARM/ARMConstantIslandPass.cpp
SRCS_MIN+= Target/ARM/ARMConstantPoolValue.cpp
@@ -758,10 +836,14 @@ SRCS_MIN+= Target/ARM/ARMHazardRecognizer.cpp
SRCS_MIN+= Target/ARM/ARMISelDAGToDAG.cpp
SRCS_MIN+= Target/ARM/ARMISelLowering.cpp
SRCS_MIN+= Target/ARM/ARMInstrInfo.cpp
+SRCS_MIN+= Target/ARM/ARMInstructionSelector.cpp
+SRCS_MIN+= Target/ARM/ARMLegalizerInfo.cpp
SRCS_MIN+= Target/ARM/ARMLoadStoreOptimizer.cpp
SRCS_MIN+= Target/ARM/ARMMCInstLower.cpp
SRCS_MIN+= Target/ARM/ARMMachineFunctionInfo.cpp
+SRCS_MIN+= Target/ARM/ARMMacroFusion.cpp
SRCS_MIN+= Target/ARM/ARMOptimizeBarriersPass.cpp
+SRCS_MIN+= Target/ARM/ARMRegisterBankInfo.cpp
SRCS_MIN+= Target/ARM/ARMRegisterInfo.cpp
SRCS_MIN+= Target/ARM/ARMSelectionDAGInfo.cpp
SRCS_MIN+= Target/ARM/ARMSubtarget.cpp
@@ -807,6 +889,7 @@ SRCS_MIN+= Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
SRCS_MIN+= Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
SRCS_MIN+= Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
SRCS_MIN+= Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
+SRCS_MIN+= Target/Mips/MicroMipsSizeReduction.cpp
SRCS_MIN+= Target/Mips/Mips16FrameLowering.cpp
SRCS_MIN+= Target/Mips/Mips16HardFloat.cpp
SRCS_MIN+= Target/Mips/Mips16HardFloatInfo.cpp
@@ -858,6 +941,7 @@ SRCS_MIN+= Target/PowerPC/PPCBranchSelector.cpp
SRCS_MIN+= Target/PowerPC/PPCCCState.cpp
SRCS_MIN+= Target/PowerPC/PPCCTRLoops.cpp
SRCS_MIN+= Target/PowerPC/PPCEarlyReturn.cpp
+SRCS_MIN+= Target/PowerPC/PPCExpandISEL.cpp
SRCS_MIN+= Target/PowerPC/PPCFastISel.cpp
SRCS_MIN+= Target/PowerPC/PPCFrameLowering.cpp
SRCS_MIN+= Target/PowerPC/PPCHazardRecognizers.cpp
@@ -928,7 +1012,9 @@ SRCS_MIN+= Target/X86/TargetInfo/X86TargetInfo.cpp
SRCS_MIN+= Target/X86/Utils/X86ShuffleDecode.cpp
SRCS_MIN+= Target/X86/X86AsmPrinter.cpp
SRCS_MIN+= Target/X86/X86CallFrameOptimization.cpp
+SRCS_MIN+= Target/X86/X86CallLowering.cpp
SRCS_MIN+= Target/X86/X86CallingConv.cpp
+SRCS_MIN+= Target/X86/X86CmovConversion.cpp
SRCS_MIN+= Target/X86/X86EvexToVex.cpp
SRCS_MIN+= Target/X86/X86ExpandPseudo.cpp
SRCS_MIN+= Target/X86/X86FastISel.cpp
@@ -941,11 +1027,15 @@ SRCS_MIN+= Target/X86/X86ISelDAGToDAG.cpp
SRCS_MIN+= Target/X86/X86ISelLowering.cpp
SRCS_MIN+= Target/X86/X86InstrFMA3Info.cpp
SRCS_MIN+= Target/X86/X86InstrInfo.cpp
+SRCS_MIN+= Target/X86/X86InstructionSelector.cpp
SRCS_MIN+= Target/X86/X86InterleavedAccess.cpp
+SRCS_MIN+= Target/X86/X86LegalizerInfo.cpp
SRCS_MIN+= Target/X86/X86MCInstLower.cpp
SRCS_MIN+= Target/X86/X86MachineFunctionInfo.cpp
+SRCS_MIN+= Target/X86/X86MacroFusion.cpp
SRCS_MIN+= Target/X86/X86OptimizeLEAs.cpp
SRCS_MIN+= Target/X86/X86PadShortFunction.cpp
+SRCS_MIN+= Target/X86/X86RegisterBankInfo.cpp
SRCS_MIN+= Target/X86/X86RegisterInfo.cpp
SRCS_MIN+= Target/X86/X86SelectionDAGInfo.cpp
SRCS_MIN+= Target/X86/X86ShuffleDecodeConstantPool.cpp
@@ -956,6 +1046,8 @@ SRCS_MIN+= Target/X86/X86TargetTransformInfo.cpp
SRCS_MIN+= Target/X86/X86VZeroUpper.cpp
SRCS_MIN+= Target/X86/X86WinAllocaExpander.cpp
SRCS_MIN+= Target/X86/X86WinEHState.cpp
+SRCS_EXT+= ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
+SRCS_EXL+= ToolDrivers/llvm-lib/LibDriver.cpp
SRCS_MIN+= Transforms/Coroutines/CoroCleanup.cpp
SRCS_MIN+= Transforms/Coroutines/CoroEarly.cpp
SRCS_MIN+= Transforms/Coroutines/CoroElide.cpp
@@ -1016,6 +1108,7 @@ SRCS_MIN+= Transforms/Instrumentation/InstrProfiling.cpp
SRCS_MIN+= Transforms/Instrumentation/Instrumentation.cpp
SRCS_MIN+= Transforms/Instrumentation/MemorySanitizer.cpp
SRCS_MIN+= Transforms/Instrumentation/PGOInstrumentation.cpp
+SRCS_MIN+= Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
SRCS_MIN+= Transforms/Instrumentation/SanitizerCoverage.cpp
SRCS_MIN+= Transforms/Instrumentation/ThreadSanitizer.cpp
SRCS_MIN+= Transforms/ObjCARC/DependencyAnalysis.cpp
@@ -1040,13 +1133,14 @@ SRCS_MIN+= Transforms/Scalar/FlattenCFGPass.cpp
SRCS_MIN+= Transforms/Scalar/Float2Int.cpp
SRCS_MIN+= Transforms/Scalar/GVN.cpp
SRCS_MIN+= Transforms/Scalar/GVNHoist.cpp
+SRCS_MIN+= Transforms/Scalar/GVNSink.cpp
SRCS_MIN+= Transforms/Scalar/GuardWidening.cpp
SRCS_MIN+= Transforms/Scalar/IVUsersPrinter.cpp
SRCS_MIN+= Transforms/Scalar/IndVarSimplify.cpp
SRCS_MIN+= Transforms/Scalar/InductiveRangeCheckElimination.cpp
+SRCS_EXT+= Transforms/Scalar/InferAddressSpaces.cpp
SRCS_MIN+= Transforms/Scalar/JumpThreading.cpp
SRCS_MIN+= Transforms/Scalar/LICM.cpp
-SRCS_MIN+= Transforms/Scalar/LoadCombine.cpp
SRCS_MIN+= Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
SRCS_MIN+= Transforms/Scalar/LoopDataPrefetch.cpp
SRCS_MIN+= Transforms/Scalar/LoopDeletion.cpp
@@ -1056,6 +1150,7 @@ SRCS_MIN+= Transforms/Scalar/LoopInstSimplify.cpp
SRCS_MIN+= Transforms/Scalar/LoopInterchange.cpp
SRCS_MIN+= Transforms/Scalar/LoopLoadElimination.cpp
SRCS_MIN+= Transforms/Scalar/LoopPassManager.cpp
+SRCS_MIN+= Transforms/Scalar/LoopPredication.cpp
SRCS_MIN+= Transforms/Scalar/LoopRerollPass.cpp
SRCS_MIN+= Transforms/Scalar/LoopRotation.cpp
SRCS_MIN+= Transforms/Scalar/LoopSimplifyCFG.cpp
@@ -1081,6 +1176,7 @@ SRCS_MIN+= Transforms/Scalar/SROA.cpp
SRCS_EXT+= Transforms/Scalar/Scalar.cpp
SRCS_MIN+= Transforms/Scalar/Scalarizer.cpp
SRCS_MIN+= Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
+SRCS_MIN+= Transforms/Scalar/SimpleLoopUnswitch.cpp
SRCS_MIN+= Transforms/Scalar/SimplifyCFGPass.cpp
SRCS_MIN+= Transforms/Scalar/Sink.cpp
SRCS_MIN+= Transforms/Scalar/SpeculativeExecution.cpp
@@ -1121,10 +1217,11 @@ SRCS_MIN+= Transforms/Utils/LoopVersioning.cpp
SRCS_MIN+= Transforms/Utils/LowerInvoke.cpp
SRCS_MIN+= Transforms/Utils/LowerSwitch.cpp
SRCS_MIN+= Transforms/Utils/Mem2Reg.cpp
-SRCS_MIN+= Transforms/Utils/MemorySSA.cpp
SRCS_MIN+= Transforms/Utils/MetaRenamer.cpp
SRCS_MIN+= Transforms/Utils/ModuleUtils.cpp
SRCS_MIN+= Transforms/Utils/NameAnonGlobals.cpp
+SRCS_MIN+= Transforms/Utils/OrderedInstructions.cpp
+SRCS_MIN+= Transforms/Utils/PredicateInfo.cpp
SRCS_MIN+= Transforms/Utils/PromoteMemoryToRegister.cpp
SRCS_MIN+= Transforms/Utils/SSAUpdater.cpp
SRCS_MIN+= Transforms/Utils/SanitizerStats.cpp
@@ -1138,12 +1235,13 @@ SRCS_MIN+= Transforms/Utils/StripNonLineTableDebugInfo.cpp
SRCS_MIN+= Transforms/Utils/SymbolRewriter.cpp
SRCS_MIN+= Transforms/Utils/UnifyFunctionExitNodes.cpp
SRCS_EXT+= Transforms/Utils/Utils.cpp
+SRCS_MIN+= Transforms/Utils/VNCoercion.cpp
SRCS_MIN+= Transforms/Utils/ValueMapper.cpp
-SRCS_MIN+= Transforms/Vectorize/BBVectorize.cpp
SRCS_MIN+= Transforms/Vectorize/LoadStoreVectorizer.cpp
SRCS_MIN+= Transforms/Vectorize/LoopVectorize.cpp
SRCS_MIN+= Transforms/Vectorize/SLPVectorizer.cpp
SRCS_EXT+= Transforms/Vectorize/Vectorize.cpp
+SRCS_EXT+= XRay/InstrumentationMap.cpp
SRCS_ALL+= ${SRCS_MIN}
.if !defined(TOOLS_PREFIX) || ${MK_LLD_IS_LD} != "no"
@@ -1174,27 +1272,45 @@ SRCS+= ${SRCS_ALL:O}
llvm/IR/Attributes.gen: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
${LLVM_TBLGEN} -gen-attrs \
- -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
+ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
${LLVM_SRCS}/include/llvm/IR/Attributes.td
TGHDRS+= llvm/IR/Attributes.gen
llvm/IR/Intrinsics.gen: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
${LLVM_TBLGEN} -gen-intrinsic \
- -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
+ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
TGHDRS+= llvm/IR/Intrinsics.gen
AttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
${LLVM_TBLGEN} -gen-attrs \
- -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
+ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
TGHDRS+= AttributesCompatFunc.inc
-Options.inc: ${LLVM_SRCS}/lib/LibDriver/Options.td
+llvm-lib/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
${LLVM_TBLGEN} -gen-opt-parser-defs \
- -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
- ${LLVM_SRCS}/lib/LibDriver/Options.td
-TGHDRS+= Options.inc
+ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
+ ${LLVM_SRCS}/lib/ToolDrivers/llvm-lib/Options.td
+TGHDRS+= llvm-lib/Options.inc
+CFLAGS.LibDriver.cpp+= -I${.OBJDIR}/llvm-lib
+
+llvm-dlltool/Options.inc: ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
+ ${LLVM_TBLGEN} -gen-opt-parser-defs \
+ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
+ ${LLVM_SRCS}/lib/ToolDrivers/llvm-dlltool/Options.td
+TGHDRS+= llvm-dlltool/Options.inc
+CFLAGS.DlltoolDriver.cpp+= -I${.OBJDIR}/llvm-dlltool
+
+beforebuild:
+# 20170724 remove stale Options.inc file, of which there are two different
+# versions after upstream r308421, one for llvm-lib, one for llvm-dlltool
+.for f in Options.inc
+.if exists(${f}) || exists(${f}.d)
+ @echo Removing stale generated ${f} files
+ @rm -f ${f} ${f}.d
+.endif
+.endfor
# Note: some rules are superfluous, not every combination is valid.
.for arch in \
@@ -1207,17 +1323,20 @@ TGHDRS+= Options.inc
CodeEmitter/-gen-emitter \
DAGISel/-gen-dag-isel \
DisassemblerTables/-gen-disassembler \
+ EVEX2VEXTables/-gen-x86-EVEX2VEX-tables \
FastISel/-gen-fast-isel \
+ GlobalISel/-gen-global-isel \
InstrInfo/-gen-instr-info \
MCCodeEmitter/-gen-emitter \
MCPseudoLowering/-gen-pseudo-lowering \
+ RegisterBank/-gen-register-bank \
RegisterInfo/-gen-register-info \
SubtargetInfo/-gen-subtarget \
SystemOperands/-gen-searchable-tables
${arch:T}Gen${hdr:H}.inc: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
-I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
- -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
+ -d ${.TARGET}.d -o ${.TARGET} \
${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
. endfor
.endfor
@@ -1228,9 +1347,11 @@ TGHDRS+= AArch64GenCallingConv.inc
TGHDRS+= AArch64GenDAGISel.inc
TGHDRS+= AArch64GenDisassemblerTables.inc
TGHDRS+= AArch64GenFastISel.inc
+TGHDRS+= AArch64GenGlobalISel.inc
TGHDRS+= AArch64GenInstrInfo.inc
TGHDRS+= AArch64GenMCCodeEmitter.inc
TGHDRS+= AArch64GenMCPseudoLowering.inc
+TGHDRS+= AArch64GenRegisterBank.inc
TGHDRS+= AArch64GenRegisterInfo.inc
TGHDRS+= AArch64GenSubtargetInfo.inc
TGHDRS+= AArch64GenSystemOperands.inc
@@ -1240,9 +1361,11 @@ TGHDRS+= ARMGenCallingConv.inc
TGHDRS+= ARMGenDAGISel.inc
TGHDRS+= ARMGenDisassemblerTables.inc
TGHDRS+= ARMGenFastISel.inc
+TGHDRS+= ARMGenGlobalISel.inc
TGHDRS+= ARMGenInstrInfo.inc
TGHDRS+= ARMGenMCCodeEmitter.inc
TGHDRS+= ARMGenMCPseudoLowering.inc
+TGHDRS+= ARMGenRegisterBank.inc
TGHDRS+= ARMGenRegisterInfo.inc
TGHDRS+= ARMGenSubtargetInfo.inc
TGHDRS+= MipsGenAsmMatcher.inc
@@ -1281,8 +1404,11 @@ TGHDRS+= X86GenAsmWriter1.inc
TGHDRS+= X86GenCallingConv.inc
TGHDRS+= X86GenDAGISel.inc
TGHDRS+= X86GenDisassemblerTables.inc
+TGHDRS+= X86GenEVEX2VEXTables.inc
TGHDRS+= X86GenFastISel.inc
+TGHDRS+= X86GenGlobalISel.inc
TGHDRS+= X86GenInstrInfo.inc
+TGHDRS+= X86GenRegisterBank.inc
TGHDRS+= X86GenRegisterInfo.inc
TGHDRS+= X86GenSubtargetInfo.inc
diff --git a/lib/clang/libllvmminimal/Makefile b/lib/clang/libllvmminimal/Makefile
index fc16034..804d856 100644
--- a/lib/clang/libllvmminimal/Makefile
+++ b/lib/clang/libllvmminimal/Makefile
@@ -6,6 +6,7 @@ LIB= llvmminimal
INTERNALLIB=
SRCDIR= lib
+SRCS+= Support/APFloat.cpp
SRCS+= Support/APInt.cpp
SRCS+= Support/Atomic.cpp
SRCS+= Support/CommandLine.cpp
@@ -21,6 +22,8 @@ SRCS+= Support/Hashing.cpp
SRCS+= Support/Host.cpp
SRCS+= Support/IntEqClasses.cpp
SRCS+= Support/Locale.cpp
+SRCS+= Support/LowLevelType.cpp
+SRCS+= Support/MD5.cpp
SRCS+= Support/ManagedStatic.cpp
SRCS+= Support/MemoryBuffer.cpp
SRCS+= Support/Mutex.cpp
diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk
index 04a2451..f5838cf 100644
--- a/lib/clang/llvm.build.mk
+++ b/lib/clang/llvm.build.mk
@@ -12,8 +12,7 @@
CFLAGS+= -I${SRCTOP}/lib/clang/include
CFLAGS+= -I${LLVM_SRCS}/include
-CFLAGS+= -DLLVM_ON_UNIX
-CFLAGS+= -DLLVM_ON_FREEBSD
+CFLAGS+= -DLLVM_BUILD_GLOBAL_ISEL
CFLAGS+= -D__STDC_LIMIT_MACROS
CFLAGS+= -D__STDC_CONSTANT_MACROS
CFLAGS+= -DNDEBUG
OpenPOWER on IntegriCloud