From 48aaf27bca484047c923eb06644c7666d5d89c24 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 6 Aug 2020 19:30:00 +0000 Subject: [PATCH] Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files. --- etc/mtree/BSD.debug.dist | 2 +- etc/mtree/BSD.usr.dist | 2 +- lib/clang/headers/Makefile | 46 +++++----- lib/clang/libclang/Makefile | 80 ++++++++++++++++- lib/clang/liblldb/Makefile | 70 ++++++++------- lib/clang/libllvm/Makefile | 122 +++++++++++++++++++++----- lib/clang/libllvmminimal/Makefile | 1 + lib/libclang_rt/Makefile.inc | 2 +- usr.bin/clang/clang-tblgen/Makefile | 1 + usr.bin/clang/lld/Makefile | 1 - usr.bin/clang/llvm-dwarfdump/Makefile | 1 + usr.bin/clang/llvm-objcopy/Makefile | 4 + usr.bin/clang/llvm-objdump/Makefile | 1 + usr.bin/clang/llvm-tblgen/Makefile | 1 + 14 files changed, 250 insertions(+), 84 deletions(-) diff --git a/etc/mtree/BSD.debug.dist b/etc/mtree/BSD.debug.dist index 3b1cb770125a..49563b996700 100644 --- a/etc/mtree/BSD.debug.dist +++ b/etc/mtree/BSD.debug.dist @@ -31,7 +31,7 @@ .. lib clang - 10.0.1 + 11.0.0 lib freebsd .. diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index e3164c7d76ba..c8ea2f23ecac 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -37,7 +37,7 @@ aout .. clang - 10.0.1 + 11.0.0 include cuda_wrappers .. diff --git a/lib/clang/headers/Makefile b/lib/clang/headers/Makefile index 6a76fba10071..25eb0d34d952 100644 --- a/lib/clang/headers/Makefile +++ b/lib/clang/headers/Makefile @@ -1,4 +1,3 @@ - # $FreeBSD$ .include "../clang.pre.mk" @@ -6,29 +5,30 @@ .PATH: ${CLANG_SRCS}/lib/Headers INCSGROUPS= INCS CUDA OMP PPC -INCSDIR= ${LIBDIR}/clang/10.0.1/include +INCSDIR= ${LIBDIR}/clang/11.0.0/include CUDADIR= ${INCSDIR}/cuda_wrappers OMPDIR= ${INCSDIR}/openmp_wrappers PPCDIR= ${INCSDIR}/ppc_wrappers -GENINCS+= arm_fp16.h -GENINCS+= arm_mve.h -GENINCS+= arm_neon.h - INCS+= __clang_cuda_builtin_vars.h INCS+= __clang_cuda_cmath.h INCS+= __clang_cuda_complex_builtins.h INCS+= __clang_cuda_device_functions.h INCS+= __clang_cuda_intrinsics.h INCS+= __clang_cuda_libdevice_declares.h +INCS+= __clang_cuda_math.h INCS+= __clang_cuda_math_forward_declares.h INCS+= __clang_cuda_runtime_wrapper.h +INCS+= __clang_hip_libdevice_declares.h +INCS+= __clang_hip_math.h +INCS+= __clang_hip_runtime_wrapper.h INCS+= __stddef_max_align_t.h INCS+= __wmmintrin_aes.h INCS+= __wmmintrin_pclmul.h INCS+= adxintrin.h INCS+= altivec.h INCS+= ammintrin.h +INCS+= amxintrin.h INCS+= arm64intr.h INCS+= arm_acle.h INCS+= arm_cmse.h @@ -63,6 +63,7 @@ INCS+= avx512vpopcntdqvlintrin.h INCS+= avxintrin.h INCS+= bmi2intrin.h INCS+= bmiintrin.h +INCS+= cet.h INCS+= cetintrin.h INCS+= cldemoteintrin.h INCS+= clflushoptintrin.h @@ -102,16 +103,19 @@ INCS+= ptwriteintrin.h INCS+= rdseedintrin.h INCS+= rtmintrin.h INCS+= s390intrin.h +INCS+= serializeintrin.h INCS+= sgxintrin.h INCS+= shaintrin.h INCS+= smmintrin.h INCS+= tbmintrin.h INCS+= tmmintrin.h +INCS+= tsxldtrkintrin.h INCS+= vadefs.h INCS+= vaesintrin.h INCS+= vecintrin.h INCS+= vpclmulqdqintrin.h INCS+= waitpkgintrin.h +INCS+= wasm_simd128.h INCS+= wbnoinvdintrin.h INCS+= wmmintrin.h INCS+= x86intrin.h @@ -125,7 +129,7 @@ INCS+= xtestintrin.h INCS+= ${GENINCS} # Headers which possibly conflict with our own versions: -.if defined(INSTALL_CONFLICTING_CLANG_HEADERS) +.ifdef INSTALL_CONFLICTING_CLANG_HEADERS INCS+= float.h INCS+= intrin.h INCS+= inttypes.h @@ -139,17 +143,20 @@ INCS+= stddef.h INCS+= stdint.h INCS+= stdnoreturn.h INCS+= tgmath.h +INCS+= unwind.h INCS+= varargs.h -.endif +.endif # INSTALL_CONFLICTING_CLANG_HEADERS CUDA+= cuda_wrappers/algorithm CUDA+= cuda_wrappers/complex CUDA+= cuda_wrappers/new -OMP+= openmp_wrappers/__clang_openmp_math.h -OMP+= openmp_wrappers/__clang_openmp_math_declares.h +OMP+= openmp_wrappers/__clang_openmp_device_functions.h OMP+= openmp_wrappers/cmath +OMP+= openmp_wrappers/complex +OMP+= openmp_wrappers/complex.h OMP+= openmp_wrappers/math.h +OMP+= openmp_wrappers/new PPC+= ppc_wrappers/emmintrin.h PPC+= ppc_wrappers/mm_malloc.h @@ -159,20 +166,13 @@ PPC+= ppc_wrappers/smmintrin.h PPC+= ppc_wrappers/tmmintrin.h PPC+= ppc_wrappers/xmmintrin.h -arm_fp16.h: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td - ${CLANG_TBLGEN} -gen-arm-fp16 \ +.for hdr in bf16/bf16 cde/cde-header fp16/fp16 mve/mve-header sve/sve-header +arm_${hdr:H}.h: ${CLANG_SRCS}/include/clang/Basic/arm_${hdr:H}.td + ${CLANG_TBLGEN} -gen-arm-${hdr:T} \ -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ - -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td - -arm_mve.h: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td - ${CLANG_TBLGEN} -gen-arm-mve-header \ - -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ - -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td - -arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td - ${CLANG_TBLGEN} -gen-arm-neon \ - -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ - -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_${hdr:H}.td +GENINCS+= arm_${hdr:H}.h +.endfor CLEANFILES= ${GENINCS} ${GENINCS:C/$/.d/} diff --git a/lib/clang/libclang/Makefile b/lib/clang/libclang/Makefile index 8eb526e93b5b..414394725ca8 100644 --- a/lib/clang/libclang/Makefile +++ b/lib/clang/libclang/Makefile @@ -65,6 +65,7 @@ SRCS_MIN+= AST/CommentLexer.cpp SRCS_MIN+= AST/CommentParser.cpp SRCS_MIN+= AST/CommentSema.cpp SRCS_MIN+= AST/ComparisonCategories.cpp +SRCS_MIN+= AST/ComputeDependence.cpp SRCS_FUL+= AST/DataCollection.cpp SRCS_MIN+= AST/Decl.cpp SRCS_MIN+= AST/DeclBase.cpp @@ -86,7 +87,6 @@ SRCS_LDB+= AST/ExternalASTMerger.cpp SRCS_MIN+= AST/ExternalASTSource.cpp SRCS_MIN+= AST/FormatString.cpp SRCS_MIN+= AST/InheritViz.cpp -SRCS_MIN+= AST/Interp/Block.cpp SRCS_MIN+= AST/Interp/ByteCodeEmitter.cpp SRCS_MIN+= AST/Interp/ByteCodeExprGen.cpp SRCS_MIN+= AST/Interp/ByteCodeGenError.cpp @@ -97,6 +97,7 @@ SRCS_MIN+= AST/Interp/EvalEmitter.cpp SRCS_MIN+= AST/Interp/Frame.cpp SRCS_MIN+= AST/Interp/Function.cpp SRCS_MIN+= AST/Interp/Interp.cpp +SRCS_MIN+= AST/Interp/InterpBlock.cpp SRCS_MIN+= AST/Interp/InterpFrame.cpp SRCS_MIN+= AST/Interp/InterpStack.cpp SRCS_MIN+= AST/Interp/InterpState.cpp @@ -118,6 +119,7 @@ SRCS_MIN+= AST/ODRHash.cpp SRCS_MIN+= AST/OSLog.cpp SRCS_MIN+= AST/OpenMPClause.cpp SRCS_MIN+= AST/ParentMap.cpp +SRCS_MIN+= AST/ParentMapContext.cpp SRCS_MIN+= AST/PrintfFormatString.cpp SRCS_MIN+= AST/QualTypeNames.cpp SRCS_MIN+= AST/RawCommentList.cpp @@ -177,6 +179,7 @@ SRCS_MIN+= Basic/Cuda.cpp SRCS_MIN+= Basic/Diagnostic.cpp SRCS_MIN+= Basic/DiagnosticIDs.cpp SRCS_MIN+= Basic/DiagnosticOptions.cpp +SRCS_MIN+= Basic/ExpressionTraits.cpp SRCS_MIN+= Basic/FileManager.cpp SRCS_MIN+= Basic/FileSystemStatCache.cpp SRCS_MIN+= Basic/FixedPoint.cpp @@ -215,10 +218,12 @@ SRCS_MIN+= Basic/Targets/SPIR.cpp SRCS_MIN+= Basic/Targets/Sparc.cpp SRCS_MIN+= Basic/Targets/SystemZ.cpp SRCS_MIN+= Basic/Targets/TCE.cpp +SRCS_MIN+= Basic/Targets/VE.cpp SRCS_MIN+= Basic/Targets/WebAssembly.cpp SRCS_MIN+= Basic/Targets/X86.cpp SRCS_MIN+= Basic/Targets/XCore.cpp SRCS_MIN+= Basic/TokenKinds.cpp +SRCS_MIN+= Basic/TypeTraits.cpp SRCS_MIN+= Basic/Version.cpp SRCS_MIN+= Basic/Warnings.cpp SRCS_MIN+= Basic/XRayInstr.cpp @@ -303,6 +308,7 @@ SRCS_MIN+= Driver/ToolChains/Arch/PPC.cpp SRCS_MIN+= Driver/ToolChains/Arch/RISCV.cpp SRCS_MIN+= Driver/ToolChains/Arch/Sparc.cpp SRCS_MIN+= Driver/ToolChains/Arch/SystemZ.cpp +SRCS_MIN+= Driver/ToolChains/Arch/VE.cpp SRCS_MIN+= Driver/ToolChains/Arch/X86.cpp SRCS_MIN+= Driver/ToolChains/BareMetal.cpp SRCS_MIN+= Driver/ToolChains/Clang.cpp @@ -337,6 +343,7 @@ SRCS_MIN+= Driver/ToolChains/PS4CPU.cpp SRCS_MIN+= Driver/ToolChains/RISCVToolchain.cpp SRCS_MIN+= Driver/ToolChains/Solaris.cpp SRCS_MIN+= Driver/ToolChains/TCE.cpp +SRCS_MIN+= Driver/ToolChains/VEToolchain.cpp SRCS_MIN+= Driver/ToolChains/WebAssembly.cpp SRCS_MIN+= Driver/ToolChains/XCore.cpp SRCS_MIN+= Driver/Types.cpp @@ -460,6 +467,7 @@ SRCS_MIN+= Sema/ScopeInfo.cpp SRCS_MIN+= Sema/Sema.cpp SRCS_MIN+= Sema/SemaAccess.cpp SRCS_MIN+= Sema/SemaAttr.cpp +SRCS_MIN+= Sema/SemaAvailability.cpp SRCS_MIN+= Sema/SemaCUDA.cpp SRCS_MIN+= Sema/SemaCXXScopeSpec.cpp SRCS_MIN+= Sema/SemaCast.cpp @@ -486,6 +494,7 @@ SRCS_MIN+= Sema/SemaObjCProperty.cpp SRCS_MIN+= Sema/SemaOpenMP.cpp SRCS_MIN+= Sema/SemaOverload.cpp SRCS_MIN+= Sema/SemaPseudoObject.cpp +SRCS_MIN+= Sema/SemaSYCL.cpp SRCS_MIN+= Sema/SemaStmt.cpp SRCS_MIN+= Sema/SemaStmtAsm.cpp SRCS_MIN+= Sema/SemaStmtAttr.cpp @@ -533,9 +542,11 @@ SRCS_FUL+= StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CheckSizeofPointer.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ChrootChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CloneChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/ContainerModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ConversionChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DeadStoresChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DebugCheckers.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/DebugContainerModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DebugIteratorModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DereferenceChecker.cpp @@ -599,7 +610,9 @@ SRCS_FUL+= StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ReturnUndefChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ReturnValueChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/SimpleStreamChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/SmartPtrChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/SmartPtrModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp @@ -622,6 +635,12 @@ SRCS_FUL+= StaticAnalyzer/Checkers/VLASizeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ValistChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/VforkChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/VirtualCallChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp SRCS_FUL+= StaticAnalyzer/Core/APSIntType.cpp SRCS_FUL+= StaticAnalyzer/Core/AnalysisManager.cpp SRCS_FUL+= StaticAnalyzer/Core/AnalyzerOptions.cpp @@ -634,9 +653,11 @@ SRCS_FUL+= StaticAnalyzer/Core/Checker.cpp SRCS_FUL+= StaticAnalyzer/Core/CheckerContext.cpp SRCS_FUL+= StaticAnalyzer/Core/CheckerHelpers.cpp SRCS_FUL+= StaticAnalyzer/Core/CheckerManager.cpp +SRCS_FUL+= StaticAnalyzer/Core/CheckerRegistryData.cpp SRCS_FUL+= StaticAnalyzer/Core/CommonBugCategories.cpp SRCS_FUL+= StaticAnalyzer/Core/ConstraintManager.cpp SRCS_FUL+= StaticAnalyzer/Core/CoreEngine.cpp +SRCS_FUL+= StaticAnalyzer/Core/DynamicSize.cpp SRCS_FUL+= StaticAnalyzer/Core/DynamicType.cpp SRCS_FUL+= StaticAnalyzer/Core/Environment.cpp SRCS_FUL+= StaticAnalyzer/Core/ExplodedGraph.cpp @@ -663,12 +684,13 @@ SRCS_FUL+= StaticAnalyzer/Core/SarifDiagnostics.cpp SRCS_FUL+= StaticAnalyzer/Core/SimpleConstraintManager.cpp 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/TextDiagnostics.cpp SRCS_FUL+= StaticAnalyzer/Core/WorkList.cpp SRCS_FUL+= StaticAnalyzer/Frontend/AnalysisConsumer.cpp -SRCS_FUL+= StaticAnalyzer/Frontend/CheckerRegistration.cpp +SRCS_FUL+= StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp SRCS_FUL+= StaticAnalyzer/Frontend/CheckerRegistry.cpp +SRCS_FUL+= StaticAnalyzer/Frontend/CreateCheckerManager.cpp SRCS_FUL+= StaticAnalyzer/Frontend/FrontendActions.cpp SRCS_FUL+= StaticAnalyzer/Frontend/ModelConsumer.cpp SRCS_FUL+= StaticAnalyzer/Frontend/ModelInjector.cpp @@ -876,6 +898,32 @@ clang/Basic/arm_neon.inc: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td TGHDRS+= clang/Basic/arm_neon.inc +clang/Basic/arm_cde_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-def \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtins.inc + +clang/Basic/arm_cde_builtin_aliases.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-aliases \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtin_aliases.inc + +clang/Basic/arm_cde_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-codegen \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtin_cg.inc + +clang/Basic/arm_cde_builtin_sema.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-sema \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtin_sema.inc + clang/Basic/arm_mve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td ${CLANG_TBLGEN} -gen-arm-mve-builtin-def \ -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ @@ -902,6 +950,32 @@ clang/Basic/arm_mve_builtin_sema.inc: \ -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td TGHDRS+= clang/Basic/arm_mve_builtin_sema.inc +clang/Basic/arm_sve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-builtins \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_builtins.inc + +clang/Basic/arm_sve_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-builtin-codegen \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_builtin_cg.inc + +clang/Basic/arm_sve_sema_rangechecks.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-sema-rangechecks \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_sema_rangechecks.inc + +clang/Basic/arm_sve_typeflags.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-typeflags \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_typeflags.inc + clang/Driver/Options.inc: ${CLANG_SRCS}/include/clang/Driver/Options.td ${LLVM_TBLGEN} -gen-opt-parser-defs \ -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \ diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile index dff816a17eb8..97deef784dc5 100644 --- a/lib/clang/liblldb/Makefile +++ b/lib/clang/liblldb/Makefile @@ -7,9 +7,9 @@ SRCDIR= lldb/source CFLAGS+= -I${LLDB_SRCS}/include CFLAGS+= -I${LLDB_SRCS}/source -CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/FreeBSD -CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/POSIX -CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/Utility +#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/FreeBSD +#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/POSIX +#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/Utility CFLAGS+= -I${OBJTOP}/lib/clang/libllvm CFLAGS+= -I${OBJTOP}/lib/clang/libclang CFLAGS+= -I${OBJTOP}/lib/clang/liblldb @@ -25,12 +25,14 @@ SRCS+= API/SBBreakpointName.cpp SRCS+= API/SBBreakpointOptionCommon.cpp SRCS+= API/SBBroadcaster.cpp SRCS+= API/SBCommandInterpreter.cpp +SRCS+= API/SBCommandInterpreterRunOptions.cpp SRCS+= API/SBCommandReturnObject.cpp SRCS+= API/SBCommunication.cpp SRCS+= API/SBCompileUnit.cpp SRCS+= API/SBData.cpp SRCS+= API/SBDebugger.cpp SRCS+= API/SBDeclaration.cpp +SRCS+= API/SBEnvironment.cpp SRCS+= API/SBError.cpp SRCS+= API/SBEvent.cpp SRCS+= API/SBExecutionContext.cpp @@ -235,7 +237,6 @@ SRCS+= Host/common/Socket.cpp SRCS+= Host/common/SocketAddress.cpp SRCS+= Host/common/StringConvert.cpp SRCS+= Host/common/TCPSocket.cpp -SRCS+= Host/common/TaskPool.cpp SRCS+= Host/common/Terminal.cpp SRCS+= Host/common/ThreadLauncher.cpp SRCS+= Host/common/UDPSocket.cpp @@ -298,48 +299,60 @@ SRCS+= Interpreter/OptionValueUUID.cpp SRCS+= Interpreter/Options.cpp SRCS+= Interpreter/Property.cpp SRCS+= Interpreter/ScriptInterpreter.cpp -SRCS+= Plugins/ABI/SysV-arm/ABISysV_arm.cpp -SRCS+= Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp -SRCS+= Plugins/ABI/SysV-i386/ABISysV_i386.cpp -SRCS+= Plugins/ABI/SysV-mips/ABISysV_mips.cpp -SRCS+= Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp -SRCS+= Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp -SRCS+= Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp -SRCS+= Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp +SRCS+= Plugins/ABI/AArch64/ABIAArch64.cpp +SRCS+= Plugins/ABI/AArch64/ABISysV_arm64.cpp +SRCS+= Plugins/ABI/ARM/ABIARM.cpp +SRCS+= Plugins/ABI/ARM/ABISysV_arm.cpp +SRCS+= Plugins/ABI/Mips/ABIMips.cpp +SRCS+= Plugins/ABI/Mips/ABISysV_mips.cpp +SRCS+= Plugins/ABI/Mips/ABISysV_mips64.cpp +SRCS+= Plugins/ABI/PowerPC/ABIPowerPC.cpp +SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc.cpp +SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc64.cpp +SRCS+= Plugins/ABI/X86/ABISysV_i386.cpp +SRCS+= Plugins/ABI/X86/ABISysV_x86_64.cpp +SRCS+= Plugins/ABI/X86/ABIX86.cpp SRCS+= Plugins/Architecture/Arm/ArchitectureArm.cpp SRCS+= Plugins/Architecture/Mips/ArchitectureMips.cpp SRCS+= Plugins/Architecture/PPC64/ArchitecturePPC64.cpp -SRCS+= Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp +SRCS+= Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp SRCS+= Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp SRCS+= Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp SRCS+= Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp SRCS+= Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp SRCS+= Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp SRCS+= Plugins/ExpressionParser/Clang/ASTUtils.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangASTImporter.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangASTMetadata.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangASTSource.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangHost.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangUserExpression.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangUtil.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp SRCS+= Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp +SRCS+= Plugins/ExpressionParser/Clang/CxxModuleHandler.cpp SRCS+= Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp SRCS+= Plugins/ExpressionParser/Clang/IRForTarget.cpp +SRCS+= Plugins/ExpressionParser/Clang/NameSearchContext.cpp SRCS+= Plugins/Instruction/ARM/EmulateInstructionARM.cpp 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/Instruction/PPC64/EmulateInstructionPPC64.cpp -SRCS+= Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp -SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp -SRCS+= Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp +SRCS+= Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp +SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp +SRCS+= Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp +SRCS+= Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp SRCS+= Plugins/JITLoader/GDB/JITLoaderGDB.cpp SRCS+= Plugins/Language/CPlusPlus/BlockPointer.cpp SRCS+= Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp @@ -378,6 +391,8 @@ SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp SRCS+= Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp +SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp +SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp SRCS+= Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp SRCS+= Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp SRCS+= Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp @@ -418,13 +433,12 @@ 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_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_i386.cpp SRCS+= Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp @@ -440,8 +454,6 @@ SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp SRCS+= Plugins/Process/Utility/StopInfoMachException.cpp SRCS+= Plugins/Process/Utility/ThreadMemory.cpp -SRCS+= Plugins/Process/Utility/UnwindLLDB.cpp -SRCS+= Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp SRCS+= Plugins/Process/elf-core/ProcessElfCore.cpp SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp @@ -499,27 +511,20 @@ SRCS+= Plugins/SymbolFile/DWARF/NameToDIE.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp -SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.cpp -SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.cpp SRCS+= Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp SRCS+= Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp SRCS+= Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp +SRCS+= Plugins/TypeSystem/Clang/TypeSystemClang.cpp SRCS+= Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp SRCS+= Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp SRCS+= Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp SRCS+= Symbol/ArmUnwindInfo.cpp SRCS+= Symbol/Block.cpp -SRCS+= Symbol/ClangASTContext.cpp -SRCS+= Symbol/ClangASTImporter.cpp -SRCS+= Symbol/ClangASTMetadata.cpp -SRCS+= Symbol/ClangExternalASTSourceCallbacks.cpp -SRCS+= Symbol/ClangUtil.cpp SRCS+= Symbol/CompactUnwindInfo.cpp SRCS+= Symbol/CompileUnit.cpp SRCS+= Symbol/CompilerDecl.cpp SRCS+= Symbol/CompilerDeclContext.cpp SRCS+= Symbol/CompilerType.cpp -SRCS+= Symbol/CxxModuleHandler.cpp SRCS+= Symbol/DWARFCallFrameInfo.cpp SRCS+= Symbol/DebugMacros.cpp SRCS+= Symbol/DeclVendor.cpp @@ -545,6 +550,7 @@ SRCS+= Symbol/UnwindTable.cpp SRCS+= Symbol/Variable.cpp SRCS+= Symbol/VariableList.cpp SRCS+= Target/ABI.cpp +SRCS+= Target/AssertFrameRecognizer.cpp SRCS+= Target/ExecutionContext.cpp SRCS+= Target/InstrumentationRuntime.cpp SRCS+= Target/InstrumentationRuntimeStopInfo.cpp @@ -564,6 +570,7 @@ SRCS+= Target/Queue.cpp SRCS+= Target/QueueItem.cpp SRCS+= Target/QueueList.cpp SRCS+= Target/RegisterContext.cpp +SRCS+= Target/RegisterContextUnwind.cpp SRCS+= Target/RegisterNumber.cpp SRCS+= Target/RemoteAwarePlatform.cpp SRCS+= Target/SectionLoadHistory.cpp @@ -587,6 +594,7 @@ SRCS+= Target/ThreadPlanCallUserExpression.cpp SRCS+= Target/ThreadPlanPython.cpp SRCS+= Target/ThreadPlanRunToAddress.cpp SRCS+= Target/ThreadPlanShouldStopHere.cpp +SRCS+= Target/ThreadPlanStack.cpp SRCS+= Target/ThreadPlanStepInRange.cpp SRCS+= Target/ThreadPlanStepInstruction.cpp SRCS+= Target/ThreadPlanStepOut.cpp @@ -599,6 +607,7 @@ SRCS+= Target/ThreadPlanTracer.cpp SRCS+= Target/ThreadSpec.cpp SRCS+= Target/UnixSignals.cpp SRCS+= Target/UnwindAssembly.cpp +SRCS+= Target/UnwindLLDB.cpp SRCS+= Utility/ArchSpec.cpp SRCS+= Utility/Args.cpp SRCS+= Utility/Baton.cpp @@ -627,7 +636,6 @@ SRCS+= Utility/Reproducer.cpp SRCS+= Utility/ReproducerInstrumentation.cpp SRCS+= Utility/Scalar.cpp SRCS+= Utility/SelectHelper.cpp -SRCS+= Utility/SharingPtr.cpp SRCS+= Utility/State.cpp SRCS+= Utility/Status.cpp SRCS+= Utility/Stream.cpp @@ -687,13 +695,13 @@ INTERNALLIB= # Building lldb's bindings requires swig, but we do not want to include it in # the FreeBSD base system (as a build tool) because it has non-trivial # dependencies. As a workaround we commit the generated file. Requires the -# swig30 package. +# swig package. # # After importing an updated llvm/lldb into FreeBSD run `make run-swig` in # this directory to generate generate LLDBWrapLua.cpp, and commit the result. .PHONY: run-swig run-swig: - swig3.0 -I${LLDB_SRCS}/include \ + swig -I${LLDB_SRCS}/include \ -c++ -features autodoc -lua -w503 \ -o ${.CURDIR}/LLDBWrapLua.cpp ${LLDB_SRCS}/bindings/lua.swig diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile index 0bd768e97e57..f2f48f59bade 100644 --- a/lib/clang/libllvm/Makefile +++ b/lib/clang/libllvm/Makefile @@ -41,6 +41,7 @@ SRCS_MIN+= Analysis/AliasAnalysisEvaluator.cpp SRCS_MIN+= Analysis/AliasAnalysisSummary.cpp SRCS_MIN+= Analysis/AliasSetTracker.cpp SRCS_EXT+= Analysis/Analysis.cpp +SRCS_MIN+= Analysis/AssumeBundleQueries.cpp SRCS_MIN+= Analysis/AssumptionCache.cpp SRCS_MIN+= Analysis/BasicAliasAnalysis.cpp SRCS_MIN+= Analysis/BlockFrequencyInfo.cpp @@ -71,10 +72,14 @@ SRCS_MIN+= Analysis/DominanceFrontier.cpp SRCS_MIN+= Analysis/EHPersonalities.cpp SRCS_MIN+= Analysis/GlobalsModRef.cpp SRCS_MIN+= Analysis/GuardUtils.cpp +SRCS_MIN+= Analysis/HeatUtils.cpp SRCS_MIN+= Analysis/IVDescriptors.cpp SRCS_MIN+= Analysis/IVUsers.cpp SRCS_MIN+= Analysis/IndirectCallPromotionAnalysis.cpp +SRCS_MIN+= Analysis/InlineAdvisor.cpp SRCS_MIN+= Analysis/InlineCost.cpp +SRCS_MIN+= Analysis/InlineFeaturesAnalysis.cpp +SRCS_MIN+= Analysis/InlineSizeEstimatorAnalysis.cpp SRCS_MIN+= Analysis/InstCount.cpp SRCS_MIN+= Analysis/InstructionPrecedenceTracking.cpp SRCS_MIN+= Analysis/InstructionSimplify.cpp @@ -91,6 +96,7 @@ SRCS_MIN+= Analysis/LoopAccessAnalysis.cpp SRCS_MIN+= Analysis/LoopAnalysisManager.cpp SRCS_MIN+= Analysis/LoopCacheAnalysis.cpp SRCS_MIN+= Analysis/LoopInfo.cpp +SRCS_MIN+= Analysis/LoopNestAnalysis.cpp SRCS_MIN+= Analysis/LoopPass.cpp SRCS_MIN+= Analysis/LoopUnrollAnalyzer.cpp SRCS_MIN+= Analysis/MemDepPrinter.cpp @@ -107,8 +113,6 @@ SRCS_MIN+= Analysis/ObjCARCAliasAnalysis.cpp SRCS_MIN+= Analysis/ObjCARCAnalysisUtils.cpp SRCS_MIN+= Analysis/ObjCARCInstKind.cpp SRCS_MIN+= Analysis/OptimizationRemarkEmitter.cpp -SRCS_MIN+= Analysis/OrderedBasicBlock.cpp -SRCS_MIN+= Analysis/OrderedInstructions.cpp SRCS_MIN+= Analysis/PHITransAddr.cpp SRCS_MIN+= Analysis/PhiValues.cpp SRCS_MIN+= Analysis/PostDominators.cpp @@ -118,10 +122,12 @@ SRCS_MIN+= Analysis/RegionInfo.cpp SRCS_MIN+= Analysis/RegionPass.cpp SRCS_MIN+= Analysis/RegionPrinter.cpp SRCS_MIN+= Analysis/ScalarEvolution.cpp +SRCS_MIN+= Analysis/ScalarEvolution.cpp SRCS_MIN+= Analysis/ScalarEvolutionAliasAnalysis.cpp -SRCS_MIN+= Analysis/ScalarEvolutionExpander.cpp +SRCS_MIN+= Analysis/ScalarEvolutionDivision.cpp SRCS_MIN+= Analysis/ScalarEvolutionNormalization.cpp SRCS_MIN+= Analysis/ScopedNoAliasAA.cpp +SRCS_MIN+= Analysis/StackLifetime.cpp SRCS_MIN+= Analysis/StackSafetyAnalysis.cpp SRCS_MIN+= Analysis/SyncDependenceAnalysis.cpp SRCS_MIN+= Analysis/SyntheticCountsUtils.cpp @@ -139,6 +145,7 @@ SRCS_MIN+= AsmParser/LLParser.cpp SRCS_MIN+= AsmParser/Parser.cpp SRCS_MIN+= BinaryFormat/Dwarf.cpp SRCS_MIN+= BinaryFormat/Magic.cpp +SRCS_MIN+= BinaryFormat/MachO.cpp SRCS_MIN+= BinaryFormat/Wasm.cpp SRCS_MIN+= BinaryFormat/XCOFF.cpp SRCS_MIN+= Bitcode/Reader/BitReader.cpp @@ -179,6 +186,7 @@ SRCS_MIN+= CodeGen/AsmPrinter/WasmException.cpp SRCS_MIN+= CodeGen/AsmPrinter/WinCFGuard.cpp SRCS_MIN+= CodeGen/AsmPrinter/WinException.cpp SRCS_MIN+= CodeGen/AtomicExpandPass.cpp +SRCS_MIN+= CodeGen/BBSectionsPrepare.cpp SRCS_MIN+= CodeGen/BasicTargetTransformInfo.cpp SRCS_MIN+= CodeGen/BranchFolding.cpp SRCS_MIN+= CodeGen/BranchRelaxation.cpp @@ -190,6 +198,7 @@ SRCS_MIN+= CodeGen/CalcSpillWeights.cpp SRCS_MIN+= CodeGen/CallingConvLower.cpp SRCS_MIN+= CodeGen/CodeGen.cpp SRCS_MIN+= CodeGen/CodeGenPrepare.cpp +SRCS_EXL+= CodeGen/CommandFlags.cpp SRCS_MIN+= CodeGen/CriticalAntiDepBreaker.cpp SRCS_MIN+= CodeGen/DFAPacketizer.cpp SRCS_MIN+= CodeGen/DeadMachineInstructionElim.cpp @@ -204,6 +213,7 @@ SRCS_MIN+= CodeGen/ExpandReductions.cpp SRCS_MIN+= CodeGen/FEntryInserter.cpp SRCS_MIN+= CodeGen/FaultMaps.cpp SRCS_MIN+= CodeGen/FinalizeISel.cpp +SRCS_MIN+= CodeGen/FixupStatepointCallerSaved.cpp SRCS_MIN+= CodeGen/FuncletLayout.cpp SRCS_MIN+= CodeGen/GCMetadata.cpp SRCS_MIN+= CodeGen/GCMetadataPrinter.cpp @@ -218,6 +228,7 @@ SRCS_MIN+= CodeGen/GlobalISel/GISelChangeObserver.cpp SRCS_MIN+= CodeGen/GlobalISel/GISelKnownBits.cpp SRCS_MIN+= CodeGen/GlobalISel/GlobalISel.cpp SRCS_MIN+= CodeGen/GlobalISel/IRTranslator.cpp +SRCS_MIN+= CodeGen/GlobalISel/InlineAsmLowering.cpp SRCS_MIN+= CodeGen/GlobalISel/InstructionSelect.cpp SRCS_MIN+= CodeGen/GlobalISel/InstructionSelector.cpp SRCS_MIN+= CodeGen/GlobalISel/LegalityPredicates.cpp @@ -226,6 +237,7 @@ 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/LostDebugLocObserver.cpp SRCS_MIN+= CodeGen/GlobalISel/MachineIRBuilder.cpp SRCS_MIN+= CodeGen/GlobalISel/RegBankSelect.cpp SRCS_MIN+= CodeGen/GlobalISel/RegisterBank.cpp @@ -248,6 +260,7 @@ SRCS_MIN+= CodeGen/LexicalScopes.cpp SRCS_MIN+= CodeGen/LiveDebugValues.cpp SRCS_MIN+= CodeGen/LiveDebugVariables.cpp SRCS_MIN+= CodeGen/LiveInterval.cpp +SRCS_MIN+= CodeGen/LiveIntervalCalc.cpp SRCS_MIN+= CodeGen/LiveIntervalUnion.cpp SRCS_MIN+= CodeGen/LiveIntervals.cpp SRCS_MIN+= CodeGen/LivePhysRegs.cpp @@ -262,6 +275,7 @@ SRCS_MIN+= CodeGen/LocalStackSlotAllocation.cpp SRCS_MIN+= CodeGen/LoopTraversal.cpp SRCS_MIN+= CodeGen/LowLevelType.cpp SRCS_MIN+= CodeGen/LowerEmuTLS.cpp +SRCS_MIN+= CodeGen/MBFIWrapper.cpp SRCS_MIN+= CodeGen/MIRCanonicalizerPass.cpp SRCS_MIN+= CodeGen/MIRNamerPass.cpp SRCS_EXT+= CodeGen/MIRParser/MILexer.cpp @@ -277,6 +291,7 @@ SRCS_MIN+= CodeGen/MachineBranchProbabilityInfo.cpp SRCS_MIN+= CodeGen/MachineCSE.cpp SRCS_MIN+= CodeGen/MachineCombiner.cpp SRCS_MIN+= CodeGen/MachineCopyPropagation.cpp +SRCS_MIN+= CodeGen/MachineDebugify.cpp SRCS_MIN+= CodeGen/MachineDominanceFrontier.cpp SRCS_MIN+= CodeGen/MachineDominators.cpp SRCS_MIN+= CodeGen/MachineFrameInfo.cpp @@ -301,6 +316,7 @@ SRCS_MIN+= CodeGen/MachineSSAUpdater.cpp SRCS_MIN+= CodeGen/MachineScheduler.cpp SRCS_MIN+= CodeGen/MachineSink.cpp SRCS_MIN+= CodeGen/MachineSizeOpts.cpp +SRCS_MIN+= CodeGen/MachineStripDebug.cpp SRCS_MIN+= CodeGen/MachineTraceMetrics.cpp SRCS_MIN+= CodeGen/MachineVerifier.cpp SRCS_MIN+= CodeGen/MacroFusion.cpp @@ -336,7 +352,6 @@ SRCS_MIN+= CodeGen/RegisterUsageInfo.cpp SRCS_MIN+= CodeGen/RenameIndependentSubregs.cpp 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 @@ -490,11 +505,16 @@ SRCS_EXT+= DebugInfo/PDB/Native/NamedStreamMap.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeCompilandSymbol.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumGlobals.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumLineNumbers.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumModules.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumTypes.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeExeSymbol.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeFunctionSymbol.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeLineNumber.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativePublicSymbol.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeRawSymbol.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeSession.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeSourceFile.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeTypeArray.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeTypeBuiltin.cpp @@ -567,6 +587,8 @@ SRCS_XDB+= ExecutionEngine/Interpreter/Execution.cpp SRCS_XDB+= ExecutionEngine/Interpreter/ExternalFunctions.cpp SRCS_XDB+= ExecutionEngine/Interpreter/Interpreter.cpp SRCS_EXT+= ExecutionEngine/JITLink/EHFrameSupport.cpp +SRCS_EXT+= ExecutionEngine/JITLink/ELF.cpp +SRCS_EXT+= ExecutionEngine/JITLink/ELF_x86_64.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLink.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLinkGeneric.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLinkMemoryManager.cpp @@ -578,6 +600,7 @@ SRCS_XDB+= ExecutionEngine/MCJIT/MCJIT.cpp SRCS_EXT+= ExecutionEngine/Orc/CompileOnDemandLayer.cpp SRCS_EXT+= ExecutionEngine/Orc/CompileUtils.cpp SRCS_EXT+= ExecutionEngine/Orc/Core.cpp +SRCS_EXT+= ExecutionEngine/Orc/DebugUtils.cpp SRCS_EXT+= ExecutionEngine/Orc/ExecutionUtils.cpp SRCS_EXT+= ExecutionEngine/Orc/IRCompileLayer.cpp SRCS_EXT+= ExecutionEngine/Orc/IRTransformLayer.cpp @@ -587,6 +610,8 @@ SRCS_EXT+= ExecutionEngine/Orc/LLJIT.cpp SRCS_EXT+= ExecutionEngine/Orc/Layer.cpp SRCS_EXT+= ExecutionEngine/Orc/LazyReexports.cpp SRCS_EXT+= ExecutionEngine/Orc/Legacy.cpp +SRCS_EXT+= ExecutionEngine/Orc/MachOPlatform.cpp +SRCS_EXT+= ExecutionEngine/Orc/Mangling.cpp SRCS_EXT+= ExecutionEngine/Orc/NullResolver.cpp SRCS_EXT+= ExecutionEngine/Orc/ObjectLinkingLayer.cpp SRCS_EXT+= ExecutionEngine/Orc/ObjectTransformLayer.cpp @@ -608,7 +633,7 @@ SRCS_XDB+= ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp SRCS_XDB+= ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp SRCS_XDB+= ExecutionEngine/SectionMemoryManager.cpp SRCS_XDB+= ExecutionEngine/TargetSelect.cpp -SRCS_MIN+= Frontend/OpenMP/OMPConstants.cpp +SRCS_MIN+= Frontend/OpenMP/OMPContext.cpp SRCS_MIN+= Frontend/OpenMP/OMPIRBuilder.cpp SRCS_MIN+= IR/AbstractCallSite.cpp SRCS_MIN+= IR/AsmWriter.cpp @@ -641,6 +666,7 @@ SRCS_MIN+= IR/Instructions.cpp SRCS_MIN+= IR/IntrinsicInst.cpp SRCS_MIN+= IR/LLVMContext.cpp SRCS_MIN+= IR/LLVMContextImpl.cpp +SRCS_MIN+= IR/LLVMRemarkStreamer.cpp SRCS_MIN+= IR/LegacyPassManager.cpp SRCS_MIN+= IR/MDBuilder.cpp SRCS_MIN+= IR/Mangler.cpp @@ -655,7 +681,6 @@ SRCS_MIN+= IR/PassManager.cpp SRCS_MIN+= IR/PassRegistry.cpp SRCS_MIN+= IR/PassTimingInfo.cpp SRCS_MIN+= IR/ProfileSummary.cpp -SRCS_MIN+= IR/RemarkStreamer.cpp SRCS_MIN+= IR/SafepointIRVerifier.cpp SRCS_MIN+= IR/Statepoint.cpp SRCS_MIN+= IR/Type.cpp @@ -705,6 +730,7 @@ SRCS_MIN+= MC/MCInst.cpp SRCS_MIN+= MC/MCInstPrinter.cpp SRCS_MIN+= MC/MCInstrAnalysis.cpp SRCS_MIN+= MC/MCInstrDesc.cpp +SRCS_MIN+= MC/MCInstrInfo.cpp SRCS_MIN+= MC/MCLinkerOptimizationHint.cpp SRCS_MIN+= MC/MCMachOStreamer.cpp SRCS_MIN+= MC/MCMachObjectTargetWriter.cpp @@ -734,7 +760,9 @@ SRCS_MIN+= MC/MCStreamer.cpp SRCS_MIN+= MC/MCSubtargetInfo.cpp SRCS_MIN+= MC/MCSymbol.cpp SRCS_MIN+= MC/MCSymbolELF.cpp +SRCS_MIN+= MC/MCSymbolXCOFF.cpp SRCS_MIN+= MC/MCTargetOptions.cpp +SRCS_MIN+= MC/MCTargetOptionsCommandFlags.cpp SRCS_MIN+= MC/MCValue.cpp SRCS_MIN+= MC/MCWasmStreamer.cpp SRCS_MIN+= MC/MCWin64EH.cpp @@ -790,6 +818,7 @@ SRCS_MIN+= Object/RecordStreamer.cpp SRCS_MIW+= Object/RelocationResolver.cpp SRCS_MIW+= Object/SymbolSize.cpp SRCS_MIN+= Object/SymbolicFile.cpp +SRCS_MIW+= Object/TapiFile.cpp SRCS_MIW+= Object/TapiUniversal.cpp SRCS_MIN+= Object/WasmObjectFile.cpp SRCS_MIW+= Object/WindowsMachineFlag.cpp @@ -824,6 +853,7 @@ SRCS_MIN+= ProfileData/SampleProfWriter.cpp SRCS_MIN+= Remarks/BitstreamRemarkSerializer.cpp SRCS_MIN+= Remarks/RemarkFormat.cpp SRCS_MIN+= Remarks/RemarkSerializer.cpp +SRCS_MIN+= Remarks/RemarkStreamer.cpp SRCS_MIN+= Remarks/RemarkStringTable.cpp SRCS_MIN+= Remarks/YAMLRemarkSerializer.cpp SRCS_MIN+= Support/AArch64TargetParser.cpp @@ -859,6 +889,8 @@ SRCS_MIN+= Support/Debug.cpp SRCS_MIN+= Support/DebugCounter.cpp SRCS_MIN+= Support/DeltaAlgorithm.cpp SRCS_MIN+= Support/DynamicLibrary.cpp +SRCS_MIN+= Support/ELFAttributeParser.cpp +SRCS_MIN+= Support/ELFAttributes.cpp SRCS_MIN+= Support/Errno.cpp SRCS_MIN+= Support/Error.cpp SRCS_MIN+= Support/ErrorHandling.cpp @@ -886,9 +918,11 @@ SRCS_MIN+= Support/LowLevelType.cpp SRCS_MIN+= Support/MD5.cpp SRCS_MIN+= Support/ManagedStatic.cpp SRCS_MIN+= Support/MathExtras.cpp +SRCS_MIN+= Support/MemAlloc.cpp SRCS_XDL+= Support/Memory.cpp SRCS_MIN+= Support/MemoryBuffer.cpp SRCS_MIN+= Support/NativeFormatting.cpp +SRCS_MIN+= Support/OptimizedStructLayout.cpp SRCS_MIN+= Support/Optional.cpp SRCS_LLD+= Support/Parallel.cpp SRCS_MIN+= Support/Path.cpp @@ -896,6 +930,8 @@ SRCS_MIN+= Support/PluginLoader.cpp SRCS_MIN+= Support/PrettyStackTrace.cpp SRCS_MIN+= Support/Process.cpp SRCS_MIN+= Support/Program.cpp +SRCS_MIN+= Support/RISCVAttributeParser.cpp +SRCS_MIN+= Support/RISCVAttributes.cpp SRCS_MIN+= Support/RWMutex.cpp SRCS_MIN+= Support/RandomNumberGenerator.cpp SRCS_MIN+= Support/Regex.cpp @@ -913,6 +949,7 @@ SRCS_MIN+= Support/StringExtras.cpp SRCS_MIN+= Support/StringMap.cpp SRCS_MIN+= Support/StringRef.cpp SRCS_MIN+= Support/StringSaver.cpp +SRCS_MIN+= Support/SuffixTree.cpp SRCS_MIN+= Support/SymbolRemappingReader.cpp SRCS_EXT+= Support/SystemUtils.cpp SRCS_LLD+= Support/TarWriter.cpp @@ -934,6 +971,7 @@ SRCS_MIN+= Support/VirtualFileSystem.cpp SRCS_MIN+= Support/VersionTuple.cpp SRCS_MIN+= Support/Watchdog.cpp SRCS_MIN+= Support/WithColor.cpp +SRCS_MIN+= Support/X86TargetParser.cpp SRCS_MIN+= Support/YAMLParser.cpp SRCS_MIN+= Support/YAMLTraits.cpp SRCS_FUL+= Support/Z3Solver.cpp @@ -961,7 +999,6 @@ SRCS_MIN+= Target/AArch64/AArch64A57FPLoadBalancing.cpp SRCS_MIN+= Target/AArch64/AArch64AdvSIMDScalarPass.cpp SRCS_MIN+= Target/AArch64/AArch64AsmPrinter.cpp SRCS_MIN+= Target/AArch64/AArch64BranchTargets.cpp -SRCS_MIN+= Target/AArch64/AArch64CallLowering.cpp SRCS_MIN+= Target/AArch64/AArch64CallingConvention.cpp SRCS_MIN+= Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp SRCS_MIN+= Target/AArch64/AArch64CollectLOH.cpp @@ -978,18 +1015,16 @@ 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/AArch64MachineFunctionInfo.cpp SRCS_MIN+= Target/AArch64/AArch64MacroFusion.cpp SRCS_MIN+= Target/AArch64/AArch64PBQPRegAlloc.cpp -SRCS_MIN+= Target/AArch64/AArch64PreLegalizerCombiner.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/AArch64SIMDInstrOpt.cpp +SRCS_MIN+= Target/AArch64/AArch64SLSHardening.cpp SRCS_MIN+= Target/AArch64/AArch64SelectionDAGInfo.cpp SRCS_MIN+= Target/AArch64/AArch64SpeculationHardening.cpp SRCS_MIN+= Target/AArch64/AArch64StackTagging.cpp @@ -1002,6 +1037,12 @@ SRCS_MIN+= Target/AArch64/AArch64TargetTransformInfo.cpp SRCS_MIN+= Target/AArch64/AsmParser/AArch64AsmParser.cpp SRCS_XDW+= Target/AArch64/Disassembler/AArch64Disassembler.cpp SRCS_XDW+= Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64CallLowering.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64InstructionSelector.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64LegalizerInfo.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64RegisterBankInfo.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp @@ -1014,6 +1055,7 @@ 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/SVEIntrinsicOpts.cpp SRCS_MIN+= Target/AArch64/TargetInfo/AArch64TargetInfo.cpp SRCS_MIN+= Target/AArch64/Utils/AArch64BaseInfo.cpp .endif # MK_LLVM_TARGET_AARCH64 @@ -1070,6 +1112,7 @@ SRCS_MIN+= Target/ARM/MLxExpansionPass.cpp SRCS_MIN+= Target/ARM/MVEGatherScatterLowering.cpp SRCS_MIN+= Target/ARM/MVETailPredication.cpp SRCS_MIN+= Target/ARM/MVEVPTBlockPass.cpp +SRCS_MIN+= Target/ARM/MVEVPTOptimisationsPass.cpp SRCS_MIN+= Target/ARM/TargetInfo/ARMTargetInfo.cpp SRCS_MIN+= Target/ARM/Thumb1FrameLowering.cpp SRCS_MIN+= Target/ARM/Thumb1InstrInfo.cpp @@ -1166,12 +1209,12 @@ SRCS_MIN+= Target/PowerPC/AsmParser/PPCAsmParser.cpp SRCS_MIN+= Target/PowerPC/Disassembler/PPCDisassembler.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp +SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp -SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCPredicates.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp SRCS_MIN+= Target/PowerPC/PPCAsmPrinter.cpp @@ -1191,6 +1234,7 @@ SRCS_MIN+= Target/PowerPC/PPCISelLowering.cpp SRCS_MIN+= Target/PowerPC/PPCInstrInfo.cpp SRCS_MIN+= Target/PowerPC/PPCLoopInstrFormPrep.cpp SRCS_MIN+= Target/PowerPC/PPCLowerMASSVEntries.cpp +SRCS_MIN+= Target/PowerPC/PPCMacroFusion.cpp SRCS_MIN+= Target/PowerPC/PPCMCInstLower.cpp SRCS_MIN+= Target/PowerPC/PPCMIPeephole.cpp SRCS_MIN+= Target/PowerPC/PPCMachineFunctionInfo.cpp @@ -1224,6 +1268,7 @@ SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp SRCS_MIN+= Target/RISCV/RISCVAsmPrinter.cpp SRCS_MIN+= Target/RISCV/RISCVCallLowering.cpp +SRCS_MIN+= Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp SRCS_MIN+= Target/RISCV/RISCVExpandPseudoInsts.cpp SRCS_MIN+= Target/RISCV/RISCVFrameLowering.cpp SRCS_MIN+= Target/RISCV/RISCVInstrInfo.cpp @@ -1260,11 +1305,11 @@ SRCS_MIN+= Target/X86/MCTargetDesc/X86MCAsmInfo.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86MCTargetDesc.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86MachObjectWriter.cpp +SRCS_MIN+= Target/X86/MCTargetDesc/X86ShuffleDecode.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp SRCS_MIN+= Target/X86/TargetInfo/X86TargetInfo.cpp -SRCS_MIN+= Target/X86/Utils/X86ShuffleDecode.cpp SRCS_MIN+= Target/X86/X86AsmPrinter.cpp SRCS_MIN+= Target/X86/X86AvoidStoreForwardingBlocks.cpp SRCS_MIN+= Target/X86/X86AvoidTrailingCall.cpp @@ -1289,6 +1334,7 @@ SRCS_MIN+= Target/X86/X86ISelLowering.cpp SRCS_MIN+= Target/X86/X86IndirectBranchTracking.cpp SRCS_MIN+= Target/X86/X86IndirectThunks.cpp SRCS_MIN+= Target/X86/X86InsertPrefetch.cpp +SRCS_MIN+= Target/X86/X86InsertWait.cpp SRCS_MIN+= Target/X86/X86InstrFMA3Info.cpp SRCS_MIN+= Target/X86/X86InstrFoldTables.cpp SRCS_MIN+= Target/X86/X86InstrInfo.cpp @@ -1302,10 +1348,12 @@ 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/X86PartialReduction.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 +SRCS_MIN+= Target/X86/X86SpeculativeExecutionSideEffectSuppression.cpp SRCS_MIN+= Target/X86/X86SpeculativeLoadHardening.cpp SRCS_MIN+= Target/X86/X86Subtarget.cpp SRCS_MIN+= Target/X86/X86TargetMachine.cpp @@ -1337,6 +1385,7 @@ SRCS_MIN+= Transforms/Coroutines/Coroutines.cpp SRCS_MIN+= Transforms/IPO/AlwaysInliner.cpp SRCS_MIN+= Transforms/IPO/ArgumentPromotion.cpp SRCS_MIN+= Transforms/IPO/Attributor.cpp +SRCS_MIN+= Transforms/IPO/AttributorAttributes.cpp SRCS_MIN+= Transforms/IPO/BarrierNoopPass.cpp SRCS_EXT+= Transforms/IPO/BlockExtractor.cpp SRCS_MIN+= Transforms/IPO/CalledValuePropagation.cpp @@ -1361,6 +1410,7 @@ SRCS_MIN+= Transforms/IPO/Internalize.cpp SRCS_MIN+= Transforms/IPO/LoopExtractor.cpp SRCS_MIN+= Transforms/IPO/LowerTypeTests.cpp SRCS_MIN+= Transforms/IPO/MergeFunctions.cpp +SRCS_MIN+= Transforms/IPO/OpenMPOpt.cpp SRCS_MIN+= Transforms/IPO/PartialInlining.cpp SRCS_MIN+= Transforms/IPO/PassManagerBuilder.cpp SRCS_MIN+= Transforms/IPO/PruneEH.cpp @@ -1379,6 +1429,7 @@ SRCS_MIN+= Transforms/InstCombine/InstCombineCasts.cpp SRCS_MIN+= Transforms/InstCombine/InstCombineCompares.cpp SRCS_MIN+= Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp SRCS_MIN+= Transforms/InstCombine/InstCombineMulDivRem.cpp +SRCS_MIN+= Transforms/InstCombine/InstCombineNegator.cpp SRCS_MIN+= Transforms/InstCombine/InstCombinePHI.cpp SRCS_MIN+= Transforms/InstCombine/InstCombineSelect.cpp SRCS_MIN+= Transforms/InstCombine/InstCombineShifts.cpp @@ -1487,24 +1538,29 @@ SRCS_MIN+= Transforms/Scalar/StraightLineStrengthReduce.cpp SRCS_MIN+= Transforms/Scalar/StructurizeCFG.cpp SRCS_MIN+= Transforms/Scalar/TailRecursionElimination.cpp SRCS_MIN+= Transforms/Scalar/WarnMissedTransforms.cpp +SRCS_MIN+= Transforms/Utils/AMDGPUEmitPrintf.cpp SRCS_MIN+= Transforms/Utils/ASanStackFrameLayout.cpp SRCS_MIN+= Transforms/Utils/AddDiscriminators.cpp +SRCS_MIN+= Transforms/Utils/AssumeBundleBuilder.cpp SRCS_MIN+= Transforms/Utils/BasicBlockUtils.cpp SRCS_MIN+= Transforms/Utils/BreakCriticalEdges.cpp SRCS_MIN+= Transforms/Utils/BuildLibCalls.cpp SRCS_MIN+= Transforms/Utils/BypassSlowDivision.cpp +SRCS_MIN+= Transforms/Utils/CallGraphUpdater.cpp SRCS_MIN+= Transforms/Utils/CallPromotionUtils.cpp SRCS_MIN+= Transforms/Utils/CanonicalizeAliases.cpp +SRCS_MIN+= Transforms/Utils/CanonicalizeFreezeInLoops.cpp SRCS_MIN+= Transforms/Utils/CloneFunction.cpp SRCS_MIN+= Transforms/Utils/CloneModule.cpp SRCS_MIN+= Transforms/Utils/CodeExtractor.cpp SRCS_MIN+= Transforms/Utils/CodeMoverUtils.cpp SRCS_MIN+= Transforms/Utils/CtorUtils.cpp -SRCS_EXT+= Transforms/Utils/Debugify.cpp +SRCS_MIN+= Transforms/Utils/Debugify.cpp SRCS_MIN+= Transforms/Utils/DemoteRegToStack.cpp SRCS_MIN+= Transforms/Utils/EntryExitInstrumenter.cpp SRCS_MIN+= Transforms/Utils/EscapeEnumerator.cpp SRCS_MIN+= Transforms/Utils/Evaluator.cpp +SRCS_MIN+= Transforms/Utils/FixIrreducible.cpp SRCS_MIN+= Transforms/Utils/FlattenCFG.cpp SRCS_MIN+= Transforms/Utils/FunctionComparator.cpp SRCS_MIN+= Transforms/Utils/FunctionImportUtils.cpp @@ -1537,6 +1593,7 @@ SRCS_MIN+= Transforms/Utils/PredicateInfo.cpp SRCS_MIN+= Transforms/Utils/PromoteMemoryToRegister.cpp SRCS_MIN+= Transforms/Utils/SSAUpdater.cpp SRCS_MIN+= Transforms/Utils/SanitizerStats.cpp +SRCS_MIN+= Transforms/Utils/ScalarEvolutionExpander.cpp SRCS_MIN+= Transforms/Utils/SimplifyCFG.cpp SRCS_MIN+= Transforms/Utils/SimplifyIndVar.cpp SRCS_MIN+= Transforms/Utils/SimplifyLibCalls.cpp @@ -1546,6 +1603,8 @@ SRCS_MIN+= Transforms/Utils/StripGCRelocates.cpp SRCS_MIN+= Transforms/Utils/StripNonLineTableDebugInfo.cpp SRCS_MIN+= Transforms/Utils/SymbolRewriter.cpp SRCS_MIN+= Transforms/Utils/UnifyFunctionExitNodes.cpp +SRCS_MIN+= Transforms/Utils/UnifyLoopExits.cpp +SRCS_MIN+= Transforms/Utils/UniqueInternalLinkageNames.cpp SRCS_EXT+= Transforms/Utils/Utils.cpp SRCS_MIN+= Transforms/Utils/VNCoercion.cpp SRCS_MIN+= Transforms/Utils/ValueMapper.cpp @@ -1558,6 +1617,7 @@ SRCS_MIN+= Transforms/Vectorize/VPlanHCFGBuilder.cpp SRCS_MIN+= Transforms/Vectorize/VPlanPredicator.cpp SRCS_MIN+= Transforms/Vectorize/VPlanTransforms.cpp SRCS_MIN+= Transforms/Vectorize/VPlanVerifier.cpp +SRCS_MIN+= Transforms/Vectorize/VectorCombine.cpp SRCS_EXT+= Transforms/Vectorize/Vectorize.cpp SRCS_EXT+= XRay/BlockIndexer.cpp SRCS_EXT+= XRay/BlockVerifier.cpp @@ -1598,8 +1658,27 @@ SRCS_ALL+= ${SRCS_XDL} .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" || !defined(TOOLS_PREFIX) SRCS_ALL+= ${SRCS_XDW} .endif +SRCS+= ${GENSRCS} SRCS+= ${SRCS_ALL:O} +llvm/Frontend/OpenMP/OMP.h.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td + ${LLVM_TBLGEN} --gen-directive-decl \ + -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ + ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td +TGHDRS+= llvm/Frontend/OpenMP/OMP.h.inc + +llvm/Frontend/OpenMP/OMP.cpp.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td + ${LLVM_TBLGEN} --gen-directive-gen \ + -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ + ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td +TGHDRS+= llvm/Frontend/OpenMP/OMP.cpp.inc + +OMP.cpp: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td + ${LLVM_TBLGEN} --gen-directive-impl \ + -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ + ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td +GENSRCS+= OMP.cpp + llvm/IR/Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td ${LLVM_TBLGEN} -gen-attrs \ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ @@ -1629,12 +1708,6 @@ llvm/IR/Intrinsics${arch:H}.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td TGHDRS+= llvm/IR/Intrinsics${arch:H}.h .endfor -AttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td - ${LLVM_TBLGEN} -gen-attrs \ - -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ - ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td -TGHDRS+= AttributesCompatFunc.inc - InstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td ${LLVM_TBLGEN} -gen-searchable-tables \ -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ @@ -1671,8 +1744,8 @@ beforebuild: X86/X86 . for hdr in \ AsmMatcher/-gen-asm-matcher \ - AsmWriter1/-gen-asm-writer,-asmwriternum=1 \ AsmWriter/-gen-asm-writer \ + AsmWriter1/-gen-asm-writer,-asmwriternum=1 \ CallingConv/-gen-callingconv \ CodeEmitter/-gen-emitter \ CompressInstEmitter/-gen-compress-inst-emitter \ @@ -1680,11 +1753,12 @@ beforebuild: DisassemblerTables/-gen-disassembler \ EVEX2VEXTables/-gen-x86-EVEX2VEX-tables \ FastISel/-gen-fast-isel \ - GICombiner/-gen-global-isel-combiner,-combiners=${arch:H}PreLegalizerCombinerHelper \ GlobalISel/-gen-global-isel \ InstrInfo/-gen-instr-info \ MCCodeEmitter/-gen-emitter \ MCPseudoLowering/-gen-pseudo-lowering \ + PostLegalizeGICombiner/-gen-global-isel-combiner,-combiners=${arch:H}PostLegalizerCombinerHelper \ + PreLegalizeGICombiner/-gen-global-isel-combiner,-combiners=${arch:H}PreLegalizerCombinerHelper \ RegisterBank/-gen-register-bank \ RegisterInfo/-gen-register-info \ SubtargetInfo/-gen-subtarget \ @@ -1705,11 +1779,12 @@ TGHDRS+= AArch64GenCallingConv.inc TGHDRS+= AArch64GenDAGISel.inc TGHDRS+= AArch64GenDisassemblerTables.inc TGHDRS+= AArch64GenFastISel.inc -TGHDRS+= AArch64GenGICombiner.inc TGHDRS+= AArch64GenGlobalISel.inc TGHDRS+= AArch64GenInstrInfo.inc TGHDRS+= AArch64GenMCCodeEmitter.inc TGHDRS+= AArch64GenMCPseudoLowering.inc +TGHDRS+= AArch64GenPostLegalizeGICombiner.inc +TGHDRS+= AArch64GenPreLegalizeGICombiner.inc TGHDRS+= AArch64GenRegisterBank.inc TGHDRS+= AArch64GenRegisterInfo.inc TGHDRS+= AArch64GenSubtargetInfo.inc @@ -1805,6 +1880,7 @@ TGHDRS+= X86GenSubtargetInfo.inc DEPENDFILES+= ${TGHDRS:C/$/.d/} DPSRCS+= ${TGHDRS} CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} +CLEANFILES+= ${GENSRCS} ${GENSRCS:C/$/.d/} .include "../llvm.build.mk" .include diff --git a/lib/clang/libllvmminimal/Makefile b/lib/clang/libllvmminimal/Makefile index fcf9988793b9..0b5a204583fb 100644 --- a/lib/clang/libllvmminimal/Makefile +++ b/lib/clang/libllvmminimal/Makefile @@ -31,6 +31,7 @@ SRCS+= Support/Locale.cpp SRCS+= Support/LowLevelType.cpp SRCS+= Support/MD5.cpp SRCS+= Support/ManagedStatic.cpp +SRCS+= Support/MemAlloc.cpp SRCS+= Support/MemoryBuffer.cpp SRCS+= Support/NativeFormatting.cpp SRCS+= Support/Path.cpp diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc index 4cd7979c2c3d..074084c7157a 100644 --- a/lib/libclang_rt/Makefile.inc +++ b/lib/libclang_rt/Makefile.inc @@ -14,7 +14,7 @@ CRTSRC= ${SRCTOP}/contrib/llvm-project/compiler-rt .PATH: ${CRTSRC}/lib -CLANGDIR= /usr/lib/clang/10.0.1 +CLANGDIR= /usr/lib/clang/11.0.0 LIBDIR= ${CLANGDIR}/lib/freebsd SHLIBDIR= ${LIBDIR} diff --git a/usr.bin/clang/clang-tblgen/Makefile b/usr.bin/clang/clang-tblgen/Makefile index ce30af05ac5f..3d258ff9aabd 100644 --- a/usr.bin/clang/clang-tblgen/Makefile +++ b/usr.bin/clang/clang-tblgen/Makefile @@ -20,6 +20,7 @@ SRCS+= ClangSACheckersEmitter.cpp SRCS+= ClangTypeNodesEmitter.cpp SRCS+= MveEmitter.cpp SRCS+= NeonEmitter.cpp +SRCS+= SveEmitter.cpp SRCS+= TableGen.cpp .include "../llvm.prog.mk" diff --git a/usr.bin/clang/lld/Makefile b/usr.bin/clang/lld/Makefile index 3bf5454d1b83..3593a4006ba2 100644 --- a/usr.bin/clang/lld/Makefile +++ b/usr.bin/clang/lld/Makefile @@ -34,7 +34,6 @@ SRCS+= Common/Memory.cpp SRCS+= Common/Reproduce.cpp SRCS+= Common/Strings.cpp SRCS+= Common/TargetOptionsCommandFlags.cpp -SRCS+= Common/Threads.cpp SRCS+= Common/Version.cpp SRCS+= ELF/AArch64ErrataFix.cpp SRCS+= ELF/ARMErrataFix.cpp diff --git a/usr.bin/clang/llvm-dwarfdump/Makefile b/usr.bin/clang/llvm-dwarfdump/Makefile index d50237dbc9ec..6e91ad763ba1 100644 --- a/usr.bin/clang/llvm-dwarfdump/Makefile +++ b/usr.bin/clang/llvm-dwarfdump/Makefile @@ -3,6 +3,7 @@ PROG_CXX= llvm-dwarfdump SRCDIR= llvm/tools/llvm-dwarfdump +SRCS+= SectionSizes.cpp SRCS+= Statistics.cpp SRCS+= llvm-dwarfdump.cpp diff --git a/usr.bin/clang/llvm-objcopy/Makefile b/usr.bin/clang/llvm-objcopy/Makefile index 352bacb7685f..aefe03347b29 100644 --- a/usr.bin/clang/llvm-objcopy/Makefile +++ b/usr.bin/clang/llvm-objcopy/Makefile @@ -18,6 +18,10 @@ SRCS+= MachO/MachOReader.cpp SRCS+= MachO/MachOWriter.cpp SRCS+= MachO/Object.cpp SRCS+= llvm-objcopy.cpp +SRCS+= wasm/Object.cpp +SRCS+= wasm/Reader.cpp +SRCS+= wasm/WasmObjcopy.cpp +SRCS+= wasm/Writer.cpp .include "${SRCTOP}/lib/clang/llvm.pre.mk" diff --git a/usr.bin/clang/llvm-objdump/Makefile b/usr.bin/clang/llvm-objdump/Makefile index 3a6a2f006b0b..34b015042718 100644 --- a/usr.bin/clang/llvm-objdump/Makefile +++ b/usr.bin/clang/llvm-objdump/Makefile @@ -7,6 +7,7 @@ SRCS+= COFFDump.cpp SRCS+= ELFDump.cpp SRCS+= MachODump.cpp SRCS+= WasmDump.cpp +SRCS+= XCOFFDump.cpp SRCS+= llvm-objdump.cpp LIBADD+= z diff --git a/usr.bin/clang/llvm-tblgen/Makefile b/usr.bin/clang/llvm-tblgen/Makefile index 87fa4c2014ef..a0bc16b12497 100644 --- a/usr.bin/clang/llvm-tblgen/Makefile +++ b/usr.bin/clang/llvm-tblgen/Makefile @@ -24,6 +24,7 @@ SRCS+= DAGISelMatcherGen.cpp SRCS+= DAGISelMatcherOpt.cpp SRCS+= DFAEmitter.cpp SRCS+= DFAPacketizerEmitter.cpp +SRCS+= DirectiveEmitter.cpp SRCS+= DisassemblerEmitter.cpp SRCS+= ExegesisEmitter.cpp SRCS+= FastISelEmitter.cpp