From c04ab3e34662cd5b490d8e7187b529217351cc52 Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 28 Apr 2021 12:55:37 +0000 Subject: [PATCH] Update clang build infrastructure for LLVM 11.1.0. Heavy lifting by mortimer@, thank you so much! --- gnu/usr.bin/clang/Makefile | 9 +- gnu/usr.bin/clang/Makefile.inc | 4 +- gnu/usr.bin/clang/clang-tblgen/Makefile | 3 +- gnu/usr.bin/clang/clang/Makefile | 6 +- gnu/usr.bin/clang/include/clang/AST/Makefile | 96 +++++++++------- .../clang/include/clang/Basic/Makefile | 106 ++++++++++++++---- .../clang/include/clang/Basic/Version.inc | 12 +- .../clang/include/clang/Config/config.h | 7 +- gnu/usr.bin/clang/include/clang/Sema/Makefile | 27 +++-- .../clang/include/clang/intrin/Makefile | 42 +++++-- .../clang/include/lld/Common/Version.inc | 10 +- .../clang/include/lldb/Plugins/Makefile | 22 ++-- .../clang/include/lldb/Plugins/Plugins.def | 105 +++++++++++++++++ .../clang/include/llvm/AArch64/Makefile | 90 +++++++++------ .../clang/include/llvm/AMDGPU/Makefile | 52 +++++++-- gnu/usr.bin/clang/include/llvm/ARM/Makefile | 68 +++++------ .../clang/include/llvm/Config/config.h | 13 +-- .../include/llvm/Config/llvm-config.h.in | 8 +- .../include/llvm/Frontend/OpenACC/Makefile | 40 +++++++ .../include/llvm/Frontend/OpenMP/Makefile | 40 +++++++ gnu/usr.bin/clang/include/llvm/IR/Makefile | 38 ++++--- gnu/usr.bin/clang/include/llvm/Mips/Makefile | 28 +++-- .../clang/include/llvm/PowerPC/Makefile | 22 +++- gnu/usr.bin/clang/include/llvm/Sparc/Makefile | 27 ++--- gnu/usr.bin/clang/include/llvm/X86/Makefile | 73 ++++++------ gnu/usr.bin/clang/libLLVM/Makefile | 7 +- gnu/usr.bin/clang/libLLVM/shlib_version | 2 +- .../clang/libLLVMAArch64CodeGen/Makefile | 29 +++-- gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile | 4 +- .../clang/libLLVMAMDGPUCodeGen/Makefile | 25 +++-- gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile | 9 +- .../libLLVMAggressiveInstCombine/Makefile | 11 ++ gnu/usr.bin/clang/libLLVMAnalysis/Makefile | 17 ++- gnu/usr.bin/clang/libLLVMAsmParser/Makefile | 4 +- gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile | 13 ++- .../clang/libLLVMBinaryFormat/Makefile | 5 +- gnu/usr.bin/clang/libLLVMCodeGen/Makefile | 53 +++++---- gnu/usr.bin/clang/libLLVMCore/Makefile | 6 +- gnu/usr.bin/clang/libLLVMCoverage/Makefile | 6 +- .../clang/libLLVMDebugInfoCodeView/Makefile | 4 +- .../clang/libLLVMDebugInfoDWARF/Makefile | 8 +- .../clang/libLLVMDebugInfoPDB/Makefile | 41 ++++--- .../clang/libLLVMExecutionEngine/Makefile | 100 +++++++++++------ .../clang/libLLVMFrontendOpenACC/Makefile | 17 +++ .../clang/libLLVMFrontendOpenMP/Makefile | 10 +- gnu/usr.bin/clang/libLLVMGlobalISel/Makefile | 10 +- gnu/usr.bin/clang/libLLVMInstCombine/Makefile | 10 +- .../clang/libLLVMInstrumentation/Makefile | 8 +- gnu/usr.bin/clang/libLLVMLTO/Makefile | 4 +- gnu/usr.bin/clang/libLLVMMC/Makefile | 6 +- .../clang/libLLVMMCDisassembler/Makefile | 4 +- gnu/usr.bin/clang/libLLVMMCParser/Makefile | 4 +- gnu/usr.bin/clang/libLLVMMIRParser/Makefile | 4 +- gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile | 18 +-- gnu/usr.bin/clang/libLLVMObject/Makefile | 13 ++- gnu/usr.bin/clang/libLLVMPasses/Makefile | 5 +- .../clang/libLLVMPowerPCCodeGen/Makefile | 19 ++-- gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile | 6 +- gnu/usr.bin/clang/libLLVMProfileData/Makefile | 5 +- gnu/usr.bin/clang/libLLVMRemarks/Makefile | 3 +- gnu/usr.bin/clang/libLLVMScalarOpts/Makefile | 12 +- .../clang/libLLVMSelectionDAG/Makefile | 6 +- gnu/usr.bin/clang/libLLVMSupport/Makefile | 46 +++++--- .../clang/libLLVMSupport/Makefile.shared | 45 +++++--- gnu/usr.bin/clang/libLLVMTableGen/Makefile | 4 +- .../clang/libLLVMTableGen/Makefile.shared | 4 +- gnu/usr.bin/clang/libLLVMTextAPI/Makefile | 9 +- .../clang/libLLVMTransformUtils/Makefile | 21 +++- gnu/usr.bin/clang/libLLVMVectorize/Makefile | 10 +- gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile | 19 ++-- gnu/usr.bin/clang/libLLVMX86Desc/Makefile | 3 +- gnu/usr.bin/clang/libLLVMipo/Makefile | 10 +- gnu/usr.bin/clang/libclangAST/Makefile | 17 ++- gnu/usr.bin/clang/libclangAnalysis/Makefile | 3 +- gnu/usr.bin/clang/libclangBasic/Makefile | 32 +++++- gnu/usr.bin/clang/libclangDriver/Makefile | 65 +++++++---- gnu/usr.bin/clang/libclangFrontend/Makefile | 6 +- gnu/usr.bin/clang/libclangSema/Makefile | 4 +- gnu/usr.bin/clang/liblldCommon/Makefile | 4 +- gnu/usr.bin/clang/liblldELF/Makefile | 33 +++--- gnu/usr.bin/clang/liblldbABI/Makefile | 40 +++---- gnu/usr.bin/clang/liblldbAPI/Makefile | 9 +- gnu/usr.bin/clang/liblldbBreakpoint/Makefile | 4 +- gnu/usr.bin/clang/liblldbCommands/Makefile | 4 +- gnu/usr.bin/clang/liblldbCore/Makefile | 4 +- .../clang/liblldbDataFormatters/Makefile | 4 +- gnu/usr.bin/clang/liblldbExpression/Makefile | 4 +- gnu/usr.bin/clang/liblldbHostCommon/Makefile | 7 +- gnu/usr.bin/clang/liblldbHostPOSIX/Makefile | 4 +- .../clang/liblldbInitialization/Makefile | 4 +- gnu/usr.bin/clang/liblldbInterpreter/Makefile | 4 +- .../clang/liblldbPluginDisassembler/Makefile | 4 +- .../clang/liblldbPluginDynamicLoader/Makefile | 18 +-- .../liblldbPluginExpressionParser/Makefile | 8 +- .../clang/liblldbPluginInstruction/Makefile | 6 +- .../Makefile | 10 +- .../clang/liblldbPluginLanguage/Makefile | 28 +++-- .../liblldbPluginLanguageRuntime/Makefile | 24 ++-- .../liblldbPluginObjectContainer/Makefile | 4 +- .../clang/liblldbPluginObjectFile/Makefile | 8 +- .../clang/liblldbPluginPlatform/Makefile | 22 ++-- .../clang/liblldbPluginProcess/Makefile | 99 ++++++++-------- .../clang/liblldbPluginSymbolFile/Makefile | 49 ++++---- .../clang/liblldbPluginSymbolVendor/Makefile | 6 +- .../clang/liblldbPluginSystemRuntime/Makefile | 4 +- .../clang/liblldbPluginTypeSystem/Makefile | 18 +++ .../liblldbPluginUnwindAssembly/Makefile | 8 +- gnu/usr.bin/clang/liblldbSymbol/Makefile | 10 +- gnu/usr.bin/clang/liblldbTarget/Makefile | 10 +- gnu/usr.bin/clang/liblldbUtility/Makefile | 4 +- gnu/usr.bin/clang/lldb-server/Makefile | 14 +-- gnu/usr.bin/clang/lldb/Makefile | 6 +- .../clang/llvm-config/BuildVariables.inc.def | 2 +- .../LibraryDependencies.inc.AArch64 | 21 ++-- .../llvm-config/LibraryDependencies.inc.ARM | 21 ++-- .../llvm-config/LibraryDependencies.inc.Mips | 19 ++-- .../LibraryDependencies.inc.PowerPC | 21 ++-- .../llvm-config/LibraryDependencies.inc.Sparc | 19 ++-- .../llvm-config/LibraryDependencies.inc.X86 | 24 ++-- gnu/usr.bin/clang/llvm-config/Makefile | 4 +- gnu/usr.bin/clang/llvm-tblgen/Makefile | 27 ++--- 121 files changed, 1521 insertions(+), 876 deletions(-) create mode 100644 gnu/usr.bin/clang/include/lldb/Plugins/Plugins.def create mode 100644 gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile create mode 100644 gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMAggressiveInstCombine/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile create mode 100644 gnu/usr.bin/clang/liblldbPluginTypeSystem/Makefile diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile index 4c1fb13b8ef..6747c05d7ed 100644 --- a/gnu/usr.bin/clang/Makefile +++ b/gnu/usr.bin/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2020/08/03 14:45:22 patrick Exp $ +# $OpenBSD: Makefile,v 1.14 2021/04/28 12:55:37 patrick Exp $ .include @@ -11,6 +11,8 @@ SUBDIR+=libLLVMTableGen SUBDIR+=llvm-tblgen SUBDIR+=include/llvm/IR SUBDIR+=include/llvm/Transforms/InstCombine +SUBDIR+=include/llvm/Frontend/OpenACC +SUBDIR+=include/llvm/Frontend/OpenMP .for arch in ${LLVM_ARCHS} .if "${arch}" == ${LLVM_ARCH} || "${arch}" == "AMDGPU" || make(obj) @@ -25,7 +27,6 @@ SUBDIR+=clang-tblgen SUBDIR+=include/clang SUBDIR+=libclangBasic -SUBDIR+=libclangBasicTargets SUBDIR+=libclangLex SUBDIR+=libclangParse SUBDIR+=libclangAST @@ -35,7 +36,6 @@ SUBDIR+=libclangAnalysis SUBDIR+=libclangEdit SUBDIR+=libclangRewrite SUBDIR+=libclangDriver -SUBDIR+=libclangDriverArch SUBDIR+=libclangSerialization SUBDIR+=libclangFrontend SUBDIR+=libclangRewriteFrontend @@ -51,6 +51,7 @@ SUBDIR+=liblldELF SUBDIR+=lld + SUBDIR+=lldb-tblgen SUBDIR+=include/lldb/Commands SUBDIR+=include/lldb/Core @@ -82,7 +83,6 @@ SUBDIR+=liblldbPluginLanguageRuntime SUBDIR+=liblldbPluginMemoryHistory SUBDIR+=liblldbPluginObjectContainer SUBDIR+=liblldbPluginObjectFile -SUBDIR+=liblldbPluginOperatingSystem SUBDIR+=liblldbPluginPlatform SUBDIR+=liblldbPluginProcess SUBDIR+=liblldbPluginScriptInterpreter @@ -90,6 +90,7 @@ SUBDIR+=liblldbPluginStructuredData SUBDIR+=liblldbPluginSymbolFile SUBDIR+=liblldbPluginSymbolVendor SUBDIR+=liblldbPluginSystemRuntime +SUBDIR+=liblldbPluginTypeSystem SUBDIR+=liblldbPluginUnwindAssembly SUBDIR+=liblldbSymbol SUBDIR+=liblldbTarget diff --git a/gnu/usr.bin/clang/Makefile.inc b/gnu/usr.bin/clang/Makefile.inc index 2a2bbdbf079..17f932106d9 100644 --- a/gnu/usr.bin/clang/Makefile.inc +++ b/gnu/usr.bin/clang/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.21 2020/11/10 09:06:11 patrick Exp $ +# $OpenBSD: Makefile.inc,v 1.22 2021/04/28 12:55:37 patrick Exp $ CLANG_SRCS?= ${.CURDIR}/../../../llvm/clang LLDB_SRCS?= ${.CURDIR}/../../../llvm/lldb @@ -79,5 +79,5 @@ LDADD+= ${.OBJDIR}/../lib${lib}/lib${lib}.a LDADD+=-Wl,--end-group .if ${MACHINE_ARCH} == "powerpc" -LDFLAGS+=-Wl,-relax +LDADD+=-Wl,-relax .endif diff --git a/gnu/usr.bin/clang/clang-tblgen/Makefile b/gnu/usr.bin/clang/clang-tblgen/Makefile index cb28a6a1f2a..e29e4de75ed 100644 --- a/gnu/usr.bin/clang/clang-tblgen/Makefile +++ b/gnu/usr.bin/clang/clang-tblgen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:22 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:37 patrick Exp $ PROG= clang-tblgen NOMAN= @@ -20,6 +20,7 @@ SRCS= ASTTableGen.cpp \ ClangTypeNodesEmitter.cpp \ MveEmitter.cpp \ NeonEmitter.cpp \ + SveEmitter.cpp \ TableGen.cpp .PATH: ${.CURDIR}/../../../llvm/clang/utils/TableGen diff --git a/gnu/usr.bin/clang/clang/Makefile b/gnu/usr.bin/clang/clang/Makefile index fa53a87c7a4..76535ee8842 100644 --- a/gnu/usr.bin/clang/clang/Makefile +++ b/gnu/usr.bin/clang/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 2020/08/03 14:45:22 patrick Exp $ +# $OpenBSD: Makefile,v 1.17 2021/04/28 12:55:37 patrick Exp $ .include @@ -33,7 +33,6 @@ LLVM_LIBDEPS= LLVM \ clangFrontendTool \ clangFrontend \ clangDriver \ - clangDriverArch \ clangSerialization \ clangCodeGen \ clangParse \ @@ -44,7 +43,6 @@ LLVM_LIBDEPS= LLVM \ clangEdit \ clangAST \ clangLex \ - clangBasic \ - clangBasicTargets + clangBasic .include diff --git a/gnu/usr.bin/clang/include/clang/AST/Makefile b/gnu/usr.bin/clang/include/clang/AST/Makefile index c0ccc94b49f..27b1adb73c7 100644 --- a/gnu/usr.bin/clang/include/clang/AST/Makefile +++ b/gnu/usr.bin/clang/include/clang/AST/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:22 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:37 patrick Exp $ .include @@ -6,14 +6,26 @@ TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen CLANG_SRCS=${.CURDIR}/../../../../../llvm/clang CLANG_INC=${CLANG_SRCS}/include -GEN= AttrImpl.inc AttrTextNodeDump.inc AttrNodeTraverse.inc -GEN+=AttrVisitor.inc Attrs.inc -GEN+=CommentCommandInfo.inc CommentCommandList.inc -GEN+=CommentHTMLNamedCharacterReferences.inc CommentHTMLTags.inc -GEN+=CommentHTMLTagsProperties.inc CommentNodes.inc DeclNodes.inc -GEN+=StmtNodes.inc TypeNodes.inc Opcodes.inc -GEN+=AbstractBasicReader.inc AbstractBasicWriter.inc -GEN+=AbstractTypeReader.inc AbstractTypeWriter.inc +GEN= Attrs.inc \ + AttrImpl.inc \ + AttrTextNodeDump.inc \ + AttrNodeTraverse.inc \ + AttrVisitor.inc \ + StmtNodes.inc \ + DeclNodes.inc \ + TypeNodes.inc \ + AbstractBasicReader.inc \ + AbstractBasicWriter.inc \ + AbstractTypeReader.inc \ + AbstractTypeWriter.inc \ + CommentNodes.inc \ + CommentHTMLTags.inc \ + CommentHTMLTagsProperties.inc \ + CommentHTMLNamedCharacterReferences.inc \ + CommentCommandInfo.inc \ + CommentCommandList.inc \ + StmtDataCollectors.inc \ + Opcodes.inc all: ${GEN} @@ -23,6 +35,10 @@ install: clean cleandir: rm -f ${GEN} +Attrs.inc: ${CLANG_INC}/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-classes \ + -o ${.TARGET} ${.ALLSRC} + AttrImpl.inc: ${CLANG_INC}/clang/Basic/Attr.td ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-impl \ -o ${.TARGET} ${.ALLSRC} @@ -39,65 +55,65 @@ AttrVisitor.inc: ${CLANG_INC}/clang/Basic/Attr.td ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-ast-visitor \ -o ${.TARGET} ${.ALLSRC} -Attrs.inc: ${CLANG_INC}/clang/Basic/Attr.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-classes \ +StmtNodes.inc: ${CLANG_INC}/clang/Basic/StmtNodes.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-stmt-nodes \ -o ${.TARGET} ${.ALLSRC} -CommentCommandInfo.inc: ${CLANG_INC}/clang/AST/CommentCommands.td - ${TBLGEN} -gen-clang-comment-command-info \ +DeclNodes.inc: ${CLANG_INC}/clang/Basic/DeclNodes.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-decl-nodes \ -o ${.TARGET} ${.ALLSRC} -CommentCommandList.inc: ${CLANG_INC}/clang/AST/CommentCommands.td - ${TBLGEN} -gen-clang-comment-command-list \ +TypeNodes.inc: ${CLANG_INC}/clang/Basic/TypeNodes.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-type-nodes \ -o ${.TARGET} ${.ALLSRC} -CommentHTMLNamedCharacterReferences.inc: \ - ${CLANG_INC}/clang/AST/CommentHTMLNamedCharacterReferences.td - ${TBLGEN} -gen-clang-comment-html-named-character-references \ +AbstractBasicReader.inc: ${CLANG_INC}/clang/AST/PropertiesBase.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-basic-reader \ -o ${.TARGET} ${.ALLSRC} -CommentHTMLTags.inc: ${CLANG_INC}/clang/AST/CommentHTMLTags.td - ${TBLGEN} -gen-clang-comment-html-tags \ +AbstractBasicWriter.inc: ${CLANG_INC}/clang/AST/PropertiesBase.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-basic-writer \ -o ${.TARGET} ${.ALLSRC} -CommentHTMLTagsProperties.inc: ${CLANG_INC}/clang/AST/CommentHTMLTags.td - ${TBLGEN} -gen-clang-comment-html-tags-properties \ +AbstractTypeReader.inc: ${CLANG_INC}/clang/AST/TypeProperties.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-type-reader \ -o ${.TARGET} ${.ALLSRC} -CommentNodes.inc: ${CLANG_INC}/clang/Basic/CommentNodes.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-comment-nodes \ +AbstractTypeWriter.inc: ${CLANG_INC}/clang/AST/TypeProperties.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-type-writer \ -o ${.TARGET} ${.ALLSRC} -DeclNodes.inc: ${CLANG_INC}/clang/Basic/DeclNodes.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-decl-nodes \ +CommentNodes.inc: ${CLANG_INC}/clang/Basic/CommentNodes.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-comment-nodes \ -o ${.TARGET} ${.ALLSRC} -StmtNodes.inc: ${CLANG_INC}/clang/Basic/StmtNodes.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-stmt-nodes \ +CommentHTMLTags.inc: ${CLANG_INC}/clang/AST/CommentHTMLTags.td + ${TBLGEN} -gen-clang-comment-html-tags \ -o ${.TARGET} ${.ALLSRC} -TypeNodes.inc: ${CLANG_INC}/clang/Basic/TypeNodes.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-type-nodes \ +CommentHTMLTagsProperties.inc: ${CLANG_INC}/clang/AST/CommentHTMLTags.td + ${TBLGEN} -gen-clang-comment-html-tags-properties \ -o ${.TARGET} ${.ALLSRC} -Opcodes.inc: ${CLANG_SRCS}/lib/AST/Interp/Opcodes.td - ${TBLGEN} -gen-clang-opcodes \ +CommentHTMLNamedCharacterReferences.inc: \ + ${CLANG_INC}/clang/AST/CommentHTMLNamedCharacterReferences.td + ${TBLGEN} -gen-clang-comment-html-named-character-references \ -o ${.TARGET} ${.ALLSRC} -AbstractBasicReader.inc: ${CLANG_INC}/clang/AST/PropertiesBase.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-basic-reader \ +CommentCommandInfo.inc: ${CLANG_INC}/clang/AST/CommentCommands.td + ${TBLGEN} -gen-clang-comment-command-info \ -o ${.TARGET} ${.ALLSRC} -AbstractBasicWriter.inc: ${CLANG_INC}/clang/AST/PropertiesBase.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-basic-writer \ +CommentCommandList.inc: ${CLANG_INC}/clang/AST/CommentCommands.td + ${TBLGEN} -gen-clang-comment-command-list \ -o ${.TARGET} ${.ALLSRC} -AbstractTypeReader.inc: ${CLANG_INC}/clang/AST/TypeProperties.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-type-reader \ +StmtDataCollectors.inc: ${CLANG_INC}/clang/AST/StmtDataCollectors.td + ${TBLGEN} -gen-clang-data-collectors \ -o ${.TARGET} ${.ALLSRC} -AbstractTypeWriter.inc: ${CLANG_INC}/clang/AST/TypeProperties.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-type-writer \ +Opcodes.inc: ${CLANG_SRCS}/lib/AST/Interp/Opcodes.td + ${TBLGEN} -gen-clang-opcodes \ -o ${.TARGET} ${.ALLSRC} .include diff --git a/gnu/usr.bin/clang/include/clang/Basic/Makefile b/gnu/usr.bin/clang/include/clang/Basic/Makefile index ea5cf50d1bc..c904b2c7cc0 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Makefile +++ b/gnu/usr.bin/clang/include/clang/Basic/Makefile @@ -1,21 +1,47 @@ -# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:22 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:37 patrick Exp $ .include TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen CLANG_INC=${.CURDIR}/../../../../../llvm/clang/include -GEN= AttrList.inc DiagnosticASTKinds.inc DiagnosticAnalysisKinds.inc -GEN+=DiagnosticCommentKinds.inc DiagnosticCommonKinds.inc -GEN+=DiagnosticCrossTUKinds.inc -GEN+=DiagnosticDriverKinds.inc DiagnosticFrontendKinds.inc DiagnosticGroups.inc -GEN+=DiagnosticIndexName.inc DiagnosticLexKinds.inc DiagnosticParseKinds.inc -GEN+=DiagnosticRefactoringKinds.inc -GEN+=DiagnosticSemaKinds.inc DiagnosticSerializationKinds.inc -GEN+=arm_fp16.inc arm_neon.inc -GEN+=arm_mve_builtins.inc arm_mve_builtin_cg.inc -GEN+=arm_mve_builtin_sema.inc arm_mve_builtin_aliases.inc -GEN+=AttrHasAttributeImpl.inc AttrSubMatchRulesList.inc +_DIAG= Analysis \ + AST \ + Comment \ + Common \ + CrossTU \ + Driver \ + Frontend \ + Lex \ + Parse \ + Refactoring \ + Sema \ + Serialization + +GEN= +.for _comp in ${_DIAG} +GEN+= Diagnostic${_comp}Kinds.inc +.endfor + +GEN+= DiagnosticGroups.inc \ + DiagnosticIndexName.inc \ + AttrList.inc \ + AttrSubMatchRulesList.inc \ + AttrHasAttributeImpl.inc \ + arm_neon.inc \ + arm_fp16.inc \ + arm_mve_builtins.inc \ + arm_mve_builtin_cg.inc \ + arm_mve_builtin_sema.inc \ + arm_mve_builtin_aliases.inc \ + arm_sve_builtins.inc \ + arm_sve_builtin_cg.inc \ + arm_sve_typeflags.inc \ + arm_sve_sema_rangechecks.inc \ + arm_cde_builtins.inc \ + arm_cde_builtin_cg.inc \ + arm_cde_builtin_sema.inc \ + arm_cde_builtin_aliases.inc all: ${GEN} @@ -25,11 +51,7 @@ install: clean cleandir: rm -f ${GEN} -AttrList.inc: ${CLANG_INC}/clang/Basic/Attr.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-list -o ${.TARGET} ${.ALLSRC} - -.for _comp in AST Analysis Comment Common CrossTU Driver Frontend Lex Parse \ - Refactoring Sema Serialization +.for _comp in ${_DIAG} Diagnostic${_comp}Kinds.inc: ${CLANG_INC}/clang/Basic/Diagnostic.td ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-clang-diags-defs \ @@ -45,22 +67,26 @@ DiagnosticIndexName.inc: ${CLANG_INC}/clang/Basic/Diagnostic.td ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-clang-diags-index-name \ -o ${.TARGET} ${.ALLSRC} -AttrHasAttributeImpl.inc: ${CLANG_INC}/clang/Basic/Attr.td - ${TBLGEN} -I${CLANG_INC} \ - -gen-clang-attr-has-attribute-impl -o ${.TARGET} ${.ALLSRC} +AttrList.inc: ${CLANG_INC}/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-list \ + -o ${.TARGET} ${.ALLSRC} AttrSubMatchRulesList.inc: ${CLANG_INC}/clang/Basic/Attr.td - ${TBLGEN} -I${CLANG_INC} \ - -gen-clang-attr-subject-match-rule-list -o ${.TARGET} ${.ALLSRC} + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-subject-match-rule-list \ + -o ${.TARGET} ${.ALLSRC} -arm_fp16.inc: ${CLANG_INC}/clang/Basic/arm_fp16.td - ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-neon-sema \ +AttrHasAttributeImpl.inc: ${CLANG_INC}/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-has-attribute-impl \ -o ${.TARGET} ${.ALLSRC} arm_neon.inc: ${CLANG_INC}/clang/Basic/arm_neon.td ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-neon-sema \ -o ${.TARGET} ${.ALLSRC} +arm_fp16.inc: ${CLANG_INC}/clang/Basic/arm_fp16.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-neon-sema \ + -o ${.TARGET} ${.ALLSRC} + arm_mve_builtins.inc: ${CLANG_INC}/clang/Basic/arm_mve.td ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-mve-builtin-def \ -o ${.TARGET} ${.ALLSRC} @@ -77,4 +103,36 @@ arm_mve_builtin_aliases.inc: ${CLANG_INC}/clang/Basic/arm_mve.td ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-mve-builtin-aliases \ -o ${.TARGET} ${.ALLSRC} +arm_sve_builtins.inc: ${CLANG_INC}/clang/Basic/arm_sve.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-sve-builtins \ + -o ${.TARGET} ${.ALLSRC} + +arm_sve_builtin_cg.inc: ${CLANG_INC}/clang/Basic/arm_sve.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-sve-builtin-codegen \ + -o ${.TARGET} ${.ALLSRC} + +arm_sve_typeflags.inc: ${CLANG_INC}/clang/Basic/arm_sve.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-sve-typeflags \ + -o ${.TARGET} ${.ALLSRC} + +arm_sve_sema_rangechecks.inc: ${CLANG_INC}/clang/Basic/arm_sve.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-sve-sema-rangechecks \ + -o ${.TARGET} ${.ALLSRC} + +arm_cde_builtins.inc: ${CLANG_INC}/clang/Basic/arm_cde.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-cde-builtin-def \ + -o ${.TARGET} ${.ALLSRC} + +arm_cde_builtin_cg.inc: ${CLANG_INC}/clang/Basic/arm_cde.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-cde-builtin-codegen \ + -o ${.TARGET} ${.ALLSRC} + +arm_cde_builtin_sema.inc: ${CLANG_INC}/clang/Basic/arm_cde.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-cde-builtin-sema \ + -o ${.TARGET} ${.ALLSRC} + +arm_cde_builtin_aliases.inc: ${CLANG_INC}/clang/Basic/arm_cde.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-cde-builtin-aliases \ + -o ${.TARGET} ${.ALLSRC} + .include diff --git a/gnu/usr.bin/clang/include/clang/Basic/Version.inc b/gnu/usr.bin/clang/include/clang/Basic/Version.inc index 789054c1ba4..db0cd9aaf0a 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Version.inc +++ b/gnu/usr.bin/clang/include/clang/Basic/Version.inc @@ -1,9 +1,9 @@ -/* $OpenBSD: Version.inc,v 1.11 2020/08/09 15:56:39 patrick Exp $ */ +/* $OpenBSD: Version.inc,v 1.12 2021/04/28 12:55:37 patrick Exp $ */ -#define CLANG_VERSION 10.0.1 -#define CLANG_VERSION_STRING "10.0.1" -#define CLANG_VERSION_MAJOR 10 -#define CLANG_VERSION_MINOR 0 -#define CLANG_VERSION_PATCHLEVEL 1 +#define CLANG_VERSION 11.1.0 +#define CLANG_VERSION_STRING "11.1.0" +#define CLANG_VERSION_MAJOR 11 +#define CLANG_VERSION_MINOR 1 +#define CLANG_VERSION_PATCHLEVEL 0 #define CLANG_VENDOR "OpenBSD " diff --git a/gnu/usr.bin/clang/include/clang/Config/config.h b/gnu/usr.bin/clang/include/clang/Config/config.h index aa6abf6069a..484a8f91af9 100644 --- a/gnu/usr.bin/clang/include/clang/Config/config.h +++ b/gnu/usr.bin/clang/include/clang/Config/config.h @@ -6,7 +6,7 @@ #define CLANG_CONFIG_H /* Bug report URL. */ -#define BUG_REPORT_URL "http://llvm.org/bugs/" +#define BUG_REPORT_URL "https://bugs.llvm.org/" /* Default linker to use. */ #define CLANG_DEFAULT_LINKER "" @@ -35,6 +35,9 @@ /* Default architecture for OpenMP offloading to Nvidia GPUs. */ #define CLANG_OPENMP_NVPTX_DEFAULT_ARCH "" +/* Default architecture for SystemZ. */ +#define CLANG_SYSTEMZ_DEFAULT_ARCH "" + /* Multilib suffix for libdir. */ #define CLANG_LIBDIR_SUFFIX "" @@ -61,7 +64,7 @@ #define CLANG_HAVE_RLIMITS 1 /* The LLVM product name and version */ -#define BACKEND_PACKAGE_STRING "LLVM 10.0.1" +#define BACKEND_PACKAGE_STRING "LLVM 11.1.0" /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ diff --git a/gnu/usr.bin/clang/include/clang/Sema/Makefile b/gnu/usr.bin/clang/include/clang/Sema/Makefile index cbdc0f299aa..36330701746 100644 --- a/gnu/usr.bin/clang/include/clang/Sema/Makefile +++ b/gnu/usr.bin/clang/include/clang/Sema/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:22 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:37 patrick Exp $ .include @@ -6,9 +6,12 @@ TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen CLANG_SRCS=${.CURDIR}/../../../../../llvm/clang CLANG_INC=${CLANG_SRCS}/include -GEN= AttrParsedAttrImpl.inc AttrParsedAttrKinds.inc AttrParsedAttrList.inc -GEN+=AttrSpellingListIndex.inc AttrTemplateInstantiate.inc -GEN+=OpenCLBuiltins.inc +GEN= AttrTemplateInstantiate.inc \ + AttrParsedAttrList.inc \ + AttrParsedAttrKinds.inc \ + AttrSpellingListIndex.inc \ + AttrParsedAttrImpl.inc \ + OpenCLBuiltins.inc all: ${GEN} @@ -18,24 +21,24 @@ install: clean cleandir: rm -f ${GEN} -AttrParsedAttrImpl.inc: ${CLANG_INC}/clang/Basic/Attr.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parsed-attr-impl \ - -o ${.TARGET} ${.ALLSRC} - -AttrParsedAttrKinds.inc: ${CLANG_INC}/clang/Basic/Attr.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parsed-attr-kinds \ +AttrTemplateInstantiate.inc: ${CLANG_INC}/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-template-instantiate \ -o ${.TARGET} ${.ALLSRC} AttrParsedAttrList.inc: ${CLANG_INC}/clang/Basic/Attr.td ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parsed-attr-list \ -o ${.TARGET} ${.ALLSRC} +AttrParsedAttrKinds.inc: ${CLANG_INC}/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parsed-attr-kinds \ + -o ${.TARGET} ${.ALLSRC} + AttrSpellingListIndex.inc: ${CLANG_INC}/clang/Basic/Attr.td ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-spelling-index \ -o ${.TARGET} ${.ALLSRC} -AttrTemplateInstantiate.inc: ${CLANG_INC}/clang/Basic/Attr.td - ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-template-instantiate \ +AttrParsedAttrImpl.inc: ${CLANG_INC}/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parsed-attr-impl \ -o ${.TARGET} ${.ALLSRC} OpenCLBuiltins.inc: ${CLANG_SRCS}/lib/Sema/OpenCLBuiltins.td diff --git a/gnu/usr.bin/clang/include/clang/intrin/Makefile b/gnu/usr.bin/clang/include/clang/intrin/Makefile index cb3476ec171..aa07c4fa66a 100644 --- a/gnu/usr.bin/clang/include/clang/intrin/Makefile +++ b/gnu/usr.bin/clang/include/clang/intrin/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.23 2020/08/09 15:56:39 patrick Exp $ +# $OpenBSD: Makefile,v 1.24 2021/04/28 12:55:37 patrick Exp $ .include -LLVM_V= 10.0.1 +LLVM_V= 11.1.0 CLANG_INTR_INCDIR= /usr/lib/clang/${LLVM_V}/include TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen @@ -22,35 +22,39 @@ HEADERS= stdalign.h \ .if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "arm" GEN+= arm_neon.h GEN+= arm_fp16.h +GEN+= arm_sve.h +GEN+= arm_bf16.h GEN+= arm_mve.h +GEN+= arm_cde.h HEADERS+= arm_acle.h arm_cmse.h ${GEN} .elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" HEADERS+= adxintrin.h \ ammintrin.h \ + amxintrin.h \ avx2intrin.h \ avx512bf16intrin.h \ - avx512bitalgintrin.h \ avx512bwintrin.h \ + avx512bitalgintrin.h \ + avx512vlbitalgintrin.h \ avx512cdintrin.h \ + avx512vpopcntdqintrin.h \ avx512dqintrin.h \ avx512erintrin.h \ avx512fintrin.h \ avx512ifmaintrin.h \ avx512ifmavlintrin.h \ avx512pfintrin.h \ - avx512vbmi2intrin.h \ avx512vbmiintrin.h \ avx512vbmivlintrin.h \ - avx512vlbitalgintrin.h \ + avx512vbmi2intrin.h \ + avx512vlvbmi2intrin.h \ avx512vlbf16intrin.h \ avx512vlbwintrin.h \ avx512vlcdintrin.h \ avx512vldqintrin.h \ avx512vlintrin.h \ - avx512vlvbmi2intrin.h \ avx512vp2intersectintrin.h \ avx512vlvp2intersectintrin.h \ - avx512vpopcntdqintrin.h \ avx512vpopcntdqvlintrin.h \ avx512vnniintrin.h \ avx512vlvnniintrin.h \ @@ -58,11 +62,12 @@ HEADERS+= adxintrin.h \ bmi2intrin.h \ bmiintrin.h \ cetintrin.h \ - cpuid.h \ + cet.h \ cldemoteintrin.h \ + clzerointrin.h \ + cpuid.h \ clflushoptintrin.h \ clwbintrin.h \ - clzerointrin.h \ emmintrin.h \ enqcmdintrin.h \ f16cintrin.h \ @@ -76,8 +81,8 @@ HEADERS+= adxintrin.h \ lwpintrin.h \ lzcntintrin.h \ mm3dnow.h \ - mm_malloc.h \ mmintrin.h \ + mm_malloc.h \ movdirintrin.h \ mwaitxintrin.h \ nmmintrin.h \ @@ -89,14 +94,17 @@ HEADERS+= adxintrin.h \ ptwriteintrin.h \ rdseedintrin.h \ rtmintrin.h \ + serializeintrin.h \ sgxintrin.h \ shaintrin.h \ smmintrin.h \ tbmintrin.h \ tmmintrin.h \ + tsxldtrkintrin.h \ vaesintrin.h \ vpclmulqdqintrin.h \ waitpkgintrin.h \ + wasm_simd128.h \ wbnoinvdintrin.h \ wmmintrin.h \ __wmmintrin_aes.h \ @@ -104,9 +112,9 @@ HEADERS+= adxintrin.h \ x86intrin.h \ xmmintrin.h \ xopintrin.h \ + xsavecintrin.h \ xsaveintrin.h \ xsaveoptintrin.h \ - xsavecintrin.h \ xsavesintrin.h \ xtestintrin.h .elif ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" @@ -136,8 +144,20 @@ arm_fp16.h: ${CLANG_INC}/clang/Basic/arm_fp16.td ${TBLGEN} -gen-arm-fp16 -I${CLANG_INC}/clang/Basic \ -o ${.TARGET} ${.ALLSRC} +arm_sve.h: ${CLANG_INC}/clang/Basic/arm_sve.td + ${TBLGEN} -gen-arm-sve-header -I${CLANG_INC}/clang/Basic \ + -o ${.TARGET} ${.ALLSRC} + +arm_bf16.h: ${CLANG_INC}/clang/Basic/arm_bf16.td + ${TBLGEN} -gen-arm-bf16 -I${CLANG_INC}/clang/Basic \ + -o ${.TARGET} ${.ALLSRC} + arm_mve.h: ${CLANG_INC}/clang/Basic/arm_mve.td ${TBLGEN} -gen-arm-mve-header -I${CLANG_INC}/clang/Basic \ -o ${.TARGET} ${.ALLSRC} +arm_cde.h: ${CLANG_INC}/clang/Basic/arm_cde.td + ${TBLGEN} -gen-arm-cde-header -I${CLANG_INC}/clang/Basic \ + -o ${.TARGET} ${.ALLSRC} + .include diff --git a/gnu/usr.bin/clang/include/lld/Common/Version.inc b/gnu/usr.bin/clang/include/lld/Common/Version.inc index 7d42482f324..c577e922600 100644 --- a/gnu/usr.bin/clang/include/lld/Common/Version.inc +++ b/gnu/usr.bin/clang/include/lld/Common/Version.inc @@ -1,8 +1,8 @@ -/* $OpenBSD: Version.inc,v 1.6 2020/08/09 15:56:40 patrick Exp $ */ +/* $OpenBSD: Version.inc,v 1.7 2021/04/28 12:55:37 patrick Exp $ */ -#define LLD_VERSION 10.0.1 -#define LLD_VERSION_STRING "10.0.1" -#define LLD_VERSION_MAJOR 10 -#define LLD_VERSION_MINOR 0 +#define LLD_VERSION 11.1.0 +#define LLD_VERSION_STRING "11.1.0" +#define LLD_VERSION_MAJOR 11 +#define LLD_VERSION_MINOR 1 #define LLD_REVISION_STRING "" #define LLD_REPOSITORY_STRING "" diff --git a/gnu/usr.bin/clang/include/lldb/Plugins/Makefile b/gnu/usr.bin/clang/include/lldb/Plugins/Makefile index ae7e2126241..46b51d08721 100644 --- a/gnu/usr.bin/clang/include/lldb/Plugins/Makefile +++ b/gnu/usr.bin/clang/include/lldb/Plugins/Makefile @@ -1,19 +1,19 @@ -# $OpenBSD: Makefile,v 1.1 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2021/04/28 12:55:38 patrick Exp $ .include LLDB_SRCS= ${.CURDIR}/../../../../../llvm/lldb -DEFS= DynamicLoaderDarwinKernelProperties.inc -DEFS+= DynamicLoaderDarwinKernelPropertiesEnum.inc -DEFS+= JITLoaderGDBProperties.inc -DEFS+= JITLoaderGDBPropertiesEnum.inc -DEFS+= ProcessGDBRemoteProperties.inc -DEFS+= ProcessGDBRemotePropertiesEnum.inc -DEFS+= StructuredDataDarwinLogProperties.inc -DEFS+= StructuredDataDarwinLogPropertiesEnum.inc -DEFS+= SymbolFileDWARFProperties.inc -DEFS+= SymbolFileDWARFPropertiesEnum.inc +DEFS= DynamicLoaderDarwinKernelProperties.inc \ + DynamicLoaderDarwinKernelPropertiesEnum.inc \ + JITLoaderGDBProperties.inc \ + JITLoaderGDBPropertiesEnum.inc \ + ProcessGDBRemoteProperties.inc \ + ProcessGDBRemotePropertiesEnum.inc \ + StructuredDataDarwinLogProperties.inc \ + StructuredDataDarwinLogPropertiesEnum.inc \ + SymbolFileDWARFProperties.inc \ + SymbolFileDWARFPropertiesEnum.inc all: ${DEFS} diff --git a/gnu/usr.bin/clang/include/lldb/Plugins/Plugins.def b/gnu/usr.bin/clang/include/lldb/Plugins/Plugins.def new file mode 100644 index 00000000000..c2d11496cad --- /dev/null +++ b/gnu/usr.bin/clang/include/lldb/Plugins/Plugins.def @@ -0,0 +1,105 @@ +/*===- lldb/source/Plugin/Plugins.def ---------------------------*- C++ -*-===*\ +|* *| +|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *| +|* Exceptions. *| +|* See https://llvm.org/LICENSE.txt for license information. *| +|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *| +|* *| +|*===----------------------------------------------------------------------===*| +|* *| +|* This file enumerates all of the plugins supported by this build of LLDB. *| +|* Clients of this file should define the LLDB_PLUGIN macro to be a *| +|* function-like macro with a single parameter (the name of the plugin) *| +|* including this file will then enumerate all of the plugins. Script *| +|* interpreter plugins can be enumerated separately by defining *| +|* LLDB_SCRIPT_PLUGIN in which case they are not part of LLDB_PLUGIN. *| +|* *| +|* *| +|* The set of plugins supported by LLDB is generated at configuration *| +|* time, at which point this header is generated. Do not modify this *| +|* header directly. *| +|* *| +\*===----------------------------------------------------------------------===*/ + +#ifndef LLDB_PLUGIN +# error Please define the macro LLDB_PLUGIN(PluginName) +#endif + +#ifndef LLDB_SCRIPT_PLUGIN +#define LLDB_SCRIPT_PLUGIN(p) LLDB_PLUGIN(p) +#endif + +LLDB_PLUGIN(ABIAArch64) +LLDB_PLUGIN(ABIARC) +LLDB_PLUGIN(ABIARM) +LLDB_PLUGIN(ABIHexagon) +LLDB_PLUGIN(ABIMips) +LLDB_PLUGIN(ABIPowerPC) +LLDB_PLUGIN(ABISystemZ) +LLDB_PLUGIN(ABIX86) +LLDB_PLUGIN(ArchitectureArm) +LLDB_PLUGIN(ArchitectureMips) +LLDB_PLUGIN(ArchitecturePPC64) +LLDB_PLUGIN(DisassemblerLLVMC) +LLDB_PLUGIN(DynamicLoaderDarwinKernel) +LLDB_PLUGIN(DynamicLoaderMacOSXDYLD) +LLDB_PLUGIN(DynamicLoaderPosixDYLD) +LLDB_PLUGIN(DynamicLoaderStatic) +LLDB_PLUGIN(DynamicLoaderHexagonDYLD) +LLDB_PLUGIN(DynamicLoaderWindowsDYLD) +LLDB_PLUGIN(DynamicLoaderWasmDYLD) +LLDB_PLUGIN(InstructionARM) +LLDB_PLUGIN(InstructionARM64) +LLDB_PLUGIN(InstructionMIPS) +LLDB_PLUGIN(InstructionMIPS64) +LLDB_PLUGIN(InstructionPPC64) +LLDB_PLUGIN(InstrumentationRuntimeASan) +LLDB_PLUGIN(InstrumentationRuntimeMainThreadChecker) +LLDB_PLUGIN(InstrumentationRuntimeTSan) +LLDB_PLUGIN(InstrumentationRuntimeUBSan) +LLDB_PLUGIN(JITLoaderGDB) +LLDB_PLUGIN(CPlusPlusLanguage) +LLDB_PLUGIN(ObjCLanguage) +LLDB_PLUGIN(ObjCPlusPlusLanguage) +LLDB_PLUGIN(CXXItaniumABI) +LLDB_PLUGIN(AppleObjCRuntime) +LLDB_PLUGIN(RenderScriptRuntime) +LLDB_PLUGIN(MemoryHistoryASan) +LLDB_PLUGIN(ObjectContainerBSDArchive) +LLDB_PLUGIN(ObjectContainerMachOArchive) +LLDB_PLUGIN(ObjectFileBreakpad) +LLDB_PLUGIN(ObjectFileELF) +LLDB_PLUGIN(ObjectFileMachO) +LLDB_PLUGIN(ObjectFilePECOFF) +LLDB_PLUGIN(ObjectFileJIT) +LLDB_PLUGIN(ObjectFileWasm) +LLDB_PLUGIN(PlatformLinux) +LLDB_PLUGIN(PlatformFreeBSD) +LLDB_PLUGIN(PlatformNetBSD) +LLDB_PLUGIN(PlatformOpenBSD) +LLDB_PLUGIN(PlatformMacOSX) +LLDB_PLUGIN(PlatformWindows) +LLDB_PLUGIN(PlatformGDB) +LLDB_PLUGIN(PlatformAndroid) +LLDB_PLUGIN(ProcessElfCore) +LLDB_PLUGIN(ProcessMachCore) +LLDB_PLUGIN(ProcessMinidump) +LLDB_SCRIPT_PLUGIN(ScriptInterpreterNone) +LLDB_PLUGIN(StructuredDataDarwinLog) +LLDB_PLUGIN(SymbolFileBreakpad) +LLDB_PLUGIN(SymbolFileDWARF) +LLDB_PLUGIN(SymbolFileSymtab) +LLDB_PLUGIN(SymbolFilePDB) +LLDB_PLUGIN(SystemRuntimeMacOSX) +LLDB_PLUGIN(SymbolVendorELF) +LLDB_PLUGIN(SymbolVendorWasm) +LLDB_PLUGIN(TypeSystemClang) +LLDB_PLUGIN(UnwindAssemblyInstEmulation) +LLDB_PLUGIN(UnwindAssemblyX86) + + +LLDB_PLUGIN(ProcessGDBRemote) + + +#undef LLDB_PLUGIN +#undef LLDB_SCRIPT_PLUGIN diff --git a/gnu/usr.bin/clang/include/llvm/AArch64/Makefile b/gnu/usr.bin/clang/include/llvm/AArch64/Makefile index 05667a8b9be..746520a5092 100644 --- a/gnu/usr.bin/clang/include/llvm/AArch64/Makefile +++ b/gnu/usr.bin/clang/include/llvm/AArch64/Makefile @@ -1,18 +1,27 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= AArch64GenAsmMatcher.inc AArch64GenAsmWriter.inc \ +HDRS= AArch64GenAsmMatcher.inc \ + AArch64GenAsmWriter.inc \ AArch64GenAsmWriter1.inc \ - AArch64GenCallingConv.inc AArch64GenDAGISel.inc \ - AArch64GenDisassemblerTables.inc AArch64GenFastISel.inc \ - AArch64GenInstrInfo.inc AArch64GenRegisterInfo.inc \ + AArch64GenCallingConv.inc \ + AArch64GenDAGISel.inc \ + AArch64GenDisassemblerTables.inc \ + AArch64GenFastISel.inc \ + AArch64GenGlobalISel.inc \ + AArch64GenPreLegalizeGICombiner.inc \ + AArch64GenPostLegalizeGICombiner.inc \ + AArch64GenInstrInfo.inc \ + AArch64GenMCCodeEmitter.inc \ + AArch64GenMCPseudoLowering.inc \ + AArch64GenRegisterBank.inc \ + AArch64GenRegisterInfo.inc \ AArch64GenSubtargetInfo.inc \ - AArch64GenMCCodeEmitter.inc AArch64GenMCPseudoLowering.inc \ - AArch64GenSystemOperands.inc AArch64GenRegisterBank.inc \ - AArch64GenGlobalISel.inc AArch64GenGICombiner.inc + AArch64GenSystemOperands.inc \ + AArch64GenExegesis.inc all: ${HDRS} @@ -22,18 +31,8 @@ install: clean cleandir: rm -f ${HDRS} -AArch64GenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ - -o ${.TARGET} ${.ALLSRC} - -AArch64GenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ - -o ${.TARGET} ${.ALLSRC} - -AArch64GenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ +AArch64GenAsmMatcher.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} @@ -47,8 +46,8 @@ AArch64GenAsmWriter1.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td -asmwriternum=1 -I${LLVM_SRCS}/include \ -I${LLVM_SRCS}/lib/Target/AArch64 -o ${.TARGET} ${.ALLSRC} -AArch64GenAsmMatcher.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher \ +AArch64GenCallingConv.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} @@ -57,18 +56,35 @@ AArch64GenDAGISel.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} +AArch64GenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ + -o ${.TARGET} ${.ALLSRC} + AArch64GenFastISel.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-fast-isel \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} -AArch64GenCallingConv.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ +AArch64GenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} -AArch64GenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-subtarget \ +AArch64GenPreLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \ + -combiners="AArch64PreLegalizerCombinerHelper" \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ + -o ${.TARGET} ${.ALLSRC} + +AArch64GenPostLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \ + -combiners="AArch64PostLegalizerCombinerHelper" \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ + -o ${.TARGET} ${.ALLSRC} + +AArch64GenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} @@ -82,24 +98,28 @@ AArch64GenMCPseudoLowering.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} -AArch64GenSystemOperands.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \ +AArch64GenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-bank \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} -AArch64GenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-bank \ +AArch64GenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} -AArch64GenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ +AArch64GenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-subtarget \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} -AArch64GenGICombiner.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \ - -combiners="AArch64PreLegalizerCombinerHelper" \ +AArch64GenSystemOperands.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ + -o ${.TARGET} ${.ALLSRC} + +AArch64GenExegesis.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-exegesis \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \ -o ${.TARGET} ${.ALLSRC} diff --git a/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile b/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile index 1b617770990..11794a6bdfa 100644 --- a/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile +++ b/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile @@ -1,22 +1,35 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= AMDGPUGenAsmMatcher.inc AMDGPUGenAsmWriter.inc \ - AMDGPUGenCallingConv.inc AMDGPUGenDAGISel.inc \ - AMDGPUGenDisassemblerTables.inc AMDGPUGenInstrInfo.inc \ - AMDGPUGenMCCodeEmitter.inc AMDGPUGenMCPseudoLowering.inc \ - AMDGPUGenRegisterBank.inc AMDGPUGenRegisterInfo.inc \ - AMDGPUGenSearchableTables.inc AMDGPUGenSubtargetInfo.inc +HDRS= AMDGPUGenAsmMatcher.inc \ + AMDGPUGenAsmWriter.inc \ + AMDGPUGenCallingConv.inc \ + AMDGPUGenDAGISel.inc \ + AMDGPUGenDisassemblerTables.inc \ + AMDGPUGenInstrInfo.inc \ + AMDGPUGenMCCodeEmitter.inc \ + AMDGPUGenMCPseudoLowering.inc \ + AMDGPUGenRegisterBank.inc \ + AMDGPUGenRegisterInfo.inc \ + AMDGPUGenSearchableTables.inc \ + AMDGPUGenSubtargetInfo.inc -HDRS+= AMDGPUGenGlobalISel.inc +HDRS+= AMDGPUGenGlobalISel.inc \ + AMDGPUGenPreLegalizeGICombiner.inc \ + AMDGPUGenPostLegalizeGICombiner.inc \ + AMDGPUGenRegBankGICombiner.inc -HDRS+= R600GenAsmWriter.inc R600GenCallingConv.inc \ - R600GenDAGISel.inc R600GenDFAPacketizer.inc \ - R600GenInstrInfo.inc R600GenMCCodeEmitter.inc \ - R600GenRegisterInfo.inc R600GenSubtargetInfo.inc +HDRS+= R600GenAsmWriter.inc \ + R600GenCallingConv.inc \ + R600GenDAGISel.inc \ + R600GenDFAPacketizer.inc \ + R600GenInstrInfo.inc \ + R600GenMCCodeEmitter.inc \ + R600GenRegisterInfo.inc \ + R600GenSubtargetInfo.inc all: ${HDRS} @@ -79,6 +92,21 @@ AMDGPUGenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/AMDGPU/AMDGPUGISel.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AMDGPU \ -o ${.TARGET} ${.ALLSRC} +AMDGPUGenPreLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/AMDGPU/AMDGPUGISel.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \ + -combiners="AMDGPUPreLegalizerCombinerHelper" \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AMDGPU \ + -o ${.TARGET} ${.ALLSRC} +AMDGPUGenPostLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/AMDGPU/AMDGPUGISel.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \ + -combiners="AMDGPUPostLegalizerCombinerHelper" \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AMDGPU \ + -o ${.TARGET} ${.ALLSRC} +AMDGPUGenRegBankGICombiner.inc: ${LLVM_SRCS}/lib/Target/AMDGPU/AMDGPUGISel.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \ + -combiners="AMDGPURegBankCombinerHelper" \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AMDGPU \ + -o ${.TARGET} ${.ALLSRC} R600GenAsmWriter.inc: ${LLVM_SRCS}/lib/Target/AMDGPU/R600.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-writer \ diff --git a/gnu/usr.bin/clang/include/llvm/ARM/Makefile b/gnu/usr.bin/clang/include/llvm/ARM/Makefile index 9493624e920..dd184563ab7 100644 --- a/gnu/usr.bin/clang/include/llvm/ARM/Makefile +++ b/gnu/usr.bin/clang/include/llvm/ARM/Makefile @@ -1,16 +1,23 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= ARMGenAsmMatcher.inc ARMGenAsmWriter.inc \ - ARMGenCallingConv.inc ARMGenDAGISel.inc ARMGenDisassemblerTables.inc \ - ARMGenFastISel.inc ARMGenInstrInfo.inc ARMGenRegisterInfo.inc \ +HDRS= ARMGenAsmMatcher.inc \ + ARMGenAsmWriter.inc \ + ARMGenCallingConv.inc \ + ARMGenDAGISel.inc \ + ARMGenDisassemblerTables.inc \ + ARMGenFastISel.inc \ + ARMGenGlobalISel.inc \ + ARMGenInstrInfo.inc \ + ARMGenMCCodeEmitter.inc \ + ARMGenMCPseudoLowering.inc \ + ARMGenRegisterBank.inc \ + ARMGenRegisterInfo.inc \ ARMGenSubtargetInfo.inc \ - ARMGenMCCodeEmitter.inc ARMGenMCPseudoLowering.inc \ - ARMGenDisassemblerTables.inc ARMGenSystemRegister.inc \ - ARMGenRegisterBank.inc ARMGenGlobalISel.inc + ARMGenSystemRegister.inc all: ${HDRS} @@ -20,18 +27,8 @@ install: clean cleandir: rm -f ${HDRS} -ARMGenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ - -o ${.TARGET} ${.ALLSRC} - -ARMGenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ - -o ${.TARGET} ${.ALLSRC} - -ARMGenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ +ARMGenAsmMatcher.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} @@ -40,8 +37,8 @@ ARMGenAsmWriter.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} -ARMGenAsmMatcher.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher \ +ARMGenCallingConv.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} @@ -50,18 +47,23 @@ ARMGenDAGISel.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} +ARMGenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ + -o ${.TARGET} ${.ALLSRC} + ARMGenFastISel.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-fast-isel \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} -ARMGenCallingConv.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ +ARMGenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} -ARMGenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-subtarget \ +ARMGenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} @@ -75,23 +77,23 @@ ARMGenMCPseudoLowering.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} -ARMGenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ +ARMGenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-bank \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} -ARMGenSystemRegister.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \ +ARMGenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} -ARMGenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-bank \ +ARMGenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-subtarget \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} -ARMGenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ +ARMGenSystemRegister.inc: ${LLVM_SRCS}/lib/Target/ARM/ARM.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/ARM \ -o ${.TARGET} ${.ALLSRC} diff --git a/gnu/usr.bin/clang/include/llvm/Config/config.h b/gnu/usr.bin/clang/include/llvm/Config/config.h index 61ce8f5e6de..a3d574865d3 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/config.h +++ b/gnu/usr.bin/clang/include/llvm/Config/config.h @@ -7,7 +7,7 @@ #include "llvm/Config/llvm-config.h" /* Bug report URL. */ -#define BUG_REPORT_URL "http://llvm.org/bugs/" +#define BUG_REPORT_URL "https://bugs.llvm.org/" /* Define to 1 to enable backtraces, and to 0 otherwise. */ #define ENABLE_BACKTRACES 1 @@ -296,7 +296,7 @@ /* Target triple LLVM will generate code for by default */ /* Doesn't use `cmakedefine` because it is allowed to be empty. */ -/* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd6.0" */ +/* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd6.8" */ /* Define if zlib compression is available */ /* #define LLVM_ENABLE_ZLIB 1 */ @@ -317,16 +317,16 @@ #define LTDL_SHLIB_EXT ".so" /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "http://llvm.org/bugs/" +#define PACKAGE_BUGREPORT "https://bugs.llvm.org/" /* Define to the full name of this package. */ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 10.0.1" +#define PACKAGE_STRING "LLVM 11.1.0" /* Define to the version of this package. */ -#define PACKAGE_VERSION "10.0.1" +#define PACKAGE_VERSION "11.1.0" /* Define to the vendor of this package. */ /* #undef PACKAGE_VENDOR */ @@ -343,9 +343,6 @@ /* Define to a function implementing strdup */ /* #undef strdup */ -/* Define if we have z3 and want to build it */ -#define LLVM_WITH_Z3 0 - /* Whether GlobalISel rule coverage is being collected */ #define LLVM_GISEL_COV_ENABLED 0 diff --git a/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in index 8e88b15a074..f27faf51c84 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in +++ b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in @@ -48,16 +48,16 @@ #define LLVM_USE_PERF 0 /* Major version of the LLVM API */ -#define LLVM_VERSION_MAJOR 10 +#define LLVM_VERSION_MAJOR 11 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 0 +#define LLVM_VERSION_MINOR 1 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "10.0.1" +#define LLVM_VERSION_STRING "11.1.0" /* Whether LLVM records statistics for use with GetStatistics(), * PrintStatistics() or PrintStatisticsJSON() diff --git a/gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile b/gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile new file mode 100644 index 00000000000..6dd1233878a --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:38 patrick Exp $ + +.include + +LLVM_SRCS= ${.CURDIR}/../../../../../../llvm/llvm + +DEFS= ACC.h.inc \ + ACC.cpp.inc \ + ACC.cpp + +all: ${DEFS} + +install: + @# Nothing here so far ... + +clean cleandir: + rm -f ${DEFS} + +ACC.h.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenACC/ACC.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-decl \ + -I${LLVM_SRCS}/include/llvm/Frontend/OpenACC \ + -I${LLVM_SRCS}/include/llvm/Frontend/ \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +ACC.cpp.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenACC/ACC.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-gen \ + -I${LLVM_SRCS}/include/llvm/Frontend/OpenACC \ + -I${LLVM_SRCS}/include/llvm/Frontend/ \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +ACC.cpp: ${LLVM_SRCS}/include/llvm/Frontend/OpenACC/ACC.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-impl \ + -I${LLVM_SRCS}/include/llvm/Frontend/OpenACC \ + -I${LLVM_SRCS}/include/llvm/Frontend/ \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +.include diff --git a/gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile b/gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile new file mode 100644 index 00000000000..b2e6eae5a28 --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:38 patrick Exp $ + +.include + +LLVM_SRCS= ${.CURDIR}/../../../../../../llvm/llvm + +DEFS= OMP.h.inc \ + OMP.cpp.inc \ + OMP.cpp + +all: ${DEFS} + +install: + @# Nothing here so far ... + +clean cleandir: + rm -f ${DEFS} + +OMP.h.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-decl \ + -I${LLVM_SRCS}/include/llvm/Frontend/OpenMP \ + -I${LLVM_SRCS}/include/llvm/Frontend/ \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +OMP.cpp.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-gen \ + -I${LLVM_SRCS}/include/llvm/Frontend/OpenMP \ + -I${LLVM_SRCS}/include/llvm/Frontend/ \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +OMP.cpp: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-impl \ + -I${LLVM_SRCS}/include/llvm/Frontend/OpenMP \ + -I${LLVM_SRCS}/include/llvm/Frontend/ \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + +.include diff --git a/gnu/usr.bin/clang/include/llvm/IR/Makefile b/gnu/usr.bin/clang/include/llvm/IR/Makefile index 4c157047aea..7be0c3ec2d8 100644 --- a/gnu/usr.bin/clang/include/llvm/IR/Makefile +++ b/gnu/usr.bin/clang/include/llvm/IR/Makefile @@ -1,18 +1,26 @@ -# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -DEFS= Attributes.inc AttributesCompatFunc.inc \ - IntrinsicEnums.inc IntrinsicImpl.inc \ - IntrinsicsAArch64.h IntrinsicsAMDGPU.h \ - IntrinsicsARM.h IntrinsicsBPF.h \ - IntrinsicsHexagon.h IntrinsicsMips.h \ - IntrinsicsNVPTX.h IntrinsicsPowerPC.h \ - IntrinsicsR600.h IntrinsicsRISCV.h \ - IntrinsicsS390.h IntrinsicsWebAssembly.h \ - IntrinsicsX86.h IntrinsicsXCore.h +DEFS= Attributes.inc \ + IntrinsicImpl.inc \ + IntrinsicEnums.inc \ + IntrinsicsAArch64.h \ + IntrinsicsAMDGPU.h \ + IntrinsicsARM.h \ + IntrinsicsBPF.h \ + IntrinsicsHexagon.h \ + IntrinsicsMips.h \ + IntrinsicsNVPTX.h \ + IntrinsicsPowerPC.h \ + IntrinsicsR600.h \ + IntrinsicsRISCV.h \ + IntrinsicsS390.h \ + IntrinsicsWebAssembly.h \ + IntrinsicsX86.h \ + IntrinsicsXCore.h INCDIR= /usr/include/llvm/IR @@ -27,8 +35,8 @@ Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} -AttributesCompatFunc.inc: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-attrs \ +IntrinsicImpl.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-impl \ -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} @@ -39,12 +47,6 @@ IntrinsicEnums.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} -IntrinsicImpl.inc: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-impl \ - -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ - -I${LLVM_SRCS}/include \ - -o ${.TARGET} ${.ALLSRC} - IntrinsicsAArch64.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=aarch64 \ -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ diff --git a/gnu/usr.bin/clang/include/llvm/Mips/Makefile b/gnu/usr.bin/clang/include/llvm/Mips/Makefile index 28bee589250..9cee674273f 100644 --- a/gnu/usr.bin/clang/include/llvm/Mips/Makefile +++ b/gnu/usr.bin/clang/include/llvm/Mips/Makefile @@ -1,16 +1,23 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= MipsGenAsmMatcher.inc MipsGenAsmWriter.inc \ - MipsGenCallingConv.inc MipsGenDAGISel.inc \ - MipsGenDisassemblerTables.inc MipsGenFastISel.inc \ - MipsGenGlobalISel.inc MipsGenInstrInfo.inc \ - MipsGenMCCodeEmitter.inc MipsGenMCPseudoLowering.inc \ - MipsGenSubtargetInfo.inc MipsGenRegisterBank.inc \ - MipsGenRegisterInfo.inc +HDRS= MipsGenAsmMatcher.inc \ + MipsGenAsmWriter.inc \ + MipsGenCallingConv.inc \ + MipsGenDAGISel.inc \ + MipsGenDisassemblerTables.inc \ + MipsGenFastISel.inc \ + MipsGenGlobalISel.inc \ + MipsGenInstrInfo.inc \ + MipsGenMCCodeEmitter.inc \ + MipsGenMCPseudoLowering.inc \ + MipsGenRegisterBank.inc \ + MipsGenRegisterInfo.inc \ + MipsGenSubtargetInfo.inc \ + MipsGenExegesis.inc all: ${HDRS} @@ -85,4 +92,9 @@ MipsGenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ -o ${.TARGET} ${.ALLSRC} +MipsGenExegesis.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-exegesis \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + .include diff --git a/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile b/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile index 76b8848dc67..f4068bf1b4d 100644 --- a/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile +++ b/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile @@ -1,15 +1,20 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= PPCGenAsmMatcher.inc PPCGenAsmWriter.inc \ +HDRS= PPCGenAsmMatcher.inc \ + PPCGenAsmWriter.inc \ PPCGenCallingConv.inc \ - PPCGenDAGISel.inc PPCGenDisassemblerTables.inc \ - PPCGenFastISel.inc PPCGenInstrInfo.inc \ - PPCGenRegisterInfo.inc PPCGenSubtargetInfo.inc \ - PPCGenMCCodeEmitter.inc + PPCGenDAGISel.inc \ + PPCGenDisassemblerTables.inc \ + PPCGenFastISel.inc \ + PPCGenInstrInfo.inc \ + PPCGenMCCodeEmitter.inc \ + PPCGenRegisterInfo.inc \ + PPCGenSubtargetInfo.inc \ + PPCGenExegesis.inc all: ${HDRS} @@ -69,4 +74,9 @@ PPCGenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/PowerPC/PPC.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/PowerPC \ -o ${.TARGET} ${.ALLSRC} +PPCGenExegesis.inc: ${LLVM_SRCS}/lib/Target/PowerPC/PPC.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-exegesis \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/PowerPC \ + -o ${.TARGET} ${.ALLSRC} + .include diff --git a/gnu/usr.bin/clang/include/llvm/Sparc/Makefile b/gnu/usr.bin/clang/include/llvm/Sparc/Makefile index ddf4b7eb196..dab2741c82d 100644 --- a/gnu/usr.bin/clang/include/llvm/Sparc/Makefile +++ b/gnu/usr.bin/clang/include/llvm/Sparc/Makefile @@ -1,15 +1,18 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= SparcGenAsmMatcher.inc SparcGenAsmWriter.inc \ - SparcGenCodeEmitter.inc SparcGenCallingConv.inc \ - SparcGenDAGISel.inc SparcGenDisassemblerTables.inc \ - SparcGenFastISel.inc SparcGenInstrInfo.inc \ - SparcGenRegisterInfo.inc SparcGenSubtargetInfo.inc \ - SparcGenMCCodeEmitter.inc +HDRS= SparcGenAsmMatcher.inc \ + SparcGenAsmWriter.inc \ + SparcGenCallingConv.inc \ + SparcGenDAGISel.inc \ + SparcGenDisassemblerTables.inc \ + SparcGenInstrInfo.inc \ + SparcGenMCCodeEmitter.inc \ + SparcGenRegisterInfo.inc \ + SparcGenSubtargetInfo.inc all: ${HDRS} @@ -34,11 +37,6 @@ SparcGenCallingConv.inc: ${LLVM_SRCS}/lib/Target/Sparc/Sparc.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Sparc \ -o ${.TARGET} ${.ALLSRC} -SparcGenCodeEmitter.inc: ${LLVM_SRCS}/lib/Target/Sparc/Sparc.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-emitter \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Sparc \ - -o ${.TARGET} ${.ALLSRC} - SparcGenDAGISel.inc: ${LLVM_SRCS}/lib/Target/Sparc/Sparc.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-dag-isel \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Sparc \ @@ -49,11 +47,6 @@ SparcGenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/Sparc/Sparc.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Sparc \ -o ${.TARGET} ${.ALLSRC} -SparcGenFastISel.inc: ${LLVM_SRCS}/lib/Target/Sparc/Sparc.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-fast-isel \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Sparc \ - -o ${.TARGET} ${.ALLSRC} - SparcGenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/Sparc/Sparc.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Sparc \ diff --git a/gnu/usr.bin/clang/include/llvm/X86/Makefile b/gnu/usr.bin/clang/include/llvm/X86/Makefile index 6e231a4ec79..81e41340dc7 100644 --- a/gnu/usr.bin/clang/include/llvm/X86/Makefile +++ b/gnu/usr.bin/clang/include/llvm/X86/Makefile @@ -1,14 +1,23 @@ -# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:23 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:38 patrick Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= X86GenAsmMatcher.inc X86GenAsmWriter.inc X86GenAsmWriter1.inc \ - X86GenCallingConv.inc X86GenDAGISel.inc X86GenDisassemblerTables.inc \ - X86GenEVEX2VEXTables.inc X86GenExegesis.inc X86GenFastISel.inc \ - X86GenInstrInfo.inc X86GenRegisterInfo.inc X86GenSubtargetInfo.inc \ - X86GenRegisterBank.inc X86GenGlobalISel.inc +HDRS= X86GenAsmMatcher.inc \ + X86GenAsmWriter.inc \ + X86GenAsmWriter1.inc \ + X86GenCallingConv.inc \ + X86GenDAGISel.inc \ + X86GenDisassemblerTables.inc \ + X86GenEVEX2VEXTables.inc \ + X86GenExegesis.inc \ + X86GenFastISel.inc \ + X86GenGlobalISel.inc \ + X86GenInstrInfo.inc \ + X86GenRegisterBank.inc \ + X86GenRegisterInfo.inc \ + X86GenSubtargetInfo.inc all: ${HDRS} @@ -18,18 +27,8 @@ install: clean cleandir: rm -f ${HDRS} -X86GenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ - -o ${.TARGET} ${.ALLSRC} - -X86GenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ - -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ - -o ${.TARGET} ${.ALLSRC} - -X86GenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ +X86GenAsmMatcher.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} @@ -43,8 +42,8 @@ X86GenAsmWriter1.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} -X86GenAsmMatcher.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher \ +X86GenCallingConv.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} @@ -53,28 +52,33 @@ X86GenDAGISel.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} -X86GenFastISel.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-fast-isel \ +X86GenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} -X86GenCallingConv.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ +X86GenEVEX2VEXTables.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-x86-EVEX2VEX-tables \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} -X86GenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-subtarget \ +X86GenExegesis.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-exegesis \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} -X86GenEVEX2VEXTables.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-x86-EVEX2VEX-tables \ +X86GenFastISel.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-fast-isel \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} -X86GenExegesis.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-exegesis \ +X86GenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ + -o ${.TARGET} ${.ALLSRC} + +X86GenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} @@ -83,8 +87,13 @@ X86GenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} -X86GenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \ +X86GenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ + -o ${.TARGET} ${.ALLSRC} + +X86GenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-subtarget \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} diff --git a/gnu/usr.bin/clang/libLLVM/Makefile b/gnu/usr.bin/clang/libLLVM/Makefile index 79a30b34703..0d79acb5580 100644 --- a/gnu/usr.bin/clang/libLLVM/Makefile +++ b/gnu/usr.bin/clang/libLLVM/Makefile @@ -2,6 +2,7 @@ .if "${LLVM_ARCH}" != "" +.include "../libLLVMAggressiveInstCombine/Makefile" .include "../libLLVMAMDGPUAsmParser/Makefile" .include "../libLLVMAMDGPUCodeGen/Makefile" .include "../libLLVMAMDGPUDesc/Makefile" @@ -26,6 +27,7 @@ .include "../libLLVMDebugInfoPDB/Makefile" .include "../libLLVMDemangle/Makefile" .include "../libLLVMExecutionEngine/Makefile" +.include "../libLLVMFrontendOpenACC/Makefile" .include "../libLLVMFrontendOpenMP/Makefile" .include "../libLLVMGlobalISel/Makefile" .include "../libLLVMIRReader/Makefile" @@ -56,7 +58,7 @@ .include "../libLLVM${LLVM_ARCH}Desc/Makefile" .include "../libLLVM${LLVM_ARCH}Disassembler/Makefile" .include "../libLLVM${LLVM_ARCH}Info/Makefile" -.if "${LLVM_ARCH}" == "X86" || "${LLVM_ARCH}" == "AArch64" || "${LLVM_ARCH}" == "ARM" +.if "${LLVM_ARCH}" == "AArch64" || "${LLVM_ARCH}" == "ARM" .include "../libLLVM${LLVM_ARCH}Utils/Makefile" .endif .include "../libLLVMipo/Makefile" @@ -75,3 +77,6 @@ includes: -print` ${DESTDIR}/usr/include .include + +# Enable return protectors for libLLVM.so +PICFLAG+= -fret-protector diff --git a/gnu/usr.bin/clang/libLLVM/shlib_version b/gnu/usr.bin/clang/libLLVM/shlib_version index d9961ea9fef..3066b9771e7 100644 --- a/gnu/usr.bin/clang/libLLVM/shlib_version +++ b/gnu/usr.bin/clang/libLLVM/shlib_version @@ -1,2 +1,2 @@ -major=4 +major=5 minor=0 diff --git a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile index 74d4180a460..80e13b1eaac 100644 --- a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2020/08/03 14:45:24 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2021/04/28 12:55:38 patrick Exp $ LIB= LLVMAArch64CodeGen NOPROFILE= @@ -6,17 +6,22 @@ NOPROFILE= CPPFLAGS+= -I${.OBJDIR}/../include/llvm/AArch64 \ -I${LLVM_SRCS}/lib/Target/AArch64 +# GISel +SRCS+= AArch64CallLowering.cpp \ + AArch64InstructionSelector.cpp \ + AArch64LegalizerInfo.cpp \ + AArch64PreLegalizerCombiner.cpp \ + AArch64PostLegalizerCombiner.cpp \ + AArch64RegisterBankInfo.cpp + SRCS+= AArch64A57FPLoadBalancing.cpp \ AArch64AdvSIMDScalarPass.cpp \ AArch64AsmPrinter.cpp \ AArch64BranchTargets.cpp \ AArch64CallingConvention.cpp \ - AArch64CallLowering.cpp \ AArch64CleanupLocalDynamicTLSPass.cpp \ AArch64CollectLOH.cpp \ - AArch64CompressJumpTables.cpp \ AArch64CondBrTuning.cpp \ - AArch64ConditionOptimizer.cpp \ AArch64ConditionalCompares.cpp \ AArch64DeadRegisterDefinitionsPass.cpp \ AArch64ExpandImm.cpp \ @@ -25,22 +30,21 @@ SRCS+= AArch64A57FPLoadBalancing.cpp \ AArch64FastISel.cpp \ AArch64A53Fix835769.cpp \ AArch64FrameLowering.cpp \ + AArch64CompressJumpTables.cpp \ + AArch64ConditionOptimizer.cpp \ + AArch64RedundantCopyElimination.cpp \ AArch64ISelDAGToDAG.cpp \ AArch64ISelLowering.cpp \ AArch64InstrInfo.cpp \ - AArch64InstructionSelector.cpp \ - AArch64LegalizerInfo.cpp \ AArch64LoadStoreOptimizer.cpp \ + AArch64MachineFunctionInfo.cpp \ AArch64MacroFusion.cpp \ AArch64MCInstLower.cpp \ - AArch64PreLegalizerCombiner.cpp \ AArch64PromoteConstant.cpp \ AArch64PBQPRegAlloc.cpp \ - AArch64RedundantCopyElimination.cpp \ - AArch64RegisterBankInfo.cpp \ AArch64RegisterInfo.cpp \ AArch64ReturnProtectorLowering.cpp \ - AArch64SIMDInstrOpt.cpp \ + AArch64SLSHardening.cpp \ AArch64SelectionDAGInfo.cpp \ AArch64SpeculationHardening.cpp \ AArch64StackTagging.cpp \ @@ -49,6 +53,9 @@ SRCS+= AArch64A57FPLoadBalancing.cpp \ AArch64Subtarget.cpp \ AArch64TargetMachine.cpp \ AArch64TargetObjectFile.cpp \ - AArch64TargetTransformInfo.cpp + AArch64TargetTransformInfo.cpp \ + SVEIntrinsicOpts.cpp \ + AArch64SIMDInstrOpt.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/AArch64 +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/AArch64/GISel diff --git a/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile b/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile index dac8b648a5d..43a608c77c6 100644 --- a/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile +++ b/gnu/usr.bin/clang/libLLVMAArch64Desc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:24 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:38 patrick Exp $ LIB= LLVMAArch64Desc NOPROFILE= @@ -10,11 +10,11 @@ SRCS+= AArch64AsmBackend.cpp \ AArch64ELFObjectWriter.cpp \ AArch64ELFStreamer.cpp \ AArch64InstPrinter.cpp \ - AArch64MachObjectWriter.cpp \ AArch64MCAsmInfo.cpp \ AArch64MCCodeEmitter.cpp \ AArch64MCExpr.cpp \ AArch64MCTargetDesc.cpp \ + AArch64MachObjectWriter.cpp \ AArch64TargetStreamer.cpp \ AArch64WinCOFFObjectWriter.cpp \ AArch64WinCOFFStreamer.cpp diff --git a/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile index ee3f25cdd55..6e26259eabe 100644 --- a/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:24 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:38 patrick Exp $ LIB= LLVMAMDGPUCodeGen NOPROFILE= @@ -15,6 +15,7 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ AMDGPUAtomicOptimizer.cpp \ AMDGPUCallLowering.cpp \ AMDGPUCodeGenPrepare.cpp \ + AMDGPUExportClustering.cpp \ AMDGPUFixFunctionBitcasts.cpp \ AMDGPUFrameLowering.cpp \ AMDGPUHSAMetadataStreamer.cpp \ @@ -35,10 +36,12 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ AMDGPUMacroFusion.cpp \ AMDGPUMCInstLower.cpp \ AMDGPUOpenCLEnqueuedBlockLowering.cpp \ + AMDGPUPostLegalizerCombiner.cpp \ + AMDGPUPreLegalizerCombiner.cpp \ AMDGPUPromoteAlloca.cpp \ AMDGPUPropagateAttributes.cpp \ + AMDGPURegBankCombiner.cpp \ AMDGPURegisterBankInfo.cpp \ - AMDGPURegisterInfo.cpp \ AMDGPURewriteOutArguments.cpp \ AMDGPUSubtarget.cpp \ AMDGPUTargetMachine.cpp \ @@ -50,11 +53,7 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ AMDGPUPerfHintAnalysis.cpp \ AMDILCFGStructurizer.cpp \ AMDGPUPrintfRuntimeBinding.cpp \ - GCNDPPCombine.cpp \ GCNHazardRecognizer.cpp \ - GCNILPSched.cpp \ - GCNRegBankReassign.cpp \ - GCNNSAReassign.cpp \ GCNIterativeScheduler.cpp \ GCNMinRegStrategy.cpp \ GCNRegPressure.cpp \ @@ -76,12 +75,13 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ SIAddIMGInit.cpp \ SIAnnotateControlFlow.cpp \ SIFixSGPRCopies.cpp \ + SIFixupVectorISel.cpp \ SIFixVGPRCopies.cpp \ SIPreAllocateWWMRegs.cpp \ - SIFixupVectorISel.cpp \ SIFoldOperands.cpp \ SIFormMemoryClauses.cpp \ SIFrameLowering.cpp \ + SIInsertHardClauses.cpp \ SIInsertSkips.cpp \ SIInsertWaitcnts.cpp \ SIInstrInfo.cpp \ @@ -93,12 +93,19 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ SIMachineFunctionInfo.cpp \ SIMachineScheduler.cpp \ SIMemoryLegalizer.cpp \ - SIModeRegister.cpp \ SIOptimizeExecMasking.cpp \ SIOptimizeExecMaskingPreRA.cpp \ SIPeepholeSDWA.cpp \ + SIPostRABundler.cpp \ + SIPreEmitPeephole.cpp \ SIRegisterInfo.cpp \ + SIRemoveShortExecBranches.cpp \ SIShrinkInstructions.cpp \ - SIWholeQuadMode.cpp + SIWholeQuadMode.cpp \ + GCNILPSched.cpp \ + GCNRegBankReassign.cpp \ + GCNNSAReassign.cpp \ + GCNDPPCombine.cpp \ + SIModeRegister.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/AMDGPU diff --git a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile index 659c1c91235..c8b6878113d 100644 --- a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:24 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:38 patrick Exp $ LIB= LLVMARMCodeGen NOPROFILE= @@ -18,20 +18,20 @@ SRCS+= A15SDOptimizer.cpp \ ARMFastISel.cpp \ ARMFrameLowering.cpp \ ARMHazardRecognizer.cpp \ + ARMInstructionSelector.cpp \ ARMISelDAGToDAG.cpp \ ARMISelLowering.cpp \ ARMInstrInfo.cpp \ - ARMInstructionSelector.cpp \ ARMLegalizerInfo.cpp \ + ARMParallelDSP.cpp \ ARMLoadStoreOptimizer.cpp \ ARMLowOverheadLoops.cpp \ ARMMCInstLower.cpp \ ARMMachineFunctionInfo.cpp \ ARMMacroFusion.cpp \ - ARMParallelDSP.cpp \ - ARMRegisterBankInfo.cpp \ ARMRegisterInfo.cpp \ ARMOptimizeBarriersPass.cpp \ + ARMRegisterBankInfo.cpp \ ARMSelectionDAGInfo.cpp \ ARMSubtarget.cpp \ ARMTargetMachine.cpp \ @@ -41,6 +41,7 @@ SRCS+= A15SDOptimizer.cpp \ MVEGatherScatterLowering.cpp \ MVETailPredication.cpp \ MVEVPTBlockPass.cpp \ + MVEVPTOptimisationsPass.cpp \ Thumb1FrameLowering.cpp \ Thumb1InstrInfo.cpp \ ThumbRegisterInfo.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAggressiveInstCombine/Makefile b/gnu/usr.bin/clang/libLLVMAggressiveInstCombine/Makefile new file mode 100644 index 00000000000..930cb460de6 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMAggressiveInstCombine/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:38 patrick Exp $ + +LIB= LLVMAggressiveInstCombine +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms + +SRCS+= AggressiveInstCombine.cpp \ + TruncInstCombine.cpp + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/AggressiveInstCombine diff --git a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile index a7cd8232ce8..b7cdf2d88b9 100644 --- a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile +++ b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.12 2021/04/28 12:55:38 patrick Exp $ LIB= LLVMAnalysis NOPROFILE= @@ -10,6 +10,7 @@ SRCS+= AliasAnalysis.cpp \ AliasAnalysisSummary.cpp \ AliasSetTracker.cpp \ AnalysisAnalysis.cpp \ + AssumeBundleQueries.cpp \ AssumptionCache.cpp \ BasicAliasAnalysis.cpp \ BlockFrequencyInfo.cpp \ @@ -40,17 +41,21 @@ SRCS+= AliasAnalysis.cpp \ EHPersonalities.cpp \ GlobalsModRef.cpp \ GuardUtils.cpp \ + HeatUtils.cpp \ IVDescriptors.cpp \ IVUsers.cpp \ IndirectCallPromotionAnalysis.cpp \ InlineCost.cpp \ + InlineAdvisor.cpp \ + InlineFeaturesAnalysis.cpp \ + InlineSizeEstimatorAnalysis.cpp \ InstCount.cpp \ InstructionPrecedenceTracking.cpp \ InstructionSimplify.cpp \ Interval.cpp \ IntervalPartition.cpp \ - LazyBlockFrequencyInfo.cpp \ LazyBranchProbabilityInfo.cpp \ + LazyBlockFrequencyInfo.cpp \ LazyCallGraph.cpp \ LazyValueInfo.cpp \ LegacyDivergenceAnalysis.cpp \ @@ -59,9 +64,10 @@ SRCS+= AliasAnalysis.cpp \ LoopAccessAnalysis.cpp \ LoopAnalysisManager.cpp \ LoopCacheAnalysis.cpp \ + LoopNestAnalysis.cpp \ + LoopUnrollAnalyzer.cpp \ LoopInfo.cpp \ LoopPass.cpp \ - LoopUnrollAnalyzer.cpp \ MemDepPrinter.cpp \ MemDerefPrinter.cpp \ MemoryBuiltins.cpp \ @@ -76,8 +82,6 @@ SRCS+= AliasAnalysis.cpp \ ObjCARCAnalysisUtils.cpp \ ObjCARCInstKind.cpp \ OptimizationRemarkEmitter.cpp \ - OrderedBasicBlock.cpp \ - OrderedInstructions.cpp \ PHITransAddr.cpp \ PhiValues.cpp \ PostDominators.cpp \ @@ -88,8 +92,9 @@ SRCS+= AliasAnalysis.cpp \ RegionPrinter.cpp \ ScalarEvolution.cpp \ ScalarEvolutionAliasAnalysis.cpp \ - ScalarEvolutionExpander.cpp \ + ScalarEvolutionDivision.cpp \ ScalarEvolutionNormalization.cpp \ + StackLifetime.cpp \ StackSafetyAnalysis.cpp \ SyncDependenceAnalysis.cpp \ SyntheticCountsUtils.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAsmParser/Makefile b/gnu/usr.bin/clang/libLLVMAsmParser/Makefile index c986f55cfbb..671b43fc564 100644 --- a/gnu/usr.bin/clang/libLLVMAsmParser/Makefile +++ b/gnu/usr.bin/clang/libLLVMAsmParser/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:38 patrick Exp $ LIB= LLVMAsmParser NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Analysis +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ASMParser SRCS+= LLLexer.cpp \ LLParser.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile index 5807c17ad75..cf78de4362c 100644 --- a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile +++ b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile @@ -1,15 +1,14 @@ -# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:38 patrick Exp $ LIB= LLVMAsmPrinter NOPROFILE= -SRCS+= ARMException.cpp \ - AccelTable.cpp \ +SRCS+= AccelTable.cpp \ AddressPool.cpp \ + ARMException.cpp \ AsmPrinter.cpp \ AsmPrinterDwarf.cpp \ AsmPrinterInlineAsm.cpp \ - CodeViewDebug.cpp \ DbgEntityHistoryCalculator.cpp \ DebugHandlerBase.cpp \ DebugLocStream.cpp \ @@ -25,8 +24,10 @@ SRCS+= ARMException.cpp \ EHStreamer.cpp \ ErlangGCPrinter.cpp \ OcamlGCPrinter.cpp \ - WasmException.cpp \ WinCFGuard.cpp \ - WinException.cpp + WinException.cpp \ + CodeViewDebug.cpp \ + WasmException.cpp + .PATH: ${.CURDIR}/../../../llvm/llvm/lib/CodeGen/AsmPrinter diff --git a/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile b/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile index 91addaf3508..ca5b36e4168 100644 --- a/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile +++ b/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMBinaryFormat NOPROFILE= @@ -6,9 +6,10 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/BinaryFormat SRCS+= AMDGPUMetadataVerifier.cpp \ - BinaryFormatMinidump.cpp \ Dwarf.cpp \ + MachO.cpp \ Magic.cpp \ + BinaryFormatMinidump.cpp \ MsgPackDocument.cpp \ MsgPackDocumentYAML.cpp \ MsgPackReader.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile index 195957012bb..31fbc5bda55 100644 --- a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2020/08/09 15:56:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.15 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMCodeGen NOPROFILE= @@ -14,16 +14,19 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ BranchFolding.cpp \ BranchRelaxation.cpp \ BreakFalseDeps.cpp \ - CFIInstrInserter.cpp \ + BuiltinGCs.cpp \ + BBSectionsPrepare.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CFGuardLongjmp.cpp \ + CFIInstrInserter.cpp \ CodeGen.cpp \ CodeGenPrepare.cpp \ + CommandFlags.cpp \ CriticalAntiDepBreaker.cpp \ - DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ DetectDeadLanes.cpp \ + DFAPacketizer.cpp \ DwarfEHPrepare.cpp \ EarlyIfConversion.cpp \ EdgeBundles.cpp \ @@ -31,9 +34,10 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ ExpandMemCmp.cpp \ ExpandPostRAPseudos.cpp \ ExpandReductions.cpp \ + FaultMaps.cpp \ FEntryInserter.cpp \ FinalizeISel.cpp \ - FaultMaps.cpp \ + FixupStatepointCallerSaved.cpp \ FuncletLayout.cpp \ GCMetadata.cpp \ GCMetadataPrinter.cpp \ @@ -49,23 +53,24 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ InterleavedAccessPass.cpp \ InterleavedLoadCombinePass.cpp \ IntrinsicLowering.cpp \ - LLVMTargetMachine.cpp \ LatencyPriorityQueue.cpp \ LazyMachineBlockFrequencyInfo.cpp \ LexicalScopes.cpp \ LiveDebugValues.cpp \ LiveDebugVariables.cpp \ + LiveIntervals.cpp \ LiveInterval.cpp \ LiveIntervalUnion.cpp \ - LiveIntervals.cpp \ LivePhysRegs.cpp \ LiveRangeCalc.cpp \ + LiveIntervalCalc.cpp \ LiveRangeEdit.cpp \ LiveRangeShrink.cpp \ LiveRegMatrix.cpp \ LiveRegUnits.cpp \ LiveStacks.cpp \ LiveVariables.cpp \ + LLVMTargetMachine.cpp \ LocalStackSlotAllocation.cpp \ LoopTraversal.cpp \ CodeGenLowLevelType.cpp \ @@ -74,17 +79,18 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ MachineBlockFrequencyInfo.cpp \ MachineBlockPlacement.cpp \ MachineBranchProbabilityInfo.cpp \ - MachineCSE.cpp \ MachineCombiner.cpp \ MachineCopyPropagation.cpp \ - MachineDominators.cpp \ + MachineCSE.cpp \ + MachineDebugify.cpp \ MachineDominanceFrontier.cpp \ + MachineDominators.cpp \ MachineFrameInfo.cpp \ MachineFunction.cpp \ MachineFunctionPass.cpp \ MachineFunctionPrinterPass.cpp \ - MachineInstr.cpp \ MachineInstrBundle.cpp \ + MachineInstr.cpp \ MachineLICM.cpp \ MachineLoopInfo.cpp \ MachineLoopUtils.cpp \ @@ -95,28 +101,27 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ MachineOutliner.cpp \ MachinePipeliner.cpp \ MachinePostDominators.cpp \ - MachineRegisterInfo.cpp \ MachineRegionInfo.cpp \ - MachineSSAUpdater.cpp \ + MachineRegisterInfo.cpp \ MachineScheduler.cpp \ MachineSink.cpp \ MachineSizeOpts.cpp \ + MachineSSAUpdater.cpp \ + MachineStripDebug.cpp \ MachineTraceMetrics.cpp \ MachineVerifier.cpp \ ModuloSchedule.cpp \ - MacroFusion.cpp \ - MIRCanonicalizerPass.cpp \ - MIRNamerPass.cpp \ + PatchableFunction.cpp \ + MBFIWrapper.cpp \ MIRPrinter.cpp \ MIRPrintingPass.cpp \ - MIRVRegNamerUtils.cpp \ + MacroFusion.cpp \ NonRelocatableStringpool.cpp \ OptimizePHIs.cpp \ - PHIElimination.cpp \ - PHIEliminationUtils.cpp \ ParallelCG.cpp \ - PatchableFunction.cpp \ PeepholeOptimizer.cpp \ + PHIElimination.cpp \ + PHIEliminationUtils.cpp \ PostRAHazardRecognizer.cpp \ PostRASchedulerList.cpp \ PreISelIntrinsicLowering.cpp \ @@ -132,27 +137,29 @@ 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 \ + MIRVRegNamerUtils.cpp \ + MIRNamerPass.cpp \ + MIRCanonicalizerPass.cpp \ + RegisterUsageInfo.cpp \ + RegUsageInfoCollector.cpp \ + RegUsageInfoPropagate.cpp \ ResetMachineFunctionPass.cpp \ ReturnProtectorLowering.cpp \ ReturnProtectorPass.cpp \ SafeStack.cpp \ - SafeStackColoring.cpp \ SafeStackLayout.cpp \ ScalarizeMaskedMemIntrin.cpp \ ScheduleDAG.cpp \ ScheduleDAGInstrs.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ - ShrinkWrap.cpp \ ShadowStackGCLowering.cpp \ + ShrinkWrap.cpp \ SjLjEHPrepare.cpp \ SlotIndexes.cpp \ SpillPlacement.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMCore/Makefile b/gnu/usr.bin/clang/libLLVMCore/Makefile index 8101897b2ac..a3c077bd81e 100644 --- a/gnu/usr.bin/clang/libLLVMCore/Makefile +++ b/gnu/usr.bin/clang/libLLVMCore/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMCore NOPROFILE= @@ -37,6 +37,7 @@ SRCS+= AbstractCallSite.cpp \ IntrinsicInst.cpp \ LLVMContext.cpp \ LLVMContextImpl.cpp \ + LLVMRemarkStreamer.cpp \ LegacyPassManager.cpp \ MDBuilder.cpp \ Mangler.cpp \ @@ -50,9 +51,8 @@ SRCS+= AbstractCallSite.cpp \ PassManager.cpp \ PassRegistry.cpp \ PassTimingInfo.cpp \ - ProfileSummary.cpp \ - RemarkStreamer.cpp \ SafepointIRVerifier.cpp \ + ProfileSummary.cpp \ Statepoint.cpp \ Type.cpp \ TypeFinder.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMCoverage/Makefile b/gnu/usr.bin/clang/libLLVMCoverage/Makefile index 0849df025e1..9e980834bc8 100644 --- a/gnu/usr.bin/clang/libLLVMCoverage/Makefile +++ b/gnu/usr.bin/clang/libLLVMCoverage/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMCoverage NOPROFILE= @@ -6,7 +6,7 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData/Coverage SRCS+= CoverageMapping.cpp \ - CoverageMappingReader.cpp \ - CoverageMappingWriter.cpp + CoverageMappingWriter.cpp \ + CoverageMappingReader.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ProfileData/Coverage diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile index 5ef26c7b62e..c093b9d31b9 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMDebugInfoCodeView NOPROFILE= @@ -23,7 +23,7 @@ SRCS+= AppendingTypeTableBuilder.cpp \ DebugSubsectionVisitor.cpp \ DebugSymbolRVASubsection.cpp \ DebugSymbolsSubsection.cpp \ - DebugInfoCodeViewEnumTables.cpp \ + EnumTables.cpp \ Formatters.cpp \ GlobalTypeTableBuilder.cpp \ LazyRandomTypeCollection.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile index ea36bdfa997..bde32640e31 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile @@ -1,13 +1,14 @@ -# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMDebugInfoDWARF NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/DWARF +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/DWARF \ + -I${LLVM_SRCS}/include/llvm/DebugInfo SRCS+= DWARFAbbreviationDeclaration.cpp \ - DWARFAcceleratorTable.cpp \ DWARFAddressRange.cpp \ + DWARFAcceleratorTable.cpp \ DWARFCompileUnit.cpp \ DWARFContext.cpp \ DWARFDataExtractor.cpp \ @@ -28,6 +29,7 @@ SRCS+= DWARFAbbreviationDeclaration.cpp \ DWARFFormValue.cpp \ DWARFGdbIndex.cpp \ DWARFListTable.cpp \ + DWARFLocationExpression.cpp \ DWARFTypeUnit.cpp \ DWARFUnitIndex.cpp \ DWARFUnit.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile index e1e77019870..b501053073f 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMDebugInfoPDB NOPROFILE= @@ -11,24 +11,25 @@ SRCS+= DbiModuleDescriptor.cpp \ DbiStream.cpp \ DbiStreamBuilder.cpp \ DebugInfoPDBEnumTables.cpp \ - GSIStreamBuilder.cpp \ - GenericError.cpp \ GlobalsStream.cpp \ Hash.cpp \ HashTable.cpp \ - IPDBSourceFile.cpp \ InfoStream.cpp \ InfoStreamBuilder.cpp \ InjectedSourceStream.cpp \ ModuleDebugStream.cpp \ - NamedStreamMap.cpp \ NativeCompilandSymbol.cpp \ NativeEnumGlobals.cpp \ NativeEnumInjectedSources.cpp \ + NativeEnumLineNumbers.cpp \ NativeEnumModules.cpp \ NativeEnumTypes.cpp \ NativeExeSymbol.cpp \ + NativeFunctionSymbol.cpp \ + NativeLineNumber.cpp \ + NativePublicSymbol.cpp \ NativeRawSymbol.cpp \ + NativeSourceFile.cpp \ NativeSymbolEnumerator.cpp \ NativeTypeArray.cpp \ NativeTypeBuiltin.cpp \ @@ -38,16 +39,26 @@ SRCS+= DbiModuleDescriptor.cpp \ NativeTypeTypedef.cpp \ NativeTypeUDT.cpp \ NativeTypeVTShape.cpp \ + NamedStreamMap.cpp \ NativeSession.cpp \ - PDB.cpp \ - PDBContext.cpp \ - PDBExtras.cpp \ PDBFile.cpp \ PDBFileBuilder.cpp \ - PDBInterfaceAnchors.cpp \ PDBStringTable.cpp \ PDBStringTableBuilder.cpp \ - PDBSymDumper.cpp \ + PublicsStream.cpp \ + GSIStreamBuilder.cpp \ + RawError.cpp \ + SymbolCache.cpp \ + SymbolStream.cpp \ + TpiHashing.cpp \ + TpiStream.cpp \ + TpiStreamBuilder.cpp \ + GenericError.cpp \ + IPDBSourceFile.cpp \ + PDB.cpp \ + PDBContext.cpp \ + PDBExtras.cpp \ + PDBInterfaceAnchors.cpp \ PDBSymbol.cpp \ PDBSymbolAnnotation.cpp \ PDBSymbolBlock.cpp \ @@ -80,14 +91,8 @@ SRCS+= DbiModuleDescriptor.cpp \ PDBSymbolTypeVTableShape.cpp \ PDBSymbolUnknown.cpp \ PDBSymbolUsingNamespace.cpp \ - PublicsStream.cpp \ - RawError.cpp \ - SymbolCache.cpp \ - SymbolStream.cpp \ - TpiHashing.cpp \ - TpiStream.cpp \ - TpiStreamBuilder.cpp \ - UDTLayout.cpp \ + PDBSymDumper.cpp \ + UDTLayout.cpp DebugInfoPDBEnumTables.cpp: ln -s ${LLVM_SRCS}/lib/DebugInfo/PDB/Native/EnumTables.cpp $@ diff --git a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile index 08f19d08c6a..e0738f968b3 100644 --- a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile +++ b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile @@ -1,58 +1,92 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMExecutionEngine NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ExecutionEngine +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ExecutionEngine \ + -I${LLVM_SRCS}/include/llvm/ExecutionEngine/JITLink \ + -I${LLVM_SRCS}/include/llvm/ExecutionEngine/Orc -SRCS+= CompileUtils.cpp \ - DebugUtils.cpp \ - Execution.cpp \ - ExecutionEngine.cpp \ - EHFrameSupport.cpp \ +# ExecutionEngine +SRCS+= ExecutionEngine.cpp \ ExecutionEngineBindings.cpp \ - ExecutionEngineCore.cpp \ - ExecutionUtils.cpp \ - ExternalFunctions.cpp \ GDBRegistrationListener.cpp \ - IRCompileLayer.cpp \ - IndirectionUtils.cpp \ - Interpreter.cpp \ - JITLink.cpp \ + SectionMemoryManager.cpp \ + TargetSelect.cpp + +# Interpreter +SRCS+= Execution.cpp \ + ExternalFunctions.cpp \ + Interpreter.cpp + +# JITLink +SRCS+= JITLink.cpp \ JITLinkGeneric.cpp \ JITLinkMemoryManager.cpp \ - JITSymbol.cpp \ - JITTargetMachineBuilder.cpp \ - Layer.cpp \ - Legacy.cpp \ - MCJIT.cpp \ - MachO.cpp \ - MachOLinkGraphBuilder.cpp \ + EHFrameSupport.cpp \ + ExecutionEngineMachO.cpp \ MachO_arm64.cpp \ MachO_x86_64.cpp \ + MachOLinkGraphBuilder.cpp \ + ExecutionEngineELF.cpp \ + ELF_x86_64.cpp + +# MCJIT +SRCS+= MCJIT.cpp + +# OrcError +SRCS+= OrcError.cpp \ + RPCError.cpp \ + +# OrcJIT +SRCS+= CompileOnDemandLayer.cpp \ + CompileUtils.cpp \ + ExecutionEngineCore.cpp \ + DebugUtils.cpp \ + ExecutionUtils.cpp \ + IndirectionUtils.cpp \ + IRCompileLayer.cpp \ + IRTransformLayer.cpp \ + JITTargetMachineBuilder.cpp \ + LazyReexports.cpp \ + Legacy.cpp \ + Layer.cpp \ + LLJIT.cpp \ + MachOPlatform.cpp \ + Mangling.cpp \ NullResolver.cpp \ ObjectLinkingLayer.cpp \ + ObjectTransformLayer.cpp \ OrcABISupport.cpp \ OrcCBindings.cpp \ - OrcError.cpp \ + OrcV2CBindings.cpp \ OrcMCJITReplacement.cpp \ - RPCError.cpp \ + RTDyldObjectLinkingLayer.cpp \ + ThreadSafeModule.cpp \ + Speculation.cpp \ + SpeculateAnalyses.cpp + +# RuntimeDyld +SRCS+= JITSymbol.cpp \ RTDyldMemoryManager.cpp \ RuntimeDyld.cpp \ - RuntimeDyldCOFF.cpp \ RuntimeDyldChecker.cpp \ + RuntimeDyldCOFF.cpp \ RuntimeDyldELF.cpp \ - RuntimeDyldELFMips.cpp \ - RuntimeDyldMachO.cpp \ - SectionMemoryManager.cpp \ - SpeculateAnalyses.cpp \ - Speculation.cpp \ - TargetSelect.cpp \ - ThreadSafeModule.cpp + RuntimeDyldMachO.cpp + +# RuntimeDyld/Targets +SRCS+= RuntimeDyldELFMips.cpp ExecutionEngineCore.cpp: ln -s ${LLVM_SRCS}/lib/ExecutionEngine/Orc/Core.cpp $@ +ExecutionEngineMachO.cpp: + ln -s ${LLVM_SRCS}/lib/ExecutionEngine/JITLink/MachO.cpp $@ + +ExecutionEngineELF.cpp: + ln -s ${LLVM_SRCS}/lib/ExecutionEngine/JITLink/ELF.cpp $@ + .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/Interpreter .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/JITLink @@ -62,4 +96,6 @@ ExecutionEngineCore.cpp: .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/RuntimeDyld .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets -CLEANFILES+= ExecutionEngineCore.cpp +CLEANFILES+= ExecutionEngineCore.cpp \ + ExecutionEngineMachO.cpp \ + ExecutionEngineELF.cpp diff --git a/gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile b/gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile new file mode 100644 index 00000000000..e616a1b9366 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:39 patrick Exp $ + +LIB= LLVMFrontendOpenACC +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Frontend +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Frontend/OpenACC + +SRCS+= ACC.cpp + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Frontend/OpenACC + +ACC.cpp: + ln -sf ${.OBJDIR}/../include/llvm/Frontend/OpenACC/ACC.cpp $@ + +CLEANFILES+= ACC.cpp + diff --git a/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile b/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile index 42f51a06b43..424fe3507ec 100644 --- a/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile +++ b/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMFrontendOpenMP NOPROFILE= @@ -6,7 +6,13 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Frontend CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Frontend/OpenMP -SRCS+= OMPConstants.cpp \ +SRCS+= OMP.cpp \ + OMPContext.cpp \ OMPIRBuilder.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Frontend/OpenMP + +OMP.cpp: + ln -sf ${.OBJDIR}/../include/llvm/Frontend/OpenMP/OMP.cpp $@ + +CLEANFILES+= OMP.cpp diff --git a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile index 9fefc25eea6..03f6bfbe410 100644 --- a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile +++ b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile @@ -1,17 +1,20 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMGlobalISel NOPROFILE= +CPPFLAGS+=-I${LLVM_SRC}/include/llvm/CodeGen/GlobalISel + SRCS+= CSEInfo.cpp \ + GISelKnownBits.cpp \ CSEMIRBuilder.cpp \ CallLowering.cpp \ GlobalISel.cpp \ - GISelChangeObserver.cpp \ - GISelKnownBits.cpp \ Combiner.cpp \ CombinerHelper.cpp \ + GISelChangeObserver.cpp \ IRTranslator.cpp \ + InlineAsmLowering.cpp \ InstructionSelect.cpp \ InstructionSelector.cpp \ LegalityPredicates.cpp \ @@ -20,6 +23,7 @@ SRCS+= CSEInfo.cpp \ LegalizerHelper.cpp \ LegalizerInfo.cpp \ Localizer.cpp \ + LostDebugLocObserver.cpp \ MachineIRBuilder.cpp \ RegBankSelect.cpp \ RegisterBank.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMInstCombine/Makefile b/gnu/usr.bin/clang/libLLVMInstCombine/Makefile index 1fd3c8fd18f..7fe934ee3ac 100644 --- a/gnu/usr.bin/clang/libLLVMInstCombine/Makefile +++ b/gnu/usr.bin/clang/libLLVMInstCombine/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMInstCombine NOPROFILE= @@ -7,8 +7,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms/InstCombine CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Transforms/InstCombine -SRCS+= AggressiveInstCombine.cpp \ - InstructionCombining.cpp \ +SRCS+= InstructionCombining.cpp \ InstCombineAddSub.cpp \ InstCombineAtomicRMW.cpp \ InstCombineAndOrXor.cpp \ @@ -17,12 +16,11 @@ SRCS+= AggressiveInstCombine.cpp \ InstCombineCompares.cpp \ InstCombineLoadStoreAlloca.cpp \ InstCombineMulDivRem.cpp \ + InstCombineNegator.cpp \ InstCombinePHI.cpp \ InstCombineSelect.cpp \ InstCombineShifts.cpp \ InstCombineSimplifyDemanded.cpp \ - InstCombineVectorOps.cpp \ - TruncInstCombine.cpp + InstCombineVectorOps.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/InstCombine -.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/AggressiveInstCombine diff --git a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile index 7fa22b846de..be9b46660ab 100644 --- a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile +++ b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMInstrumentation NOPROFILE= @@ -11,17 +11,17 @@ SRCS+= AddressSanitizer.cpp \ ControlHeightReduction.cpp \ DataFlowSanitizer.cpp \ GCOVProfiling.cpp \ - HWAddressSanitizer.cpp \ + MemorySanitizer.cpp \ IndirectCallPromotion.cpp \ Instrumentation.cpp \ InstrOrderFile.cpp \ InstrProfiling.cpp \ - MemorySanitizer.cpp \ PGOInstrumentation.cpp \ PGOMemOPSizeOpt.cpp \ PoisonChecking.cpp \ SanitizerCoverage.cpp \ + ValueProfileCollector.cpp \ ThreadSanitizer.cpp \ - ValueProfileCollector.cpp + HWAddressSanitizer.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/Instrumentation diff --git a/gnu/usr.bin/clang/libLLVMLTO/Makefile b/gnu/usr.bin/clang/libLLVMLTO/Makefile index eac06c10328..684c8fae8c0 100644 --- a/gnu/usr.bin/clang/libLLVMLTO/Makefile +++ b/gnu/usr.bin/clang/libLLVMLTO/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMLTO NOPROFILE= @@ -8,8 +8,8 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/LTO SRCS+= Caching.cpp \ LTO.cpp \ LTOBackend.cpp \ - LTOCodeGenerator.cpp \ LTOModule.cpp \ + LTOCodeGenerator.cpp \ SummaryBasedOptimizations.cpp \ UpdateCompilerUsed.cpp \ ThinLTOCodeGenerator.cpp diff --git a/gnu/usr.bin/clang/libLLVMMC/Makefile b/gnu/usr.bin/clang/libLLVMMC/Makefile index b958add3330..93a64b5b34d 100644 --- a/gnu/usr.bin/clang/libLLVMMC/Makefile +++ b/gnu/usr.bin/clang/libLLVMMC/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMMC NOPROFILE= @@ -29,6 +29,7 @@ SRCS+= ConstantPools.cpp \ MCInstPrinter.cpp \ MCInstrAnalysis.cpp \ MCInstrDesc.cpp \ + MCInstrInfo.cpp \ MCLabel.cpp \ MCLinkerOptimizationHint.cpp \ MCMachOStreamer.cpp \ @@ -49,8 +50,11 @@ SRCS+= ConstantPools.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ MCSymbolELF.cpp \ + MCSymbolXCOFF.cpp \ MCTargetOptions.cpp \ + MCTargetOptionsCommandFlags.cpp \ MCValue.cpp \ + MCWasmObjectTargetWriter.cpp \ MCWasmStreamer.cpp \ MCWin64EH.cpp \ MCWinCOFFStreamer.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile b/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile index bb37f01b15b..edad9ca11ac 100644 --- a/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile +++ b/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMMCDisassembler NOPROFILE= @@ -7,6 +7,6 @@ SRCS+= Disassembler.cpp \ MCDisassembler.cpp \ MCExternalSymbolizer.cpp \ MCRelocationInfo.cpp \ - MCSymbolizer.cpp \ + MCSymbolizer.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/MC/MCDisassembler diff --git a/gnu/usr.bin/clang/libLLVMMCParser/Makefile b/gnu/usr.bin/clang/libLLVMMCParser/Makefile index e0c995b31c7..af5dc962fdb 100644 --- a/gnu/usr.bin/clang/libLLVMMCParser/Makefile +++ b/gnu/usr.bin/clang/libLLVMMCParser/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMMCParser NOPROFILE= @@ -8,12 +8,14 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/MC/MCParser SRCS+= AsmLexer.cpp \ AsmParser.cpp \ COFFAsmParser.cpp \ + COFFMasmParser.cpp \ DarwinAsmParser.cpp \ ELFAsmParser.cpp \ MCAsmLexer.cpp \ MCAsmParser.cpp \ MCAsmParserExtension.cpp \ MCTargetAsmParser.cpp \ + MasmParser.cpp \ WasmAsmParser.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/MC/MCParser diff --git a/gnu/usr.bin/clang/libLLVMMIRParser/Makefile b/gnu/usr.bin/clang/libLLVMMIRParser/Makefile index cab12cf2bb6..cfce40f8e74 100644 --- a/gnu/usr.bin/clang/libLLVMMIRParser/Makefile +++ b/gnu/usr.bin/clang/libLLVMMIRParser/Makefile @@ -1,8 +1,10 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMMIRParser NOPROFILE= +CPPFLAGS+=-I${LLVM_SRC}/include/llvm/CodeGen/MIRParser + SRCS+= MILexer.cpp \ MIParser.cpp \ MIRParser.cpp diff --git a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile index 899e2b64389..e37db2f9bf7 100644 --- a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile @@ -1,12 +1,11 @@ -# $OpenBSD: Makefile,v 1.9 2020/12/01 13:30:13 visa Exp $ +# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMMipsCodeGen NOPROFILE= CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips -I${LLVM_SRCS}/lib/Target/Mips -SRCS+= MicroMipsSizeReduction.cpp \ - Mips16FrameLowering.cpp \ +SRCS+= Mips16FrameLowering.cpp \ Mips16HardFloat.cpp \ Mips16HardFloatInfo.cpp \ Mips16InstrInfo.cpp \ @@ -15,20 +14,20 @@ SRCS+= MicroMipsSizeReduction.cpp \ Mips16RegisterInfo.cpp \ MipsAnalyzeImmediate.cpp \ MipsAsmPrinter.cpp \ - MipsBranchExpansion.cpp \ - MipsCCState.cpp \ MipsCallLowering.cpp \ + MipsCCState.cpp \ MipsConstantIslandPass.cpp \ MipsDelaySlotFiller.cpp \ MipsExpandPseudo.cpp \ MipsFastISel.cpp \ - MipsFrameLowering.cpp \ - MipsISelDAGToDAG.cpp \ - MipsISelLowering.cpp \ MipsInstrInfo.cpp \ MipsInstructionSelector.cpp \ + MipsISelDAGToDAG.cpp \ + MipsISelLowering.cpp \ + MipsFrameLowering.cpp \ MipsLegalizerInfo.cpp \ MipsLoongson2FBTBFix.cpp \ + MipsBranchExpansion.cpp \ MipsMCInstLower.cpp \ MipsMachineFunction.cpp \ MipsModuleISelDAGToDAG.cpp \ @@ -45,6 +44,7 @@ SRCS+= MicroMipsSizeReduction.cpp \ MipsSERegisterInfo.cpp \ MipsSubtarget.cpp \ MipsTargetMachine.cpp \ - MipsTargetObjectFile.cpp + MipsTargetObjectFile.cpp \ + MicroMipsSizeReduction.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/Mips diff --git a/gnu/usr.bin/clang/libLLVMObject/Makefile b/gnu/usr.bin/clang/libLLVMObject/Makefile index 94c513612b6..89bd019380a 100644 --- a/gnu/usr.bin/clang/libLLVMObject/Makefile +++ b/gnu/usr.bin/clang/libLLVMObject/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMObject NOPROFILE= @@ -8,16 +8,18 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Object SRCS+= Archive.cpp \ ArchiveWriter.cpp \ Binary.cpp \ + COFFImportFile.cpp \ + COFFModuleDefinition.cpp \ COFFObjectFile.cpp \ Decompressor.cpp \ - ELF.cpp \ + ObjectELF.cpp \ ELFObjectFile.cpp \ ObjectError.cpp \ - ObjectMinidump.cpp \ IRObjectFile.cpp \ IRSymtab.cpp \ MachOObjectFile.cpp \ MachOUniversal.cpp \ + ObjectMinidump.cpp \ ModuleSymbolTable.cpp \ Object.cpp \ ObjectFile.cpp \ @@ -32,6 +34,9 @@ SRCS+= Archive.cpp \ WindowsResource.cpp \ XCOFFObjectFile.cpp +ObjectELF.cpp: + ln -s ${LLVM_SRCS}/lib/Object/ELF.cpp $@ + ObjectError.cpp: ln -s ${LLVM_SRCS}/lib/Object/Error.cpp $@ @@ -40,4 +45,4 @@ ObjectMinidump.cpp: .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Object -CLEANFILES+= ObjectError.cpp ObjectMinidump.cpp +CLEANFILES+= ObjectELF.cpp ObjectError.cpp ObjectMinidump.cpp diff --git a/gnu/usr.bin/clang/libLLVMPasses/Makefile b/gnu/usr.bin/clang/libLLVMPasses/Makefile index aa0a5c6fca8..19343fe67c9 100644 --- a/gnu/usr.bin/clang/libLLVMPasses/Makefile +++ b/gnu/usr.bin/clang/libLLVMPasses/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:39 patrick Exp $ LIB= LLVMPasses NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Passes +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Passes \ + -I${LLVM_SRCS}/include/llvm/ SRCS+= PassBuilder.cpp \ PassPlugin.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile index 89819217916..4cf1f72a384 100644 --- a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/10/12 14:52:08 mortimer Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMPowerPCCodeGen NOPROFILE= @@ -8,12 +8,11 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/PowerPC \ SRCS+= PPCBoolRetToInt.cpp \ PPCAsmPrinter.cpp \ - PPCBranchCoalescing.cpp \ PPCBranchSelector.cpp \ + PPCBranchCoalescing.cpp \ + PPCCallingConv.cpp \ PPCCCState.cpp \ PPCCTRLoops.cpp \ - PPCCallingConv.cpp \ - PPCExpandISEL.cpp \ PPCHazardRecognizers.cpp \ PPCInstrInfo.cpp \ PPCISelDAGToDAG.cpp \ @@ -22,16 +21,14 @@ SRCS+= PPCBoolRetToInt.cpp \ PPCFastISel.cpp \ PPCFrameLowering.cpp \ PPCLoopInstrFormPrep.cpp \ - PPCLowerMASSVEntries.cpp \ PPCMCInstLower.cpp \ PPCMachineFunctionInfo.cpp \ PPCMachineScheduler.cpp \ + PPCMacroFusion.cpp \ PPCMIPeephole.cpp \ - PPCPreEmitPeephole.cpp \ - PPCQPXLoadSplat.cpp \ - PPCReduceCRLogicals.cpp \ PPCRegisterInfo.cpp \ PPCReturnProtectorLowering.cpp \ + PPCQPXLoadSplat.cpp \ PPCSubtarget.cpp \ PPCTargetMachine.cpp \ PPCTargetObjectFile.cpp \ @@ -39,7 +36,11 @@ SRCS+= PPCBoolRetToInt.cpp \ PPCTOCRegDeps.cpp \ PPCTLSDynamicCall.cpp \ PPCVSXCopy.cpp \ + PPCReduceCRLogicals.cpp \ PPCVSXFMAMutate.cpp \ - PPCVSXSwapRemoval.cpp + PPCVSXSwapRemoval.cpp \ + PPCExpandISEL.cpp \ + PPCPreEmitPeephole.cpp \ + PPCLowerMASSVEntries.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/PowerPC diff --git a/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile b/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile index 8227db19164..9a42553a3b5 100644 --- a/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile +++ b/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMPowerPCDesc NOPROFILE= @@ -13,8 +13,8 @@ SRCS+= PPCAsmBackend.cpp \ PPCMCCodeEmitter.cpp \ PPCMCExpr.cpp \ PPCPredicates.cpp \ - PPCMachObjectWriter.cpp \ PPCELFObjectWriter.cpp \ - PPCXCOFFObjectWriter.cpp + PPCXCOFFObjectWriter.cpp \ + PPCELFStreamer.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/PowerPC/MCTargetDesc diff --git a/gnu/usr.bin/clang/libLLVMProfileData/Makefile b/gnu/usr.bin/clang/libLLVMProfileData/Makefile index 6b541d98337..f319d9ac2fe 100644 --- a/gnu/usr.bin/clang/libLLVMProfileData/Makefile +++ b/gnu/usr.bin/clang/libLLVMProfileData/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMProfileData NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData -SRCS+= InstrProf.cpp \ +SRCS+= GCOV.cpp \ + InstrProf.cpp \ InstrProfReader.cpp \ InstrProfWriter.cpp \ ProfileSummaryBuilder.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMRemarks/Makefile b/gnu/usr.bin/clang/libLLVMRemarks/Makefile index e0aa58f97f2..75549403ca1 100644 --- a/gnu/usr.bin/clang/libLLVMRemarks/Makefile +++ b/gnu/usr.bin/clang/libLLVMRemarks/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMRemarks NOPROFILE= @@ -10,6 +10,7 @@ SRCS+= BitstreamRemarkParser.cpp \ RemarkLinker.cpp \ RemarkParser.cpp \ RemarkSerializer.cpp \ + RemarkStreamer.cpp \ RemarkStringTable.cpp \ YAMLRemarkParser.cpp \ YAMLRemarkSerializer.cpp diff --git a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile index 61bde3cbb49..e9e56dddfdb 100644 --- a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile +++ b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile,v 1.13 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMScalarOpts NOPROFILE= @@ -19,10 +19,10 @@ SRCS+= ADCE.cpp \ EarlyCSE.cpp \ FlattenCFGPass.cpp \ Float2Int.cpp \ + GuardWidening.cpp \ GVN.cpp \ GVNHoist.cpp \ GVNSink.cpp \ - GuardWidening.cpp \ IVUsersPrinter.cpp \ InductiveRangeCheckElimination.cpp \ IndVarSimplify.cpp \ @@ -31,8 +31,9 @@ SRCS+= ADCE.cpp \ JumpThreading.cpp \ LICM.cpp \ LoopAccessAnalysisPrinter.cpp \ - LoopDataPrefetch.cpp \ + LoopSink.cpp \ LoopDeletion.cpp \ + LoopDataPrefetch.cpp \ LoopDistribute.cpp \ LoopFuse.cpp \ LoopIdiomRecognize.cpp \ @@ -44,10 +45,9 @@ SRCS+= ADCE.cpp \ LoopRerollPass.cpp \ LoopRotation.cpp \ LoopSimplifyCFG.cpp \ - LoopSink.cpp \ LoopStrengthReduce.cpp \ - LoopUnrollAndJamPass.cpp \ LoopUnrollPass.cpp \ + LoopUnrollAndJamPass.cpp \ LoopUnswitch.cpp \ LoopVersioningLICM.cpp \ LowerAtomic.cpp \ @@ -75,8 +75,8 @@ SRCS+= ADCE.cpp \ SimpleLoopUnswitch.cpp \ SimplifyCFGPass.cpp \ Sink.cpp \ - SpeculateAroundPHIs.cpp \ SpeculativeExecution.cpp \ + SpeculateAroundPHIs.cpp \ StraightLineStrengthReduce.cpp \ StructurizeCFG.cpp \ TailRecursionElimination.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile b/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile index fb471e6cf83..95bbfe0043e 100644 --- a/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile +++ b/gnu/usr.bin/clang/libLLVMSelectionDAG/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMSelectionDAG NOPROFILE= @@ -18,15 +18,15 @@ SRCS+= DAGCombiner.cpp \ ScheduleDAGFast.cpp \ ScheduleDAGRRList.cpp \ ScheduleDAGSDNodes.cpp \ + ScheduleDAGVLIW.cpp \ + SelectionDAGBuilder.cpp \ SelectionDAG.cpp \ SelectionDAGAddressAnalysis.cpp \ - SelectionDAGBuilder.cpp \ SelectionDAGDumper.cpp \ SelectionDAGISel.cpp \ SelectionDAGPrinter.cpp \ SelectionDAGTargetInfo.cpp \ StatepointLowering.cpp \ - ScheduleDAGVLIW.cpp \ TargetLowering.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/CodeGen/SelectionDAG diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile b/gnu/usr.bin/clang/libLLVMSupport/Makefile index 1da7d3aa744..b6413f48dee 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile @@ -1,21 +1,23 @@ -# $OpenBSD: Makefile,v 1.11 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile,v 1.12 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMSupport NOPIC= NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Support +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ADT \ + -I${LLVM_SRCS}/include/llvm/Support .include + SRCS= AArch64TargetParser.cpp \ ABIBreak.cpp \ + ARMTargetParser.cpp \ AMDGPUMetadata.cpp \ APFloat.cpp \ APInt.cpp \ APSInt.cpp \ - ARMAttributeParser.cpp \ ARMBuildAttrs.cpp \ - ARMTargetParser.cpp \ + ARMAttributeParser.cpp \ ARMWinEH.cpp \ Allocator.cpp \ BinaryStreamError.cpp \ @@ -25,32 +27,35 @@ SRCS= AArch64TargetParser.cpp \ BlockFrequency.cpp \ BranchProbability.cpp \ BuryPointer.cpp \ - circular_raw_ostream.cpp \ - COM.cpp \ - CRC.cpp \ CachePruning.cpp \ + circular_raw_ostream.cpp \ Chrono.cpp \ + COM.cpp \ CodeGenCoverage.cpp \ CommandLine.cpp \ Compression.cpp \ + CRC.cpp \ ConvertUTF.cpp \ ConvertUTFWrapper.cpp \ CrashRecoveryContext.cpp \ - DAGDeltaAlgorithm.cpp \ - DJB.cpp \ DataExtractor.cpp \ Debug.cpp \ DebugCounter.cpp \ DeltaAlgorithm.cpp \ + DAGDeltaAlgorithm.cpp \ + DJB.cpp \ + ELFAttributeParser.cpp \ + ELFAttributes.cpp \ SupportError.cpp \ ErrorHandling.cpp \ + ExtensibleRTTI.cpp \ FileCheck.cpp \ FileCollector.cpp \ FileUtilities.cpp \ FileOutputBuffer.cpp \ FoldingSet.cpp \ - FormatVariadic.cpp \ FormattedStream.cpp \ + FormatVariadic.cpp \ GlobPattern.cpp \ GraphWriter.cpp \ Hashing.cpp \ @@ -67,15 +72,19 @@ SRCS= AArch64TargetParser.cpp \ SupportLowLevelType.cpp \ ManagedStatic.cpp \ MathExtras.cpp \ + MemAlloc.cpp \ MemoryBuffer.cpp \ MD5.cpp \ NativeFormatting.cpp \ + OptimizedStructLayout.cpp \ Optional.cpp \ Parallel.cpp \ PluginLoader.cpp \ PrettyStackTrace.cpp \ RandomNumberGenerator.cpp \ Regex.cpp \ + RISCVAttributes.cpp \ + RISCVAttributeParser.cpp \ ScaledNumber.cpp \ ScopedPrinter.cpp \ SHA1.cpp \ @@ -87,9 +96,9 @@ SRCS= AArch64TargetParser.cpp \ Statistic.cpp \ StringExtras.cpp \ StringMap.cpp \ - StringPool.cpp \ StringSaver.cpp \ StringRef.cpp \ + SuffixTree.cpp \ SymbolRemappingReader.cpp \ SystemUtils.cpp \ TarWriter.cpp \ @@ -102,6 +111,11 @@ SRCS= AArch64TargetParser.cpp \ Triple.cpp \ Twine.cpp \ Unicode.cpp \ + UnicodeCaseFold.cpp \ + VersionTuple.cpp \ + VirtualFileSystem.cpp \ + WithColor.cpp \ + X86TargetParser.cpp \ YAMLParser.cpp \ YAMLTraits.cpp \ raw_os_ostream.cpp \ @@ -111,6 +125,8 @@ SRCS= AArch64TargetParser.cpp \ regexec.c \ regfree.c \ regstrlcpy.c \ + xxhash.cpp \ + Z3Solver.cpp \ Atomic.cpp \ DynamicLibrary.cpp \ Errno.cpp \ @@ -124,14 +140,8 @@ SRCS= AArch64TargetParser.cpp \ TargetRegistry.cpp \ ThreadLocal.cpp \ Threading.cpp \ - UnicodeCaseFold.cpp \ Valgrind.cpp \ - VersionTuple.cpp \ - VirtualFileSystem.cpp \ - Watchdog.cpp \ - WithColor.cpp \ - Z3Solver.cpp \ - xxhash.cpp + Watchdog.cpp SupportError.cpp: ln -s ${LLVM_SRCS}/lib/Support/Error.cpp $@ diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared b/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared index 491a65bff82..31d60447aa9 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared @@ -1,21 +1,22 @@ -# $OpenBSD: Makefile.shared,v 1.3 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile.shared,v 1.4 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMSupport NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Support +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ADT \ + -I${LLVM_SRCS}/include/llvm/Support SRCS+= AArch64TargetParser.cpp \ ABIBreak.cpp \ + ARMTargetParser.cpp \ AMDGPUMetadata.cpp \ APFloat.cpp \ APInt.cpp \ APSInt.cpp \ - ARMAttributeParser.cpp \ ARMBuildAttrs.cpp \ - ARMTargetParser.cpp \ + ARMAttributeParser.cpp \ ARMWinEH.cpp \ Allocator.cpp \ BinaryStreamError.cpp \ @@ -25,32 +26,35 @@ SRCS+= AArch64TargetParser.cpp \ BlockFrequency.cpp \ BranchProbability.cpp \ BuryPointer.cpp \ - circular_raw_ostream.cpp \ - COM.cpp \ - CRC.cpp \ CachePruning.cpp \ + circular_raw_ostream.cpp \ Chrono.cpp \ + COM.cpp \ CodeGenCoverage.cpp \ CommandLine.cpp \ Compression.cpp \ + CRC.cpp \ ConvertUTF.cpp \ ConvertUTFWrapper.cpp \ CrashRecoveryContext.cpp \ - DAGDeltaAlgorithm.cpp \ - DJB.cpp \ DataExtractor.cpp \ Debug.cpp \ DebugCounter.cpp \ DeltaAlgorithm.cpp \ + DAGDeltaAlgorithm.cpp \ + DJB.cpp \ + ELFAttributeParser.cpp \ + ELFAttributes.cpp \ SupportError.cpp \ ErrorHandling.cpp \ + ExtensibleRTTI.cpp \ FileCheck.cpp \ FileCollector.cpp \ FileUtilities.cpp \ FileOutputBuffer.cpp \ FoldingSet.cpp \ - FormatVariadic.cpp \ FormattedStream.cpp \ + FormatVariadic.cpp \ GlobPattern.cpp \ GraphWriter.cpp \ Hashing.cpp \ @@ -67,15 +71,19 @@ SRCS+= AArch64TargetParser.cpp \ SupportLowLevelType.cpp \ ManagedStatic.cpp \ MathExtras.cpp \ + MemAlloc.cpp \ MemoryBuffer.cpp \ MD5.cpp \ NativeFormatting.cpp \ + OptimizedStructLayout.cpp \ Optional.cpp \ Parallel.cpp \ PluginLoader.cpp \ PrettyStackTrace.cpp \ RandomNumberGenerator.cpp \ Regex.cpp \ + RISCVAttributes.cpp \ + RISCVAttributeParser.cpp \ ScaledNumber.cpp \ ScopedPrinter.cpp \ SHA1.cpp \ @@ -87,9 +95,9 @@ SRCS+= AArch64TargetParser.cpp \ Statistic.cpp \ StringExtras.cpp \ StringMap.cpp \ - StringPool.cpp \ StringSaver.cpp \ StringRef.cpp \ + SuffixTree.cpp \ SymbolRemappingReader.cpp \ SystemUtils.cpp \ TarWriter.cpp \ @@ -102,6 +110,11 @@ SRCS+= AArch64TargetParser.cpp \ Triple.cpp \ Twine.cpp \ Unicode.cpp \ + UnicodeCaseFold.cpp \ + VersionTuple.cpp \ + VirtualFileSystem.cpp \ + WithColor.cpp \ + X86TargetParser.cpp \ YAMLParser.cpp \ YAMLTraits.cpp \ raw_os_ostream.cpp \ @@ -111,6 +124,8 @@ SRCS+= AArch64TargetParser.cpp \ regexec.c \ regfree.c \ regstrlcpy.c \ + xxhash.cpp \ + Z3Solver.cpp \ Atomic.cpp \ DynamicLibrary.cpp \ Errno.cpp \ @@ -124,14 +139,8 @@ SRCS+= AArch64TargetParser.cpp \ TargetRegistry.cpp \ ThreadLocal.cpp \ Threading.cpp \ - UnicodeCaseFold.cpp \ Valgrind.cpp \ - VersionTuple.cpp \ - VirtualFileSystem.cpp \ - Watchdog.cpp \ - WithColor.cpp \ - Z3Solver.cpp \ - xxhash.cpp + Watchdog.cpp SupportError.cpp: ln -s ${LLVM_SRCS}/lib/Support/Error.cpp $@ diff --git a/gnu/usr.bin/clang/libLLVMTableGen/Makefile b/gnu/usr.bin/clang/libLLVMTableGen/Makefile index e26ccbf1e77..2d3195c231e 100644 --- a/gnu/usr.bin/clang/libLLVMTableGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMTableGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMTableGen NOPIC= @@ -8,8 +8,8 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/TableGen .include SRCS= TableGenError.cpp \ - Main.cpp \ JSONBackend.cpp \ + Main.cpp \ Record.cpp \ SetTheory.cpp \ StringMatcher.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared b/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared index 13cf5ff45f1..bba9dc737a9 100644 --- a/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared +++ b/gnu/usr.bin/clang/libLLVMTableGen/Makefile.shared @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.shared,v 1.2 2020/08/03 14:45:27 patrick Exp $ +# $OpenBSD: Makefile.shared,v 1.3 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMTableGen @@ -8,8 +8,8 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/TableGen SRCS+= TableGenError.cpp \ - Main.cpp \ JSONBackend.cpp \ + Main.cpp \ Record.cpp \ SetTheory.cpp \ StringMatcher.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMTextAPI/Makefile b/gnu/usr.bin/clang/libLLVMTextAPI/Makefile index af98648f14e..16bb0a10a3d 100644 --- a/gnu/usr.bin/clang/libLLVMTextAPI/Makefile +++ b/gnu/usr.bin/clang/libLLVMTextAPI/Makefile @@ -1,11 +1,14 @@ -# $OpenBSD: Makefile,v 1.1 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMTextAPI NOPROFILE= +# TextAPI/ELF SRCS+= ELFStub.cpp \ - TBEHandler.cpp \ - Architecture.cpp \ + TBEHandler.cpp + +# TextAPI/MachO +SRCS+= Architecture.cpp \ ArchitectureSet.cpp \ InterfaceFile.cpp \ PackedVersion.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile index fa445b5963e..076e1ed582b 100644 --- a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile +++ b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.13 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMTransformUtils NOPROFILE= @@ -6,14 +6,18 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms/Utils -SRCS+= ASanStackFrameLayout.cpp \ - AddDiscriminators.cpp \ +SRCS+= AddDiscriminators.cpp \ + AMDGPUEmitPrintf.cpp \ + ASanStackFrameLayout.cpp \ + AssumeBundleBuilder.cpp \ BasicBlockUtils.cpp \ BreakCriticalEdges.cpp \ BuildLibCalls.cpp \ BypassSlowDivision.cpp \ CallPromotionUtils.cpp \ + CallGraphUpdater.cpp \ CanonicalizeAliases.cpp \ + CanonicalizeFreezeInLoops.cpp \ CloneFunction.cpp \ CloneModule.cpp \ CodeExtractor.cpp \ @@ -24,14 +28,15 @@ SRCS+= ASanStackFrameLayout.cpp \ EntryExitInstrumenter.cpp \ EscapeEnumerator.cpp \ Evaluator.cpp \ + FixIrreducible.cpp \ FlattenCFG.cpp \ FunctionComparator.cpp \ FunctionImportUtils.cpp \ GlobalStatus.cpp \ TransformUtilsGuardUtils.cpp \ + InlineFunction.cpp \ ImportedFunctionsInliningStatistics.cpp \ InjectTLIMappings.cpp \ - InlineFunction.cpp \ InstructionNamer.cpp \ IntegerDivision.cpp \ LCSSA.cpp \ @@ -55,8 +60,10 @@ SRCS+= ASanStackFrameLayout.cpp \ NameAnonGlobals.cpp \ PredicateInfo.cpp \ PromoteMemoryToRegister.cpp \ + ScalarEvolutionExpander.cpp \ StripGCRelocates.cpp \ SSAUpdater.cpp \ + SSAUpdaterBulk.cpp \ SanitizerStats.cpp \ SimplifyCFG.cpp \ SimplifyIndVar.cpp \ @@ -66,9 +73,11 @@ SRCS+= ASanStackFrameLayout.cpp \ StripNonLineTableDebugInfo.cpp \ SymbolRewriter.cpp \ UnifyFunctionExitNodes.cpp \ + UnifyLoopExits.cpp \ + UniqueInternalLinkageNames.cpp \ TransformUtilsUtils.cpp \ - VNCoercion.cpp \ - ValueMapper.cpp + ValueMapper.cpp \ + VNCoercion.cpp TransformUtilsGuardUtils.cpp: ln -s ${LLVM_SRCS}/lib/Transforms/Utils/GuardUtils.cpp $@ diff --git a/gnu/usr.bin/clang/libLLVMVectorize/Makefile b/gnu/usr.bin/clang/libLLVMVectorize/Makefile index 59be0d6174f..a6251472ec1 100644 --- a/gnu/usr.bin/clang/libLLVMVectorize/Makefile +++ b/gnu/usr.bin/clang/libLLVMVectorize/Makefile @@ -1,20 +1,22 @@ -# $OpenBSD: Makefile,v 1.9 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMVectorize NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms \ + -I${LLVM_SRCS}/include/llvm/Transforms/Vectorize SRCS+= LoadStoreVectorizer.cpp \ LoopVectorizationLegality.cpp \ LoopVectorize.cpp \ SLPVectorizer.cpp \ + Vectorize.cpp \ + VectorCombine.cpp \ VPlan.cpp \ VPlanHCFGBuilder.cpp \ VPlanPredicator.cpp \ VPlanSLP.cpp \ VPlanTransforms.cpp \ - VPlanVerifier.cpp \ - Vectorize.cpp + VPlanVerifier.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/Vectorize diff --git a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile index 925c21c80af..01c3a11eb10 100644 --- a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2020/08/09 15:56:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.16 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMX86CodeGen NOPROFILE= @@ -6,48 +6,51 @@ NOPROFILE= CPPFLAGS+= -I${.OBJDIR}/../include/llvm/X86 -I${LLVM_SRCS}/lib/Target/X86 SRCS+= X86AsmPrinter.cpp \ - X86AvoidStoreForwardingBlocks.cpp \ X86AvoidTrailingCall.cpp \ X86CallFrameOptimization.cpp \ - X86CallLowering.cpp \ X86CallingConv.cpp \ + X86CallLowering.cpp \ X86CmovConversion.cpp \ X86CondBrFolding.cpp \ X86DomainReassignment.cpp \ X86DiscriminateMemOps.cpp \ - X86EvexToVex.cpp \ X86ExpandPseudo.cpp \ X86FastISel.cpp \ X86FixupBWInsts.cpp \ X86FixupGadgets.cpp \ X86FixupLEAs.cpp \ + X86AvoidStoreForwardingBlocks.cpp \ X86FixupSetCC.cpp \ X86FlagsCopyLowering.cpp \ X86FloatingPoint.cpp \ X86FrameLowering.cpp \ + X86InstructionSelector.cpp \ X86ISelDAGToDAG.cpp \ X86ISelLowering.cpp \ X86IndirectBranchTracking.cpp \ X86IndirectThunks.cpp \ + X86InterleavedAccess.cpp \ + X86InsertPrefetch.cpp \ X86InstrFMA3Info.cpp \ X86InstrFoldTables.cpp \ X86InstrInfo.cpp \ - X86InstructionSelector.cpp \ - X86InterleavedAccess.cpp \ - X86InsertPrefetch.cpp \ + X86EvexToVex.cpp \ X86LegalizerInfo.cpp \ X86LoadValueInjectionLoadHardening.cpp \ X86LoadValueInjectionRetHardening.cpp \ X86MCInstLower.cpp \ X86MachineFunctionInfo.cpp \ X86MacroFusion.cpp \ + X86OptimizeLEAs.cpp \ X86PadShortFunction.cpp \ + X86PartialReduction.cpp \ X86RegisterBankInfo.cpp \ X86RegisterInfo.cpp \ X86ReturnProtectorLowering.cpp \ X86SelectionDAGInfo.cpp \ X86ShuffleDecodeConstantPool.cpp \ X86SpeculativeLoadHardening.cpp \ + X86SpeculativeExecutionSideEffectSuppression.cpp \ X86Subtarget.cpp \ X86TargetMachine.cpp \ X86TargetObjectFile.cpp \ @@ -55,6 +58,6 @@ SRCS+= X86AsmPrinter.cpp \ X86VZeroUpper.cpp \ X86WinAllocaExpander.cpp \ X86WinEHState.cpp \ - X86OptimizeLEAs.cpp + X86InsertWait.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/X86 diff --git a/gnu/usr.bin/clang/libLLVMX86Desc/Makefile b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile index c5250b3a339..329db5c588f 100644 --- a/gnu/usr.bin/clang/libLLVMX86Desc/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMX86Desc NOPROFILE= @@ -9,6 +9,7 @@ SRCS+= X86ATTInstPrinter.cpp \ X86IntelInstPrinter.cpp \ X86InstComments.cpp \ X86InstPrinterCommon.cpp \ + X86ShuffleDecode.cpp \ X86AsmBackend.cpp \ X86MCTargetDesc.cpp \ X86MCAsmInfo.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMipo/Makefile b/gnu/usr.bin/clang/libLLVMipo/Makefile index 4f72c942db1..9b43fba3fda 100644 --- a/gnu/usr.bin/clang/libLLVMipo/Makefile +++ b/gnu/usr.bin/clang/libLLVMipo/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.13 2021/04/28 12:55:40 patrick Exp $ LIB= LLVMipo NOPROFILE= @@ -6,9 +6,10 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms/IPO -SRCS+= ArgumentPromotion.cpp \ - AlwaysInliner.cpp \ +SRCS+= AlwaysInliner.cpp \ + ArgumentPromotion.cpp \ Attributor.cpp \ + AttributorAttributes.cpp \ BarrierNoopPass.cpp \ BlockExtractor.cpp \ CalledValuePropagation.cpp \ @@ -33,11 +34,12 @@ SRCS+= ArgumentPromotion.cpp \ LoopExtractor.cpp \ LowerTypeTests.cpp \ MergeFunctions.cpp \ + OpenMPOpt.cpp \ PartialInlining.cpp \ PassManagerBuilder.cpp \ PruneEH.cpp \ - ipoSCCP.cpp \ SampleProfile.cpp \ + ipoSCCP.cpp \ StripDeadPrototypes.cpp \ StripSymbols.cpp \ SyntheticCountsPropagation.cpp \ diff --git a/gnu/usr.bin/clang/libclangAST/Makefile b/gnu/usr.bin/clang/libclangAST/Makefile index 3a05ca54a6f..a8228487aa7 100644 --- a/gnu/usr.bin/clang/libclangAST/Makefile +++ b/gnu/usr.bin/clang/libclangAST/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $ LIB= clangAST NOPIC= @@ -19,7 +19,6 @@ SRCS= APValue.cpp \ ASTStructuralEquivalence.cpp \ ASTTypeTraits.cpp \ AttrImpl.cpp \ - CXXInheritance.cpp \ Comment.cpp \ CommentBriefParser.cpp \ CommentCommandTraits.cpp \ @@ -27,6 +26,9 @@ SRCS= APValue.cpp \ CommentParser.cpp \ CommentSema.cpp \ ComparisonCategories.cpp \ + ComputeDependence.cpp \ + CXXInheritance.cpp \ + DataCollection.cpp \ Decl.cpp \ DeclarationName.cpp \ DeclBase.cpp \ @@ -37,6 +39,7 @@ SRCS= APValue.cpp \ DeclOpenMP.cpp \ DeclPrinter.cpp \ DeclTemplate.cpp \ + ParentMapContext.cpp \ Expr.cpp \ ExprClassification.cpp \ ExprConcepts.cpp \ @@ -56,8 +59,8 @@ SRCS= APValue.cpp \ NestedNameSpecifier.cpp \ NSAPI.cpp \ ODRHash.cpp \ - OSLog.cpp \ OpenMPClause.cpp \ + OSLog.cpp \ ParentMap.cpp \ PrintfFormatString.cpp \ QualTypeNames.cpp \ @@ -81,9 +84,10 @@ SRCS= APValue.cpp \ TypeLoc.cpp \ TypePrinter.cpp \ VTableBuilder.cpp \ - VTTBuilder.cpp \ - Block.cpp \ - ByteCodeEmitter.cpp \ + VTTBuilder.cpp + +# Interp +SRCS+= ByteCodeEmitter.cpp \ ByteCodeExprGen.cpp \ ByteCodeGenError.cpp \ ByteCodeStmtGen.cpp \ @@ -94,6 +98,7 @@ SRCS= APValue.cpp \ Frame.cpp \ Function.cpp \ Interp.cpp \ + InterpBlock.cpp \ InterpFrame.cpp \ InterpStack.cpp \ InterpState.cpp \ diff --git a/gnu/usr.bin/clang/libclangAnalysis/Makefile b/gnu/usr.bin/clang/libclangAnalysis/Makefile index 203d0dcac72..16e2f9ce550 100644 --- a/gnu/usr.bin/clang/libclangAnalysis/Makefile +++ b/gnu/usr.bin/clang/libclangAnalysis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2021/04/28 12:55:40 patrick Exp $ LIB= clangAnalysis NOPIC= @@ -13,6 +13,7 @@ SRCS= AnalysisDeclContext.cpp \ CFGReachabilityAnalysis.cpp \ CFGStmtMap.cpp \ CallGraph.cpp \ + CloneDetection.cpp \ CocoaConventions.cpp \ ConstructionContext.cpp \ Consumed.cpp \ diff --git a/gnu/usr.bin/clang/libclangBasic/Makefile b/gnu/usr.bin/clang/libclangBasic/Makefile index 9a272a0ef08..405e2933818 100644 --- a/gnu/usr.bin/clang/libclangBasic/Makefile +++ b/gnu/usr.bin/clang/libclangBasic/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $ LIB= clangBasic NOPIC= @@ -6,6 +6,7 @@ NOPROFILE= CPPFLAGS+= ${CLANG_INCLUDES} CPPFLAGS+= -I${CLANG_SRCS}/lib/Basic +CPPFLAGS+= -I${CLANG_SRCS}/lib/Basic/Targets .include SRCS= Attributes.cpp \ @@ -16,6 +17,7 @@ SRCS= Attributes.cpp \ Diagnostic.cpp \ DiagnosticIDs.cpp \ DiagnosticOptions.cpp \ + ExpressionTraits.cpp \ FileManager.cpp \ FileSystemStatCache.cpp \ FixedPoint.cpp \ @@ -35,12 +37,40 @@ SRCS= Attributes.cpp \ TargetInfo.cpp \ Targets.cpp \ TokenKinds.cpp \ + TypeTraits.cpp \ Version.cpp \ Warnings.cpp \ XRayInstr.cpp \ XRayLists.cpp +# Basic/Targets +SRCS+= AArch64.cpp \ + AMDGPU.cpp \ + ARC.cpp \ + ARM.cpp \ + AVR.cpp \ + BPF.cpp \ + Hexagon.cpp \ + Lanai.cpp \ + Le64.cpp \ + MSP430.cpp \ + Mips.cpp \ + NVPTX.cpp \ + OSTargets.cpp \ + PNaCl.cpp \ + PPC.cpp \ + RISCV.cpp \ + SPIR.cpp \ + Sparc.cpp \ + SystemZ.cpp \ + TCE.cpp \ + VE.cpp \ + WebAssembly.cpp \ + X86.cpp \ + XCore.cpp + .PATH: ${.CURDIR}/../../../llvm/clang/lib/Basic +.PATH: ${.CURDIR}/../../../llvm/clang/lib/Basic/Targets install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/libclangDriver/Makefile b/gnu/usr.bin/clang/libclangDriver/Makefile index 1059e06486b..58b82b50192 100644 --- a/gnu/usr.bin/clang/libclangDriver/Makefile +++ b/gnu/usr.bin/clang/libclangDriver/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $ LIB= clangDriver NOPIC= @@ -8,63 +8,80 @@ CPPFLAGS+= ${CLANG_INCLUDES} CPPFLAGS+= -I${CLANG_SRCS}/lib/Driver .include -SRCS= AIX.cpp \ + +# Driver +SRCS= Action.cpp \ + Compilation.cpp \ + DarwinSDKInfo.cpp \ + Distro.cpp \ + Driver.cpp \ + DriverOptions.cpp \ + Job.cpp \ + Multilib.cpp \ + OptionUtils.cpp \ + Phases.cpp \ + SanitizerArgs.cpp \ + Tool.cpp \ + ToolChain.cpp \ + Types.cpp \ + XRayArgs.cpp + +# Driver/Toolchains +SRCS+= AIX.cpp \ + Ananas.cpp \ AMDGPU.cpp \ AVR.cpp \ - Action.cpp \ - Ananas.cpp \ BareMetal.cpp \ Clang.cpp \ CloudABI.cpp \ CommonArgs.cpp \ - Compilation.cpp \ Contiki.cpp \ CrossWindows.cpp \ Cuda.cpp \ Darwin.cpp \ - DarwinSDKInfo.cpp \ - Distro.cpp \ DragonFly.cpp \ - Driver.cpp \ - DriverOptions.cpp \ Flang.cpp \ FreeBSD.cpp \ Fuchsia.cpp \ Gnu.cpp \ - HIP.cpp \ Haiku.cpp \ + HIP.cpp \ Hexagon.cpp \ Hurd.cpp \ - InterfaceStubs.cpp \ - Job.cpp \ Linux.cpp \ - MSP430.cpp \ - MSVC.cpp \ + MipsLinux.cpp \ MinGW.cpp \ Minix.cpp \ - MipsLinux.cpp \ - Multilib.cpp \ + MSP430.cpp \ + MSVC.cpp \ Myriad.cpp \ NaCl.cpp \ NetBSD.cpp \ OpenBSD.cpp \ - OptionUtils.cpp \ - PPCLinux.cpp \ PS4CPU.cpp \ - Phases.cpp \ RISCVToolchain.cpp \ - SanitizerArgs.cpp \ Solaris.cpp \ TCE.cpp \ - Tool.cpp \ - ToolChain.cpp \ - Types.cpp \ + VEToolchain.cpp \ WebAssembly.cpp \ XCore.cpp \ - XRayArgs.cpp + PPCLinux.cpp \ + InterfaceStubs.cpp + +# Driver/Toolchains/Arch +SRCS+= AArch64.cpp \ + ARM.cpp \ + Mips.cpp \ + PPC.cpp \ + RISCV.cpp \ + Sparc.cpp \ + SystemZ.cpp \ + VE.cpp \ + X86.cpp .PATH: ${.CURDIR}/../../../llvm/clang/lib/Driver .PATH: ${.CURDIR}/../../../llvm/clang/lib/Driver/ToolChains +.PATH: ${.CURDIR}/../../../llvm/clang/lib/Driver/ToolChains/Arch install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/libclangFrontend/Makefile b/gnu/usr.bin/clang/libclangFrontend/Makefile index 2dd31f249e4..9e7bbfae634 100644 --- a/gnu/usr.bin/clang/libclangFrontend/Makefile +++ b/gnu/usr.bin/clang/libclangFrontend/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2021/04/28 12:55:40 patrick Exp $ LIB= clangFrontend NOPIC= @@ -25,7 +25,6 @@ SRCS= ASTConsumers.cpp \ HeaderIncludeGen.cpp \ InitHeaderSearch.cpp \ InitPreprocessor.cpp \ - InterfaceStubFunctionsConsumer.cpp \ LayoutOverrideSource.cpp \ LogDiagnosticPrinter.cpp \ ModuleDependencyCollector.cpp \ @@ -38,7 +37,8 @@ SRCS= ASTConsumers.cpp \ TextDiagnostic.cpp \ TextDiagnosticBuffer.cpp \ TextDiagnosticPrinter.cpp \ - VerifyDiagnosticConsumer.cpp + VerifyDiagnosticConsumer.cpp \ + InterfaceStubFunctionsConsumer.cpp .PATH: ${.CURDIR}/../../../llvm/clang/lib/Frontend diff --git a/gnu/usr.bin/clang/libclangSema/Makefile b/gnu/usr.bin/clang/libclangSema/Makefile index d0e8f2b2a4b..49abf28b64c 100644 --- a/gnu/usr.bin/clang/libclangSema/Makefile +++ b/gnu/usr.bin/clang/libclangSema/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:40 patrick Exp $ LIB= clangSema NOPIC= @@ -21,6 +21,7 @@ SRCS= AnalysisBasedWarnings.cpp \ Sema.cpp \ SemaAccess.cpp \ SemaAttr.cpp \ + SemaAvailability.cpp \ SemaCXXScopeSpec.cpp \ SemaCast.cpp \ SemaChecking.cpp \ @@ -50,6 +51,7 @@ SRCS= AnalysisBasedWarnings.cpp \ SemaStmt.cpp \ SemaStmtAsm.cpp \ SemaStmtAttr.cpp \ + SemaSYCL.cpp \ SemaTemplate.cpp \ SemaTemplateDeduction.cpp \ SemaTemplateInstantiate.cpp \ diff --git a/gnu/usr.bin/clang/liblldCommon/Makefile b/gnu/usr.bin/clang/liblldCommon/Makefile index b7315d6d2c7..43837c9168e 100644 --- a/gnu/usr.bin/clang/liblldCommon/Makefile +++ b/gnu/usr.bin/clang/liblldCommon/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldCommon NOPROFILE= @@ -14,7 +14,7 @@ SRCS= Args.cpp \ Reproduce.cpp \ Strings.cpp \ TargetOptionsCommandFlags.cpp \ - Threads.cpp \ + Timer.cpp \ Version.cpp .PATH: ${.CURDIR}/../../../llvm/lld/Common diff --git a/gnu/usr.bin/clang/liblldELF/Makefile b/gnu/usr.bin/clang/liblldELF/Makefile index 651df96614b..c6373839bfa 100644 --- a/gnu/usr.bin/clang/liblldELF/Makefile +++ b/gnu/usr.bin/clang/liblldELF/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:41 patrick Exp $ LIB= lldELF NOPROFILE= @@ -8,34 +8,39 @@ CPPFLAGS+= -I${LLD_SRCS}/include CPPFLAGS+= -I${LLD_SRCS}/ELF .include -SRCS= AArch64.cpp \ - AArch64ErrataFix.cpp \ +# ELF/Arch +SRCS= AArch64ErrataFix.cpp \ + AArch64.cpp \ AMDGPU.cpp \ ARM.cpp \ - ARMErrataFix.cpp \ AVR.cpp \ + Hexagon.cpp \ + Mips.cpp \ + MipsArchTree.cpp \ + MSP430.cpp \ + PPC.cpp \ + PPC64.cpp \ + RISCV.cpp \ + SPARCV9.cpp \ + X86.cpp \ + X86_64.cpp + +# ELF +SRCS+= ARMErrataFix.cpp \ CallGraphSort.cpp \ DWARF.cpp \ Driver.cpp \ DriverUtils.cpp \ EhFrame.cpp \ - Hexagon.cpp \ ICF.cpp \ InputFiles.cpp \ InputSection.cpp \ - LinkerScript.cpp \ LTO.cpp \ - MSP430.cpp \ + LinkerScript.cpp \ MapFile.cpp \ MarkLive.cpp \ - Mips.cpp \ - MipsArchTree.cpp \ OutputSections.cpp \ - PPC.cpp \ - PPC64.cpp \ - RISCV.cpp \ Relocations.cpp \ - SPARCV9.cpp \ ScriptLexer.cpp \ ScriptParser.cpp \ SymbolTable.cpp \ @@ -44,8 +49,6 @@ SRCS= AArch64.cpp \ Target.cpp \ Thunks.cpp \ Writer.cpp \ - X86.cpp \ - X86_64.cpp .PATH: ${.CURDIR}/../../../llvm/lld/ELF .PATH: ${.CURDIR}/../../../llvm/lld/ELF/Arch diff --git a/gnu/usr.bin/clang/liblldbABI/Makefile b/gnu/usr.bin/clang/liblldbABI/Makefile index 2b19004cf60..a0337040106 100644 --- a/gnu/usr.bin/clang/liblldbABI/Makefile +++ b/gnu/usr.bin/clang/liblldbABI/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbABI NOPIC= @@ -6,35 +6,35 @@ NOPROFILE= .include -SRCS= ABIMacOSX_arm.cpp \ +SRCS= ABIAArch64.cpp \ ABIMacOSX_arm64.cpp \ - ABIMacOSX_i386.cpp \ - ABISysV_arm.cpp \ ABISysV_arm64.cpp \ + ABISysV_arc.cpp \ + ABIARM.cpp \ + ABIMacOSX_arm.cpp \ + ABISysV_arm.cpp \ ABISysV_hexagon.cpp \ - ABISysV_i386.cpp \ + ABIMips.cpp \ ABISysV_mips.cpp \ ABISysV_mips64.cpp \ + ABIPowerPC.cpp \ ABISysV_ppc.cpp \ ABISysV_ppc64.cpp \ ABISysV_s390x.cpp \ + ABIX86.cpp \ + ABIMacOSX_i386.cpp \ + ABISysV_i386.cpp \ ABISysV_x86_64.cpp \ - ABIWindows_x86_64.cpp \ + ABIWindows_x86_64.cpp -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/MacOSX-arm -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/MacOSX-arm64 -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/MacOSX-i386 -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-arm -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-arm64 -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-hexagon -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-i386 -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-mips -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-mips64 -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-ppc -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-ppc64 -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-s390x -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SysV-x86_64 -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/Windows-x86_64 +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/AArch64 +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/ARC +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/ARM +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/Hexagon +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/Mips +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/PowerPC +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/SystemZ +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ABI/X86 install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbAPI/Makefile b/gnu/usr.bin/clang/liblldbAPI/Makefile index e6e6292adb4..f1723eeb2cf 100644 --- a/gnu/usr.bin/clang/liblldbAPI/Makefile +++ b/gnu/usr.bin/clang/liblldbAPI/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbAPI NOPIC= @@ -15,18 +15,20 @@ SRCS= SBAddress.cpp \ SBBreakpointOptionCommon.cpp \ SBBroadcaster.cpp \ SBCommandInterpreter.cpp \ + SBCommandInterpreterRunOptions.cpp \ SBCommandReturnObject.cpp \ SBCommunication.cpp \ SBCompileUnit.cpp \ SBData.cpp \ SBDebugger.cpp \ SBDeclaration.cpp \ + SBEnvironment.cpp \ SBError.cpp \ SBEvent.cpp \ SBExecutionContext.cpp \ SBExpressionOptions.cpp \ - SBFile.cpp \ SBFileSpec.cpp \ + SBFile.cpp \ SBFileSpecList.cpp \ SBFrame.cpp \ SBFunction.cpp \ @@ -69,11 +71,11 @@ SRCS= SBAddress.cpp \ SBTypeNameSpecifier.cpp \ SBTypeSummary.cpp \ SBTypeSynthetic.cpp \ - SBUnixSignals.cpp \ SBValue.cpp \ SBValueList.cpp \ SBVariablesOptions.cpp \ SBWatchpoint.cpp \ + SBUnixSignals.cpp \ SystemInitializerFull.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/API @@ -85,3 +87,4 @@ install: CPPFLAGS+= ${LLDB_INCLUDES} CPPFLAGS+= ${CLANG_INCLUDES} +CPPFLAGS+= -I${.CURDIR}/../include/lldb/ diff --git a/gnu/usr.bin/clang/liblldbBreakpoint/Makefile b/gnu/usr.bin/clang/liblldbBreakpoint/Makefile index 82b3e3d3ad0..aa9832d5081 100644 --- a/gnu/usr.bin/clang/liblldbBreakpoint/Makefile +++ b/gnu/usr.bin/clang/liblldbBreakpoint/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbBreakpoint NOPIC= @@ -29,7 +29,7 @@ SRCS= Breakpoint.cpp \ StoppointLocation.cpp \ Watchpoint.cpp \ WatchpointList.cpp \ - WatchpointOptions.cpp \ + WatchpointOptions.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Breakpoint diff --git a/gnu/usr.bin/clang/liblldbCommands/Makefile b/gnu/usr.bin/clang/liblldbCommands/Makefile index c06813a3e05..816d0cf92a5 100644 --- a/gnu/usr.bin/clang/liblldbCommands/Makefile +++ b/gnu/usr.bin/clang/liblldbCommands/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:41 patrick Exp $ LIB= lldbCommands NOPIC= @@ -34,7 +34,7 @@ SRCS= CommandCompletions.cpp \ CommandObjectVersion.cpp \ CommandObjectWatchpoint.cpp \ CommandObjectWatchpointCommand.cpp \ - CommandObjectLanguage.cpp \ + CommandObjectLanguage.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Commands diff --git a/gnu/usr.bin/clang/liblldbCore/Makefile b/gnu/usr.bin/clang/liblldbCore/Makefile index b8634f8491e..63699bc5c10 100644 --- a/gnu/usr.bin/clang/liblldbCore/Makefile +++ b/gnu/usr.bin/clang/liblldbCore/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:41 patrick Exp $ LIB= lldbCore NOPIC= @@ -49,7 +49,7 @@ SRCS= Address.cpp \ ValueObjectMemory.cpp \ ValueObjectRegister.cpp \ ValueObjectSyntheticFilter.cpp \ - ValueObjectVariable.cpp \ + ValueObjectVariable.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Core diff --git a/gnu/usr.bin/clang/liblldbDataFormatters/Makefile b/gnu/usr.bin/clang/liblldbDataFormatters/Makefile index 68e3521db8a..eb52f48cfb3 100644 --- a/gnu/usr.bin/clang/liblldbDataFormatters/Makefile +++ b/gnu/usr.bin/clang/liblldbDataFormatters/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbDataFormatters NOPIC= @@ -20,7 +20,7 @@ SRCS= CXXFunctionPointer.cpp \ TypeSummary.cpp \ TypeSynthetic.cpp \ ValueObjectPrinter.cpp \ - VectorType.cpp \ + VectorType.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/DataFormatters diff --git a/gnu/usr.bin/clang/liblldbExpression/Makefile b/gnu/usr.bin/clang/liblldbExpression/Makefile index 639da277f75..c849fa6ac1d 100644 --- a/gnu/usr.bin/clang/liblldbExpression/Makefile +++ b/gnu/usr.bin/clang/liblldbExpression/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbExpression NOPIC= @@ -18,7 +18,7 @@ SRCS= DiagnosticManager.cpp \ Materializer.cpp \ REPL.cpp \ UserExpression.cpp \ - UtilityFunction.cpp \ + UtilityFunction.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Expression diff --git a/gnu/usr.bin/clang/liblldbHostCommon/Makefile b/gnu/usr.bin/clang/liblldbHostCommon/Makefile index 69e79773255..461eb10c6c0 100644 --- a/gnu/usr.bin/clang/liblldbHostCommon/Makefile +++ b/gnu/usr.bin/clang/liblldbHostCommon/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbHostCommon NOPIC= @@ -8,8 +8,8 @@ NOPROFILE= SRCS= Editline.cpp \ FileAction.cpp \ FileCache.cpp \ - FileSystem.cpp \ File.cpp \ + FileSystem.cpp \ GetOptInc.cpp \ Host.cpp \ HostInfoBase.cpp \ @@ -32,12 +32,11 @@ SRCS= Editline.cpp \ SocketAddress.cpp \ Socket.cpp \ StringConvert.cpp \ - TaskPool.cpp \ TCPSocket.cpp \ Terminal.cpp \ ThreadLauncher.cpp \ UDPSocket.cpp \ - XML.cpp \ + XML.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Host/common diff --git a/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile b/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile index 0a91f287976..b1f22644ff3 100644 --- a/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile +++ b/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbHostPOSIX NOPIC= @@ -13,7 +13,7 @@ SRCS= ConnectionFileDescriptorPosix.cpp \ HostThreadPosix.cpp \ LockFilePosix.cpp \ PipePosix.cpp \ - ProcessLauncherPosixFork.cpp \ + ProcessLauncherPosixFork.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Host/posix diff --git a/gnu/usr.bin/clang/liblldbInitialization/Makefile b/gnu/usr.bin/clang/liblldbInitialization/Makefile index 1b54426ab3d..96353b62fcc 100644 --- a/gnu/usr.bin/clang/liblldbInitialization/Makefile +++ b/gnu/usr.bin/clang/liblldbInitialization/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbInitialization NOPIC= @@ -7,7 +7,7 @@ NOPROFILE= .include SRCS= SystemInitializerCommon.cpp \ SystemInitializer.cpp \ - SystemLifetimeManager.cpp \ + SystemLifetimeManager.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Initialization diff --git a/gnu/usr.bin/clang/liblldbInterpreter/Makefile b/gnu/usr.bin/clang/liblldbInterpreter/Makefile index b97b4886337..effa1664384 100644 --- a/gnu/usr.bin/clang/liblldbInterpreter/Makefile +++ b/gnu/usr.bin/clang/liblldbInterpreter/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbInterpreter NOPIC= @@ -49,7 +49,7 @@ SRCS= CommandAlias.cpp \ OptionGroupWatchpoint.cpp \ Options.cpp \ Property.cpp \ - ScriptInterpreter.cpp \ + ScriptInterpreter.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Interpreter diff --git a/gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile b/gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile index 6f8146acf14..729c354d4cf 100644 --- a/gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginDisassembler NOPIC= @@ -7,7 +7,7 @@ NOPROFILE= .include SRCS= DisassemblerLLVMC.cpp -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Disassembler/llvm +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Disassembler/LLVMC install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile b/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile index 7d656545ca0..2d69f97a749 100644 --- a/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile @@ -1,27 +1,29 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginDynamicLoader NOPIC= NOPROFILE= .include -SRCS= DYLDRendezvous.cpp \ - DynamicLoaderDarwin.cpp \ - DynamicLoaderDarwinKernel.cpp \ - DynamicLoaderHexagonDYLD.cpp \ - DynamicLoaderMacOS.cpp \ +SRCS= DynamicLoaderDarwinKernel.cpp \ DynamicLoaderMacOSXDYLD.cpp \ + DynamicLoaderMacOS.cpp \ + DynamicLoaderDarwin.cpp \ + DYLDRendezvous.cpp \ DynamicLoaderPOSIXDYLD.cpp \ DynamicLoaderStatic.cpp \ - DynamicLoaderWindowsDYLD.cpp \ HexagonDYLDRendezvous.cpp \ + DynamicLoaderHexagonDYLD.cpp \ + DynamicLoaderWindowsDYLD.cpp \ + DynamicLoaderWasmDYLD.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/Darwin-Kernel -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/POSIX-DYLD .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/Static +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/Windows-DYLD +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/DynamicLoader/wasm-DYLD install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile index 1842060dd38..86629d59762 100644 --- a/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginExpressionParser NOPIC= @@ -8,21 +8,27 @@ NOPROFILE= SRCS= ASTResultSynthesizer.cpp \ ASTStructExtractor.cpp \ ASTUtils.cpp \ + ClangASTImporter.cpp \ + ClangASTMetadata.cpp \ ClangASTSource.cpp \ ClangDeclVendor.cpp \ ClangExpressionDeclMap.cpp \ ClangExpressionParser.cpp \ ClangExpressionSourceCode.cpp \ ClangExpressionVariable.cpp \ + ClangExternalASTSourceCallbacks.cpp \ ClangFunctionCaller.cpp \ ClangHost.cpp \ ClangModulesDeclVendor.cpp \ ClangPersistentVariables.cpp \ ClangUserExpression.cpp \ + ClangUtil.cpp \ ClangUtilityFunction.cpp \ CppModuleConfiguration.cpp \ + CxxModuleHandler.cpp \ IRForTarget.cpp \ IRDynamicChecks.cpp \ + NameSearchContext.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ExpressionParser/Clang diff --git a/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile b/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile index 014adf95168..bd4199b59ec 100644 --- a/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginInstruction NOPIC= @@ -6,11 +6,11 @@ NOPROFILE= .include SRCS= EmulateInstructionARM.cpp \ + EmulationStateARM.cpp \ EmulateInstructionARM64.cpp \ EmulateInstructionMIPS.cpp \ EmulateInstructionMIPS64.cpp \ - EmulateInstructionPPC64.cpp \ - EmulationStateARM.cpp \ + EmulateInstructionPPC64.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Instruction/ARM .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Instruction/ARM64 diff --git a/gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile b/gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile index 51b8912c7db..d306907ec64 100644 --- a/gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile @@ -1,14 +1,14 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginInstrumentationRuntime NOPIC= NOPROFILE= .include -SRCS= ASanRuntime.cpp \ - MainThreadCheckerRuntime.cpp \ - TSanRuntime.cpp \ - UBSanRuntime.cpp \ +SRCS= InstrumentationRuntimeASan.cpp \ + InstrumentationRuntimeMainThreadChecker.cpp \ + InstrumentationRuntimeTSan.cpp \ + InstrumentationRuntimeUBSan.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/InstrumentationRuntime/ASan .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker diff --git a/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile b/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile index b120fc086d4..1bd560e05cf 100644 --- a/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile @@ -1,17 +1,14 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginLanguage NOPIC= NOPROFILE= .include +# CPlusPlus SRCS= BlockPointer.cpp \ - CF.cpp \ CPlusPlusLanguage.cpp \ CPlusPlusNameParser.cpp \ - ClangHighlighter.cpp \ - Cocoa.cpp \ - CoreMedia.cpp \ CxxStringTypes.cpp \ LibCxx.cpp \ LibCxxAtomic.cpp \ @@ -29,19 +26,30 @@ SRCS= BlockPointer.cpp \ LibStdcpp.h \ LibStdcppTuple.cpp \ LibStdcppUniquePointer.cpp \ - MSVCUndecoratedNameParser.cpp \ + MSVCUndecoratedNameParser.cpp + +# ClangCommon +SRCS+= ClangHighlighter.cpp + +# ObjC +SRCS+= ObjCLanguage.cpp \ + CF.cpp \ + CFBasicHash.cpp \ + Cocoa.cpp \ + CoreMedia.cpp \ NSArray.cpp \ NSDictionary.cpp \ NSError.cpp \ NSException.cpp \ NSIndexPath.cpp \ NSSet.cpp \ - NSString.cpp \ - ObjCLanguage.cpp \ - ObjCPlusPlusLanguage.cpp \ + NSString.cpp + +# ObjCPlusPlus +SRCS+= ObjCPlusPlusLanguage.cpp -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Language/CPlusPlus .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Language/ClangCommon +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Language/CPlusPlus .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Language/ObjC .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Language/ObjCPlusPlus diff --git a/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile b/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile index 4afe8d2e8d6..7683b023771 100644 --- a/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile @@ -1,25 +1,31 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginLanguageRuntime NOPIC= NOPROFILE= .include -SRCS= AppleObjCClassDescriptorV2.cpp \ - AppleObjCDeclVendor.cpp \ + +# CPlusPlus +SRCS+= CPPLanguageRuntime.cpp \ + ItaniumABILanguageRuntime.cpp + +# ObjC +SRCS+= ObjCLanguageRuntime.cpp \ AppleObjCRuntime.cpp \ AppleObjCRuntimeV1.cpp \ AppleObjCRuntimeV2.cpp \ AppleObjCTrampolineHandler.cpp \ - AppleObjCTypeEncodingParser.cpp \ + AppleObjCDeclVendor.cpp \ AppleThreadPlanStepThroughObjCTrampoline.cpp \ - CPPLanguageRuntime.cpp \ - ItaniumABILanguageRuntime.cpp \ - ObjCLanguageRuntime.cpp \ + AppleObjCClassDescriptorV2.cpp \ + AppleObjCTypeEncodingParser.cpp + +# RenderScript +SRCS+= RenderScriptRuntime.cpp \ RenderScriptExpressionOpts.cpp \ - RenderScriptRuntime.cpp \ - RenderScriptScriptGroup.cpp \ RenderScriptx86ABIFixups.cpp \ + RenderScriptScriptGroup.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/LanguageRuntime/CPlusPlus .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI diff --git a/gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile b/gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile index 0c31f08d0ca..64a95db5821 100644 --- a/gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ LIB= lldbPluginObjectContainer NOPIC= @@ -6,7 +6,7 @@ NOPROFILE= .include SRCS= ObjectContainerBSDArchive.cpp \ - ObjectContainerUniversalMachO.cpp \ + ObjectContainerUniversalMachO.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectContainer/BSD-Archive .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectContainer/Universal-Mach-O diff --git a/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile index f656bc86aef..a21b7e2a60b 100644 --- a/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $ LIB= lldbPluginObjectFile NOPIC= @@ -6,20 +6,22 @@ NOPROFILE= .include SRCS= BreakpadRecords.cpp \ - ELFHeader.cpp \ ObjectFileBreakpad.cpp \ + ELFHeader.cpp \ ObjectFileELF.cpp \ ObjectFileJIT.cpp \ ObjectFileMachO.cpp \ ObjectFilePECOFF.cpp \ PECallFrameInfo.cpp \ WindowsMiniDump.cpp \ + ObjectFileWasm.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/Breakpad .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/ELF -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/JIT .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/Mach-O .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/PECOFF +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/JIT +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/wasm install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile index 43bbd7c64a0..fa1bab69427 100644 --- a/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $ LIB= lldbPluginPlatform NOPIC= @@ -8,25 +8,21 @@ NOPROFILE= SRCS= AdbClient.cpp \ PlatformAndroid.cpp \ PlatformAndroidRemoteGDBServer.cpp \ - PlatformAppleSimulator.cpp \ - PlatformAppleTVSimulator.cpp \ - PlatformAppleWatchSimulator.cpp \ - PlatformDarwin.cpp \ - PlatformDarwinKernel.cpp \ PlatformFreeBSD.cpp \ PlatformLinux.cpp \ + PlatformDarwin.cpp \ + PlatformDarwinKernel.cpp \ PlatformMacOSX.cpp \ - PlatformNetBSD.cpp \ - PlatformOpenBSD.cpp \ - PlatformPOSIX.cpp \ - PlatformRemoteAppleBridge.cpp \ + PlatformRemoteiOS.cpp \ PlatformRemoteAppleTV.cpp \ PlatformRemoteAppleWatch.cpp \ PlatformRemoteDarwinDevice.cpp \ - PlatformRemoteGDBServer.cpp \ - PlatformRemoteiOS.cpp \ + PlatformRemoteAppleBridge.cpp \ + PlatformNetBSD.cpp \ + PlatformOpenBSD.cpp \ + PlatformPOSIX.cpp \ PlatformWindows.cpp \ - PlatformiOSSimulator.cpp \ + PlatformRemoteGDBServer.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Platform/Android .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Platform/FreeBSD diff --git a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile index 87ca6ab426e..3cdbf481fe4 100644 --- a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile @@ -1,15 +1,24 @@ -# $OpenBSD: Makefile,v 1.8 2021/02/14 16:16:02 mortimer Exp $ +# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:42 patrick Exp $ LIB= lldbPluginProcess NOPIC= NOPROFILE= .include -SRCS= AuxVector.cpp \ - CrashReason.cpp \ - DynamicRegisterInfo.cpp \ - FreeBSDSignals.cpp \ - GDBRemoteClientBase.cpp \ +# Process/OpenBSD +SRCS= NativeProcessOpenBSD.cpp \ + NativeRegisterContextOpenBSD.cpp \ + NativeRegisterContextOpenBSD_arch.cpp \ + NativeThreadOpenBSD.cpp + +# Process/POSIX +SRCS+= CrashReason.cpp \ + NativeProcessELF.cpp \ + ProcessMessage.cpp \ + ProcessPOSIXLog.cpp + +# Process/gdb-remote +SRCS+= GDBRemoteClientBase.cpp \ GDBRemoteCommunication.cpp \ GDBRemoteCommunicationClient.cpp \ GDBRemoteCommunicationHistory.cpp \ @@ -19,29 +28,24 @@ SRCS= AuxVector.cpp \ GDBRemoteCommunicationServerLLGS.cpp \ GDBRemoteCommunicationServerPlatform.cpp \ GDBRemoteRegisterContext.cpp \ + ProcessGDBRemote.cpp \ + ProcessGDBRemoteLog.cpp \ + ThreadGDBRemote.cpp + +# Process/Utility +SRCS+= AuxVector.cpp \ + DynamicRegisterInfo.cpp \ + FreeBSDSignals.cpp \ GDBRemoteSignals.cpp \ HistoryThread.cpp \ HistoryUnwind.cpp \ InferiorCallPOSIX.cpp \ LinuxProcMaps.cpp \ LinuxSignals.cpp \ - MinidumpParser.cpp \ - MinidumpTypes.cpp \ MipsLinuxSignals.cpp \ - NativeProcessOpenBSD.cpp \ - NativeRegisterContextOpenBSD.cpp \ - NativeRegisterContextOpenBSD_arch.cpp \ NativeRegisterContextRegisterInfo.cpp \ - NativeThreadOpenBSD.cpp \ NetBSDSignals.cpp \ OpenBSDSignals.cpp \ - ProcessElfCore.cpp \ - ProcessGDBRemote.cpp \ - ProcessGDBRemoteLog.cpp \ - ProcessMachCore.cpp \ - ProcessMessage.cpp \ - ProcessMinidump.cpp \ - ProcessPOSIXLog.cpp \ RegisterContextDarwin_arm.cpp \ RegisterContextDarwin_arm64.cpp \ RegisterContextDarwin_i386.cpp \ @@ -52,31 +56,19 @@ SRCS= AuxVector.cpp \ RegisterContextFreeBSD_powerpc.cpp \ RegisterContextFreeBSD_x86_64.cpp \ RegisterContextHistory.cpp \ - RegisterContextLLDB.cpp \ RegisterContextLinux_i386.cpp \ - RegisterContextLinux_mips.cpp \ + RegisterContextLinux_x86_64.cpp \ RegisterContextLinux_mips64.cpp \ + RegisterContextLinux_mips.cpp \ RegisterContextLinux_s390x.cpp \ - RegisterContextLinux_x86_64.cpp \ - RegisterContextMacOSXFrameBackchain.cpp \ RegisterContextMach_arm.cpp \ RegisterContextMach_i386.cpp \ RegisterContextMach_x86_64.cpp \ RegisterContextMemory.cpp \ - RegisterContextMinidump_ARM.cpp \ - RegisterContextMinidump_ARM64.cpp \ - RegisterContextMinidump_x86_32.cpp \ - RegisterContextMinidump_x86_64.cpp \ + RegisterContextNetBSD_i386.cpp \ RegisterContextNetBSD_x86_64.cpp \ RegisterContextOpenBSD_i386.cpp \ RegisterContextOpenBSD_x86_64.cpp \ - RegisterContextPOSIXCore_arm.cpp \ - RegisterContextPOSIXCore_arm64.cpp \ - RegisterContextPOSIXCore_mips64.cpp \ - RegisterContextPOSIXCore_powerpc.cpp \ - RegisterContextPOSIXCore_ppc64le.cpp \ - RegisterContextPOSIXCore_s390x.cpp \ - RegisterContextPOSIXCore_x86_64.cpp \ RegisterContextPOSIX_arm.cpp \ RegisterContextPOSIX_arm64.cpp \ RegisterContextPOSIX_mips64.cpp \ @@ -90,23 +82,42 @@ SRCS= AuxVector.cpp \ RegisterInfoPOSIX_arm.cpp \ RegisterInfoPOSIX_arm64.cpp \ RegisterInfoPOSIX_ppc64le.cpp \ - RegisterUtilities.cpp \ StopInfoMachException.cpp \ + ThreadMemory.cpp + +# Process/elf-core +SRCS+= ProcessElfCore.cpp \ ThreadElfCore.cpp \ - ThreadGDBRemote.cpp \ - ThreadMachCore.cpp \ - ThreadMemory.cpp \ - ThreadMinidump.cpp \ - UnwindLLDB.cpp \ - UnwindMacOSXFrameBackchain.cpp \ + RegisterContextPOSIXCore_arm.cpp \ + RegisterContextPOSIXCore_arm64.cpp \ + RegisterContextPOSIXCore_mips64.cpp \ + RegisterContextPOSIXCore_powerpc.cpp \ + RegisterContextPOSIXCore_ppc64le.cpp \ + RegisterContextPOSIXCore_s390x.cpp \ + RegisterContextPOSIXCore_x86_64.cpp \ + RegisterUtilities.cpp +# Process/mach-core +SRCS+= ProcessMachCore.cpp \ + ThreadMachCore.cpp + +# Process/minidump +SRCS+= MinidumpTypes.cpp \ + MinidumpParser.cpp \ + RegisterContextMinidump_ARM.cpp \ + RegisterContextMinidump_ARM64.cpp \ + RegisterContextMinidump_x86_32.cpp \ + RegisterContextMinidump_x86_64.cpp \ + ProcessMinidump.cpp \ + ThreadMinidump.cpp + +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/OpenBSD +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/POSIX +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/gdb-remote .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/Utility .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/elf-core -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/gdb-remote .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/mach-core .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/minidump -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/POSIX -.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/OpenBSD install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile index ca460f9c41c..c2cd1d30f55 100644 --- a/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile @@ -1,59 +1,66 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $ LIB= lldbPluginSymbolFile NOPIC= NOPROFILE= .include -SRCS= AppleDWARFIndex.cpp \ - CodeViewRegisterMapping.cpp \ - CompileUnitIndex.cpp \ +# SymbolFile/Breakpad +SRCS= SymbolFileBreakpad.cpp + +# SymbolFile/DWARF +SRCS+= AppleDWARFIndex.cpp \ + DebugNamesDWARFIndex.cpp \ DIERef.cpp \ - DWARFASTParserClang.cpp \ DWARFAbbreviationDeclaration.cpp \ + DWARFASTParserClang.cpp \ DWARFAttribute.cpp \ DWARFBaseDIE.cpp \ DWARFCompileUnit.cpp \ DWARFContext.cpp \ - DWARFDIE.cpp \ DWARFDataExtractor.cpp \ DWARFDebugAbbrev.cpp \ - DWARFDebugArangeSet.cpp \ DWARFDebugAranges.cpp \ + DWARFDebugArangeSet.cpp \ DWARFDebugInfo.cpp \ DWARFDebugInfoEntry.cpp \ DWARFDebugMacro.cpp \ DWARFDebugRanges.cpp \ DWARFDeclContext.cpp \ DWARFDefines.cpp \ + DWARFDIE.cpp \ DWARFFormValue.cpp \ DWARFIndex.cpp \ - DWARFLocationExpression.cpp \ DWARFTypeUnit.cpp \ DWARFUnit.cpp \ - DebugNamesDWARFIndex.cpp \ HashedNameToDIE.cpp \ LogChannelDWARF.cpp \ ManualDWARFIndex.cpp \ NameToDIE.cpp \ - PDBASTParser.cpp \ - PDBLocationToDWARFExpression.cpp \ + SymbolFileDWARF.cpp \ + SymbolFileDWARFDwo.cpp \ + SymbolFileDWARFDebugMap.cpp \ + UniqueDWARFASTType.cpp + +# SymbolFile/NativePDB +SRCS+= CodeViewRegisterMapping.cpp \ + CompileUnitIndex.cpp \ + DWARFLocationExpression.cpp \ PdbAstBuilder.cpp \ PdbFPOProgramToDWARFExpression.cpp \ PdbIndex.cpp \ PdbSymUid.cpp \ PdbUtil.cpp \ - SymbolFileBreakpad.cpp \ - SymbolFileDWARF.cpp \ - SymbolFileDWARFDebugMap.cpp \ - SymbolFileDWARFDwo.cpp \ - SymbolFileDWARFDwoDwp.cpp \ - SymbolFileDWARFDwp.cpp \ SymbolFileNativePDB.cpp \ - SymbolFilePDB.cpp \ - SymbolFileSymtab.cpp \ - UdtRecordCompleter.cpp \ - UniqueDWARFASTType.cpp \ + UdtRecordCompleter.cpp + +# SymbolFile/PDB +SRCS+= PDBASTParser.cpp \ + PDBLocationToDWARFExpression.cpp \ + SymbolFilePDB.cpp + +# SymbolFile/Symtab +SRCS+= SymbolFileSymtab.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SymbolFile/Breakpad .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SymbolFile/DWARF diff --git a/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile b/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile index cd41bb2a651..05b6db52bae 100644 --- a/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile @@ -1,13 +1,15 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:42 patrick Exp $ LIB= lldbPluginSymbolVendor NOPIC= NOPROFILE= .include -SRCS= SymbolVendorELF.cpp +SRCS= SymbolVendorELF.cpp \ + SymbolVendorWasm.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SymbolVendor/ELF +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SymbolVendor/wasm install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile b/gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile index 2bbd1190f20..e0f7224733b 100644 --- a/gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:42 patrick Exp $ LIB= lldbPluginSystemRuntime NOPIC= @@ -9,7 +9,7 @@ SRCS= AppleGetItemInfoHandler.cpp \ AppleGetPendingItemsHandler.cpp \ AppleGetQueuesHandler.cpp \ AppleGetThreadItemInfoHandler.cpp \ - SystemRuntimeMacOSX.cpp \ + SystemRuntimeMacOSX.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SystemRuntime/MacOSX diff --git a/gnu/usr.bin/clang/liblldbPluginTypeSystem/Makefile b/gnu/usr.bin/clang/liblldbPluginTypeSystem/Makefile new file mode 100644 index 00000000000..7916b040b64 --- /dev/null +++ b/gnu/usr.bin/clang/liblldbPluginTypeSystem/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:42 patrick Exp $ + +LIB= lldbPluginTypeSystem +NOPIC= +NOPROFILE= + +.include +SRCS= TypeSystemClang.cpp \ + +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/TypeSystem/Clang + +install: + @# Nothing here so far ... + +.include + +CPPFLAGS+= ${LLDB_INCLUDES} +CPPFLAGS+= ${CLANG_INCLUDES} diff --git a/gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile b/gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile index 2d782f8ec47..2029128999c 100644 --- a/gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile @@ -1,13 +1,13 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:42 patrick Exp $ LIB= lldbPluginUnwindAssembly NOPIC= NOPROFILE= .include -SRCS= UnwindAssembly-x86.cpp \ - UnwindAssemblyInstEmulation.cpp \ - x86AssemblyInspectionEngine.cpp \ +SRCS= UnwindAssemblyInstEmulation.cpp \ + UnwindAssembly-x86.cpp \ + x86AssemblyInspectionEngine.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/UnwindAssembly/InstEmulation .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/UnwindAssembly/x86 diff --git a/gnu/usr.bin/clang/liblldbSymbol/Makefile b/gnu/usr.bin/clang/liblldbSymbol/Makefile index 03cc8bf2cd7..3620519d0e5 100644 --- a/gnu/usr.bin/clang/liblldbSymbol/Makefile +++ b/gnu/usr.bin/clang/liblldbSymbol/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $ LIB= lldbSymbol NOPIC= @@ -7,17 +7,11 @@ NOPROFILE= .include SRCS= ArmUnwindInfo.cpp \ Block.cpp \ - ClangASTContext.cpp \ - ClangASTImporter.cpp \ - ClangASTMetadata.cpp \ - ClangExternalASTSourceCallbacks.cpp \ - ClangUtil.cpp \ CompactUnwindInfo.cpp \ CompileUnit.cpp \ CompilerDecl.cpp \ CompilerDeclContext.cpp \ CompilerType.cpp \ - CxxModuleHandler.cpp \ DWARFCallFrameInfo.cpp \ DebugMacros.cpp \ Declaration.cpp \ @@ -41,7 +35,7 @@ SRCS= ArmUnwindInfo.cpp \ UnwindPlan.cpp \ UnwindTable.cpp \ Variable.cpp \ - VariableList.cpp \ + VariableList.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Symbol diff --git a/gnu/usr.bin/clang/liblldbTarget/Makefile b/gnu/usr.bin/clang/liblldbTarget/Makefile index 67ba98dbb8a..d1f516ae20e 100644 --- a/gnu/usr.bin/clang/liblldbTarget/Makefile +++ b/gnu/usr.bin/clang/liblldbTarget/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $ LIB= lldbTarget NOPIC= @@ -6,11 +6,12 @@ NOPROFILE= .include SRCS= ABI.cpp \ + AssertFrameRecognizer.cpp \ ExecutionContext.cpp \ - JITLoader.cpp \ - JITLoaderList.cpp \ InstrumentationRuntime.cpp \ InstrumentationRuntimeStopInfo.cpp \ + JITLoader.cpp \ + JITLoaderList.cpp \ Language.cpp \ LanguageRuntime.cpp \ Memory.cpp \ @@ -25,6 +26,7 @@ SRCS= ABI.cpp \ QueueItem.cpp \ QueueList.cpp \ RegisterContext.cpp \ + RegisterContextUnwind.cpp \ RegisterNumber.cpp \ RemoteAwarePlatform.cpp \ SectionLoadHistory.cpp \ @@ -59,9 +61,11 @@ SRCS= ABI.cpp \ ThreadPlanStepThrough.cpp \ ThreadPlanStepUntil.cpp \ ThreadPlanTracer.cpp \ + ThreadPlanStack.cpp \ ThreadSpec.cpp \ UnixSignals.cpp \ UnwindAssembly.cpp \ + UnwindLLDB.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Target diff --git a/gnu/usr.bin/clang/liblldbUtility/Makefile b/gnu/usr.bin/clang/liblldbUtility/Makefile index 8f3cbd3eb10..579e62938d5 100644 --- a/gnu/usr.bin/clang/liblldbUtility/Makefile +++ b/gnu/usr.bin/clang/liblldbUtility/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $ LIB= lldbUtility NOPIC= @@ -34,7 +34,6 @@ SRCS= ArchSpec.cpp \ ReproducerInstrumentation.cpp \ Scalar.cpp \ SelectHelper.cpp \ - SharingPtr.cpp \ State.cpp \ Status.cpp \ Stream.cpp \ @@ -53,6 +52,7 @@ SRCS= ArchSpec.cpp \ UserIDResolver.cpp \ VASprintf.cpp \ VMRange.cpp \ + XcodeSDK.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Utility diff --git a/gnu/usr.bin/clang/lldb-server/Makefile b/gnu/usr.bin/clang/lldb-server/Makefile index 50a571dbedd..af2613e8cdf 100644 --- a/gnu/usr.bin/clang/lldb-server/Makefile +++ b/gnu/usr.bin/clang/lldb-server/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2021/02/10 02:53:43 deraadt Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $ .include @@ -12,12 +12,12 @@ BINDIR= /usr/bin NOMAN= SRCS= Acceptor.cpp \ - LLDBServerUtilities.cpp \ - SystemInitializerLLGS.cpp \ - lldb-platform.cpp \ + lldb.cpp \ lldb-gdbserver.cpp \ + lldb-platform.cpp \ lldb-server.cpp \ - lldb.cpp \ + LLDBServerUtilities.cpp \ + SystemInitializerLLGS.cpp LDADD+= -lcurses -ledit -lpanel @@ -28,10 +28,8 @@ LDADD+= -lcurses -ledit -lpanel LLVM_LIBDEPS= clangAST \ clangAnalysis \ clangBasic \ - clangBasicTargets \ clangCodeGen \ clangDriver \ - clangDriverArch \ clangEdit \ clangFrontend \ clangLex \ @@ -64,7 +62,6 @@ LLVM_LIBDEPS= clangAST \ lldbPluginMemoryHistory \ lldbPluginObjectContainer \ lldbPluginObjectFile \ - lldbPluginOperatingSystem \ lldbPluginPlatform \ lldbPluginProcess \ lldbPluginScriptInterpreter \ @@ -72,6 +69,7 @@ LLVM_LIBDEPS= clangAST \ lldbPluginSymbolFile \ lldbPluginSymbolVendor \ lldbPluginSystemRuntime \ + lldbPluginTypeSystem \ lldbPluginUnwindAssembly \ lldbSymbol \ lldbTarget \ diff --git a/gnu/usr.bin/clang/lldb/Makefile b/gnu/usr.bin/clang/lldb/Makefile index 07f9b6e441a..20ff77ab2c5 100644 --- a/gnu/usr.bin/clang/lldb/Makefile +++ b/gnu/usr.bin/clang/lldb/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2021/02/10 02:53:45 deraadt Exp $ +# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:42 patrick Exp $ .include @@ -27,10 +27,8 @@ CPPFLAGS+= ${CLANG_INCLUDES} LLVM_LIBDEPS= clangAST \ clangAnalysis \ clangBasic \ - clangBasicTargets \ clangCodeGen \ clangDriver \ - clangDriverArch \ clangEdit \ clangFrontend \ clangLex \ @@ -63,7 +61,6 @@ LLVM_LIBDEPS= clangAST \ lldbPluginMemoryHistory \ lldbPluginObjectContainer \ lldbPluginObjectFile \ - lldbPluginOperatingSystem \ lldbPluginPlatform \ lldbPluginProcess \ lldbPluginScriptInterpreter \ @@ -71,6 +68,7 @@ LLVM_LIBDEPS= clangAST \ lldbPluginSymbolFile \ lldbPluginSymbolVendor \ lldbPluginSystemRuntime \ + lldbPluginTypeSystem \ lldbPluginUnwindAssembly \ lldbSymbol \ lldbTarget \ diff --git a/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def b/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def index 369b02abe14..87abacdea43 100644 --- a/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def +++ b/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def @@ -30,6 +30,6 @@ #define LLVM_LINK_DYLIB 1 #define LLVM_ENABLE_SHARED 0 #define LLVM_DYLIB_COMPONENTS "all" -#define LLVM_DYLIB_VERSION "10" +#define LLVM_DYLIB_VERSION "11" #define LLVM_HAS_GLOBAL_ISEL 1 #define LLVM_TOOLS_INSTALL_DIR "bin" diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 index b5782db0778..c80ef69aa3d 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 @@ -17,17 +17,17 @@ struct AvailableComponent { bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[25]; -} AvailableComponents[84] = { + const char *RequiredLibraries[23]; +} AvailableComponents[85] = { { "aarch64", nullptr, true, { "aarch64info", "aarch64utils", "aarch64desc", "aarch64asmparser", "aarch64codegen", "aarch64disassembler" } }, { "aarch64asmparser", "LLVMAArch64AsmParser", true, { "aarch64desc", "aarch64info", "aarch64utils", "mc", "mcparser", "support" } }, { "aarch64codegen", "LLVMAArch64CodeGen", true, { "aarch64desc", "aarch64info", "aarch64utils", "analysis", "asmprinter", "codegen", "core", "mc", "scalaropts", "selectiondag", "support", "target", "transformutils", "globalisel", "cfguard" } }, - { "aarch64desc", "LLVMAArch64Desc", true, { "aarch64info", "aarch64utils", "mc", "support" } }, + { "aarch64desc", "LLVMAArch64Desc", true, { "aarch64info", "aarch64utils", "mc", "binaryformat", "support" } }, { "aarch64disassembler", "LLVMAArch64Disassembler", true, { "aarch64desc", "aarch64info", "aarch64utils", "mc", "mcdisassembler", "support" } }, { "aarch64info", "LLVMAArch64Info", true, { "support" } }, { "aarch64utils", "LLVMAArch64Utils", true, { "support" } }, { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } }, - { "all", nullptr, true, { "all-targets", "coroutines", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "frontendopenmp", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, + { "all", nullptr, true, { "all-targets", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, { "all-targets", nullptr, true, { "aarch64", "amdgpu" } }, { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } }, { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } }, @@ -50,14 +50,15 @@ struct AvailableComponent { { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } }, { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } }, - { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "support" } }, + { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "debuginfodwarf" } }, { "debuginfomsf", "LLVMDebugInfoMSF", true, { "support" } }, - { "debuginfopdb", "LLVMDebugInfoPDB", true, { "object", "support", "debuginfocodeview", "debuginfomsf" } }, + { "debuginfopdb", "LLVMDebugInfoPDB", true, { "binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf" } }, { "demangle", "LLVMDemangle", true, { } }, { "dlltooldriver", "LLVMDlltoolDriver", true, { "object", "option", "support" } }, { "dwarflinker", "LLVMDWARFLinker", true, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } }, { "engine", nullptr, true, { "interpreter" } }, { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } }, + { "extensions", "LLVMExtensions", true, { "support" } }, { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } }, { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } }, { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } }, @@ -66,13 +67,13 @@ struct AvailableComponent { { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } }, { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } }, { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } }, - { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, + { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } }, { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } }, { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } }, { "lineeditor", "LLVMLineEditor", true, { "support" } }, { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } }, - { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "codegen", "core", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, + { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } }, { "mca", "LLVMMCA", true, { "mc", "support" } }, { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } }, @@ -87,10 +88,10 @@ struct AvailableComponent { { "option", "LLVMOption", true, { "support" } }, { "orcerror", "LLVMOrcError", true, { "support" } }, { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } }, - { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "codegen", "core", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, + { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, { "profiledata", "LLVMProfileData", true, { "core", "support" } }, { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } }, - { "runtimedyld", "LLVMRuntimeDyld", true, { "mc", "object", "support" } }, + { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } }, { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } }, { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } }, { "support", "LLVMSupport", true, { "demangle" } }, diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM index c153070553c..0bcca931c5e 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM @@ -17,10 +17,10 @@ struct AvailableComponent { bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[25]; -} AvailableComponents[84] = { + const char *RequiredLibraries[23]; +} AvailableComponents[85] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } }, - { "all", nullptr, true, { "all-targets", "coroutines", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "frontendopenmp", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, + { "all", nullptr, true, { "all-targets", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, { "all-targets", nullptr, true, { "arm", "amdgpu" } }, { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } }, { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } }, @@ -33,7 +33,7 @@ struct AvailableComponent { { "arm", nullptr, true, { "arminfo", "armutils", "armdesc", "armasmparser", "armcodegen", "armdisassembler" } }, { "armasmparser", "LLVMARMAsmParser", true, { "armdesc", "arminfo", "mc", "mcparser", "support", "armutils" } }, { "armcodegen", "LLVMARMCodeGen", true, { "armdesc", "arminfo", "analysis", "asmprinter", "codegen", "core", "mc", "scalaropts", "selectiondag", "support", "target", "globalisel", "armutils", "transformutils", "cfguard" } }, - { "armdesc", "LLVMARMDesc", true, { "arminfo", "armutils", "mc", "mcdisassembler", "support" } }, + { "armdesc", "LLVMARMDesc", true, { "arminfo", "armutils", "mc", "mcdisassembler", "support", "binaryformat" } }, { "armdisassembler", "LLVMARMDisassembler", true, { "armdesc", "arminfo", "mcdisassembler", "support", "armutils" } }, { "arminfo", "LLVMARMInfo", true, { "support" } }, { "armutils", "LLVMARMUtils", true, { "support" } }, @@ -50,14 +50,15 @@ struct AvailableComponent { { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } }, { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } }, - { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "support" } }, + { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "debuginfodwarf" } }, { "debuginfomsf", "LLVMDebugInfoMSF", true, { "support" } }, - { "debuginfopdb", "LLVMDebugInfoPDB", true, { "object", "support", "debuginfocodeview", "debuginfomsf" } }, + { "debuginfopdb", "LLVMDebugInfoPDB", true, { "binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf" } }, { "demangle", "LLVMDemangle", true, { } }, { "dlltooldriver", "LLVMDlltoolDriver", true, { "object", "option", "support" } }, { "dwarflinker", "LLVMDWARFLinker", true, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } }, { "engine", nullptr, true, { "interpreter" } }, { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } }, + { "extensions", "LLVMExtensions", true, { "support" } }, { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } }, { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } }, { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } }, @@ -66,13 +67,13 @@ struct AvailableComponent { { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } }, { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } }, { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } }, - { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, + { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } }, { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } }, { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } }, { "lineeditor", "LLVMLineEditor", true, { "support" } }, { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } }, - { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "codegen", "core", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, + { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } }, { "mca", "LLVMMCA", true, { "mc", "support" } }, { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } }, @@ -87,10 +88,10 @@ struct AvailableComponent { { "option", "LLVMOption", true, { "support" } }, { "orcerror", "LLVMOrcError", true, { "support" } }, { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } }, - { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "codegen", "core", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, + { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, { "profiledata", "LLVMProfileData", true, { "core", "support" } }, { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } }, - { "runtimedyld", "LLVMRuntimeDyld", true, { "mc", "object", "support" } }, + { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } }, { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } }, { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } }, { "support", "LLVMSupport", true, { "demangle" } }, diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips index 6d22d8566a6..62ac309d8c0 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips @@ -17,10 +17,10 @@ struct AvailableComponent { bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[26]; -} AvailableComponents[83] = { + const char *RequiredLibraries[24]; +} AvailableComponents[84] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } }, - { "all", nullptr, true, { "all-targets", "cfguard", "coroutines", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "frontendopenmp", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, + { "all", nullptr, true, { "all-targets", "cfguard", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, { "all-targets", nullptr, true, { "mips", "amdgpu" } }, { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } }, { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } }, @@ -43,14 +43,15 @@ struct AvailableComponent { { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } }, { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } }, - { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "support" } }, + { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "debuginfodwarf" } }, { "debuginfomsf", "LLVMDebugInfoMSF", true, { "support" } }, - { "debuginfopdb", "LLVMDebugInfoPDB", true, { "object", "support", "debuginfocodeview", "debuginfomsf" } }, + { "debuginfopdb", "LLVMDebugInfoPDB", true, { "binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf" } }, { "demangle", "LLVMDemangle", true, { } }, { "dlltooldriver", "LLVMDlltoolDriver", true, { "object", "option", "support" } }, { "dwarflinker", "LLVMDWARFLinker", true, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } }, { "engine", nullptr, true, { "interpreter" } }, { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } }, + { "extensions", "LLVMExtensions", true, { "support" } }, { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } }, { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } }, { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } }, @@ -59,13 +60,13 @@ struct AvailableComponent { { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } }, { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } }, { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } }, - { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, + { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } }, { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } }, { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } }, { "lineeditor", "LLVMLineEditor", true, { "support" } }, { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } }, - { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "codegen", "core", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, + { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } }, { "mca", "LLVMMCA", true, { "mc", "support" } }, { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } }, @@ -86,10 +87,10 @@ struct AvailableComponent { { "option", "LLVMOption", true, { "support" } }, { "orcerror", "LLVMOrcError", true, { "support" } }, { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } }, - { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "codegen", "core", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, + { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, { "profiledata", "LLVMProfileData", true, { "core", "support" } }, { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } }, - { "runtimedyld", "LLVMRuntimeDyld", true, { "mc", "object", "support" } }, + { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } }, { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } }, { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } }, { "support", "LLVMSupport", true, { "demangle" } }, diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC index b913e96bc3c..a7fa25ce323 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC @@ -17,10 +17,10 @@ struct AvailableComponent { bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[26]; -} AvailableComponents[83] = { + const char *RequiredLibraries[24]; +} AvailableComponents[84] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } }, - { "all", nullptr, true, { "all-targets", "cfguard", "coroutines", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "frontendopenmp", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, + { "all", nullptr, true, { "all-targets", "cfguard", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, { "all-targets", nullptr, true, { "powerpc", "amdgpu" } }, { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } }, { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } }, @@ -43,14 +43,15 @@ struct AvailableComponent { { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } }, { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } }, - { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "support" } }, + { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "debuginfodwarf" } }, { "debuginfomsf", "LLVMDebugInfoMSF", true, { "support" } }, - { "debuginfopdb", "LLVMDebugInfoPDB", true, { "object", "support", "debuginfocodeview", "debuginfomsf" } }, + { "debuginfopdb", "LLVMDebugInfoPDB", true, { "binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf" } }, { "demangle", "LLVMDemangle", true, { } }, { "dlltooldriver", "LLVMDlltoolDriver", true, { "object", "option", "support" } }, { "dwarflinker", "LLVMDWARFLinker", true, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } }, { "engine", nullptr, true, { "interpreter" } }, { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } }, + { "extensions", "LLVMExtensions", true, { "support" } }, { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } }, { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } }, { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } }, @@ -59,13 +60,13 @@ struct AvailableComponent { { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } }, { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } }, { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } }, - { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, + { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } }, { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } }, { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } }, { "lineeditor", "LLVMLineEditor", true, { "support" } }, { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } }, - { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "codegen", "core", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, + { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } }, { "mca", "LLVMMCA", true, { "mc", "support" } }, { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } }, @@ -80,16 +81,16 @@ struct AvailableComponent { { "option", "LLVMOption", true, { "support" } }, { "orcerror", "LLVMOrcError", true, { "support" } }, { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } }, - { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "codegen", "core", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, + { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, { "powerpc", nullptr, true, { "powerpcinfo", "powerpcdesc", "powerpcasmparser", "powerpccodegen", "powerpcdisassembler" } }, { "powerpcasmparser", "LLVMPowerPCAsmParser", true, { "mc", "mcparser", "powerpcdesc", "powerpcinfo", "support" } }, { "powerpccodegen", "LLVMPowerPCCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "mc", "powerpcdesc", "powerpcinfo", "scalaropts", "selectiondag", "support", "target", "transformutils" } }, - { "powerpcdesc", "LLVMPowerPCDesc", true, { "mc", "powerpcinfo", "support" } }, + { "powerpcdesc", "LLVMPowerPCDesc", true, { "mc", "powerpcinfo", "support", "binaryformat" } }, { "powerpcdisassembler", "LLVMPowerPCDisassembler", true, { "mcdisassembler", "powerpcinfo", "support" } }, { "powerpcinfo", "LLVMPowerPCInfo", true, { "support" } }, { "profiledata", "LLVMProfileData", true, { "core", "support" } }, { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } }, - { "runtimedyld", "LLVMRuntimeDyld", true, { "mc", "object", "support" } }, + { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } }, { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } }, { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } }, { "support", "LLVMSupport", true, { "demangle" } }, diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc index 92b37e95b80..1a80f8b0a08 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc @@ -17,10 +17,10 @@ struct AvailableComponent { bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[26]; -} AvailableComponents[83] = { + const char *RequiredLibraries[24]; +} AvailableComponents[84] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } }, - { "all", nullptr, true, { "all-targets", "cfguard", "coroutines", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "frontendopenmp", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, + { "all", nullptr, true, { "all-targets", "cfguard", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, { "all-targets", nullptr, true, { "sparc", "amdgpu" } }, { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } }, { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } }, @@ -43,14 +43,15 @@ struct AvailableComponent { { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } }, { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } }, - { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "support" } }, + { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "debuginfodwarf" } }, { "debuginfomsf", "LLVMDebugInfoMSF", true, { "support" } }, - { "debuginfopdb", "LLVMDebugInfoPDB", true, { "object", "support", "debuginfocodeview", "debuginfomsf" } }, + { "debuginfopdb", "LLVMDebugInfoPDB", true, { "binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf" } }, { "demangle", "LLVMDemangle", true, { } }, { "dlltooldriver", "LLVMDlltoolDriver", true, { "object", "option", "support" } }, { "dwarflinker", "LLVMDWARFLinker", true, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } }, { "engine", nullptr, true, { "interpreter" } }, { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } }, + { "extensions", "LLVMExtensions", true, { "support" } }, { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } }, { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } }, { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } }, @@ -59,13 +60,13 @@ struct AvailableComponent { { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } }, { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } }, { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } }, - { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, + { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } }, { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } }, { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } }, { "lineeditor", "LLVMLineEditor", true, { "support" } }, { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } }, - { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "codegen", "core", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, + { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } }, { "mca", "LLVMMCA", true, { "mc", "support" } }, { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } }, @@ -80,10 +81,10 @@ struct AvailableComponent { { "option", "LLVMOption", true, { "support" } }, { "orcerror", "LLVMOrcError", true, { "support" } }, { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } }, - { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "codegen", "core", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, + { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, { "profiledata", "LLVMProfileData", true, { "core", "support" } }, { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } }, - { "runtimedyld", "LLVMRuntimeDyld", true, { "mc", "object", "support" } }, + { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } }, { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } }, { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } }, { "sparc", nullptr, true, { "sparcinfo", "sparcdesc", "sparcasmparser", "sparccodegen", "sparcdisassembler" } }, diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 index 07c732eda12..295931b6e21 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 @@ -17,10 +17,10 @@ struct AvailableComponent { bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[24]; + const char *RequiredLibraries[22]; } AvailableComponents[84] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } }, - { "all", nullptr, true, { "all-targets", "coroutines", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "frontendopenmp", "fuzzmutate", "gtest_main", "interpreter", "libdriver", "lineeditor", "lto", "mca", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, + { "all", nullptr, true, { "all-targets", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "interpreter", "libdriver", "lineeditor", "lto", "mca", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } }, { "all-targets", nullptr, true, { "x86", "amdgpu" } }, { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } }, { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } }, @@ -43,14 +43,15 @@ struct AvailableComponent { { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } }, { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } }, - { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "support" } }, + { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "debuginfodwarf" } }, { "debuginfomsf", "LLVMDebugInfoMSF", true, { "support" } }, - { "debuginfopdb", "LLVMDebugInfoPDB", true, { "object", "support", "debuginfocodeview", "debuginfomsf" } }, + { "debuginfopdb", "LLVMDebugInfoPDB", true, { "binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf" } }, { "demangle", "LLVMDemangle", true, { } }, { "dlltooldriver", "LLVMDlltoolDriver", true, { "object", "option", "support" } }, { "dwarflinker", "LLVMDWARFLinker", true, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } }, { "engine", nullptr, true, { "mcjit", "native" } }, { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } }, + { "extensions", "LLVMExtensions", true, { "support" } }, { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } }, { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } }, { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } }, @@ -59,13 +60,13 @@ struct AvailableComponent { { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } }, { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } }, { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } }, - { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, + { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } }, { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } }, { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } }, { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } }, { "lineeditor", "LLVMLineEditor", true, { "support" } }, { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } }, - { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "codegen", "core", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, + { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } }, { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } }, { "mca", "LLVMMCA", true, { "mc", "support" } }, { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } }, @@ -80,10 +81,10 @@ struct AvailableComponent { { "option", "LLVMOption", true, { "support" } }, { "orcerror", "LLVMOrcError", true, { "support" } }, { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } }, - { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "codegen", "core", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, + { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } }, { "profiledata", "LLVMProfileData", true, { "core", "support" } }, { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } }, - { "runtimedyld", "LLVMRuntimeDyld", true, { "mc", "object", "support" } }, + { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } }, { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } }, { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } }, { "support", "LLVMSupport", true, { "demangle" } }, @@ -95,12 +96,11 @@ struct AvailableComponent { { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } }, { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } }, { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } }, - { "x86", nullptr, true, { "x86info", "x86utils", "x86desc", "x86codegen", "x86asmparser", "x86disassembler" } }, + { "x86", nullptr, true, { "x86info", "x86desc", "x86codegen", "x86asmparser", "x86disassembler" } }, { "x86asmparser", "LLVMX86AsmParser", true, { "mc", "mcparser", "support", "x86desc", "x86info" } }, - { "x86codegen", "LLVMX86CodeGen", true, { "analysis", "asmprinter", "codegen", "core", "mc", "selectiondag", "support", "target", "x86desc", "x86info", "x86utils", "globalisel", "profiledata", "cfguard" } }, - { "x86desc", "LLVMX86Desc", true, { "mc", "mcdisassembler", "object", "support", "x86info", "x86utils" } }, + { "x86codegen", "LLVMX86CodeGen", true, { "analysis", "asmprinter", "codegen", "core", "mc", "selectiondag", "support", "target", "x86desc", "x86info", "globalisel", "profiledata", "cfguard" } }, + { "x86desc", "LLVMX86Desc", true, { "mc", "mcdisassembler", "support", "x86info", "binaryformat" } }, { "x86disassembler", "LLVMX86Disassembler", true, { "mcdisassembler", "support", "x86info" } }, { "x86info", "LLVMX86Info", true, { "support" } }, - { "x86utils", "LLVMX86Utils", true, { "support" } }, { "xray", "LLVMXRay", true, { "support", "object" } }, }; diff --git a/gnu/usr.bin/clang/llvm-config/Makefile b/gnu/usr.bin/clang/llvm-config/Makefile index a558482af82..07f5f8c639c 100644 --- a/gnu/usr.bin/clang/llvm-config/Makefile +++ b/gnu/usr.bin/clang/llvm-config/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/09 15:56:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $ PROG= llvm-config BINDIR= /usr/bin NATIVE_ARCHS=AArch64 ARM Mips PowerPC Sparc X86 -PYTHON= python2 +PYTHON= python3 LLVMBUILD= ${.CURDIR}/../../../llvm/llvm/utils/llvm-build/llvm-build .include diff --git a/gnu/usr.bin/clang/llvm-tblgen/Makefile b/gnu/usr.bin/clang/llvm-tblgen/Makefile index 664dafc70bf..436e5fe51ee 100644 --- a/gnu/usr.bin/clang/llvm-tblgen/Makefile +++ b/gnu/usr.bin/clang/llvm-tblgen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.12 2021/04/28 12:55:42 patrick Exp $ PROG= llvm-tblgen NOMAN= @@ -8,10 +8,8 @@ SRCS= AsmMatcherEmitter.cpp \ AsmWriterEmitter.cpp \ AsmWriterInst.cpp \ Attributes.cpp \ - CTagsEmitter.cpp \ CallingConvEmitter.cpp \ CodeEmitterGen.cpp \ - CodeExpander.cpp \ CodeGenDAGPatterns.cpp \ CodeGenHwModes.cpp \ CodeGenInstruction.cpp \ @@ -26,22 +24,16 @@ SRCS= AsmMatcherEmitter.cpp \ DAGISelMatcher.cpp \ DFAEmitter.cpp \ DFAPacketizerEmitter.cpp \ + DirectiveEmitter.cpp \ DisassemblerEmitter.cpp \ ExegesisEmitter.cpp \ FastISelEmitter.cpp \ FixedLenDecoderEmitter.cpp \ GICombinerEmitter.cpp \ - GIMatchDag.cpp \ - GIMatchDagEdge.cpp \ - GIMatchDagInstr.cpp \ - GIMatchDagOperands.cpp \ - GIMatchDagPredicate.cpp \ - GIMatchDagPredicateDependencyEdge.cpp \ - GIMatchTree.cpp \ GlobalISelEmitter.cpp \ InfoByHwMode.cpp \ - InstrDocsEmitter.cpp \ InstrInfoEmitter.cpp \ + InstrDocsEmitter.cpp \ IntrinsicEmitter.cpp \ OptEmitter.cpp \ OptParserEmitter.cpp \ @@ -57,12 +49,21 @@ SRCS= AsmMatcherEmitter.cpp \ SubtargetFeatureInfo.cpp \ TableGen.cpp \ Types.cpp \ - WebAssemblyDisassemblerEmitter.cpp \ X86DisassemblerTables.cpp \ X86EVEX2VEXTablesEmitter.cpp \ X86FoldTablesEmitter.cpp \ X86ModRMFilters.cpp \ - X86RecognizableInstr.cpp + X86RecognizableInstr.cpp \ + WebAssemblyDisassemblerEmitter.cpp \ + CTagsEmitter.cpp \ + CodeExpander.cpp \ + GIMatchDag.cpp \ + GIMatchDagEdge.cpp \ + GIMatchDagInstr.cpp \ + GIMatchDagOperands.cpp \ + GIMatchDagPredicate.cpp \ + GIMatchDagPredicateDependencyEdge.cpp \ + GIMatchTree.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/utils/TableGen .PATH: ${.CURDIR}/../../../llvm/llvm/utils/TableGen/GlobalISel -- 2.20.1