diff --git a/etc/mtree/BSD.debug.dist b/etc/mtree/BSD.debug.dist index cc52feca7ac2..fe076893158f 100644 --- a/etc/mtree/BSD.debug.dist +++ b/etc/mtree/BSD.debug.dist @@ -29,7 +29,7 @@ .. lib clang - 3.8.0 + 3.9.0 lib freebsd .. diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index 9fef5deedb9f..481675c7395c 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -19,7 +19,7 @@ aout .. clang - 3.8.0 + 3.9.0 include sanitizer .. diff --git a/lib/clang/Makefile b/lib/clang/Makefile index a42a6daa9994..45ba333a89f4 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -15,19 +15,23 @@ _libclangarcmigrate= \ SUBDIR= libclanganalysis \ ${_libclangarcmigrate} \ libclangast \ + libclangastmatchers \ libclangbasic \ libclangcodegen \ libclangdriver \ + libclangdynamicastmatchers \ libclangedit \ libclangfrontend \ libclangfrontendtool \ + libclangindex \ libclanglex \ libclangparse \ - libclangrewritefrontend \ libclangrewrite \ + libclangrewritefrontend \ libclangsema \ libclangserialization \ ${_libclangstaticanalyzer} \ + libclangtooling \ \ libllvmanalysis \ libllvmasmparser \ @@ -36,16 +40,21 @@ SUBDIR= libclanganalysis \ libllvmbitwriter \ libllvmcodegen \ libllvmcore \ + libllvmcoverage \ + libllvmdebuginfocodeview \ + libllvmglobalisel \ libllvminstcombine \ libllvminstrumentation \ libllvmipo \ libllvmirreader \ + libllvmlineeditor \ libllvmlinker \ libllvmmc \ libllvmmcdisassembler \ libllvmmcparser \ libllvmobjcarcopts \ libllvmobject \ + libllvmobjectyaml \ libllvmoption \ libllvmprofiledata \ libllvmscalaropts \ @@ -60,12 +69,14 @@ SUBDIR= libclanganalysis \ libllvmaarch64asmprinter \ libllvmaarch64codegen \ libllvmaarch64desc \ + libllvmaarch64disassembler \ libllvmaarch64info \ libllvmaarch64utils \ libllvmarmasmparser \ libllvmarmasmprinter \ libllvmarmcodegen \ libllvmarmdesc \ + libllvmarmdisassembler \ libllvmarminfo \ libllvmmipsasmparser \ libllvmmipsasmprinter \ @@ -76,6 +87,7 @@ SUBDIR= libclanganalysis \ libllvmpowerpcasmprinter \ libllvmpowerpccodegen \ libllvmpowerpcdesc \ + libllvmpowerpcdisassembler \ libllvmpowerpcinfo \ libllvmsparcasmparser \ libllvmsparcasmprinter \ @@ -104,12 +116,9 @@ SUBDIR+=libclangformat \ .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" SUBDIR+=libllvmexecutionengine \ - libllvmaarch64disassembler \ - libllvmarmdisassembler \ libllvminterpreter \ libllvmmcjit \ libllvmmipsdisassembler \ - libllvmpowerpcdisassembler \ libllvmruntimedyld \ libllvmsparcdisassembler \ libllvmx86disassembler diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index 325b3272d905..89eec4f0a4fb 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -75,7 +75,8 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td MCCodeEmitter/-gen-emitter \ MCPseudoLowering/-gen-pseudo-lowering \ RegisterInfo/-gen-register-info \ - SubtargetInfo/-gen-subtarget + SubtargetInfo/-gen-subtarget \ + SystemOperands/-gen-searchable-tables ${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${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} \ @@ -239,10 +240,10 @@ Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td ${CLANG_SRCS}/include/clang/Driver/Options.td .endif -Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td +Checkers.inc.h: ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td ${CLANG_TBLGEN} -gen-clang-sa-checkers \ -I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \ - ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td + ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td .for dep in ${TGHDRS:C/$/.inc.d/} . if ${MAKE_VERSION} < 20160220 diff --git a/lib/clang/include/AArch64GenSystemOperands.inc b/lib/clang/include/AArch64GenSystemOperands.inc new file mode 100644 index 000000000000..a43602f34f55 --- /dev/null +++ b/lib/clang/include/AArch64GenSystemOperands.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AArch64GenSystemOperands.inc.h" diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index 1a74e726b3af..5e6d2d733694 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -8,7 +8,7 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm .PATH: ${LLVM_SRCS}/tools/clang/lib/Headers -INCSDIR=${LIBDIR}/clang/3.8.0/include +INCSDIR=${LIBDIR}/clang/3.9.0/include INCS= __clang_cuda_runtime_wrapper.h \ __stddef_max_align_t.h \ diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 94dc282fe8a7..d5e366a11799 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -1,10 +1,10 @@ /* $FreeBSD$ */ -#define CLANG_VERSION 3.8.0 +#define CLANG_VERSION 3.9.0 #define CLANG_VERSION_MAJOR 3 -#define CLANG_VERSION_MINOR 8 +#define CLANG_VERSION_MINOR 9 #define CLANG_VERSION_PATCHLEVEL 0 #define CLANG_VENDOR "FreeBSD " -#define SVN_REVISION "262564" +#define SVN_REVISION "278877" diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h index 76180df98ca2..c4656807d945 100644 --- a/lib/clang/include/clang/Config/config.h +++ b/lib/clang/include/clang/Config/config.h @@ -9,6 +9,9 @@ /* Bug report URL. */ #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/" +/* Default C++ stdlib to use. */ +#define CLANG_DEFAULT_CXX_STDLIB "" + /* Default OpenMP runtime used by -fopenmp. */ #define CLANG_DEFAULT_OPENMP_RUNTIME "libomp" @@ -31,9 +34,15 @@ /* #undef CLANG_HAVE_LIBXML */ /* The LLVM product name and version */ -#define BACKEND_PACKAGE_STRING "LLVM 3.8.0" +#define BACKEND_PACKAGE_STRING "LLVM 3.9.0" /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ +/* pass --build-id to ld */ +/* #undef ENABLE_LINKER_BUILD_ID */ + +/* enable x86 relax relocations by default */ +#define ENABLE_X86_RELAX_RELOCATIONS 0 + #endif diff --git a/lib/clang/include/Checkers.inc b/lib/clang/include/clang/StaticAnalyzer/Checkers/Checkers.inc similarity index 100% rename from lib/clang/include/Checkers.inc rename to lib/clang/include/clang/StaticAnalyzer/Checkers/Checkers.inc diff --git a/lib/clang/include/llvm/Config/AsmParsers.def b/lib/clang/include/llvm/Config/AsmParsers.def index 3be6e385415c..e3744e20890d 100644 --- a/lib/clang/include/llvm/Config/AsmParsers.def +++ b/lib/clang/include/llvm/Config/AsmParsers.def @@ -1,5 +1,9 @@ /* $FreeBSD$ */ +#ifndef LLVM_ASM_PARSER +# error Please define the macro LLVM_ASM_PARSER(TargetName) +#endif + LLVM_ASM_PARSER(AArch64) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def index 9ed021771d62..6b44cb390638 100644 --- a/lib/clang/include/llvm/Config/AsmPrinters.def +++ b/lib/clang/include/llvm/Config/AsmPrinters.def @@ -1,5 +1,9 @@ /* $FreeBSD$ */ +#ifndef LLVM_ASM_PRINTER +# error Please define the macro LLVM_ASM_PRINTER(TargetName) +#endif + LLVM_ASM_PRINTER(AArch64) LLVM_ASM_PRINTER(ARM) LLVM_ASM_PRINTER(Mips) diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def index 44fc7ef54708..4d3a1fc45fa8 100644 --- a/lib/clang/include/llvm/Config/Disassemblers.def +++ b/lib/clang/include/llvm/Config/Disassemblers.def @@ -1,5 +1,9 @@ /* $FreeBSD$ */ +#ifndef LLVM_DISASSEMBLER +# error Please define the macro LLVM_DISASSEMBLER(TargetName) +#endif + LLVM_DISASSEMBLER(AArch64) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def index 96b60d9b5101..8e968179c1ab 100644 --- a/lib/clang/include/llvm/Config/Targets.def +++ b/lib/clang/include/llvm/Config/Targets.def @@ -1,5 +1,9 @@ /* $FreeBSD$ */ +#ifndef LLVM_TARGET +# error Please define the macro LLVM_TARGET(TargetName) +#endif + LLVM_TARGET(AArch64) LLVM_TARGET(ARM) LLVM_TARGET(Mips) diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 014d9d11d975..1861a5c14398 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -1,6 +1,4 @@ /* $FreeBSD$ */ -/* include/llvm/Config/config.h.cmake corresponding to config.h.in. */ - #ifndef CONFIG_H #define CONFIG_H @@ -19,15 +17,9 @@ /* Define to enable crash overrides */ #define ENABLE_CRASH_OVERRIDES -/* Define to disable C++ atexit */ -#define DISABLE_LLVM_DYLIB_ATEXIT - /* Define if position independent code is enabled */ #define ENABLE_PIC -/* Define if timestamp information (e.g., __DATE__) is allowed */ -/* #undef ENABLE_TIMESTAMPS */ - /* Define to 1 if you have the `arc4random' function. */ #define HAVE_DECL_ARC4RANDOM 1 @@ -264,6 +256,9 @@ /* Define if you have the shl_load function. */ #undef HAVE_SHL_LOAD +/* Define to 1 if you have the `sigaltstack' function. */ +#define HAVE_SIGALTSTACK 1 + /* Define to 1 if you have the `siglongjmp' function. */ /* #undef HAVE_SIGLONGJMP */ @@ -327,7 +322,7 @@ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_TYPES_H */ +#define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_UIO_H 1 @@ -335,6 +330,9 @@ /* Define if the setupterm() function is supported this platform. */ #define HAVE_TERMINFO 1 +/* Define if the xar_open() function is supported this platform. */ +/* #undef HAVE_LIBXAR */ + /* Define to 1 if you have the header file. */ #define HAVE_TERMIOS_H 1 @@ -344,6 +342,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 +/* Define to 1 if you have the `_Unwind_Backtrace' function. */ +/* #undef HAVE_UNWIND_BACKTRACE */ + /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 @@ -504,13 +505,16 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 8 +#define LLVM_VERSION_MINOR 9 /* Patch version of the LLVM API */ #define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.8.0" +#define LLVM_VERSION_STRING "3.9.0" + +/* LLVM version information */ +/* #undef LLVM_VERSION_INFO */ /* Define if we link Polly to the tools */ /* #undef LINK_POLLY_INTO_TOOLS */ @@ -542,13 +546,16 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.8.0" +#define PACKAGE_STRING "LLVM 3.9.0" /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.8.0" +#define PACKAGE_VERSION "3.9.0" + +/* Define to the vendor of this package. */ +/* #undef PACKAGE_VENDOR */ /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void @@ -565,9 +572,6 @@ /* Define to 1 if your declares `struct tm'. */ #undef TM_IN_SYS_TIME -/* Type of 1st arg on ELM Callback */ -/* #undef WIN32_ELMCB_PCSTR */ - /* Define to `int' if does not define. */ #undef pid_t diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 5cbb474053d4..060ea2025683 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -95,13 +95,13 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 8 +#define LLVM_VERSION_MINOR 9 /* Patch version of the LLVM API */ #define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.8.0" +#define LLVM_VERSION_STRING "3.9.0" /* Define if we link Polly to the tools */ /* #undef LINK_POLLY_INTO_TOOLS */ diff --git a/lib/clang/libclangastmatchers/Makefile b/lib/clang/libclangastmatchers/Makefile new file mode 100644 index 000000000000..5c2bff5bee5e --- /dev/null +++ b/lib/clang/libclangastmatchers/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +.include + +LIB= clangastmatchers + +SRCDIR= tools/clang/lib/ASTMatchers +SRCS= ASTMatchFinder.cpp \ + ASTMatchersInternal.cpp + +TGHDRS= AttrList \ + Attrs \ + AttrVisitor \ + CommentCommandList \ + DeclNodes \ + DiagnosticCommonKinds \ + StmtNodes + +.include "../clang.lib.mk" diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index cfa2049038df..c6b1d77cd8b3 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -8,6 +8,7 @@ SRCDIR= tools/clang/lib/Basic SRCS= Attributes.cpp \ Builtins.cpp \ CharInfo.cpp \ + Cuda.cpp \ Diagnostic.cpp \ DiagnosticIDs.cpp \ DiagnosticOptions.cpp \ diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile index 6b907a6c801c..1525ccc1eab0 100644 --- a/lib/clang/libclangcodegen/Makefile +++ b/lib/clang/libclangcodegen/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.include +.include LIB= clangcodegen @@ -9,6 +9,7 @@ SRCS= BackendUtil.cpp \ CGAtomic.cpp \ CGBlocks.cpp \ CGBuiltin.cpp \ + CGCUDABuiltin.cpp \ CGCUDANV.cpp \ CGCUDARuntime.cpp \ CGCXX.cpp \ @@ -33,12 +34,12 @@ SRCS= BackendUtil.cpp \ CGObjCRuntime.cpp \ CGOpenCLRuntime.cpp \ CGOpenMPRuntime.cpp \ + CGOpenMPRuntimeNVPTX.cpp \ CGRecordLayoutBuilder.cpp \ CGStmt.cpp \ CGStmtOpenMP.cpp \ CGVTT.cpp \ CGVTables.cpp \ - CodeGenABITypes.cpp \ CodeGenAction.cpp \ CodeGenFunction.cpp \ CodeGenModule.cpp \ @@ -51,8 +52,13 @@ SRCS= BackendUtil.cpp \ ModuleBuilder.cpp \ ObjectFilePCHContainerOperations.cpp \ SanitizerMetadata.cpp \ + SwiftCallingConv.cpp \ TargetInfo.cpp +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= CodeGenABITypes.cpp +.endif + TGHDRS= AttrList \ AttrParsedAttrList \ AttrVisitor \ diff --git a/lib/clang/libclangdynamicastmatchers/Makefile b/lib/clang/libclangdynamicastmatchers/Makefile new file mode 100644 index 000000000000..fedd1149b2fa --- /dev/null +++ b/lib/clang/libclangdynamicastmatchers/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +.include + +LIB= clangdynamicastmatchers + +SRCDIR= tools/clang/lib/ASTMatchers/Dynamic +SRCS= Diagnostics.cpp \ + Registry.cpp + +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= Parser.cpp \ + VariantValue.cpp +.endif + +TGHDRS= AttrList \ + Attrs \ + CommentCommandList \ + DeclNodes \ + DiagnosticCommonKinds \ + StmtNodes + +.include "../clang.lib.mk" diff --git a/lib/clang/libclangformat/Makefile b/lib/clang/libclangformat/Makefile index 6d82a58093b1..eeb11a2fd601 100644 --- a/lib/clang/libclangformat/Makefile +++ b/lib/clang/libclangformat/Makefile @@ -5,11 +5,14 @@ LIB= clangformat SRCDIR= tools/clang/lib/Format - -SRCS= BreakableToken.cpp \ +SRCS= AffectedRangeManager.cpp \ + BreakableToken.cpp \ ContinuationIndenter.cpp \ Format.cpp \ FormatToken.cpp \ + FormatTokenLexer.cpp \ + SortJavaScriptImports.cpp \ + TokenAnalyzer.cpp \ TokenAnnotator.cpp \ UnwrappedLineFormatter.cpp \ UnwrappedLineParser.cpp \ diff --git a/lib/clang/libclangindex/Makefile b/lib/clang/libclangindex/Makefile new file mode 100644 index 000000000000..8f364ba2e074 --- /dev/null +++ b/lib/clang/libclangindex/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +.include + +LIB= clangindex + +SRCDIR= tools/clang/lib/Index +SRCS= CodegenNameGenerator.cpp \ + CommentToXML.cpp \ + IndexBody.cpp \ + IndexDecl.cpp \ + IndexSymbol.cpp \ + IndexTypeSourceInfo.cpp \ + IndexingAction.cpp \ + IndexingContext.cpp \ + USRGeneration.cpp + +TGHDRS= AttrList \ + AttrVisitor \ + Attrs \ + CommentCommandList \ + CommentNodes \ + DeclNodes \ + DiagnosticCommonKinds \ + StmtNodes + +.include "../clang.lib.mk" diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile index c40203998e15..ef69bff07b5b 100644 --- a/lib/clang/libclangstaticanalyzercheckers/Makefile +++ b/lib/clang/libclangstaticanalyzercheckers/Makefile @@ -37,6 +37,9 @@ SRCS= AllocationDiagnostics.cpp \ IvarInvalidationChecker.cpp \ LLVMConventionsChecker.cpp \ LocalizationChecker.cpp \ + MPI-Checker/MPIBugReporter.cpp \ + MPI-Checker/MPIChecker.cpp \ + MPI-Checker/MPIFunctionClassifier.cpp \ MacOSKeychainAPIChecker.cpp \ MacOSXAPIChecker.cpp \ MallocChecker.cpp \ @@ -52,6 +55,7 @@ SRCS= AllocationDiagnostics.cpp \ ObjCContainersChecker.cpp \ ObjCMissingSuperCallChecker.cpp \ ObjCSelfInitChecker.cpp \ + ObjCSuperDeallocChecker.cpp \ ObjCUnusedIVarsChecker.cpp \ PaddingChecker.cpp \ PointerArithChecker.cpp \ diff --git a/lib/clang/libclangtooling/Makefile b/lib/clang/libclangtooling/Makefile new file mode 100644 index 000000000000..ce4f7ebbe6fb --- /dev/null +++ b/lib/clang/libclangtooling/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +.include + +LIB= clangtooling + +SRCDIR= tools/clang/lib/Tooling +SRCS= ArgumentsAdjusters.cpp \ + CommonOptionsParser.cpp \ + CompilationDatabase.cpp \ + FileMatchTrie.cpp \ + JSONCompilationDatabase.cpp \ + Refactoring.cpp \ + RefactoringCallbacks.cpp \ + Tooling.cpp + +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= FixIt.cpp +.endif + +TGHDRS= AttrList \ + Attrs \ + CommentCommandList \ + DeclNodes \ + DiagnosticCommonKinds \ + DiagnosticDriverKinds \ + DiagnosticFrontendKinds \ + StmtNodes + +.include "../clang.lib.mk" diff --git a/lib/clang/libclangtoolingcore/Makefile b/lib/clang/libclangtoolingcore/Makefile index 5f7b5e3b1cc6..b8f9f96c965d 100644 --- a/lib/clang/libclangtoolingcore/Makefile +++ b/lib/clang/libclangtoolingcore/Makefile @@ -7,6 +7,7 @@ LIB= clangtoolingcore SRCDIR= tools/clang/lib/Tooling/Core CFLAGS+= -I${LLVM_SRCS}/tools SRCS= Lookup.cpp \ + QualTypeNames.cpp \ Replacement.cpp TGHDRS= AttrList \ diff --git a/lib/clang/libllvmaarch64asmparser/Makefile b/lib/clang/libllvmaarch64asmparser/Makefile index d93fb9ae2ac5..dfb60c8a2728 100644 --- a/lib/clang/libllvmaarch64asmparser/Makefile +++ b/lib/clang/libllvmaarch64asmparser/Makefile @@ -11,6 +11,7 @@ SRCS= AArch64AsmParser.cpp TGHDRS= AArch64GenAsmMatcher \ AArch64GenInstrInfo \ AArch64GenRegisterInfo \ - AArch64GenSubtargetInfo + AArch64GenSubtargetInfo \ + AArch64GenSystemOperands .include "../clang.lib.mk" diff --git a/lib/clang/libllvmaarch64asmprinter/Makefile b/lib/clang/libllvmaarch64asmprinter/Makefile index 222dd74b7e79..d26b0440f16d 100644 --- a/lib/clang/libllvmaarch64asmprinter/Makefile +++ b/lib/clang/libllvmaarch64asmprinter/Makefile @@ -12,6 +12,7 @@ TGHDRS= AArch64GenAsmWriter \ AArch64GenAsmWriter1 \ AArch64GenInstrInfo \ AArch64GenRegisterInfo \ - AArch64GenSubtargetInfo + AArch64GenSubtargetInfo \ + AArch64GenSystemOperands .include "../clang.lib.mk" diff --git a/lib/clang/libllvmaarch64codegen/Makefile b/lib/clang/libllvmaarch64codegen/Makefile index 50fec61bb966..163cb7d396af 100644 --- a/lib/clang/libllvmaarch64codegen/Makefile +++ b/lib/clang/libllvmaarch64codegen/Makefile @@ -26,6 +26,7 @@ SRCS= AArch64A53Fix835769.cpp \ AArch64MCInstLower.cpp \ AArch64PBQPRegAlloc.cpp \ AArch64PromoteConstant.cpp \ + AArch64RedundantCopyElimination.cpp \ AArch64RegisterInfo.cpp \ AArch64SelectionDAGInfo.cpp \ AArch64StorePairSuppress.cpp \ @@ -41,6 +42,7 @@ TGHDRS= AArch64GenCallingConv \ AArch64GenMCPseudoLowering \ AArch64GenRegisterInfo \ AArch64GenSubtargetInfo \ + AArch64GenSystemOperands \ Attributes \ Intrinsics diff --git a/lib/clang/libllvmaarch64desc/Makefile b/lib/clang/libllvmaarch64desc/Makefile index e757f45227ba..c4e0d78dfa53 100644 --- a/lib/clang/libllvmaarch64desc/Makefile +++ b/lib/clang/libllvmaarch64desc/Makefile @@ -20,6 +20,7 @@ TGHDRS= AArch64GenInstrInfo \ AArch64GenMCCodeEmitter \ AArch64GenRegisterInfo \ AArch64GenSubtargetInfo \ + AArch64GenSystemOperands \ Attributes .include "../clang.lib.mk" diff --git a/lib/clang/libllvmaarch64disassembler/Makefile b/lib/clang/libllvmaarch64disassembler/Makefile index f8d71a940328..813e96a381bb 100644 --- a/lib/clang/libllvmaarch64disassembler/Makefile +++ b/lib/clang/libllvmaarch64disassembler/Makefile @@ -1,19 +1,23 @@ # $FreeBSD$ -.include +.include LIB= llvmaarch64disassembler SRCDIR= lib/Target/AArch64/Disassembler INCDIR= lib/Target/AArch64 -SRCS= AArch64Disassembler.cpp \ - AArch64ExternalSymbolizer.cpp +SRCS= AArch64ExternalSymbolizer.cpp + +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= AArch64Disassembler.cpp +.endif TGHDRS= Attributes \ Intrinsics \ AArch64GenDisassemblerTables \ AArch64GenInstrInfo \ AArch64GenRegisterInfo \ - AArch64GenSubtargetInfo + AArch64GenSubtargetInfo \ + AArch64GenSystemOperands .include "../clang.lib.mk" diff --git a/lib/clang/libllvmaarch64utils/Makefile b/lib/clang/libllvmaarch64utils/Makefile index d9459272e01b..e12e62799631 100644 --- a/lib/clang/libllvmaarch64utils/Makefile +++ b/lib/clang/libllvmaarch64utils/Makefile @@ -10,6 +10,7 @@ SRCS= AArch64BaseInfo.cpp TGHDRS= AArch64GenInstrInfo \ AArch64GenRegisterInfo \ - AArch64GenSubtargetInfo + AArch64GenSubtargetInfo \ + AArch64GenSystemOperands .include "../clang.lib.mk" diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index a05083b6f3a8..70d9d6662fc3 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -7,6 +7,7 @@ LIB= llvmanalysis SRCDIR= lib/Analysis SRCS= AliasAnalysis.cpp \ AliasAnalysisEvaluator.cpp \ + AliasAnalysisSummary.cpp \ AliasSetTracker.cpp \ AssumptionCache.cpp \ BasicAliasAnalysis.cpp \ @@ -15,7 +16,8 @@ SRCS= AliasAnalysis.cpp \ BranchProbabilityInfo.cpp \ CFG.cpp \ CFGPrinter.cpp \ - CFLAliasAnalysis.cpp \ + CFLAndersAliasAnalysis.cpp \ + CFLSteensAliasAnalysis.cpp \ CallGraph.cpp \ CallGraphSCCPass.cpp \ CallPrinter.cpp \ @@ -30,14 +32,17 @@ SRCS= AliasAnalysis.cpp \ DomPrinter.cpp \ DominanceFrontier.cpp \ EHPersonalities.cpp \ + CGSCCPassManager.cpp \ GlobalsModRef.cpp \ IVUsers.cpp \ + IndirectCallPromotionAnalysis.cpp \ InlineCost.cpp \ InstCount.cpp \ InstructionSimplify.cpp \ Interval.cpp \ IntervalPartition.cpp \ IteratedDominanceFrontier.cpp \ + LazyBlockFrequencyInfo.cpp \ LazyCallGraph.cpp \ LazyValueInfo.cpp \ Lint.cpp \ @@ -45,18 +50,23 @@ SRCS= AliasAnalysis.cpp \ LoopAccessAnalysis.cpp \ LoopInfo.cpp \ LoopPass.cpp \ + LoopPassManager.cpp \ + LoopUnrollAnalyzer.cpp \ MemDepPrinter.cpp \ MemDerefPrinter.cpp \ MemoryBuiltins.cpp \ MemoryDependenceAnalysis.cpp \ MemoryLocation.cpp \ ModuleDebugInfoPrinter.cpp \ + ModuleSummaryAnalysis.cpp \ ObjCARCAliasAnalysis.cpp \ ObjCARCAnalysisUtils.cpp \ ObjCARCInstKind.cpp \ + OptimizationDiagnosticInfo.cpp \ OrderedBasicBlock.cpp \ PHITransAddr.cpp \ PostDominators.cpp \ + ProfileSummaryInfo.cpp \ PtrUseVisitor.cpp \ RegionInfo.cpp \ RegionPass.cpp \ @@ -70,12 +80,12 @@ SRCS= AliasAnalysis.cpp \ TargetLibraryInfo.cpp \ TargetTransformInfo.cpp \ TypeBasedAliasAnalysis.cpp \ + TypeMetadataUtils.cpp \ ValueTracking.cpp \ VectorUtils.cpp .if ${MK_CLANG_EXTRAS} != "no" SRCS+= Analysis.cpp \ - CGSCCPassManager.cpp \ Trace.cpp .endif diff --git a/lib/clang/libllvmasmparser/Makefile b/lib/clang/libllvmasmparser/Makefile index 7ee59866ab1a..6602a8819afd 100644 --- a/lib/clang/libllvmasmparser/Makefile +++ b/lib/clang/libllvmasmparser/Makefile @@ -9,6 +9,7 @@ SRCS= LLLexer.cpp \ LLParser.cpp \ Parser.cpp -TGHDRS= Attributes +TGHDRS= Attributes \ + Intrinsics .include "../clang.lib.mk" diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile index eca8cd3a37d1..574720aa4efb 100644 --- a/lib/clang/libllvmasmprinter/Makefile +++ b/lib/clang/libllvmasmprinter/Makefile @@ -10,9 +10,11 @@ SRCS= ARMException.cpp \ AsmPrinter.cpp \ AsmPrinterDwarf.cpp \ AsmPrinterInlineAsm.cpp \ + CodeViewDebug.cpp \ DIE.cpp \ DIEHash.cpp \ DbgValueHistoryCalculator.cpp \ + DebugHandlerBase.cpp \ DebugLocStream.cpp \ DwarfAccelTable.cpp \ DwarfCFIException.cpp \ @@ -25,7 +27,6 @@ SRCS= ARMException.cpp \ EHStreamer.cpp \ ErlangGCPrinter.cpp \ OcamlGCPrinter.cpp \ - WinCodeViewLineTables.cpp \ WinException.cpp TGHDRS= Attributes \ diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index f5c7f4e8c09a..fc0cbfad4729 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -11,18 +11,18 @@ SRCS= AggressiveAntiDepBreaker.cpp \ AtomicExpandPass.cpp \ BasicTargetTransformInfo.cpp \ BranchFolding.cpp \ + BuiltinGCs.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CodeGen.cpp \ CodeGenPrepare.cpp \ - CoreCLRGC.cpp \ CriticalAntiDepBreaker.cpp \ DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ + DetectDeadLanes.cpp \ DwarfEHPrepare.cpp \ EarlyIfConversion.cpp \ EdgeBundles.cpp \ - ErlangGC.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ ExpandPostRAPseudos.cpp \ @@ -52,6 +52,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ LiveStackAnalysis.cpp \ LiveVariables.cpp \ LocalStackSlotAllocation.cpp \ + LowerEmuTLS.cpp \ MIRPrinter.cpp \ MIRPrintingPass.cpp \ MachineBasicBlock.cpp \ @@ -82,14 +83,15 @@ SRCS= AggressiveAntiDepBreaker.cpp \ MachineSink.cpp \ MachineTraceMetrics.cpp \ MachineVerifier.cpp \ - OcamlGC.cpp \ OptimizePHIs.cpp \ PHIElimination.cpp \ PHIEliminationUtils.cpp \ ParallelCG.cpp \ - Passes.cpp \ + PatchableFunction.cpp \ PeepholeOptimizer.cpp \ + PostRAHazardRecognizer.cpp \ PostRASchedulerList.cpp \ + PreISelIntrinsicLowering.cpp \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoSourceValue.cpp \ @@ -98,15 +100,21 @@ SRCS= AggressiveAntiDepBreaker.cpp \ RegAllocFast.cpp \ RegAllocGreedy.cpp \ RegAllocPBQP.cpp \ + RegUsageInfoCollector.cpp \ + RegUsageInfoPropagate.cpp \ RegisterClassInfo.cpp \ RegisterCoalescer.cpp \ RegisterPressure.cpp \ RegisterScavenging.cpp \ + RegisterUsageInfo.cpp \ + RenameIndependentSubregs.cpp \ + SafeStack.cpp \ + SafeStackColoring.cpp \ + SafeStackLayout.cpp \ ScheduleDAG.cpp \ ScheduleDAGInstrs.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ - ShadowStackGC.cpp \ ShadowStackGCLowering.cpp \ ShrinkWrap.cpp \ SjLjEHPrepare.cpp \ @@ -118,19 +126,21 @@ SRCS= AggressiveAntiDepBreaker.cpp \ StackMaps.cpp \ StackProtector.cpp \ StackSlotColoring.cpp \ - StatepointExampleGC.cpp \ TailDuplication.cpp \ + TailDuplicator.cpp \ TargetFrameLoweringImpl.cpp \ TargetInstrInfo.cpp \ TargetLoweringBase.cpp \ TargetLoweringObjectFileImpl.cpp \ TargetOptionsImpl.cpp \ + TargetPassConfig.cpp \ TargetRegisterInfo.cpp \ TargetSchedule.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ VirtRegMap.cpp \ - WinEHPrepare.cpp + WinEHPrepare.cpp \ + XRayInstrumentation.cpp .if ${MK_CLANG_EXTRAS} != "no" SRCS+= GCMetadataPrinter.cpp \ diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index dc9ce47974dc..7dea8fb5239c 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -23,7 +23,6 @@ SRCS= AsmWriter.cpp \ DiagnosticPrinter.cpp \ Dominators.cpp \ Function.cpp \ - FunctionInfo.cpp \ GCOV.cpp \ GVMaterializer.cpp \ Globals.cpp \ @@ -40,9 +39,13 @@ SRCS= AsmWriter.cpp \ Mangler.cpp \ Metadata.cpp \ Module.cpp \ + ModuleSummaryIndex.cpp \ Operator.cpp \ + OptBisect.cpp \ Pass.cpp \ + PassManager.cpp \ PassRegistry.cpp \ + ProfileSummary.cpp \ Statepoint.cpp \ Type.cpp \ TypeFinder.cpp \ @@ -53,10 +56,6 @@ SRCS= AsmWriter.cpp \ ValueTypes.cpp \ Verifier.cpp -.if ${MK_CLANG_EXTRAS} != "no" -SRCS+= PassManager.cpp -.endif - TGHDRS= Attributes \ AttributesCompatFunc \ Intrinsics diff --git a/lib/clang/libllvmcoverage/Makefile b/lib/clang/libllvmcoverage/Makefile new file mode 100644 index 000000000000..08af24bbb332 --- /dev/null +++ b/lib/clang/libllvmcoverage/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +.include + +LIB= llvmcoverage + +SRCDIR= lib/ProfileData/Coverage +SRCS= CoverageMapping.cpp \ + CoverageMappingReader.cpp \ + CoverageMappingWriter.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmdebuginfocodeview/Makefile b/lib/clang/libllvmdebuginfocodeview/Makefile new file mode 100644 index 000000000000..044ca9cf2f82 --- /dev/null +++ b/lib/clang/libllvmdebuginfocodeview/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +.include + +LIB= llvmdebuginfocodeview + +SRCDIR= lib/DebugInfo/CodeView +SRCS= ByteStream.cpp \ + CVTypeVisitor.cpp \ + CodeViewError.cpp \ + FieldListRecordBuilder.cpp \ + Line.cpp \ + ListRecordBuilder.cpp \ + MemoryTypeTableBuilder.cpp \ + ModuleSubstream.cpp \ + ModuleSubstreamVisitor.cpp \ + RecordSerialization.cpp \ + StreamReader.cpp \ + StreamWriter.cpp \ + SymbolDumper.cpp \ + TypeDumper.cpp \ + TypeRecord.cpp \ + TypeRecordBuilder.cpp \ + TypeStreamMerger.cpp \ + TypeTableBuilder.cpp + +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= EnumTables.cpp \ + MethodListRecordBuilder.cpp +.endif + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmdebuginfopdb/Makefile b/lib/clang/libllvmdebuginfopdb/Makefile index 1b694db2050b..2462354cc837 100644 --- a/lib/clang/libllvmdebuginfopdb/Makefile +++ b/lib/clang/libllvmdebuginfopdb/Makefile @@ -5,7 +5,8 @@ LIB= llvmdebuginfopdb SRCDIR= lib/DebugInfo/PDB -SRCS= IPDBSourceFile.cpp \ +SRCS= GenericError.cpp \ + IPDBSourceFile.cpp \ PDB.cpp \ PDBContext.cpp \ PDBExtras.cpp \ @@ -42,6 +43,28 @@ SRCS= IPDBSourceFile.cpp \ PDBSymbolTypeVTable.cpp \ PDBSymbolTypeVTableShape.cpp \ PDBSymbolUnknown.cpp \ - PDBSymbolUsingNamespace.cpp + PDBSymbolUsingNamespace.cpp \ + Raw/DbiStream.cpp \ + Raw/DbiStreamBuilder.cpp \ + Raw/EnumTables.cpp \ + Raw/Hash.cpp \ + Raw/IndexedStreamData.cpp \ + Raw/InfoStream.cpp \ + Raw/InfoStreamBuilder.cpp \ + Raw/MappedBlockStream.cpp \ + Raw/ModInfo.cpp \ + Raw/ModStream.cpp \ + Raw/MsfBuilder.cpp \ + Raw/MsfCommon.cpp \ + Raw/NameHashTable.cpp \ + Raw/NameMap.cpp \ + Raw/NameMapBuilder.cpp \ + Raw/PDBFile.cpp \ + Raw/PDBFileBuilder.cpp \ + Raw/PublicsStream.cpp \ + Raw/RawError.cpp \ + Raw/RawSession.cpp \ + Raw/SymbolStream.cpp \ + Raw/TpiStream.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmglobalisel/Makefile b/lib/clang/libllvmglobalisel/Makefile new file mode 100644 index 000000000000..87b8b54bac63 --- /dev/null +++ b/lib/clang/libllvmglobalisel/Makefile @@ -0,0 +1,12 @@ +# $FreeBSD$ + +.include + +LIB= llvmglobalisel + +LIB= llvmglobalisel + +SRCDIR= lib/CodeGen/GlobalISel +SRCS= GlobalISel.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile index c38e9e2a0493..3ff27d0b64dc 100644 --- a/lib/clang/libllvminstrumentation/Makefile +++ b/lib/clang/libllvminstrumentation/Makefile @@ -8,12 +8,13 @@ SRCDIR= lib/Transforms/Instrumentation SRCS= AddressSanitizer.cpp \ BoundsChecking.cpp \ DataFlowSanitizer.cpp \ + EfficiencySanitizer.cpp \ GCOVProfiling.cpp \ + IndirectCallPromotion.cpp \ InstrProfiling.cpp \ Instrumentation.cpp \ MemorySanitizer.cpp \ PGOInstrumentation.cpp \ - SafeStack.cpp \ SanitizerCoverage.cpp \ ThreadSanitizer.cpp diff --git a/lib/clang/libllvminterpreter/Makefile b/lib/clang/libllvminterpreter/Makefile index 52880e0890ae..32bd2e9830ae 100644 --- a/lib/clang/libllvminterpreter/Makefile +++ b/lib/clang/libllvminterpreter/Makefile @@ -7,7 +7,7 @@ LIB= llvminterpreter SRCDIR= lib/ExecutionEngine/Interpreter SRCS= Execution.cpp \ ExternalFunctions.cpp \ - Interpreter.cpp \ + Interpreter.cpp TGHDRS= Attributes \ Intrinsics diff --git a/lib/clang/libllvmipo/Makefile b/lib/clang/libllvmipo/Makefile index 09134029a860..1d9cd519f311 100644 --- a/lib/clang/libllvmipo/Makefile +++ b/lib/clang/libllvmipo/Makefile @@ -24,14 +24,15 @@ SRCS= ArgumentPromotion.cpp \ Inliner.cpp \ Internalize.cpp \ LoopExtractor.cpp \ - LowerBitSets.cpp \ + LowerTypeTests.cpp \ MergeFunctions.cpp \ PartialInlining.cpp \ PassManagerBuilder.cpp \ PruneEH.cpp \ SampleProfile.cpp \ StripDeadPrototypes.cpp \ - StripSymbols.cpp + StripSymbols.cpp \ + WholeProgramDevirt.cpp .if ${MK_CLANG_EXTRAS} != "no" SRCS+= IPO.cpp diff --git a/lib/clang/libllvmlineeditor/Makefile b/lib/clang/libllvmlineeditor/Makefile new file mode 100644 index 000000000000..3bf378dfaa5b --- /dev/null +++ b/lib/clang/libllvmlineeditor/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include + +LIB= llvmlineeditor + +SRCDIR= lib/LineEditor +SRCS= LineEditor.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmlinker/Makefile b/lib/clang/libllvmlinker/Makefile index eed5a3c2c6b6..7808ea18d91d 100644 --- a/lib/clang/libllvmlinker/Makefile +++ b/lib/clang/libllvmlinker/Makefile @@ -8,6 +8,7 @@ SRCDIR= lib/Linker SRCS= IRMover.cpp \ LinkModules.cpp -TGHDRS= Attributes +TGHDRS= Attributes \ + Intrinsics .include "../clang.lib.mk" diff --git a/lib/clang/libllvmlto/Makefile b/lib/clang/libllvmlto/Makefile index c7cb9da53fe3..da5be7b1f47b 100644 --- a/lib/clang/libllvmlto/Makefile +++ b/lib/clang/libllvmlto/Makefile @@ -5,8 +5,11 @@ LIB= llvmlto SRCDIR= lib/LTO -SRCS= LTOCodeGenerator.cpp \ - LTOModule.cpp +SRCS= LTO.cpp \ + LTOCodeGenerator.cpp \ + LTOModule.cpp \ + ThinLTOCodeGenerator.cpp \ + UpdateCompilerUsed.cpp TGHDRS= Attributes \ Intrinsics diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index 7b70a066cbaa..89625a57c928 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -15,7 +15,7 @@ SRCS= ConstantPools.cpp \ MCAsmStreamer.cpp \ MCAssembler.cpp \ MCCodeEmitter.cpp \ - MCCodeGenInfo.cpp \ + MCCodeView.cpp \ MCContext.cpp \ MCDwarf.cpp \ MCELFObjectTargetWriter.cpp \ @@ -54,12 +54,7 @@ SRCS= ConstantPools.cpp \ WinCOFFStreamer.cpp .if ${MK_CLANG_EXTRAS} != "no" -SRCS+= MCLabel.cpp \ - YAML.cpp -.endif - -.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" -SRCS+= MCSymbolizer.cpp +SRCS+= MCLabel.cpp .endif .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmcdisassembler/Makefile b/lib/clang/libllvmmcdisassembler/Makefile index 41a56212b9b8..ca0eada97c60 100644 --- a/lib/clang/libllvmmcdisassembler/Makefile +++ b/lib/clang/libllvmmcdisassembler/Makefile @@ -10,7 +10,8 @@ SRCS= Disassembler.cpp \ .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" SRCS+= MCDisassembler.cpp \ - MCExternalSymbolizer.cpp + MCExternalSymbolizer.cpp \ + MCSymbolizer.cpp .endif .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile index 95e8b3571e84..7fe51e94f788 100644 --- a/lib/clang/libllvmmipscodegen/Makefile +++ b/lib/clang/libllvmmipscodegen/Makefile @@ -19,6 +19,7 @@ SRCS= Mips16FrameLowering.cpp \ MipsDelaySlotFiller.cpp \ MipsFastISel.cpp \ MipsFrameLowering.cpp \ + MipsHazardSchedule.cpp \ MipsISelDAGToDAG.cpp \ MipsISelLowering.cpp \ MipsInstrInfo.cpp \ diff --git a/lib/clang/libllvmobject/Makefile b/lib/clang/libllvmobject/Makefile index f7864d254dc5..61d9c39bce69 100644 --- a/lib/clang/libllvmobject/Makefile +++ b/lib/clang/libllvmobject/Makefile @@ -9,15 +9,13 @@ SRCS= Archive.cpp \ ArchiveWriter.cpp \ Binary.cpp \ COFFObjectFile.cpp \ - COFFYAML.cpp \ ELF.cpp \ ELFObjectFile.cpp \ - ELFYAML.cpp \ Error.cpp \ - FunctionIndexObjectFile.cpp \ IRObjectFile.cpp \ MachOObjectFile.cpp \ MachOUniversal.cpp \ + ModuleSummaryIndexObjectFile.cpp \ ObjectFile.cpp \ RecordStreamer.cpp \ SymbolicFile.cpp diff --git a/lib/clang/libllvmobjectyaml/Makefile b/lib/clang/libllvmobjectyaml/Makefile new file mode 100644 index 000000000000..f5f2cef00dac --- /dev/null +++ b/lib/clang/libllvmobjectyaml/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +.include + +LIB= llvmobjectyaml + +SRCDIR= lib/ObjectYAML +SRCS= COFFYAML.cpp \ + ELFYAML.cpp \ + MachOYAML.cpp + +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= ObjectYAML.cpp \ + YAML.cpp +.endif + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmorcjit/Makefile b/lib/clang/libllvmorcjit/Makefile index 3d15b85ede9f..6afb50f28c82 100644 --- a/lib/clang/libllvmorcjit/Makefile +++ b/lib/clang/libllvmorcjit/Makefile @@ -8,9 +8,8 @@ SRCDIR= lib/ExecutionEngine/Orc SRCS= ExecutionUtils.cpp \ IndirectionUtils.cpp \ NullResolver.cpp \ - OrcArchitectureSupport.cpp \ + OrcABISupport.cpp \ OrcCBindings.cpp \ - OrcCBindingsStack.cpp \ OrcError.cpp \ OrcMCJITReplacement.cpp \ OrcRemoteTargetRPCAPI.cpp diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index d0ec3cd8bb11..6e71440009d0 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -8,6 +8,7 @@ SRCDIR= lib/Target/PowerPC SRCS= PPCAsmPrinter.cpp \ PPCBoolRetToInt.cpp \ PPCBranchSelector.cpp \ + PPCCCState.cpp \ PPCCTRLoops.cpp \ PPCEarlyReturn.cpp \ PPCFastISel.cpp \ @@ -16,11 +17,11 @@ SRCS= PPCAsmPrinter.cpp \ PPCISelDAGToDAG.cpp \ PPCISelLowering.cpp \ PPCInstrInfo.cpp \ - PPCLoopDataPrefetch.cpp \ PPCLoopPreIncPrep.cpp \ PPCMCInstLower.cpp \ PPCMIPeephole.cpp \ PPCMachineFunctionInfo.cpp \ + PPCQPXLoadSplat.cpp \ PPCRegisterInfo.cpp \ PPCSubtarget.cpp \ PPCTLSDynamicCall.cpp \ diff --git a/lib/clang/libllvmprofiledata/Makefile b/lib/clang/libllvmprofiledata/Makefile index f7b3b19a4786..74e80ffd98c0 100644 --- a/lib/clang/libllvmprofiledata/Makefile +++ b/lib/clang/libllvmprofiledata/Makefile @@ -5,12 +5,10 @@ LIB= llvmprofiledata SRCDIR= lib/ProfileData -SRCS= CoverageMapping.cpp \ - CoverageMappingReader.cpp \ - CoverageMappingWriter.cpp \ - InstrProf.cpp \ +SRCS= InstrProf.cpp \ InstrProfReader.cpp \ InstrProfWriter.cpp \ + ProfileSummaryBuilder.cpp \ SampleProf.cpp \ SampleProfReader.cpp diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index a05916ebc24d..0a7a4ba7c657 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -17,11 +17,14 @@ SRCS= ADCE.cpp \ FlattenCFGPass.cpp \ Float2Int.cpp \ GVN.cpp \ + GVNHoist.cpp \ + GuardWidening.cpp \ IndVarSimplify.cpp \ InductiveRangeCheckElimination.cpp \ JumpThreading.cpp \ LICM.cpp \ LoadCombine.cpp \ + LoopDataPrefetch.cpp \ LoopDeletion.cpp \ LoopDistribute.cpp \ LoopIdiomRecognize.cpp \ @@ -29,11 +32,14 @@ SRCS= ADCE.cpp \ LoopLoadElimination.cpp \ LoopRerollPass.cpp \ LoopRotation.cpp \ + LoopSimplifyCFG.cpp \ LoopStrengthReduce.cpp \ LoopUnrollPass.cpp \ LoopUnswitch.cpp \ + LoopVersioningLICM.cpp \ LowerAtomic.cpp \ LowerExpectIntrinsic.cpp \ + LowerGuardIntrinsic.cpp \ MemCpyOptimizer.cpp \ MergedLoadStoreMotion.cpp \ NaryReassociate.cpp \ @@ -44,7 +50,6 @@ SRCS= ADCE.cpp \ RewriteStatepointsForGC.cpp \ SCCP.cpp \ SROA.cpp \ - ScalarReplAggregates.cpp \ Scalarizer.cpp \ SeparateConstOffsetFromGEP.cpp \ SimplifyCFGPass.cpp \ diff --git a/lib/clang/libllvmselectiondag/Makefile b/lib/clang/libllvmselectiondag/Makefile index ed3425197a98..dad2a3f00676 100644 --- a/lib/clang/libllvmselectiondag/Makefile +++ b/lib/clang/libllvmselectiondag/Makefile @@ -26,9 +26,9 @@ SRCS= DAGCombiner.cpp \ SelectionDAGDumper.cpp \ SelectionDAGISel.cpp \ SelectionDAGPrinter.cpp \ + SelectionDAGTargetInfo.cpp \ StatepointLowering.cpp \ - TargetLowering.cpp \ - TargetSelectionDAGInfo.cpp + TargetLowering.cpp TGHDRS= Attributes \ Intrinsics diff --git a/lib/clang/libllvmsparccodegen/Makefile b/lib/clang/libllvmsparccodegen/Makefile index 4c42a706b3a7..e9ab90e52ca1 100644 --- a/lib/clang/libllvmsparccodegen/Makefile +++ b/lib/clang/libllvmsparccodegen/Makefile @@ -6,6 +6,7 @@ LIB= llvmsparccodegen SRCDIR= lib/Target/Sparc SRCS= DelaySlotFiller.cpp \ + LeonPasses.cpp \ SparcAsmPrinter.cpp \ SparcFrameLowering.cpp \ SparcISelDAGToDAG.cpp \ diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index cc6c6882297b..30695a1ff19e 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -13,6 +13,7 @@ SRCS= APFloat.cpp \ Atomic.cpp \ BlockFrequency.cpp \ BranchProbability.cpp \ + CachePruning.cpp \ CommandLine.cpp \ Compression.cpp \ ConvertUTF.c \ @@ -25,6 +26,7 @@ SRCS= APFloat.cpp \ Dwarf.cpp \ DynamicLibrary.cpp \ Errno.cpp \ + Error.cpp \ ErrorHandling.cpp \ FoldingSet.cpp \ FormattedStream.cpp \ @@ -54,7 +56,9 @@ SRCS= APFloat.cpp \ RWMutex.cpp \ RandomNumberGenerator.cpp \ Regex.cpp \ + SHA1.cpp \ ScaledNumber.cpp \ + ScopedPrinter.cpp \ SearchForAddressOfSpecialSymbol.cpp \ Signals.cpp \ SmallPtrSet.cpp \ diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index ecb8d1c5ea2f..12f375c30fc9 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -17,7 +17,9 @@ SRCS= ASanStackFrameLayout.cpp \ CodeExtractor.cpp \ CtorUtils.cpp \ DemoteRegToStack.cpp \ + Evaluator.cpp \ FlattenCFG.cpp \ + FunctionImportUtils.cpp \ GlobalStatus.cpp \ InlineFunction.cpp \ InstructionNamer.cpp \ @@ -32,10 +34,13 @@ SRCS= ASanStackFrameLayout.cpp \ LowerInvoke.cpp \ LowerSwitch.cpp \ Mem2Reg.cpp \ + MemorySSA.cpp \ MetaRenamer.cpp \ ModuleUtils.cpp \ + NameAnonFunctions.cpp \ PromoteMemoryToRegister.cpp \ SSAUpdater.cpp \ + SanitizerStats.cpp \ SimplifyCFG.cpp \ SimplifyIndVar.cpp \ SimplifyInstructions.cpp \ diff --git a/lib/clang/libllvmvectorize/Makefile b/lib/clang/libllvmvectorize/Makefile index 0bca448a27fe..a2ad9f5b45c6 100644 --- a/lib/clang/libllvmvectorize/Makefile +++ b/lib/clang/libllvmvectorize/Makefile @@ -6,6 +6,7 @@ LIB= llvmvectorize SRCDIR= lib/Transforms/Vectorize SRCS= BBVectorize.cpp \ + LoadStoreVectorizer.cpp \ LoopVectorize.cpp \ SLPVectorizer.cpp diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile index 4db7e94f42a5..47031318cdff 100644 --- a/lib/clang/libllvmx86codegen/Makefile +++ b/lib/clang/libllvmx86codegen/Makefile @@ -9,7 +9,9 @@ SRCS= X86AsmPrinter.cpp \ X86CallFrameOptimization.cpp \ X86ExpandPseudo.cpp \ X86FastISel.cpp \ + X86FixupBWInsts.cpp \ X86FixupLEAs.cpp \ + X86FixupSetCC.cpp \ X86FloatingPoint.cpp \ X86FrameLowering.cpp \ X86ISelDAGToDAG.cpp \ @@ -27,6 +29,7 @@ SRCS= X86AsmPrinter.cpp \ X86TargetObjectFile.cpp \ X86TargetTransformInfo.cpp \ X86VZeroUpper.cpp \ + X86WinAllocaExpander.cpp \ X86WinEHState.cpp TGHDRS= Attributes \ diff --git a/lib/clang/libllvmx86desc/Makefile b/lib/clang/libllvmx86desc/Makefile index 1ca2839b9348..e6d54bb2f55e 100644 --- a/lib/clang/libllvmx86desc/Makefile +++ b/lib/clang/libllvmx86desc/Makefile @@ -7,11 +7,9 @@ LIB= llvmx86desc SRCDIR= lib/Target/X86/MCTargetDesc SRCS= X86AsmBackend.cpp \ X86ELFObjectWriter.cpp \ - X86ELFRelocationInfo.cpp \ X86MCAsmInfo.cpp \ X86MCCodeEmitter.cpp \ X86MCTargetDesc.cpp \ - X86MachORelocationInfo.cpp \ X86MachObjectWriter.cpp \ X86WinCOFFObjectWriter.cpp \ X86WinCOFFStreamer.cpp diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc index cd1e79142ee5..dda5ff80b338 100644 --- a/lib/libclang_rt/Makefile.inc +++ b/lib/libclang_rt/Makefile.inc @@ -5,7 +5,7 @@ CRTARCH=${MACHINE_CPUARCH:C/amd64/x86_64/} CRTSRC=${.CURDIR}/../../../contrib/compiler-rt -CLANGDIR=/usr/lib/clang/3.8.0 +CLANGDIR=/usr/lib/clang/3.9.0 LIBDIR=${CLANGDIR}/lib/freebsd NO_PIC= diff --git a/usr.bin/clang/bugpoint/Makefile b/usr.bin/clang/bugpoint/Makefile index 6c675da77427..ebe81473f616 100644 --- a/usr.bin/clang/bugpoint/Makefile +++ b/usr.bin/clang/bugpoint/Makefile @@ -19,24 +19,24 @@ TGHDRS= Attributes \ Intrinsics LIBDEPS=llvmcodegen \ - llvmtarget \ - llvmobjcarcopts \ - llvmbitwriter \ llvmipo \ - llvmvectorize \ - llvmlinker \ llvmirreader \ - llvmscalaropts \ - llvminstcombine \ llvminstrumentation \ - llvmprofiledata \ - llvmobject \ - llvmmcparser \ - llvmbitreader \ - llvmtransformutils \ - llvmmc \ - llvmanalysis \ + llvmlinker \ + llvmobjcarcopts \ + llvmscalaropts \ + llvmtarget \ + llvmvectorize \ + llvmbitwriter \ llvmasmparser \ + llvminstcombine \ + llvmobject \ + llvmbitreader \ + llvmmcparser \ + llvmmc \ + llvmtransformutils \ + llvmanalysis \ + llvmprofiledata \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/clang-format/Makefile b/usr.bin/clang/clang-format/Makefile index 86e0d8d34bf1..58213ae6bbca 100644 --- a/usr.bin/clang/clang-format/Makefile +++ b/usr.bin/clang/clang-format/Makefile @@ -8,15 +8,15 @@ PROG_CXX=clang-format SRCDIR= tools/clang/tools/clang-format SRCS= ClangFormat.cpp -LIBDEPS=clangrewrite \ - clanglex \ - clangformat \ - clangbasic \ - clangast \ +LIBDEPS=clangformat \ clangtoolingcore \ - llvmmc \ + clangrewrite \ + clangast \ + clanglex \ + clangbasic \ llvmcore \ - llvmsupport \ + llvmmc \ + llvmsupport TGHDRS= DiagnosticCommonKinds diff --git a/usr.bin/clang/clang/Makefile b/usr.bin/clang/clang/Makefile index 3665888fd46a..c6200e292932 100644 --- a/usr.bin/clang/clang/Makefile +++ b/usr.bin/clang/clang/Makefile @@ -44,86 +44,95 @@ TGHDRS= Attributes \ Options .if ${MK_CLANG_FULL} != "no" -_clangstaticanalyzer= \ - clangstaticanalyzerfrontend \ - clangstaticanalyzercheckers \ - clangstaticanalyzercore -_clangarcmigrate= \ - clangarcmigrate +_clangarcmigrate= clangarcmigrate +_clangstaticanalyzerfrontend= clangstaticanalyzerfrontend +_clangstaticanalyzercheckers= clangstaticanalyzercheckers +_clangstaticanalyzercore= clangstaticanalyzercore .endif # MK_CLANG_FULL -LIBDEPS=clangfrontendtool \ - clangfrontend \ - clangdriver \ - clangserialization \ - clangcodegen \ - clangparse \ - clangsema \ - clangrewritefrontend \ - clangrewrite \ - ${_clangstaticanalyzer} \ - ${_clangarcmigrate} \ - clanganalysis \ - clangedit \ - clangast \ - clanglex \ - clangbasic \ - llvmoption \ - llvmobjcarcopts \ - llvmipo \ - llvmvectorize \ - llvmlinker \ - llvmirreader \ - llvmasmparser \ - llvmaarch64codegen \ +LIBDEPS=llvmaarch64codegen \ llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ + llvmaarch64disassembler \ llvmarmcodegen \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ + llvmarmdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ + llvmmipsdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ + llvmpowerpcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86asmparser \ + llvmsparcdisassembler \ llvmx86codegen \ - llvmselectiondag \ + llvmx86asmparser \ + llvmx86desc \ + llvmx86disassembler \ + clangfrontendtool \ + llvmglobalisel \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmipsasmprinter \ + llvmmipsinfo \ + llvmpowerpcasmprinter \ + llvmpowerpcinfo \ + llvmsparcasmprinter \ + llvmsparcinfo \ llvmasmprinter \ + llvmdebuginfocodeview \ + llvmselectiondag \ llvmcodegen \ - llvmtarget \ + llvmx86asmprinter \ + llvmx86utils \ + llvmx86info \ + llvmmcdisassembler \ + clangcodegen \ + llvmipo \ + llvmvectorize \ + llvminstrumentation \ + llvmobjcarcopts \ llvmscalaropts \ llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmtransformutils \ + llvmtarget \ llvmbitwriter \ + llvmirreader \ + llvmasmparser \ + llvmlinker \ + llvmtransformutils \ llvmanalysis \ - llvmx86desc \ + llvmcoverage \ llvmobject \ + clangrewritefrontend \ + ${_clangarcmigrate} \ + ${_clangstaticanalyzerfrontend} \ + clangfrontend \ + clangdriver \ + llvmoption \ + llvmprofiledata \ + clangparse \ llvmmcparser \ + clangserialization \ llvmbitreader \ - llvmmcdisassembler \ - llvmx86info \ - llvmx86asmprinter \ - llvmmc \ - llvmx86utils \ + clangsema \ + clangedit \ + ${_clangstaticanalyzercheckers} \ + ${_clangstaticanalyzercore} \ + clanganalysis \ + clangast \ + clangrewrite \ + clanglex \ + clangbasic \ llvmcore \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llc/Makefile b/usr.bin/clang/llc/Makefile index a9d16db787bb..4fb6b913c74a 100644 --- a/usr.bin/clang/llc/Makefile +++ b/usr.bin/clang/llc/Makefile @@ -10,63 +10,65 @@ SRCS= llc.cpp TGHDRS= Attributes \ Intrinsics -LIBDEPS=llvmmirparser \ - llvmirreader \ - llvmasmparser \ - llvmaarch64disassembler \ - llvmaarch64codegen \ +LIBDEPS=llvmaarch64codegen \ llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ + llvmaarch64disassembler \ llvmarmcodegen \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ + llvmarmdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ + llvmmipsdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ + llvmpowerpcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86disassembler \ - llvmx86asmparser \ + llvmsparcdisassembler \ llvmx86codegen \ - llvmselectiondag \ - llvmasmprinter \ - llvmcodegen \ - llvmtarget \ - llvmscalaropts \ - llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmtransformutils \ - llvmbitwriter \ - llvmanalysis \ + llvmx86asmparser \ llvmx86desc \ + llvmx86disassembler \ + llvmasmprinter \ + llvmirreader \ + llvmmirparser \ + llvmselectiondag \ + llvmglobalisel \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmipsasmprinter \ + llvmmipsinfo \ + llvmpowerpcasmprinter \ + llvmpowerpcinfo \ + llvmsparcasmprinter \ + llvmsparcinfo \ + llvmdebuginfocodeview \ + llvmx86asmprinter \ + llvmx86utils \ llvmobject \ llvmmcparser \ - llvmbitreader \ - llvmmcdisassembler \ llvmx86info \ - llvmx86asmprinter \ + llvmmcdisassembler \ + llvmcodegen \ + llvmscalaropts \ + llvminstcombine \ + llvmbitreader \ + llvmbitwriter \ + llvminstrumentation \ + llvmtransformutils \ + llvmtarget \ + llvmanalysis \ + llvmprofiledata \ llvmmc \ - llvmx86utils \ + llvmasmparser \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/lli/Makefile b/usr.bin/clang/lli/Makefile index b7826b97cc79..eacbf87e4e6c 100644 --- a/usr.bin/clang/lli/Makefile +++ b/usr.bin/clang/lli/Makefile @@ -11,37 +11,38 @@ SRCS= OrcLazyJIT.cpp \ TGHDRS= Attributes \ Intrinsics -LIBDEPS=llvmx86disassembler \ - llvmx86asmparser \ - llvmirreader \ - llvmasmparser \ +LIBDEPS=llvmirreader \ + llvminterpreter \ + llvmmcjit \ + llvmorcjit \ llvmx86codegen \ + llvmx86asmparser \ llvmx86desc \ - llvmx86info \ - llvmmcdisassembler \ - llvmx86asmprinter \ - llvmx86utils \ + llvmx86disassembler \ + llvmasmparser \ + llvmexecutionengine \ + llvmruntimedyld \ llvmselectiondag \ llvmasmprinter \ - llvminterpreter \ llvmcodegen \ + llvminstrumentation \ + llvmbitwriter \ llvmscalaropts \ llvminstcombine \ - llvmbitwriter \ - llvminstrumentation \ - llvmprofiledata \ - llvmorcjit \ - llvmtransformutils \ - llvmmcjit \ - llvmexecutionengine \ llvmtarget \ + llvmtransformutils \ llvmanalysis \ - llvmruntimedyld \ + llvmprofiledata \ + llvmdebuginfocodeview \ llvmobject \ - llvmmcparser \ llvmbitreader \ - llvmmc \ + llvmx86asmprinter \ + llvmx86utils \ llvmcore \ + llvmmcparser \ + llvmx86info \ + llvmmcdisassembler \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-ar/Makefile b/usr.bin/clang/llvm-ar/Makefile index 60520671c32d..0a67286ca3d5 100644 --- a/usr.bin/clang/llvm-ar/Makefile +++ b/usr.bin/clang/llvm-ar/Makefile @@ -9,63 +9,65 @@ SRCS= llvm-ar.cpp TGHDRS= Attributes -LIBDEPS=llvmlibdriver \ - llvmoption \ - llvmaarch64disassembler \ - llvmaarch64codegen \ +LIBDEPS=llvmaarch64codegen \ llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ + llvmaarch64disassembler \ llvmarmcodegen \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ + llvmarmdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ + llvmmipsdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ + llvmpowerpcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86disassembler \ - llvmx86asmparser \ + llvmsparcdisassembler \ llvmx86codegen \ - llvmselectiondag \ + llvmx86asmparser \ + llvmx86desc \ + llvmx86disassembler \ + llvmlibdriver \ + llvmobject \ + llvmglobalisel \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmipsasmprinter \ + llvmmipsinfo \ + llvmpowerpcasmprinter \ + llvmpowerpcinfo \ + llvmsparcasmprinter \ + llvmsparcinfo \ llvmasmprinter \ + llvmdebuginfocodeview \ + llvmselectiondag \ llvmcodegen \ - llvmtarget \ llvmscalaropts \ llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmtransformutils \ llvmbitwriter \ + llvminstrumentation \ + llvmtransformutils \ + llvmtarget \ llvmanalysis \ - llvmx86desc \ - llvmobject \ - llvmmcparser \ - llvmbitreader \ - llvmmcdisassembler \ - llvmx86info \ + llvmprofiledata \ llvmx86asmprinter \ - llvmmc \ llvmx86utils \ + llvmx86info \ + llvmmcdisassembler \ + llvmmcparser \ + llvmmc \ + llvmbitreader \ llvmcore \ + llvmoption \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-as/Makefile b/usr.bin/clang/llvm-as/Makefile index 964f6faea604..433c43b8fbd4 100644 --- a/usr.bin/clang/llvm-as/Makefile +++ b/usr.bin/clang/llvm-as/Makefile @@ -9,8 +9,10 @@ SRCS= llvm-as.cpp TGHDRS= Attributes -LIBDEPS=llvmbitwriter \ - llvmasmparser \ +LIBDEPS=llvmasmparser \ + llvmbitwriter \ + llvmanalysis \ + llvmprofiledata \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/llvm-cov/Makefile b/usr.bin/clang/llvm-cov/Makefile index cca47540d0c6..eb0db1a42f8d 100644 --- a/usr.bin/clang/llvm-cov/Makefile +++ b/usr.bin/clang/llvm-cov/Makefile @@ -10,15 +10,18 @@ SRCS= CodeCoverage.cpp \ CoverageReport.cpp \ CoverageSummaryInfo.cpp \ SourceCoverageView.cpp \ + SourceCoverageViewHTML.cpp \ + SourceCoverageViewText.cpp \ TestingSupport.cpp \ gcov.cpp \ llvm-cov.cpp -LIBDEPS=llvmprofiledata \ +LIBDEPS=llvmcoverage \ + llvmprofiledata \ llvmobject \ + llvmbitreader \ llvmmcparser \ llvmmc \ - llvmbitreader \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/llvm-cxxdump/Makefile b/usr.bin/clang/llvm-cxxdump/Makefile index 33a08a9fd333..78f94d48fb6a 100644 --- a/usr.bin/clang/llvm-cxxdump/Makefile +++ b/usr.bin/clang/llvm-cxxdump/Makefile @@ -9,61 +9,63 @@ SRCDIR= tools/llvm-cxxdump SRCS= Error.cpp \ llvm-cxxdump.cpp -LIBDEPS=llvmaarch64disassembler \ - llvmaarch64codegen \ +LIBDEPS=llvmaarch64codegen \ llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ + llvmaarch64disassembler \ llvmarmcodegen \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ + llvmarmdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ + llvmmipsdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ + llvmpowerpcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86disassembler \ - llvmx86asmparser \ + llvmsparcdisassembler \ llvmx86codegen \ - llvmselectiondag \ + llvmx86asmparser \ + llvmx86desc \ + llvmx86disassembler \ + llvmobject \ + llvmglobalisel \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmipsasmprinter \ + llvmmipsinfo \ + llvmpowerpcasmprinter \ + llvmpowerpcinfo \ + llvmsparcasmprinter \ + llvmsparcinfo \ llvmasmprinter \ + llvmdebuginfocodeview \ + llvmselectiondag \ llvmcodegen \ - llvmtarget \ llvmscalaropts \ llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmtransformutils \ llvmbitwriter \ + llvminstrumentation \ + llvmtransformutils \ + llvmtarget \ llvmanalysis \ - llvmx86desc \ - llvmmcdisassembler \ - llvmx86info \ + llvmprofiledata \ llvmx86asmprinter \ llvmx86utils \ - llvmobject \ - llvmmcparser \ - llvmmc \ llvmbitreader \ llvmcore \ + llvmmcparser \ + llvmx86info \ + llvmmcdisassembler \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-diff/Makefile b/usr.bin/clang/llvm-diff/Makefile index 0891d47256c1..d836a4155360 100644 --- a/usr.bin/clang/llvm-diff/Makefile +++ b/usr.bin/clang/llvm-diff/Makefile @@ -5,16 +5,16 @@ PROG_CXX=llvm-diff SRCDIR= tools/llvm-diff -SRCS= llvm-diff.cpp \ - DiffConsumer.cpp \ +SRCS= DiffConsumer.cpp \ DiffLog.cpp \ - DifferenceEngine.cpp + DifferenceEngine.cpp \ + llvm-diff.cpp TGHDRS= Attributes LIBDEPS=llvmirreader \ - llvmbitreader \ llvmasmparser \ + llvmbitreader \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/llvm-dis/Makefile b/usr.bin/clang/llvm-dis/Makefile index 0fb8884debd1..85289384f400 100644 --- a/usr.bin/clang/llvm-dis/Makefile +++ b/usr.bin/clang/llvm-dis/Makefile @@ -10,8 +10,7 @@ SRCS= llvm-dis.cpp TGHDRS= Attributes \ Intrinsics -LIBDEPS=llvmanalysis \ - llvmbitreader \ +LIBDEPS=llvmbitreader \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/llvm-dwarfdump/Makefile b/usr.bin/clang/llvm-dwarfdump/Makefile index 32f3afa0727f..3cbec80dcff2 100644 --- a/usr.bin/clang/llvm-dwarfdump/Makefile +++ b/usr.bin/clang/llvm-dwarfdump/Makefile @@ -9,10 +9,10 @@ SRCS= llvm-dwarfdump.cpp LIBDEPS=llvmdebuginfodwarf \ llvmobject \ - llvmmcparser \ - llvmmc \ llvmbitreader \ llvmcore \ + llvmmcparser \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-extract/Makefile b/usr.bin/clang/llvm-extract/Makefile index 92d69c3f4d85..04f405078575 100644 --- a/usr.bin/clang/llvm-extract/Makefile +++ b/usr.bin/clang/llvm-extract/Makefile @@ -11,20 +11,23 @@ TGHDRS= Attributes LIBDEPS=llvmbitwriter \ llvmipo \ - llvmvectorize \ - llvmscalaropts \ - llvmprofiledata \ + llvmirreader \ + llvmasmparser \ + llvminstrumentation \ + llvmlinker \ llvmobject \ + llvmbitreader \ llvmmcparser \ llvmmc \ - llvmlinker \ - llvmirreader \ - llvmbitreader \ - llvmasmparser \ + llvmscalaropts \ llvminstcombine \ + llvmvectorize \ llvmtransformutils \ llvmanalysis \ + llvmprofiledata \ llvmcore \ llvmsupport +LIBADD+= z + .include "../clang.prog.mk" diff --git a/usr.bin/clang/llvm-link/Makefile b/usr.bin/clang/llvm-link/Makefile index d556f9a8ce45..311987ba00d4 100644 --- a/usr.bin/clang/llvm-link/Makefile +++ b/usr.bin/clang/llvm-link/Makefile @@ -9,17 +9,20 @@ SRCS= llvm-link.cpp TGHDRS= Attributes -LIBDEPS=llvmobject \ +LIBDEPS=llvmbitwriter \ + llvmirreader \ + llvmlinker \ + llvmobject \ + llvmtransformutils \ + llvmasmparser \ + llvmanalysis \ + llvmprofiledata \ + llvmbitreader \ + llvmcore \ llvmmcparser \ llvmmc \ - llvmirreader \ - llvmasmparser \ - llvmbitwriter \ - llvmbitreader \ - llvmlinker \ - llvmtransformutils \ - llvmanalysis \ - llvmcore \ llvmsupport +LIBADD+= z + .include "../clang.prog.mk" diff --git a/usr.bin/clang/llvm-lto/Makefile b/usr.bin/clang/llvm-lto/Makefile index 3e0dc8347b2a..4f6e25604eb8 100644 --- a/usr.bin/clang/llvm-lto/Makefile +++ b/usr.bin/clang/llvm-lto/Makefile @@ -11,67 +11,69 @@ SRCS= llvm-lto.cpp TGHDRS= Attributes \ Intrinsics -LIBDEPS=llvmaarch64disassembler \ - llvmaarch64codegen \ +LIBDEPS=llvmaarch64codegen \ llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ + llvmaarch64disassembler \ llvmarmcodegen \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ + llvmarmdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ + llvmmipsdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ + llvmpowerpcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86disassembler \ - llvmx86asmparser \ + llvmsparcdisassembler \ llvmx86codegen \ - llvmselectiondag \ - llvmasmprinter \ + llvmx86asmparser \ llvmx86desc \ - llvmx86info \ + llvmx86disassembler \ + llvmlto \ + llvmglobalisel \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmipsasmprinter \ + llvmmipsinfo \ + llvmpowerpcasmprinter \ + llvmpowerpcinfo \ + llvmsparcasmprinter \ + llvmsparcinfo \ + llvmasmprinter \ + llvmdebuginfocodeview \ + llvmselectiondag \ llvmx86asmprinter \ llvmx86utils \ + llvmx86info \ llvmmcdisassembler \ - llvmlto \ + llvmcodegen \ + llvmbitwriter \ + llvmtarget \ llvmobjcarcopts \ llvmipo \ - llvmvectorize \ - llvmlinker \ llvmirreader \ llvmasmparser \ - llvmcodegen \ - llvmtarget \ + llvmobject \ + llvmbitreader \ + llvmmcparser \ llvmscalaropts \ llvminstcombine \ + llvmlinker \ llvminstrumentation \ - llvmprofiledata \ - llvmobject \ - llvmmcparser \ - llvmtransformutils \ llvmmc \ - llvmbitwriter \ - llvmbitreader \ + llvmvectorize \ + llvmtransformutils \ llvmanalysis \ + llvmprofiledata \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/llvm-mc/Makefile b/usr.bin/clang/llvm-mc/Makefile index b19ea9015402..2ab2389eec8e 100644 --- a/usr.bin/clang/llvm-mc/Makefile +++ b/usr.bin/clang/llvm-mc/Makefile @@ -9,61 +9,44 @@ SRCDIR= tools/llvm-mc SRCS= Disassembler.cpp \ llvm-mc.cpp -LIBDEPS=llvmaarch64disassembler \ - llvmaarch64codegen \ - llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ - llvmarmcodegen \ +LIBDEPS=llvmaarch64asmparser \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ - llvmmipscodegen \ llvmmipsasmparser \ - llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ - llvmpowerpccodegen \ llvmpowerpcasmparser \ - llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ - llvmsparccodegen \ llvmsparcasmparser \ - llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86disassembler \ llvmx86asmparser \ - llvmx86codegen \ - llvmselectiondag \ - llvmasmprinter \ - llvmcodegen \ - llvmtarget \ - llvmscalaropts \ - llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmtransformutils \ - llvmbitwriter \ - llvmanalysis \ + llvmmipsdesc \ + llvmpowerpcdesc \ + llvmsparcdesc \ llvmx86desc \ - llvmobject \ - llvmmcparser \ - llvmbitreader \ - llvmmcdisassembler \ + llvmaarch64disassembler \ + llvmarmdisassembler \ + llvmmipsdisassembler \ + llvmpowerpcdisassembler \ + llvmsparcdisassembler \ + llvmx86disassembler \ + llvmmipsinfo \ + llvmpowerpcinfo \ + llvmsparcinfo \ llvmx86info \ + llvmmipsasmprinter \ + llvmpowerpcasmprinter \ + llvmsparcasmprinter \ llvmx86asmprinter \ - llvmmc \ llvmx86utils \ + llvmobject \ + llvmbitreader \ llvmcore \ + llvmmcparser \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmcdisassembler \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-nm/Makefile b/usr.bin/clang/llvm-nm/Makefile index 7eb9d9f0f586..34cceaafdd6c 100644 --- a/usr.bin/clang/llvm-nm/Makefile +++ b/usr.bin/clang/llvm-nm/Makefile @@ -9,61 +9,38 @@ SRCS= llvm-nm.cpp TGHDRS= Attributes -LIBDEPS=llvmaarch64disassembler \ - llvmaarch64codegen \ - llvmaarch64asmparser \ +LIBDEPS=llvmaarch64asmparser \ + llvmarmasmparser \ + llvmmipsasmparser \ + llvmpowerpcasmparser \ + llvmsparcasmparser \ + llvmx86asmparser \ llvmaarch64desc \ + llvmarmdesc \ + llvmmipsdesc \ + llvmpowerpcdesc \ + llvmsparcdesc \ + llvmx86desc \ llvmaarch64info \ + llvmarminfo \ + llvmmipsinfo \ + llvmpowerpcinfo \ + llvmsparcinfo \ + llvmx86info \ + llvmobject \ llvmaarch64asmprinter \ llvmaarch64utils \ - llvmarmdisassembler \ - llvmarmcodegen \ - llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ llvmarmasmprinter \ - llvmmipsdisassembler \ - llvmmipscodegen \ - llvmmipsasmparser \ - llvmmipsdesc \ - llvmmipsinfo \ llvmmipsasmprinter \ - llvmpowerpcdisassembler \ - llvmpowerpccodegen \ - llvmpowerpcasmparser \ - llvmpowerpcdesc \ - llvmpowerpcinfo \ llvmpowerpcasmprinter \ - llvmsparcdisassembler \ - llvmsparccodegen \ - llvmsparcasmparser \ - llvmsparcdesc \ - llvmsparcinfo \ llvmsparcasmprinter \ - llvmx86disassembler \ - llvmx86asmparser \ - llvmx86codegen \ - llvmselectiondag \ - llvmasmprinter \ - llvmcodegen \ - llvmtarget \ - llvmscalaropts \ - llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmtransformutils \ - llvmbitwriter \ - llvmanalysis \ - llvmx86desc \ - llvmobject \ - llvmmcparser \ llvmbitreader \ llvmmcdisassembler \ - llvmx86info \ llvmx86asmprinter \ - llvmmc \ llvmx86utils \ llvmcore \ + llvmmcparser \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-objdump/Makefile b/usr.bin/clang/llvm-objdump/Makefile index dcbf1f91240e..2d714bc66f10 100644 --- a/usr.bin/clang/llvm-objdump/Makefile +++ b/usr.bin/clang/llvm-objdump/Makefile @@ -6,67 +6,53 @@ MAN= PROG_CXX=llvm-objdump SRCDIR= tools/llvm-objdump -SRCS= llvm-objdump.cpp \ - COFFDump.cpp \ +SRCS= COFFDump.cpp \ ELFDump.cpp \ - MachODump.cpp + MachODump.cpp \ + llvm-objdump.cpp -LIBDEPS=llvmdebuginfodwarf \ - llvmaarch64disassembler \ - llvmaarch64codegen \ - llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ - llvmarmcodegen \ - llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ - llvmmipscodegen \ - llvmmipsasmparser \ - llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ - llvmpowerpccodegen \ - llvmpowerpcasmparser \ +LIBDEPS=llvmmipsdesc \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ - llvmsparccodegen \ - llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ + llvmx86desc \ + llvmaarch64disassembler \ + llvmarmdisassembler \ + llvmmipsdisassembler \ + llvmpowerpcdisassembler \ + llvmsparcdisassembler \ llvmx86disassembler \ - llvmx86asmparser \ - llvmx86codegen \ - llvmselectiondag \ - llvmasmprinter \ + llvmmipsinfo \ + llvmpowerpcinfo \ + llvmsparcinfo \ + llvmx86info \ llvmcodegen \ - llvmtarget \ + llvmdebuginfodwarf \ + llvmobject \ + llvmmipsasmprinter \ + llvmpowerpcasmprinter \ + llvmsparcasmprinter \ + llvmx86asmprinter \ + llvmx86utils \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmcdisassembler \ + llvmbitwriter \ + llvminstrumentation \ llvmscalaropts \ llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ + llvmtarget \ llvmtransformutils \ - llvmbitwriter \ llvmanalysis \ - llvmx86desc \ - llvmobject \ - llvmmcparser \ + llvmprofiledata \ llvmbitreader \ - llvmmcdisassembler \ - llvmx86info \ - llvmx86asmprinter \ - llvmmc \ - llvmx86utils \ llvmcore \ + llvmmcparser \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-pdbdump/Makefile b/usr.bin/clang/llvm-pdbdump/Makefile index 72d6214c4dc2..e7876453c386 100644 --- a/usr.bin/clang/llvm-pdbdump/Makefile +++ b/usr.bin/clang/llvm-pdbdump/Makefile @@ -12,18 +12,22 @@ SRCS= BuiltinDumper.cpp \ EnumDumper.cpp \ ExternalSymbolDumper.cpp \ FunctionDumper.cpp \ + LLVMOutputStyle.cpp \ LinePrinter.cpp \ + PdbYaml.cpp \ TypeDumper.cpp \ TypedefDumper.cpp \ VariableDumper.cpp \ + YAMLOutputStyle.cpp \ llvm-pdbdump.cpp LIBDEPS=llvmdebuginfopdb \ llvmobject \ - llvmmcparser \ - llvmmc \ + llvmdebuginfocodeview \ llvmbitreader \ llvmcore \ + llvmmcparser \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-profdata/Makefile b/usr.bin/clang/llvm-profdata/Makefile index 95fc7e55133c..a3986f7c3b33 100644 --- a/usr.bin/clang/llvm-profdata/Makefile +++ b/usr.bin/clang/llvm-profdata/Makefile @@ -10,10 +10,6 @@ SRCS= llvm-profdata.cpp TGHDRS= Attributes LIBDEPS=llvmprofiledata \ - llvmobject \ - llvmmcparser \ - llvmmc \ - llvmbitreader \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/llvm-rtdyld/Makefile b/usr.bin/clang/llvm-rtdyld/Makefile index 3c5304b34904..39192aea5333 100644 --- a/usr.bin/clang/llvm-rtdyld/Makefile +++ b/usr.bin/clang/llvm-rtdyld/Makefile @@ -8,64 +8,65 @@ PROG_CXX=llvm-rtdyld SRCDIR= tools/llvm-rtdyld SRCS= llvm-rtdyld.cpp -LIBDEPS=llvmdebuginfodwarf \ - llvmmcjit \ - llvmexecutionengine \ - llvmruntimedyld \ - llvmaarch64disassembler \ - llvmaarch64codegen \ +LIBDEPS=llvmaarch64codegen \ llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ + llvmaarch64disassembler \ llvmarmcodegen \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ + llvmarmdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ + llvmmipsdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ + llvmpowerpcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86disassembler \ - llvmx86asmparser \ + llvmsparcdisassembler \ llvmx86codegen \ - llvmselectiondag \ + llvmx86asmparser \ + llvmx86desc \ + llvmx86disassembler \ + llvmdebuginfodwarf \ + llvmexecutionengine \ + llvmruntimedyld \ + llvmglobalisel \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmipsasmprinter \ + llvmmipsinfo \ + llvmpowerpcasmprinter \ + llvmpowerpcinfo \ + llvmsparcasmprinter \ + llvmsparcinfo \ llvmasmprinter \ + llvmdebuginfocodeview \ + llvmselectiondag \ llvmcodegen \ - llvmtarget \ llvmscalaropts \ llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmtransformutils \ llvmbitwriter \ - llvmanalysis \ - llvmx86desc \ + llvminstrumentation \ + llvmtransformutils \ + llvmx86asmprinter \ + llvmx86utils \ + llvmx86info \ + llvmmcdisassembler \ llvmobject \ llvmmcparser \ llvmbitreader \ - llvmmcdisassembler \ - llvmx86info \ - llvmx86asmprinter \ + llvmtarget \ llvmmc \ - llvmx86utils \ + llvmanalysis \ + llvmprofiledata \ llvmcore \ llvmsupport diff --git a/usr.bin/clang/llvm-symbolizer/Makefile b/usr.bin/clang/llvm-symbolizer/Makefile index a71663bf5868..142e3075149f 100644 --- a/usr.bin/clang/llvm-symbolizer/Makefile +++ b/usr.bin/clang/llvm-symbolizer/Makefile @@ -8,13 +8,14 @@ SRCDIR= tools/llvm-symbolizer SRCS= llvm-symbolizer.cpp LIBDEPS=llvmsymbolize \ - llvmdebuginfopdb \ llvmdebuginfodwarf \ + llvmdebuginfopdb \ + llvmdebuginfocodeview \ llvmobject \ - llvmmcparser \ - llvmmc \ llvmbitreader \ llvmcore \ + llvmmcparser \ + llvmmc \ llvmsupport LIBADD+= z diff --git a/usr.bin/clang/llvm-tblgen/Makefile b/usr.bin/clang/llvm-tblgen/Makefile index 14b46db89ca9..2ca876a89f8f 100644 --- a/usr.bin/clang/llvm-tblgen/Makefile +++ b/usr.bin/clang/llvm-tblgen/Makefile @@ -32,6 +32,7 @@ SRCS= AsmMatcherEmitter.cpp \ OptParserEmitter.cpp \ PseudoLoweringEmitter.cpp \ RegisterInfoEmitter.cpp \ + SearchableTableEmitter.cpp \ SubtargetEmitter.cpp \ TableGen.cpp \ X86DisassemblerTables.cpp \ diff --git a/usr.bin/clang/opt/Makefile b/usr.bin/clang/opt/Makefile index 9285a3c21c3b..2ea7dc2d5077 100644 --- a/usr.bin/clang/opt/Makefile +++ b/usr.bin/clang/opt/Makefile @@ -16,67 +16,69 @@ SRCS= AnalysisWrappers.cpp \ TGHDRS= Attributes \ Intrinsics -LIBDEPS=llvmpasses \ - llvmaarch64disassembler \ - llvmaarch64codegen \ +LIBDEPS=llvmaarch64codegen \ llvmaarch64asmparser \ - llvmaarch64desc \ - llvmaarch64info \ - llvmaarch64asmprinter \ - llvmaarch64utils \ - llvmarmdisassembler \ + llvmaarch64disassembler \ llvmarmcodegen \ llvmarmasmparser \ - llvmarmdesc \ - llvmarminfo \ - llvmarmasmprinter \ - llvmmipsdisassembler \ + llvmarmdisassembler \ llvmmipscodegen \ llvmmipsasmparser \ llvmmipsdesc \ - llvmmipsinfo \ - llvmmipsasmprinter \ - llvmpowerpcdisassembler \ + llvmmipsdisassembler \ llvmpowerpccodegen \ llvmpowerpcasmparser \ llvmpowerpcdesc \ - llvmpowerpcinfo \ - llvmpowerpcasmprinter \ - llvmsparcdisassembler \ + llvmpowerpcdisassembler \ llvmsparccodegen \ llvmsparcasmparser \ llvmsparcdesc \ - llvmsparcinfo \ - llvmsparcasmprinter \ - llvmx86disassembler \ - llvmx86asmparser \ + llvmsparcdisassembler \ llvmx86codegen \ - llvmselectiondag \ - llvmasmprinter \ - llvmcodegen \ - llvmtarget \ + llvmx86asmparser \ llvmx86desc \ - llvmmcdisassembler \ - llvmx86info \ + llvmx86disassembler \ + llvmobjcarcopts \ + llvmpasses \ + llvmglobalisel \ + llvmaarch64desc \ + llvmaarch64asmprinter \ + llvmaarch64info \ + llvmaarch64utils \ + llvmarmdesc \ + llvmarmasmprinter \ + llvmarminfo \ + llvmmipsasmprinter \ + llvmmipsinfo \ + llvmpowerpcasmprinter \ + llvmpowerpcinfo \ + llvmsparcasmprinter \ + llvmsparcinfo \ + llvmasmprinter \ + llvmdebuginfocodeview \ + llvmselectiondag \ llvmx86asmprinter \ llvmx86utils \ + llvmx86info \ + llvmmcdisassembler \ + llvmcodegen \ + llvmbitwriter \ + llvmtarget \ llvmipo \ - llvmvectorize \ - llvmlinker \ - llvmobjcarcopts \ - llvmscalaropts \ - llvminstcombine \ - llvminstrumentation \ - llvmprofiledata \ - llvmobject \ - llvmmcparser \ - llvmtransformutils \ - llvmmc \ - llvmanalysis \ llvmirreader \ llvmasmparser \ - llvmbitwriter \ + llvmobject \ + llvmmcparser \ llvmbitreader \ + llvmlinker \ + llvminstrumentation \ + llvmmc \ + llvmscalaropts \ + llvminstcombine \ + llvmvectorize \ + llvmtransformutils \ + llvmanalysis \ + llvmprofiledata \ llvmcore \ llvmsupport