From 1ad61ae0a79a724d2d3ec69e69c8e1d1ff6b53a0 Mon Sep 17 00:00:00 2001 From: robert Date: Sat, 11 Nov 2023 18:35:35 +0000 Subject: [PATCH] update build infrastructure for llvm-16.0.6 --- gnu/usr.bin/clang/Makefile | 13 +- gnu/usr.bin/clang/Makefile.inc | 30 +++- gnu/usr.bin/clang/clang-tblgen/Makefile | 7 +- gnu/usr.bin/clang/clang/Makefile | 12 +- gnu/usr.bin/clang/clang/clang.1 | 117 ++++++++++----- gnu/usr.bin/clang/include/clang/AST/Makefile | 9 +- .../clang/include/clang/Basic/Makefile | 15 +- .../clang/include/clang/Basic/Version.inc | 11 +- .../clang/include/clang/Config/config.h | 26 ++-- .../clang/include/clang/intrin/Makefile | 50 +++--- .../clang/include/lld/Common/Version.inc | 9 +- gnu/usr.bin/clang/include/lldb/Host/Config.h | 10 +- .../clang/include/lldb/Plugins/Makefile | 30 +++- .../clang/include/lldb/Version/Version.inc | 6 + .../clang/include/llvm/Config/TargetMCAs.def | 32 ++++ .../clang/include/llvm/Config/config.h | 64 +++----- .../include/llvm/Config/llvm-config.h.in | 45 ++++-- .../llvm/ExecutionEngine/JITLink/Makefile | 22 +++ gnu/usr.bin/clang/include/llvm/IR/Makefile | 16 +- gnu/usr.bin/clang/include/llvm/Mips/Makefile | 11 +- gnu/usr.bin/clang/include/llvm/RISCV/Makefile | 27 ++-- .../clang/include/llvm/TargetParser/Makefile | 22 +++ gnu/usr.bin/clang/include/llvm/X86/Makefile | 8 +- gnu/usr.bin/clang/libLLVM/Makefile | 5 + gnu/usr.bin/clang/libLLVM/shlib_version | 2 +- .../clang/libLLVMAArch64CodeGen/Makefile | 6 +- .../clang/libLLVMAArch64Utils/Makefile | 5 +- .../clang/libLLVMAMDGPUCodeGen/Makefile | 46 ++++-- gnu/usr.bin/clang/libLLVMAMDGPUDesc/Makefile | 3 +- gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile | 4 +- gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile | 4 +- gnu/usr.bin/clang/libLLVMAnalysis/Makefile | 17 ++- gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile | 3 +- .../clang/libLLVMBinaryFormat/Makefile | 7 +- gnu/usr.bin/clang/libLLVMCodeGen/Makefile | 35 ++++- gnu/usr.bin/clang/libLLVMCore/Makefile | 6 +- gnu/usr.bin/clang/libLLVMCoroutines/Makefile | 3 +- .../clang/libLLVMDebugInfoCodeView/Makefile | 4 +- .../clang/libLLVMDebugInfoDWARF/Makefile | 3 +- .../clang/libLLVMDebugInfoPDB/Makefile | 36 ++++- gnu/usr.bin/clang/libLLVMDebuginfod/Makefile | 13 ++ gnu/usr.bin/clang/libLLVMDemangle/Makefile | 5 +- .../clang/libLLVMExecutionEngine/Makefile | 53 +++++-- .../clang/libLLVMFrontendHLSL/Makefile | 11 ++ gnu/usr.bin/clang/libLLVMGlobalISel/Makefile | 5 +- gnu/usr.bin/clang/libLLVMIRPrinter/Makefile | 11 ++ .../clang/libLLVMInstrumentation/Makefile | 7 +- gnu/usr.bin/clang/libLLVMLTO/Makefile | 5 +- gnu/usr.bin/clang/libLLVMMC/Makefile | 9 +- gnu/usr.bin/clang/libLLVMMCParser/Makefile | 3 +- gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile | 7 +- gnu/usr.bin/clang/libLLVMObjCopy/Makefile | 53 +++++++ gnu/usr.bin/clang/libLLVMObject/Makefile | 8 +- gnu/usr.bin/clang/libLLVMPasses/Makefile | 9 +- .../clang/libLLVMPowerPCCodeGen/Makefile | 6 +- gnu/usr.bin/clang/libLLVMProfileData/Makefile | 7 +- .../clang/libLLVMRISCVCodeGen/Makefile | 22 ++- gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile | 8 +- gnu/usr.bin/clang/libLLVMScalarOpts/Makefile | 6 +- gnu/usr.bin/clang/libLLVMSupport/Makefile | 92 +++++++----- .../clang/libLLVMSupport/Makefile.shared | 92 +++++++----- gnu/usr.bin/clang/libLLVMSymbolize/Makefile | 6 +- gnu/usr.bin/clang/libLLVMTableGen/Makefile | 10 +- .../clang/libLLVMTargetParser/Makefile | 19 +++ .../clang/libLLVMTransformUtils/Makefile | 16 +- gnu/usr.bin/clang/libLLVMVectorize/Makefile | 4 +- .../clang/libLLVMWindowsDriver/Makefile | 8 + gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile | 7 +- gnu/usr.bin/clang/libLLVMX86Desc/Makefile | 4 +- gnu/usr.bin/clang/libLLVMipo/Makefile | 4 +- gnu/usr.bin/clang/libclangAST/Makefile | 22 ++- .../clang/libclangASTMatchers/Makefile | 28 ++++ gnu/usr.bin/clang/libclangAnalysis/Makefile | 7 +- gnu/usr.bin/clang/libclangBasic/Makefile | 9 +- .../clang/libclangBasicTargets/Makefile | 8 +- gnu/usr.bin/clang/libclangCodeGen/Makefile | 6 +- gnu/usr.bin/clang/libclangDriver/Makefile | 13 +- gnu/usr.bin/clang/libclangExtractAPI/Makefile | 29 ++++ gnu/usr.bin/clang/libclangFrontend/Makefile | 6 +- gnu/usr.bin/clang/libclangIndex/Makefile | 26 ++++ gnu/usr.bin/clang/libclangLex/Makefile | 6 +- gnu/usr.bin/clang/libclangParse/Makefile | 4 +- gnu/usr.bin/clang/libclangSema/Makefile | 6 +- gnu/usr.bin/clang/libclangSupport/Makefile | 18 +++ gnu/usr.bin/clang/liblldCommon/Makefile | 4 +- gnu/usr.bin/clang/liblldELF/Makefile | 11 +- gnu/usr.bin/clang/liblldbABI/Makefile | 3 +- gnu/usr.bin/clang/liblldbAPI/Makefile | 3 +- gnu/usr.bin/clang/liblldbCommands/Makefile | 6 +- gnu/usr.bin/clang/liblldbCore/Makefile | 6 +- gnu/usr.bin/clang/liblldbExpression/Makefile | 3 +- gnu/usr.bin/clang/liblldbHostCommon/Makefile | 6 +- gnu/usr.bin/clang/liblldbHostPOSIX/Makefile | 3 +- gnu/usr.bin/clang/liblldbInterpreter/Makefile | 4 +- .../liblldbPluginExpressionParser/Makefile | 4 +- .../clang/liblldbPluginLanguage/Makefile | 11 +- .../clang/liblldbPluginObjectFile/Makefile | 3 +- .../clang/liblldbPluginPlatform/Makefile | 5 +- .../clang/liblldbPluginProcess/Makefile | 13 +- .../liblldbPluginScriptInterpreter/Makefile | 3 +- .../clang/liblldbPluginSymbolFile/Makefile | 4 +- .../clang/liblldbPluginSymbolVendor/Makefile | 4 +- gnu/usr.bin/clang/liblldbSymbol/Makefile | 5 +- gnu/usr.bin/clang/liblldbTarget/Makefile | 8 +- gnu/usr.bin/clang/liblldbUtility/Makefile | 10 +- gnu/usr.bin/clang/lld/Makefile | 10 +- gnu/usr.bin/clang/lldb-server/Makefile | 9 +- gnu/usr.bin/clang/lldb/Makefile | 9 +- gnu/usr.bin/clang/llvm-ar/Makefile | 11 +- gnu/usr.bin/clang/llvm-ar/ar.1 | 72 +++++++-- gnu/usr.bin/clang/llvm-ar/ranlib.1 | 10 +- .../clang/llvm-config/BuildVariables.inc.def | 9 +- .../llvm-config/ExtensionDependencies.inc | 10 +- .../LibraryDependencies.inc.AArch64 | 115 +++++++------- .../llvm-config/LibraryDependencies.inc.ARM | 115 +++++++------- .../llvm-config/LibraryDependencies.inc.Mips | 115 +++++++------- .../LibraryDependencies.inc.PowerPC | 113 +++++++------- .../llvm-config/LibraryDependencies.inc.RISCV | 116 +++++++------- .../llvm-config/LibraryDependencies.inc.Sparc | 115 +++++++------- .../llvm-config/LibraryDependencies.inc.X86 | 114 +++++++------- gnu/usr.bin/clang/llvm-config/Makefile | 9 +- gnu/usr.bin/clang/llvm-config/llvm-config.1 | 142 ++++++++++++++---- gnu/usr.bin/clang/llvm-cov/llvm-cov.1 | 93 +++++++++--- gnu/usr.bin/clang/llvm-objcopy/Makefile | 68 +-------- gnu/usr.bin/clang/llvm-objcopy/strip.1 | 25 ++- gnu/usr.bin/clang/llvm-objdump/Makefile | 3 +- gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 | 83 ++++++++-- gnu/usr.bin/clang/llvm-profdata/Makefile | 6 +- .../clang/llvm-profdata/llvm-profdata.1 | 133 ++++++++++------ gnu/usr.bin/clang/llvm-readobj/Makefile | 6 +- gnu/usr.bin/clang/llvm-readobj/llvm-readelf.1 | 38 ++++- gnu/usr.bin/clang/llvm-readobj/llvm-readobj.1 | 53 ++++++- gnu/usr.bin/clang/llvm-tblgen/Makefile | 27 ++-- 133 files changed, 2173 insertions(+), 1054 deletions(-) create mode 100644 gnu/usr.bin/clang/include/lldb/Version/Version.inc create mode 100644 gnu/usr.bin/clang/include/llvm/Config/TargetMCAs.def create mode 100644 gnu/usr.bin/clang/include/llvm/ExecutionEngine/JITLink/Makefile create mode 100644 gnu/usr.bin/clang/include/llvm/TargetParser/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMDebuginfod/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMFrontendHLSL/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMIRPrinter/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMObjCopy/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMTargetParser/Makefile create mode 100644 gnu/usr.bin/clang/libLLVMWindowsDriver/Makefile create mode 100644 gnu/usr.bin/clang/libclangASTMatchers/Makefile create mode 100644 gnu/usr.bin/clang/libclangExtractAPI/Makefile create mode 100644 gnu/usr.bin/clang/libclangIndex/Makefile create mode 100644 gnu/usr.bin/clang/libclangSupport/Makefile diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile index e1fad024f39..093b3ccd9f7 100644 --- a/gnu/usr.bin/clang/Makefile +++ b/gnu/usr.bin/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.26 2022/08/08 09:25:13 fcambus Exp $ +# $OpenBSD: Makefile,v 1.27 2023/11/11 18:35:35 robert Exp $ .include @@ -9,9 +9,11 @@ SUBDIR= include/llvm/Config SUBDIR+=libLLVMSupport SUBDIR+=libLLVMTableGen SUBDIR+=llvm-tblgen +SUBDIR+=include/llvm/ExecutionEngine/JITLink SUBDIR+=include/llvm/IR SUBDIR+=include/llvm/Frontend/OpenACC SUBDIR+=include/llvm/Frontend/OpenMP +SUBDIR+=include/llvm/TargetParser .for arch in ${LLVM_ARCHS} .if "${arch}" == ${LLVM_ARCH} || "${arch}" == "AMDGPU" || make(obj) @@ -22,13 +24,17 @@ SUBDIR+=include/llvm/${arch} SUBDIR+=libLLVM SUBDIR+=llvm-config +SUBDIR+=libclangSupport + SUBDIR+=clang-tblgen SUBDIR+=include/clang SUBDIR+=libclangBasic +SUBDIR+=libclangBasicTargets SUBDIR+=libclangLex SUBDIR+=libclangParse SUBDIR+=libclangAST +SUBDIR+=libclangASTMatchers SUBDIR+=libclangSema SUBDIR+=libclangCodeGen SUBDIR+=libclangAnalysis @@ -39,18 +45,18 @@ SUBDIR+=libclangSerialization SUBDIR+=libclangFrontend SUBDIR+=libclangRewriteFrontend SUBDIR+=libclangFrontendTool +SUBDIR+=libclangExtractAPI +SUBDIR+=libclangIndex SUBDIR+=clang SUBDIR+=include/lld/ELF SUBDIR+=liblldCommon -SUBDIR+=liblldCore SUBDIR+=liblldELF SUBDIR+=lld - .if ${BUILD_LLDB:L} == "yes" || make(obj) SUBDIR+=lldb-tblgen SUBDIR+=include/lldb/Commands @@ -100,6 +106,7 @@ SUBDIR+=lldb SUBDIR+=lldb-server .endif +SUBDIR+=libLLVMObjCopy SUBDIR+=include/llvm-objcopy SUBDIR+=llvm-objcopy SUBDIR+=include/llvm-objdump diff --git a/gnu/usr.bin/clang/Makefile.inc b/gnu/usr.bin/clang/Makefile.inc index 1453b5e27d0..f3f959cb00a 100644 --- a/gnu/usr.bin/clang/Makefile.inc +++ b/gnu/usr.bin/clang/Makefile.inc @@ -1,10 +1,12 @@ -# $OpenBSD: Makefile.inc,v 1.26 2022/05/12 15:51:23 gkoehler Exp $ +# $OpenBSD: Makefile.inc,v 1.27 2023/11/11 18:35:35 robert Exp $ CLANG_SRCS?= ${.CURDIR}/../../../llvm/clang LLDB_SRCS?= ${.CURDIR}/../../../llvm/lldb LLD_SRCS?= ${.CURDIR}/../../../llvm/lld LLVM_SRCS?= ${.CURDIR}/../../../llvm/llvm +DRIVER_TEMPLATE?=no + .if ${COMPILER_VERSION:L} != "clang" CC= clang CXX= clang++ @@ -49,18 +51,24 @@ TRIPLE= armv7-unknown-openbsd${OSREV}-gnueabi .else TRIPLE= ${MACHINE_ARCH}-unknown-openbsd${OSREV} .endif -CPPFLAGS+= -DLLVM_PREFIX=\"/usr\" .include "Makefile.arch" # upstream defaults CFLAGS+= -ffunction-sections -fdata-sections -CXXFLAGS+= -std=c++14 +CXXFLAGS+= -ffunction-sections -fdata-sections +CXXFLAGS+= -std=c++17 CXXFLAGS+= -fvisibility-inlines-hidden CXXFLAGS+= -fno-exceptions -fno-rtti +CXXFLAGS+= -fno-semantic-interposition # warnings (from upstream) -CXXFLAGS+= -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual \ - -Wno-missing-field-initializers -pedantic -Wno-long-long \ - -Wdelete-non-virtual-dtor -Wno-comment +CXXFLAGS+= -Wall -Wc++98-compat-extra-semi -Wcast-qual \ + -Wcovered-switch-default -Wctad-maybe-unsupported \ + -Wdelete-non-virtual-dtor -Werror=date-time \ + -Werror=unguarded-availability-new -Wextra \ + -Wimplicit-fallthrough -Wmisleading-indentation \ + -Wmissing-field-initializers -Wno-long-long -Wno-noexcept-type \ + -Wno-unused-parameter -Wnon-virtual-dtor -Wstring-conversion \ + -Wsuggest-override -Wwrite-strings LDADD+=-Wl,--start-group .for lib in ${LLVM_LIBDEPS} @@ -68,3 +76,13 @@ DPADD+= ${.OBJDIR}/../lib${lib}/lib${lib}.a LDADD+= ${.OBJDIR}/../lib${lib}/lib${lib}.a .endfor LDADD+=-Wl,--end-group + +.if ${DRIVER_TEMPLATE:L} == "yes" +DRIVER_NAME?= ${PROG:S/-/_/g} +CLEANFILES+= ${DRIVER_NAME}_main.cpp +SRCS+= ${DRIVER_NAME}_main.cpp + +${DRIVER_NAME}_main.cpp: + sed "s,@TOOL_NAME@,${DRIVER_NAME},g" \ + ${LLVM_SRCS}/cmake/modules/llvm-driver-template.cpp.in > $@ +.endif diff --git a/gnu/usr.bin/clang/clang-tblgen/Makefile b/gnu/usr.bin/clang/clang-tblgen/Makefile index 7a6d51491ab..b6d7d86afc8 100644 --- a/gnu/usr.bin/clang/clang-tblgen/Makefile +++ b/gnu/usr.bin/clang/clang-tblgen/Makefile @@ -1,9 +1,12 @@ -# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:44 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:35 robert Exp $ PROG= clang-tblgen NOMAN= +CPPFLAGS+= ${CLANG_INCLUDES} + .include + SRCS= ASTTableGen.cpp \ ClangASTNodesEmitter.cpp \ ClangASTPropertiesEmitter.cpp \ @@ -27,7 +30,7 @@ SRCS= ASTTableGen.cpp \ .PATH: ${.CURDIR}/../../../llvm/clang/utils/TableGen -LLVM_LIBDEPS= LLVMTableGen LLVMSupport +LLVM_LIBDEPS= LLVMTableGen LLVMSupport clangSupport install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/clang/Makefile b/gnu/usr.bin/clang/clang/Makefile index 9650ba29699..c7e5ccbb780 100644 --- a/gnu/usr.bin/clang/clang/Makefile +++ b/gnu/usr.bin/clang/clang/Makefile @@ -1,11 +1,13 @@ -# $OpenBSD: Makefile,v 1.18 2023/01/05 22:17:43 deraadt Exp $ +# $OpenBSD: Makefile,v 1.19 2023/11/11 18:35:35 robert Exp $ .include +DRIVER_TEMPLATE=Yes + PROG= clang BINDIR= /usr/bin LIBEXECDIR=/usr/libexec -SRCS= driver.cpp \ +SRCS+= driver.cpp \ cc1_main.cpp \ cc1as_main.cpp \ cc1gen_reproducer_main.cpp @@ -45,7 +47,11 @@ LLVM_LIBDEPS= LLVM \ clangAnalysis \ clangEdit \ clangAST \ + clangASTMatchers \ clangLex \ - clangBasic + clangBasic \ + clangExtractAPI \ + clangSupport \ + clangIndex .include diff --git a/gnu/usr.bin/clang/clang/clang.1 b/gnu/usr.bin/clang/clang/clang.1 index 8f8baf850b9..3a0e5d4ecb0 100644 --- a/gnu/usr.bin/clang/clang/clang.1 +++ b/gnu/usr.bin/clang/clang/clang.1 @@ -1,8 +1,5 @@ .\" Man page generated from reStructuredText. . -.TH "CLANG, CLANG++, CLANG-CPP" "1" "Aug 29, 2021" "13" "Clang" -.SH NAME -clang, clang++, clang-cpp \- the Clang C, C++, and Objective-C compiler . .nr rst2man-indent-level 0 . @@ -30,6 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. +.TH "CLANG, CLANG++, CLANG-CPP" "1" "Oct 21, 2023" "16" "Clang" +.SH NAME +clang, clang++, clang-cpp \- the Clang C, C++, and Objective-C compiler .SH SYNOPSIS .sp \fBclang\fP [\fIoptions\fP] \fIfilename ...\fP @@ -52,8 +52,8 @@ transparently use it to run the other tools. .B Preprocessing This stage handles tokenization of the input source file, macro expansion, #include expansion and handling of other preprocessor directives. The -output of this stage is typically called a ".i" (for C), ".ii" (for C++), -".mi" (for Objective\-C), or ".mii" (for Objective\-C++) file. +output of this stage is typically called a \(dq.i\(dq (for C), \(dq.ii\(dq (for C++), +\(dq.mi\(dq (for Objective\-C), or \(dq.mii\(dq (for Objective\-C++) file. .TP .B Parsing and Semantic Analysis This stage parses the input file, translating preprocessor tokens into a @@ -61,27 +61,27 @@ parse tree. Once in the form of a parse tree, it applies semantic analysis to compute types for expressions as well and determine whether the code is well formed. This stage is responsible for generating most of the compiler warnings as well as parse errors. The output of this stage is -an "Abstract Syntax Tree" (AST). +an \(dqAbstract Syntax Tree\(dq (AST). .TP .B Code Generation and Optimization This stage translates an AST into low\-level intermediate code (known as -"LLVM IR") and ultimately to machine code. This phase is responsible for +\(dqLLVM IR\(dq) and ultimately to machine code. This phase is responsible for optimizing the generated code and handling target\-specific code generation. -The output of this stage is typically called a ".s" file or "assembly" file. +The output of this stage is typically called a \(dq.s\(dq file or \(dqassembly\(dq file. .sp Clang also supports the use of an integrated assembler, in which the code generator produces object files directly. This avoids the overhead of -generating the ".s" file and of calling the target assembler. +generating the \(dq.s\(dq file and of calling the target assembler. .TP .B Assembler This stage runs the target assembler to translate the output of the compiler into a target object file. The output of this stage is typically -called a ".o" file or "object" file. +called a \(dq.o\(dq file or \(dqobject\(dq file. .TP .B Linker This stage runs the target linker to merge multiple object files into an executable or dynamic library. The output of this stage is typically called -an "a.out", ".dylib" or ".so" file. +an \(dqa.out\(dq, \(dq.dylib\(dq or \(dq.so\(dq file. .UNINDENT .sp \fBClang Static Analyzer\fP @@ -100,7 +100,7 @@ Run the preprocessor stage. .INDENT 0.0 .TP .B \-fsyntax\-only -Run the preprocessor, parser and type checking stages. +Run the preprocessor, parser and semantic analysis stages. .UNINDENT .INDENT 0.0 .TP @@ -111,7 +111,7 @@ and target\-specific code generation, producing an assembly file. .INDENT 0.0 .TP .B \-c -Run all of the above, plus the assembler, generating a target ".o" object file. +Run all of the above, plus the assembler, generating a target \(dq.o\(dq object file. .UNINDENT .INDENT 0.0 .TP @@ -304,27 +304,45 @@ ISO C++ 2017 with amendments and GNU extensions .UNINDENT .UNINDENT .nf -\fBc++2a\fP +\fBc++20\fP +.fi +.sp +.INDENT 0.0 +.INDENT 3.5 +ISO C++ 2020 with amendments +.UNINDENT +.UNINDENT +.nf +\fBgnu++20\fP +.fi +.sp +.INDENT 0.0 +.INDENT 3.5 +ISO C++ 2020 with amendments and GNU extensions +.UNINDENT +.UNINDENT +.nf +\fBc++2b\fP .fi .sp .INDENT 0.0 .INDENT 3.5 -Working draft for ISO C++ 2020 +Working draft for ISO C++ 2023 .UNINDENT .UNINDENT .nf -\fBgnu++2a\fP +\fBgnu++2b\fP .fi .sp .INDENT 0.0 .INDENT 3.5 -Working draft for ISO C++ 2020 with GNU extensions +Working draft for ISO C++ 2023 with GNU extensions .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp -The default C++ language standard is \fBgnu++14\fP\&. +The default C++ language standard is \fBgnu++17\fP\&. .sp Supported values for the OpenCL language are: .INDENT 7.0 @@ -423,8 +441,26 @@ implementations, as these are needed for efficient codegen for many programs. .INDENT 0.0 .TP .B \-fno\-builtin -Disable special handling and optimizations of builtin functions like -\fBstrlen()\fP and \fBmalloc()\fP\&. +Disable special handling and optimizations of well\-known library functions, +like \fBstrlen()\fP and \fBmalloc()\fP\&. +.UNINDENT +.INDENT 0.0 +.TP +.B \-fno\-builtin\- +Disable special handling and optimizations for the specific library function. +For example, \fB\-fno\-builtin\-strlen\fP removes any special handling for the +\fBstrlen()\fP library function. +.UNINDENT +.INDENT 0.0 +.TP +.B \-fno\-builtin\-std\- +Disable special handling and optimizations for the specific C++ standard +library function in namespace \fBstd\fP\&. For example, +\fB\-fno\-builtin\-std\-move_if_noexcept\fP removes any special handling for the +\fBstd::move_if_noexcept()\fP library function. +.sp +For C standard library functions that the C++ standard library also provides +in namespace \fBstd\fP, use \fI\%\-fno\-builtin\-\fP instead. .UNINDENT .INDENT 0.0 .TP @@ -434,7 +470,7 @@ Indicate that math functions should be treated as updating \fBerrno\fP\&. .INDENT 0.0 .TP .B \-fpascal\-strings -Enable support for Pascal\-style strings with "\epfoo". +Enable support for Pascal\-style strings with \(dq\epfoo\(dq. .UNINDENT .INDENT 0.0 .TP @@ -478,13 +514,13 @@ overall bit\-width .INDENT 0.0 .TP .B \-fblocks -Enable the "Blocks" language feature. +Enable the \(dqBlocks\(dq language feature. .UNINDENT .INDENT 0.0 .TP .B \-fobjc\-abi\-version=version Select the Objective\-C ABI version to use. Available versions are 1 (legacy -"fragile" ABI), 2 (non\-fragile ABI 1), and 3 (non\-fragile ABI 2). +\(dqfragile\(dq ABI), 2 (non\-fragile ABI 1), and 3 (non\-fragile ABI 2). .UNINDENT .INDENT 0.0 .TP @@ -508,7 +544,12 @@ number of cross compilers, or may only support a native target. .INDENT 0.0 .TP .B \-arch -Specify the architecture to build for. +Specify the architecture to build for (Mac OS X specific). +.UNINDENT +.INDENT 0.0 +.TP +.B \-target +Specify the architecture to build for (all platforms). .UNINDENT .INDENT 0.0 .TP @@ -549,7 +590,7 @@ but which may not exist on earlier ones. Specify which optimization level to use: .INDENT 7.0 .INDENT 3.5 -\fI\%\-O0\fP Means "no optimization": this level compiles the fastest and +\fI\%\-O0\fP Means \(dqno optimization\(dq: this level compiles the fastest and generates the most debuggable code. .sp \fI\%\-O1\fP Somewhere between \fI\%\-O0\fP and \fI\%\-O2\fP\&. @@ -593,9 +634,9 @@ best at \fI\%\-O0\fP\&. When more than one option starting with \fI\-g\fP is specified, the last one wins: .INDENT 7.0 .INDENT 3.5 -\fB\-g\fP Generate debug information. +\fI\%\-g\fP Generate debug information. .sp -\fB\-gline\-tables\-only\fP Generate only line table debug information. This +\fI\%\-gline\-tables\-only\fP Generate only line table debug information. This allows for symbolicated backtraces with inlining information, but does not include any information about variables, their locations or types. .sp @@ -626,7 +667,7 @@ needed by a module and could be replaced with a forward declaration. Further, Clang will only emit type info for a dynamic C++ class in the module that contains the vtable for the class. .sp -The \fB\-fstandalone\-debug\fP option turns off these optimizations. +The \fI\%\-fstandalone\-debug\fP option turns off these optimizations. This is useful when working with 3rd\-party libraries that don\(aqt come with debug information. This is the default on Darwin. Note that Clang will never emit type information for types that are not referenced at all by the @@ -667,8 +708,8 @@ It can be disabled with \fI\%\-fno\-common\fP\&. .TP .B \-ftls\-model= Set the default thread\-local storage (TLS) model to use for thread\-local -variables. Valid values are: "global\-dynamic", "local\-dynamic", -"initial\-exec" and "local\-exec". The default is "global\-dynamic". The default +variables. Valid values are: \(dqglobal\-dynamic\(dq, \(dqlocal\-dynamic\(dq, +\(dqinitial\-exec\(dq and \(dqlocal\-exec\(dq. The default is \(dqglobal\-dynamic\(dq. The default model can be overridden with the tls_model attribute. The compiler will try to choose a more efficient model if possible. .UNINDENT @@ -680,16 +721,16 @@ When used with \fI\%\-S\fP this generates LLVM intermediate language assembly files, otherwise this generates LLVM bitcode format object files (which may be passed to the linker depending on the stage selection options). .sp -The default for \fI\%\-flto\fP is "full", in which the +The default for \fI\%\-flto\fP is \(dqfull\(dq, in which the LLVM bitcode is suitable for monolithic Link Time Optimization (LTO), where the linker merges all such modules into a single combined module for -optimization. With "thin", ThinLTO +optimization. With \(dqthin\(dq, \fI\%ThinLTO\fP compilation is invoked instead. .sp \fBNOTE:\fP .INDENT 7.0 .INDENT 3.5 -On Darwin, when using \fI\%\-flto\fP along with \fB\-g\fP and +On Darwin, when using \fI\%\-flto\fP along with \fI\%\-g\fP and compiling and linking in separate steps, you also need to pass \fB\-Wl,\-object_path_lto,.o\fP at the linking step to instruct the ld64 linker not to delete the temporary object file generated during Link @@ -764,7 +805,7 @@ Print the full library path of file. .TP .B \-print\-libgcc\-file\-name Print the library path for the currently used compiler runtime library -("libgcc.a" or "libclang_rt.builtins.*.a"). +(\(dqlibgcc.a\(dq or \(dqlibclang_rt.builtins.*.a\(dq). .UNINDENT .INDENT 0.0 .TP @@ -785,8 +826,8 @@ Save intermediate compilation results. .TP .B \-save\-stats, \-save\-stats=cwd, \-save\-stats=obj Save internal code generation (LLVM) statistics to a file in the current -directory (\fI\%\-save\-stats\fP/"\-save\-stats=cwd") or the directory -of the output file ("\-save\-state=obj"). +directory (\fI\%\-save\-stats\fP/\(dq\-save\-stats=cwd\(dq) or the directory +of the output file (\(dq\-save\-state=obj\(dq). .UNINDENT .INDENT 0.0 .TP @@ -894,7 +935,7 @@ Darwin targets. .UNINDENT .SH BUGS .sp -To report bugs, please visit <\fI\%https://bugs.llvm.org/\fP>. Most bug reports should +To report bugs, please visit <\fI\%https://github.com/llvm/llvm\-project/issues/\fP>. Most bug reports should include preprocessed source files (use the \fI\%\-E\fP option) and the full output of the compiler, along with information to reproduce. .SH SEE ALSO @@ -903,6 +944,6 @@ output of the compiler, along with information to reproduce. .SH AUTHOR Maintained by the Clang / LLVM Team () .SH COPYRIGHT -2007-2021, The Clang Team +2007-2023, The Clang Team .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/include/clang/AST/Makefile b/gnu/usr.bin/clang/include/clang/AST/Makefile index 27b1adb73c7..6237efd929a 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.6 2021/04/28 12:55:37 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:35 robert Exp $ .include @@ -24,8 +24,7 @@ GEN= Attrs.inc \ CommentHTMLNamedCharacterReferences.inc \ CommentCommandInfo.inc \ CommentCommandList.inc \ - StmtDataCollectors.inc \ - Opcodes.inc + StmtDataCollectors.inc all: ${GEN} @@ -112,8 +111,4 @@ StmtDataCollectors.inc: ${CLANG_INC}/clang/AST/StmtDataCollectors.td ${TBLGEN} -gen-clang-data-collectors \ -o ${.TARGET} ${.ALLSRC} -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 a46a5f6efde..0dc2436b991 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Makefile +++ b/gnu/usr.bin/clang/include/clang/Basic/Makefile @@ -1,12 +1,12 @@ -# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:44 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:35 robert Exp $ .include TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen CLANG_INC=${.CURDIR}/../../../../../llvm/clang/include -_DIAG= Analysis \ - AST \ +_DIAG= AST \ + Analysis \ Comment \ Common \ CrossTU \ @@ -23,7 +23,7 @@ GEN= GEN+= Diagnostic${_comp}Kinds.inc .endfor -GEN+= DiagnosticGroups.inc \ +GEN+= DiagnosticGroups.inc \ DiagnosticIndexName.inc \ AttrList.inc \ AttrSubMatchRulesList.inc \ @@ -43,7 +43,8 @@ GEN+= DiagnosticGroups.inc \ arm_cde_builtin_sema.inc \ arm_cde_builtin_aliases.inc \ riscv_vector_builtins.inc \ - riscv_vector_builtin_cg.inc + riscv_vector_builtin_cg.inc \ + riscv_vector_builtin_sema.inc all: ${GEN} @@ -145,4 +146,8 @@ riscv_vector_builtin_cg.inc: ${CLANG_INC}/clang/Basic/riscv_vector.td ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-riscv-vector-builtin-codegen \ -o ${.TARGET} ${.ALLSRC} +riscv_vector_builtin_sema.inc: ${CLANG_INC}/clang/Basic/riscv_vector.td + ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-riscv-vector-builtin-sema \ + -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 03e5325502b..aa9db060427 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Version.inc +++ b/gnu/usr.bin/clang/include/clang/Basic/Version.inc @@ -1,9 +1,10 @@ -/* $OpenBSD: Version.inc,v 1.13 2021/12/17 14:55:44 patrick Exp $ */ +/* $OpenBSD: Version.inc,v 1.14 2023/11/11 18:35:35 robert Exp $ */ -#define CLANG_VERSION 13.0.0 -#define CLANG_VERSION_STRING "13.0.0" -#define CLANG_VERSION_MAJOR 13 +#define CLANG_VERSION 16.0.6 +#define CLANG_VERSION_STRING "16.0.6" +#define CLANG_VERSION_MAJOR 16 +#define CLANG_VERSION_MAJOR_STRING "16" #define CLANG_VERSION_MINOR 0 -#define CLANG_VERSION_PATCHLEVEL 0 +#define CLANG_VERSION_PATCHLEVEL 6 #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 02a049bf2be..8843cd5e1db 100644 --- a/gnu/usr.bin/clang/include/clang/Config/config.h +++ b/gnu/usr.bin/clang/include/clang/Config/config.h @@ -6,7 +6,10 @@ #define CLANG_CONFIG_H /* Bug report URL. */ -#define BUG_REPORT_URL "https://bugs.llvm.org/" +#define BUG_REPORT_URL "https://github.com/llvm/llvm-project/issues/" + +/* Default to -fPIE and -pie on Linux. */ +#define CLANG_DEFAULT_PIE_ON_LINUX 1 /* Default linker to use. */ #define CLANG_DEFAULT_LINKER "" @@ -32,14 +35,11 @@ /* Default OpenMP runtime used by -fopenmp. */ #define CLANG_DEFAULT_OPENMP_RUNTIME "libomp" -/* Default architecture for OpenMP offloading to Nvidia GPUs. */ -#define CLANG_OPENMP_NVPTX_DEFAULT_ARCH "" - /* Default architecture for SystemZ. */ -#define CLANG_SYSTEMZ_DEFAULT_ARCH "" +#define CLANG_SYSTEMZ_DEFAULT_ARCH "z10" -/* Multilib suffix for libdir. */ -#define CLANG_LIBDIR_SUFFIX "" +/* Multilib basename for libdir. */ +#define CLANG_INSTALL_LIBDIR_BASENAME "lib" /* Relative directory for resource files */ #define CLANG_RESOURCE_DIR "" @@ -48,8 +48,8 @@ #define C_INCLUDE_DIRS "" /* Directories clang will search for configuration files */ -#define CLANG_CONFIG_FILE_SYSTEM_DIR "" -#define CLANG_CONFIG_FILE_USER_DIR "" +/* #undef CLANG_CONFIG_FILE_SYSTEM_DIR */ +/* #undef CLANG_CONFIG_FILE_USER_DIR */ /* Default to all compiler invocations for --sysroot=. */ #define DEFAULT_SYSROOT "" @@ -63,9 +63,6 @@ /* Define if we have sys/resource.h (rlimits) */ #define CLANG_HAVE_RLIMITS 1 -/* The LLVM product name and version */ -#define BACKEND_PACKAGE_STRING "LLVM 13.0.0" - /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ @@ -73,7 +70,10 @@ /* #undef ENABLE_LINKER_BUILD_ID */ /* enable x86 relax relocations by default */ -#define ENABLE_X86_RELAX_RELOCATIONS 0 +#define ENABLE_X86_RELAX_RELOCATIONS 1 + +/* Enable IEEE binary128 as default long double format on PowerPC Linux. */ +#define PPC_LINUX_DEFAULT_IEEELONGDOUBLE 0 /* Enable each functionality of modules */ #define CLANG_ENABLE_ARCMT 0 diff --git a/gnu/usr.bin/clang/include/clang/intrin/Makefile b/gnu/usr.bin/clang/include/clang/intrin/Makefile index 81f343ec6d0..1ad66a36c55 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.25 2021/12/17 14:55:44 patrick Exp $ +# $OpenBSD: Makefile,v 1.26 2023/11/11 18:35:35 robert Exp $ .include -LLVM_V= 13.0.0 +LLVM_V= 16 CLANG_INTR_INCDIR= /usr/lib/clang/${LLVM_V}/include TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen @@ -11,11 +11,13 @@ CLANG_INC=${.CURDIR}/../../../../../llvm/clang/include .PATH: ${.CURDIR}/../../../../../llvm/clang/lib/Headers GEN= -HEADERS= stdalign.h \ +HEADERS= intrin.h \ + stdalign.h \ stdatomic.h \ stdnoreturn.h \ tgmath.h \ unwind.h \ + vadefs.h \ varargs.h \ module.modulemap \ @@ -28,47 +30,57 @@ 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 \ +HEADERS+= __wmmintrin_aes.h \ + __wmmintrin_pclmul.h \ + adxintrin.h \ ammintrin.h \ + amxfp16intrin.h \ amxintrin.h \ avx2intrin.h \ avx512bf16intrin.h \ - avx512bwintrin.h \ avx512bitalgintrin.h \ - avx512vlbitalgintrin.h \ + avx512bwintrin.h \ avx512cdintrin.h \ - avx512vpopcntdqintrin.h \ avx512dqintrin.h \ avx512erintrin.h \ avx512fintrin.h \ + avx512fp16intrin.h \ avx512ifmaintrin.h \ avx512ifmavlintrin.h \ avx512pfintrin.h \ + avx512vbmi2intrin.h \ avx512vbmiintrin.h \ avx512vbmivlintrin.h \ - avx512vbmi2intrin.h \ - avx512vlvbmi2intrin.h \ avx512vlbf16intrin.h \ + avx512vlbitalgintrin.h \ avx512vlbwintrin.h \ avx512vlcdintrin.h \ avx512vldqintrin.h \ + avx512vlfp16intrin.h \ avx512vlintrin.h \ - avx512vp2intersectintrin.h \ + avx512vlvbmi2intrin.h \ + avx512vlvnniintrin.h \ avx512vlvp2intersectintrin.h \ - avx512vpopcntdqvlintrin.h \ avx512vnniintrin.h \ - avx512vlvnniintrin.h \ + avx512vp2intersectintrin.h \ + avx512vpopcntdqintrin.h \ + avx512vpopcntdqvlintrin.h \ + avxifmaintrin.h \ avxintrin.h \ + avxneconvertintrin.h \ + avxvnniint8intrin.h \ avxvnniintrin.h \ bmi2intrin.h \ bmiintrin.h \ - cetintrin.h \ cet.h \ + cetintrin.h \ cldemoteintrin.h \ - clzerointrin.h \ - cpuid.h \ clflushoptintrin.h \ clwbintrin.h \ + clzerointrin.h \ + cmpccxaddintrin.h \ + cpuid.h \ + crc32intrin.h \ emmintrin.h \ enqcmdintrin.h \ f16cintrin.h \ @@ -84,8 +96,8 @@ HEADERS+= adxintrin.h \ lwpintrin.h \ lzcntintrin.h \ mm3dnow.h \ - mmintrin.h \ mm_malloc.h \ + mmintrin.h \ movdirintrin.h \ mwaitxintrin.h \ nmmintrin.h \ @@ -93,8 +105,11 @@ HEADERS+= adxintrin.h \ pkuintrin.h \ pmmintrin.h \ popcntintrin.h \ + prfchiintrin.h \ prfchwintrin.h \ ptwriteintrin.h \ + raointintrin.h \ + rdpruintrin.h \ rdseedintrin.h \ rtmintrin.h \ serializeintrin.h \ @@ -108,11 +123,8 @@ HEADERS+= adxintrin.h \ vaesintrin.h \ vpclmulqdqintrin.h \ waitpkgintrin.h \ - wasm_simd128.h \ wbnoinvdintrin.h \ wmmintrin.h \ - __wmmintrin_aes.h \ - __wmmintrin_pclmul.h \ x86gprintrin.h \ x86intrin.h \ xmmintrin.h \ diff --git a/gnu/usr.bin/clang/include/lld/Common/Version.inc b/gnu/usr.bin/clang/include/lld/Common/Version.inc index 18f240111e7..79cfd3131fd 100644 --- a/gnu/usr.bin/clang/include/lld/Common/Version.inc +++ b/gnu/usr.bin/clang/include/lld/Common/Version.inc @@ -1,8 +1,3 @@ -/* $OpenBSD: Version.inc,v 1.8 2021/12/17 14:55:44 patrick Exp $ */ +/* $OpenBSD: Version.inc,v 1.9 2023/11/11 18:35:35 robert Exp $ */ -#define LLD_VERSION 13.0.0 -#define LLD_VERSION_STRING "13.0.0" -#define LLD_VERSION_MAJOR 13 -#define LLD_VERSION_MINOR 0 -#define LLD_REVISION_STRING "" -#define LLD_REPOSITORY_STRING "" +#define LLD_VERSION_STRING "16.0.6" diff --git a/gnu/usr.bin/clang/include/lldb/Host/Config.h b/gnu/usr.bin/clang/include/lldb/Host/Config.h index 3a07fd60667..7621af96a98 100644 --- a/gnu/usr.bin/clang/include/lldb/Host/Config.h +++ b/gnu/usr.bin/clang/include/lldb/Host/Config.h @@ -13,16 +13,12 @@ #define LLDB_HAVE_EL_RFUNC_T 1 -#define HAVE_SYS_TYPES_H 1 - #define HAVE_SYS_EVENT_H 1 #define HAVE_PPOLL 1 #define HAVE_PTSNAME_R 0 -#define HAVE_SIGACTION 1 - #define HAVE_PROCESS_VM_READV 0 #define HAVE_NR_PROCESS_VM_READV 0 @@ -49,10 +45,14 @@ #define LLDB_ENABLE_PYTHON 0 +#define LLDB_ENABLE_FBSDVMCORE 0 + #define LLDB_EMBED_PYTHON_HOME 0 #define LLDB_PYTHON_HOME "" -#define LLDB_LIBDIR_SUFFIX "" +#define LLDB_INSTALL_LIBDIR_BASENAME "" + +/* #undef LLDB_GLOBAL_INIT_DIRECTORY */ #endif // #ifndef LLDB_HOST_CONFIG_H diff --git a/gnu/usr.bin/clang/include/lldb/Plugins/Makefile b/gnu/usr.bin/clang/include/lldb/Plugins/Makefile index 46b51d08721..71fa92d9e3a 100644 --- a/gnu/usr.bin/clang/include/lldb/Plugins/Makefile +++ b/gnu/usr.bin/clang/include/lldb/Plugins/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2021/04/28 12:55:38 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2023/11/11 18:35:35 robert Exp $ .include @@ -8,6 +8,10 @@ DEFS= DynamicLoaderDarwinKernelProperties.inc \ DynamicLoaderDarwinKernelPropertiesEnum.inc \ JITLoaderGDBProperties.inc \ JITLoaderGDBPropertiesEnum.inc \ + ObjectFilePECOFFProperties.inc \ + ObjectFilePECOFFPropertiesEnum.inc \ + PlatformMacOSXProperties.inc \ + PlatformMacOSXPropertiesEnum.inc \ ProcessGDBRemoteProperties.inc \ ProcessGDBRemotePropertiesEnum.inc \ StructuredDataDarwinLogProperties.inc \ @@ -47,6 +51,30 @@ JITLoaderGDBPropertiesEnum.inc: \ -I${LLDB_SRCS}/source/Plugins/JITLoader/GDB \ -o ${.TARGET} ${.ALLSRC} +ObjectFilePECOFFProperties.inc: \ + ${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFFProperties.td + ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ + -I${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF \ + -o ${.TARGET} ${.ALLSRC} + +ObjectFilePECOFFPropertiesEnum.inc: \ + ${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFFProperties.td + ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \ + -I${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF \ + -o ${.TARGET} ${.ALLSRC} + +PlatformMacOSXProperties.inc: \ + ${LLDB_SRCS}/source/Plugins/Platform/MacOSX/PlatformMacOSXProperties.td + ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ + -I${LLDB_SRCS}/source/Plugins/Platform/MacOSX \ + -o ${.TARGET} ${.ALLSRC} + +PlatformMacOSXPropertiesEnum.inc: \ + ${LLDB_SRCS}/source/Plugins/Platform/MacOSX/PlatformMacOSXProperties.td + ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \ + -I${LLDB_SRCS}/source/Plugins/Platform/MacOSX \ + -o ${.TARGET} ${.ALLSRC} + ProcessGDBRemoteProperties.inc: \ ${LLDB_SRCS}/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ diff --git a/gnu/usr.bin/clang/include/lldb/Version/Version.inc b/gnu/usr.bin/clang/include/lldb/Version/Version.inc new file mode 100644 index 00000000000..99f8a8e09de --- /dev/null +++ b/gnu/usr.bin/clang/include/lldb/Version/Version.inc @@ -0,0 +1,6 @@ +#define LLDB_VERSION 16.0.6 +#define LLDB_VERSION_STRING "16.0.6" +#define LLDB_VERSION_MAJOR 16 +#define LLDB_VERSION_MINOR 0 +#define LLDB_VERSION_PATCH 6 +/* #undef LLDB_FULL_VERSION_STRING */ diff --git a/gnu/usr.bin/clang/include/llvm/Config/TargetMCAs.def b/gnu/usr.bin/clang/include/llvm/Config/TargetMCAs.def new file mode 100644 index 00000000000..1aefdbc2513 --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm/Config/TargetMCAs.def @@ -0,0 +1,32 @@ +/*===------ llvm/Config/TargetMCAs.def - LLVM Target MCAs -------*- 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 target MCAs *| +|* supported by this build of LLVM. Clients of this file should define *| +|* the LLVM_TARGETMCA macro to be a function-like macro with a *| +|* single parameter (the name of the target whose assembly can be *| +|* generated); including this file will then enumerate all of the *| +|* targets with target MCAs. *| +|* *| +|* The set of targets supported by LLVM is generated at configuration *| +|* time, at which point this header is generated. Do not modify this *| +|* header directly. *| +|* *| +\*===----------------------------------------------------------------------===*/ + +#ifndef LLVM_TARGETMCA +# error Please define the macro LLVM_TARGETMCA(TargetName) +#endif + +LLVM_TARGETMCA(AMDGPU) +LLVM_TARGETMCA(RISCV) +LLVM_TARGETMCA(X86) + + +#undef LLVM_TARGETMCA diff --git a/gnu/usr.bin/clang/include/llvm/Config/config.h b/gnu/usr.bin/clang/include/llvm/Config/config.h index 47049770e43..a149b458268 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/config.h +++ b/gnu/usr.bin/clang/include/llvm/Config/config.h @@ -3,14 +3,17 @@ #ifndef CONFIG_H #define CONFIG_H +// Include this header only under the llvm source tree. +// This is a private header. + /* Exported configuration */ #include "llvm/Config/llvm-config.h" /* Bug report URL. */ -#define BUG_REPORT_URL "https://bugs.llvm.org/" +#define BUG_REPORT_URL "https://github.com/llvm/llvm-project/issues/" /* Define to 1 to enable backtraces, and to 0 otherwise. */ -#define ENABLE_BACKTRACES 1 +#define ENABLE_BACKTRACES 0 /* Define to 1 to enable crash overrides, and to 0 otherwise. */ #define ENABLE_CRASH_OVERRIDES 1 @@ -18,13 +21,17 @@ /* Define to 1 to enable crash memory dumps, and to 0 otherwise. */ #define LLVM_ENABLE_CRASH_DUMPS 0 +/* Define to 1 to prefer forward slashes on Windows, and to 0 prefer + backslashes. */ +#define LLVM_WINDOWS_PREFER_FORWARD_SLASH 0 + /* Define to 1 if you have the `backtrace' function. */ /* #undef HAVE_BACKTRACE */ /* #undef BACKTRACE_HEADER */ /* Define to 1 if you have the header file. */ -#undef HAVE_CRASHREPORTERCLIENT_H +/* #undef HAVE_CRASHREPORTERCLIENT_H */ /* can use __crashreporter_info__ */ #define HAVE_CRASHREPORTER_INFO 0 @@ -45,9 +52,6 @@ don't. */ #define HAVE_DECL_STRERROR_S 0 -/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ -#define LLVM_ENABLE_DIA_SDK 0 - /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 @@ -110,7 +114,7 @@ #define HAVE_ISATTY 1 /* Define to 1 if you have the `edit' library (-ledit). */ -#define HAVE_LIBEDIT 1 +#define HAVE_LIBEDIT TRUE /* Define to 1 if you have the `pfm' library (-lpfm). */ /* #undef HAVE_LIBPFM */ @@ -131,10 +135,7 @@ /* #undef HAVE_PTHREAD_SETNAME_NP */ /* Define to 1 if you have the header file. */ -/* #undef HAVE_LINK_H */ - -/* Define to 1 if you have the `lseek64' function. */ -/* #undef HAVE_LSEEK64 */ +#define HAVE_LINK_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_MACH_MACH_H */ @@ -142,7 +143,7 @@ /* Define to 1 if you have the `mallctl' function. */ /* #undef HAVE_MALLCTL */ -/* Define if mallinfo() is available on this platform. */ +/* Define to 1 if you have the `mallinfo' function. */ /* #undef HAVE_MALLINFO */ /* Define to 1 if you have the `mallinfo2' function. */ @@ -154,18 +155,12 @@ /* Define to 1 if you have the `malloc_zone_statistics' function. */ /* #undef HAVE_MALLOC_ZONE_STATISTICS */ -/* Define to 1 if you have the `posix_fallocate' function. */ -/* #undef HAVE_POSIX_FALLOCATE */ - /* Define to 1 if you have the `posix_spawn' function. */ #define HAVE_POSIX_SPAWN 1 /* Define to 1 if you have the `pread' function. */ #define HAVE_PREAD 1 -/* Have pthread_getspecific */ -#define HAVE_PTHREAD_GETSPECIFIC 1 - /* Define to 1 if you have the header file. */ #define HAVE_PTHREAD_H 1 @@ -197,7 +192,7 @@ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `sysconf' function. */ -/* #undef HAVE_SYSCONF */ +#define HAVE_SYSCONF 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 @@ -218,13 +213,13 @@ #define HAVE_SYS_TIME_H 1 /* Define to 1 if stat struct has st_mtimespec member .*/ -/* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ +#define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1 /* Define to 1 if stat struct has st_mtim member. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_TYPES_H */ +#define HAVE_SYS_TYPES_H 1 /* Define if the setupterm() function is supported this platform. */ /* #undef LLVM_ENABLE_TERMINFO */ @@ -236,7 +231,7 @@ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the header file. */ -/* #define HAVE_VALGRIND_VALGRIND_H 1 */ +/* #undef HAVE_VALGRIND_VALGRIND_H */ /* Have host's _alloca */ /* #undef HAVE__ALLOCA */ @@ -301,19 +296,9 @@ /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ -/* 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-openbsd7.0" */ - -/* Define if zlib compression is available */ -/* #define LLVM_ENABLE_ZLIB 1 */ - /* Define if overriding target triple is enabled */ /* #undef LLVM_TARGET_TRIPLE_ENV */ -/* LLVM version information */ -/* #undef LLVM_VERSION_INFO */ - /* Whether tools show host and target info when invoked with --version */ #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1 @@ -327,26 +312,20 @@ #define LLVM_PLUGIN_EXT ".so" /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "https://bugs.llvm.org/" +#define PACKAGE_BUGREPORT "https://github.com/llvm/llvm-project/issues/" /* 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 13.0.0" +#define PACKAGE_STRING "LLVM 16.0.6" /* Define to the version of this package. */ -#define PACKAGE_VERSION "13.0.0" +#define PACKAGE_VERSION "16.0.6" /* Define to the vendor of this package. */ /* #undef PACKAGE_VENDOR */ -/* Define as the return type of signal handlers (`int' or `void'). */ -#define RETSIGTYPE void - -/* Define if std::is_trivially_copyable is supported */ -#define HAVE_STD_IS_TRIVIALLY_COPYABLE 1 - /* Define to a function implementing stricmp */ /* #undef stricmp */ @@ -359,6 +338,9 @@ /* Define to the default GlobalISel coverage file prefix */ /* #undef LLVM_GISEL_COV_PREFIX */ +/* Whether Timers signpost passes in Xcode Instruments */ +#define LLVM_SUPPORT_XCODE_SIGNPOSTS 0 + /* #undef HAVE_PROC_PID_RUSAGE */ #endif 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 8a7595ba99a..063573efdb6 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 @@ -1,9 +1,9 @@ /*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/ /* */ -/* The LLVM Compiler Infrastructure */ -/* */ -/* This file is distributed under the University of Illinois Open Source */ -/* License. See LICENSE.TXT for details. */ +/* 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 */ /* */ /*===----------------------------------------------------------------------===*/ @@ -48,16 +48,16 @@ #define LLVM_USE_PERF 0 /* Major version of the LLVM API */ -#define LLVM_VERSION_MAJOR 13 +#define LLVM_VERSION_MAJOR 16 /* Minor version of the LLVM API */ #define LLVM_VERSION_MINOR 0 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 0 +#define LLVM_VERSION_PATCH 6 /* LLVM version string */ -#define LLVM_VERSION_STRING "13.0.0" +#define LLVM_VERSION_STRING "16.0.6" /* Whether LLVM records statistics for use with GetStatistics(), * PrintStatistics() or PrintStatisticsJSON() @@ -67,21 +67,34 @@ /* Define if we have z3 and want to build it */ /* #undef LLVM_WITH_Z3 */ -/* Define if LLVM was built with a dependency to the libtensorflow dynamic library */ -/* #undef LLVM_HAVE_TF_API */ +/* Define if we have curl and want to use it */ +/* #undef LLVM_ENABLE_CURL */ + +/* Define if we have cpp-httplib and want to use it */ +/* #undef LLVM_ENABLE_HTTPLIB */ -/* Define if LLVM was built with a dependency to the tensorflow compiler */ -/* #undef LLVM_HAVE_TF_AOT */ +/* Define if zlib compression is available */ +#define LLVM_ENABLE_ZLIB 0 + +/* Define if zstd compression is available */ +#define LLVM_ENABLE_ZSTD 0 /* Define to 1 if you have the header file. */ #define HAVE_SYSEXITS_H 1 -/* Define to 1 to enable the experimental new pass manager by default */ -#define LLVM_ENABLE_NEW_PASS_MANAGER 0 - /* Define if the xar_open() function is supported on this platform. */ /* #undef LLVM_HAVE_LIBXAR */ -/* Whether Timers signpost passes in Xcode Instruments */ -#define LLVM_SUPPORT_XCODE_SIGNPOSTS 0 +/* Define if building LLVM with LLVM_FORCE_USE_OLD_TOOLCHAIN_LIBS */ +/* #undef LLVM_FORCE_USE_OLD_TOOLCHAIN */ + +/* Define if llvm_unreachable should be optimized with undefined behavior + * in non assert builds */ +#define LLVM_UNREACHABLE_OPTIMIZE 1 + +/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ +#define LLVM_ENABLE_DIA_SDK 0 + +/* Define if plugins enabled */ +/* #undef LLVM_ENABLE_PLUGINS */ diff --git a/gnu/usr.bin/clang/include/llvm/ExecutionEngine/JITLink/Makefile b/gnu/usr.bin/clang/include/llvm/ExecutionEngine/JITLink/Makefile new file mode 100644 index 00000000000..67f786ec86b --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm/ExecutionEngine/JITLink/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:35 robert Exp $ + +.include + +LLVM_SRCS= ${.CURDIR}/../../../../../../llvm/llvm + +DEFS= COFFOptions.inc + +all: ${DEFS} + +install: + @# Nothing here so far ... + +clean cleandir: + rm -f ${DEFS} + +COFFOptions.inc: ${LLVM_SRCS}/lib/ExecutionEngine/JITLink/COFFOptions.td + ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-opt-parser-defs \ + -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 76e7134040d..17e6808337b 100644 --- a/gnu/usr.bin/clang/include/llvm/IR/Makefile +++ b/gnu/usr.bin/clang/include/llvm/IR/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:44 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:36 robert Exp $ .include @@ -11,7 +11,9 @@ DEFS= Attributes.inc \ IntrinsicsAMDGPU.h \ IntrinsicsARM.h \ IntrinsicsBPF.h \ + IntrinsicsDirectX.h \ IntrinsicsHexagon.h \ + IntrinsicsLoongArch.h \ IntrinsicsMips.h \ IntrinsicsNVPTX.h \ IntrinsicsPowerPC.h \ @@ -72,12 +74,24 @@ IntrinsicsBPF.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} +IntrinsicsDirectX.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=dx \ + -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + IntrinsicsHexagon.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=hexagon \ -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} +IntrinsicsLoongArch.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=loongarch \ + -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ + -I${LLVM_SRCS}/include \ + -o ${.TARGET} ${.ALLSRC} + IntrinsicsMips.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=mips \ -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 9cee674273f..bbd5687c5f9 100644 --- a/gnu/usr.bin/clang/include/llvm/Mips/Makefile +++ b/gnu/usr.bin/clang/include/llvm/Mips/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:38 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:36 robert Exp $ .include @@ -11,6 +11,7 @@ HDRS= MipsGenAsmMatcher.inc \ MipsGenDisassemblerTables.inc \ MipsGenFastISel.inc \ MipsGenGlobalISel.inc \ + MipsGenPostLegalizeGICombiner.inc \ MipsGenInstrInfo.inc \ MipsGenMCCodeEmitter.inc \ MipsGenMCPseudoLowering.inc \ @@ -62,6 +63,14 @@ MipsGenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ -o ${.TARGET} ${.ALLSRC} +MipsGenPostLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \ + -combiners="MipsPostLegalizerCombinerHelper" \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + MipsGenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ diff --git a/gnu/usr.bin/clang/include/llvm/RISCV/Makefile b/gnu/usr.bin/clang/include/llvm/RISCV/Makefile index 1e616b15960..dc45fe03fea 100644 --- a/gnu/usr.bin/clang/include/llvm/RISCV/Makefile +++ b/gnu/usr.bin/clang/include/llvm/RISCV/Makefile @@ -1,19 +1,22 @@ -# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:44 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2023/11/11 18:35:36 robert Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm -HDRS= RISCVGenAsmMatcher.inc RISCVGenAsmWriter.inc \ - RISCVGenCallingConv.inc RISCVGenDAGISel.inc \ +HDRS= RISCVGenAsmMatcher.inc \ + RISCVGenAsmWriter.inc \ + RISCVGenCompressInstEmitter.inc \ + RISCVGenDAGISel.inc \ RISCVGenDisassemblerTables.inc \ - RISCVGenInstrInfo.inc RISCVGenRegisterInfo.inc \ - RISCVGenSubtargetInfo.inc \ - RISCVGenMCCodeEmitter.inc RISCVGenMCPseudoLowering.inc \ - RISCVGenSearchableTables.inc RISCVGenRegisterBank.inc \ - RISCVGenGlobalISel.inc RISCVGenCompressInstEmitter.inc - -# RISCVGenGICombiner.inc RISCVGenFastISel.inc + RISCVGenGlobalISel.inc \ + RISCVGenInstrInfo.inc \ + RISCVGenMCCodeEmitter.inc \ + RISCVGenMCPseudoLowering.inc \ + RISCVGenRegisterBank.inc \ + RISCVGenRegisterInfo.inc \ + RISCVGenSearchableTables.inc \ + RISCVGenSubtargetInfo.inc all: ${HDRS} @@ -58,8 +61,8 @@ RISCVGenFastISel.inc: ${LLVM_SRCS}/lib/Target/RISCV/RISCV.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/RISCV \ -o ${.TARGET} ${.ALLSRC} -RISCVGenCallingConv.inc: ${LLVM_SRCS}/lib/Target/RISCV/RISCV.td - ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ +RISCVGenCompressInstEmitter.inc: ${LLVM_SRCS}/lib/Target/RISCV/RISCV.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-compress-inst-emitter \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/RISCV \ -o ${.TARGET} ${.ALLSRC} diff --git a/gnu/usr.bin/clang/include/llvm/TargetParser/Makefile b/gnu/usr.bin/clang/include/llvm/TargetParser/Makefile new file mode 100644 index 00000000000..8e29bd066dc --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm/TargetParser/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:36 robert Exp $ + +.include + +LLVM_SRCS= ${.CURDIR}/../../../../../llvm/llvm + +HDRS= RISCVTargetParserDef.inc + +all: ${HDRS} + +install: + @# Nothing here so far ... + +clean cleandir: + rm -f ${HDRS} + +RISCVTargetParserDef.inc: ${LLVM_SRCS}/lib/Target/RISCV/RISCV.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-riscv-target-def \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/RISCV \ + -o ${.TARGET} ${.ALLSRC} + +.include diff --git a/gnu/usr.bin/clang/include/llvm/X86/Makefile b/gnu/usr.bin/clang/include/llvm/X86/Makefile index 81e41340dc7..9894f851e87 100644 --- a/gnu/usr.bin/clang/include/llvm/X86/Makefile +++ b/gnu/usr.bin/clang/include/llvm/X86/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:38 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2023/11/11 18:35:36 robert Exp $ .include @@ -15,6 +15,7 @@ HDRS= X86GenAsmMatcher.inc \ X86GenFastISel.inc \ X86GenGlobalISel.inc \ X86GenInstrInfo.inc \ + X86GenMnemonicTables.inc \ X86GenRegisterBank.inc \ X86GenRegisterInfo.inc \ X86GenSubtargetInfo.inc @@ -82,6 +83,11 @@ X86GenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ -o ${.TARGET} ${.ALLSRC} +X86GenMnemonicTables.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-x86-mnemonic-tables -asmwriternum=1 \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ + -o ${.TARGET} ${.ALLSRC} + X86GenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/X86/X86.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-bank \ -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/X86 \ diff --git a/gnu/usr.bin/clang/libLLVM/Makefile b/gnu/usr.bin/clang/libLLVM/Makefile index be8e783f892..553662c9117 100644 --- a/gnu/usr.bin/clang/libLLVM/Makefile +++ b/gnu/usr.bin/clang/libLLVM/Makefile @@ -25,12 +25,15 @@ .include "../libLLVMDebugInfoDWARF/Makefile" .include "../libLLVMDebugInfoMSF/Makefile" .include "../libLLVMDebugInfoPDB/Makefile" +.include "../libLLVMDebuginfod/Makefile" .include "../libLLVMDemangle/Makefile" .include "../libLLVMExecutionEngine/Makefile" +.include "../libLLVMFrontendHLSL/Makefile" .include "../libLLVMFrontendOpenACC/Makefile" .include "../libLLVMFrontendOpenMP/Makefile" .include "../libLLVMGlobalISel/Makefile" .include "../libLLVMIRReader/Makefile" +.include "../libLLVMIRPrinter/Makefile" .include "../libLLVMInstCombine/Makefile" .include "../libLLVMInstrumentation/Makefile" .include "../libLLVMLTO/Makefile" @@ -50,9 +53,11 @@ .include "../libLLVMSupport/Makefile.shared" .include "../libLLVMSymbolize/Makefile" .include "../libLLVMTarget/Makefile" +.include "../libLLVMTargetParser/Makefile" .include "../libLLVMTextAPI/Makefile" .include "../libLLVMTransformUtils/Makefile" .include "../libLLVMVectorize/Makefile" +.include "../libLLVMWindowsDriver/Makefile" .include "../libLLVM${LLVM_ARCH}AsmParser/Makefile" .include "../libLLVM${LLVM_ARCH}CodeGen/Makefile" .include "../libLLVM${LLVM_ARCH}Desc/Makefile" diff --git a/gnu/usr.bin/clang/libLLVM/shlib_version b/gnu/usr.bin/clang/libLLVM/shlib_version index 5b844bbf422..d0f0988b418 100644 --- a/gnu/usr.bin/clang/libLLVM/shlib_version +++ b/gnu/usr.bin/clang/libLLVM/shlib_version @@ -1,2 +1,2 @@ -major=7 +major=8 minor=0 diff --git a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile index 0cc06d47f14..7efbe30008d 100644 --- a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.13 2023/11/11 18:35:36 robert Exp $ LIB= LLVMAArch64CodeGen NOPROFILE= @@ -40,10 +40,13 @@ SRCS+= AArch64A57FPLoadBalancing.cpp \ AArch64ISelDAGToDAG.cpp \ AArch64ISelLowering.cpp \ AArch64InstrInfo.cpp \ + AArch64KCFI.cpp \ AArch64LoadStoreOptimizer.cpp \ AArch64LowerHomogeneousPrologEpilog.cpp \ AArch64MachineFunctionInfo.cpp \ + AArch64MachineScheduler.cpp \ AArch64MacroFusion.cpp \ + AArch64MIPeepholeOpt.cpp \ AArch64MCInstLower.cpp \ AArch64PromoteConstant.cpp \ AArch64PBQPRegAlloc.cpp \ @@ -59,6 +62,7 @@ SRCS+= AArch64A57FPLoadBalancing.cpp \ AArch64TargetMachine.cpp \ AArch64TargetObjectFile.cpp \ AArch64TargetTransformInfo.cpp \ + SMEABIPass.cpp \ SVEIntrinsicOpts.cpp \ AArch64SIMDInstrOpt.cpp diff --git a/gnu/usr.bin/clang/libLLVMAArch64Utils/Makefile b/gnu/usr.bin/clang/libLLVMAArch64Utils/Makefile index 0c543d9395a..1fd21ee1f72 100644 --- a/gnu/usr.bin/clang/libLLVMAArch64Utils/Makefile +++ b/gnu/usr.bin/clang/libLLVMAArch64Utils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:24 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:36 robert Exp $ LIB= LLVMAArch64Utils NOPROFILE= @@ -6,6 +6,7 @@ NOPROFILE= CPPFLAGS+= -I${.OBJDIR}/../include/llvm/AArch64 \ -I${LLVM_SRCS}/lib/Target/AArch64 -SRCS+= AArch64BaseInfo.cpp +SRCS+= AArch64BaseInfo.cpp \ + AArch64SMEAttributes.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/AArch64/Utils diff --git a/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile index 2bbf07f66b5..5394b0b6ffd 100644 --- a/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:36 robert Exp $ LIB= LLVMAMDGPUCodeGen NOPROFILE= @@ -9,23 +9,25 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/AMDGPU \ SRCS+= AMDGPUAliasAnalysis.cpp \ AMDGPUAlwaysInlinePass.cpp \ AMDGPUAnnotateKernelFeatures.cpp \ - AMDGPUAttributor.cpp \ AMDGPUAnnotateUniformValues.cpp \ AMDGPUArgumentUsageInfo.cpp \ AMDGPUAsmPrinter.cpp \ AMDGPUAtomicOptimizer.cpp \ + AMDGPUAttributor.cpp \ AMDGPUCallLowering.cpp \ AMDGPUCodeGenPrepare.cpp \ + AMDGPUCombinerHelper.cpp \ + AMDGPUCtorDtorLowering.cpp \ AMDGPUExportClustering.cpp \ - AMDGPUFixFunctionBitcasts.cpp \ AMDGPUFrameLowering.cpp \ + AMDGPUGlobalISelUtils.cpp \ AMDGPUHSAMetadataStreamer.cpp \ + AMDGPUInsertDelayAlu.cpp \ AMDGPUInstCombineIntrinsic.cpp \ AMDGPUInstrInfo.cpp \ AMDGPUInstructionSelector.cpp \ AMDGPUISelDAGToDAG.cpp \ AMDGPUISelLowering.cpp \ - AMDGPUGlobalISelUtils.cpp \ AMDGPULateCodeGenPrepare.cpp \ AMDGPULegalizerInfo.cpp \ AMDGPULibCalls.cpp \ @@ -39,31 +41,42 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ AMDGPUMachineModuleInfo.cpp \ AMDGPUMacroFusion.cpp \ AMDGPUMCInstLower.cpp \ + AMDGPUIGroupLP.cpp \ AMDGPUMIRFormatter.cpp \ AMDGPUOpenCLEnqueuedBlockLowering.cpp \ + AMDGPUPerfHintAnalysis.cpp \ AMDGPUPostLegalizerCombiner.cpp \ AMDGPUPreLegalizerCombiner.cpp \ + AMDGPUPrintfRuntimeBinding.cpp \ AMDGPUPromoteAlloca.cpp \ AMDGPUPropagateAttributes.cpp \ + AMDGPUPromoteKernelArguments.cpp \ AMDGPURegBankCombiner.cpp \ AMDGPURegisterBankInfo.cpp \ + AMDGPUReleaseVGPRs.cpp \ AMDGPUReplaceLDSUseWithPointer.cpp \ + AMDGPUResourceUsageAnalysis.cpp \ AMDGPURewriteOutArguments.cpp \ + AMDGPURewriteUndefForPHI.cpp \ + AMDGPUSetWavePriority.cpp \ AMDGPUSubtarget.cpp \ AMDGPUTargetMachine.cpp \ AMDGPUTargetObjectFile.cpp \ AMDGPUTargetTransformInfo.cpp \ AMDGPUUnifyDivergentExitNodes.cpp \ AMDGPUUnifyMetadata.cpp \ - AMDGPUPerfHintAnalysis.cpp \ - AMDILCFGStructurizer.cpp \ - AMDGPUPrintfRuntimeBinding.cpp \ - AMDGPUResourceUsageAnalysis.cpp \ + R600MachineCFGStructurizer.cpp \ + GCNCreateVOPD.cpp \ + GCNDPPCombine.cpp \ GCNHazardRecognizer.cpp \ + GCNILPSched.cpp \ GCNIterativeScheduler.cpp \ GCNMinRegStrategy.cpp \ + GCNNSAReassign.cpp \ + GCNPreRAOptimizations.cpp \ GCNRegPressure.cpp \ GCNSchedStrategy.cpp \ + GCNVOPDUtils.cpp \ R600AsmPrinter.cpp \ R600ClauseMergePass.cpp \ R600ControlFlowFinalizer.cpp \ @@ -71,25 +84,29 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ R600ExpandSpecialInstrs.cpp \ R600FrameLowering.cpp \ R600InstrInfo.cpp \ + R600ISelDAGToDAG.cpp \ R600ISelLowering.cpp \ R600MachineFunctionInfo.cpp \ R600MachineScheduler.cpp \ + R600MCInstLower.cpp \ R600OpenCLImageTypeLoweringPass.cpp \ R600OptimizeVectorRegisters.cpp \ R600Packetizer.cpp \ R600RegisterInfo.cpp \ + R600Subtarget.cpp \ + R600TargetMachine.cpp \ + R600TargetTransformInfo.cpp \ SIAnnotateControlFlow.cpp \ SIFixSGPRCopies.cpp \ SIFixVGPRCopies.cpp \ - SIPreAllocateWWMRegs.cpp \ SIFoldOperands.cpp \ SIFormMemoryClauses.cpp \ SIFrameLowering.cpp \ SIInsertHardClauses.cpp \ - SILateBranchLowering.cpp \ SIInsertWaitcnts.cpp \ SIInstrInfo.cpp \ SIISelLowering.cpp \ + SILateBranchLowering.cpp \ SILoadStoreOptimizer.cpp \ SILowerControlFlow.cpp \ SILowerI1Copies.cpp \ @@ -97,20 +114,17 @@ SRCS+= AMDGPUAliasAnalysis.cpp \ SIMachineFunctionInfo.cpp \ SIMachineScheduler.cpp \ SIMemoryLegalizer.cpp \ + SIModeRegister.cpp \ SIOptimizeExecMasking.cpp \ SIOptimizeExecMaskingPreRA.cpp \ SIOptimizeVGPRLiveRange.cpp \ SIPeepholeSDWA.cpp \ SIPostRABundler.cpp \ + SIPreAllocateWWMRegs.cpp \ SIPreEmitPeephole.cpp \ SIProgramInfo.cpp \ SIRegisterInfo.cpp \ SIShrinkInstructions.cpp \ - SIWholeQuadMode.cpp \ - GCNILPSched.cpp \ - GCNNSAReassign.cpp \ - GCNDPPCombine.cpp \ - GCNPreRAOptimizations.cpp \ - SIModeRegister.cpp + SIWholeQuadMode.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/AMDGPU diff --git a/gnu/usr.bin/clang/libLLVMAMDGPUDesc/Makefile b/gnu/usr.bin/clang/libLLVMAMDGPUDesc/Makefile index 4a3c4bf6666..791f79ca3e2 100644 --- a/gnu/usr.bin/clang/libLLVMAMDGPUDesc/Makefile +++ b/gnu/usr.bin/clang/libLLVMAMDGPUDesc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:24 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2023/11/11 18:35:36 robert Exp $ LIB= LLVMAMDGPUDesc NOPROFILE= @@ -14,6 +14,7 @@ SRCS+= AMDGPUAsmBackend.cpp \ AMDGPUMCCodeEmitter.cpp \ AMDGPUMCTargetDesc.cpp \ AMDGPUTargetStreamer.cpp \ + R600InstPrinter.cpp \ R600MCCodeEmitter.cpp \ R600MCTargetDesc.cpp \ SIMCCodeEmitter.cpp diff --git a/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile b/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile index 3ea877deef9..18b70d19365 100644 --- a/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile +++ b/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:36 robert Exp $ LIB= LLVMAMDGPUUtils NOPROFILE= @@ -8,7 +8,7 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/AMDGPU \ SRCS+= AMDGPUAsmUtils.cpp \ AMDGPUBaseInfo.cpp \ - AMDGPULDSUtils.cpp \ + AMDGPUMemoryUtils.cpp \ AMDGPUPALMetadata.cpp \ AMDKernelCodeTUtils.cpp diff --git a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile index 0999fcc2ba8..f74cc7638fa 100644 --- a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:36 robert Exp $ LIB= LLVMARMCodeGen NOPROFILE= @@ -10,12 +10,14 @@ SRCS+= A15SDOptimizer.cpp \ ARMBaseInstrInfo.cpp \ ARMBaseRegisterInfo.cpp \ ARMBasicBlockInfo.cpp \ + ARMBranchTargets.cpp \ ARMCallingConv.cpp \ ARMCallLowering.cpp \ ARMConstantIslandPass.cpp \ ARMConstantPoolValue.cpp \ ARMExpandPseudoInsts.cpp \ ARMFastISel.cpp \ + ARMFixCortexA57AES1742098Pass.cpp \ ARMFrameLowering.cpp \ ARMHazardRecognizer.cpp \ ARMInstructionSelector.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile index 88705b77c50..858d48a81ec 100644 --- a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile +++ b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.14 2023/11/11 18:35:36 robert Exp $ LIB= LLVMAnalysis NOPROFILE= @@ -18,8 +18,7 @@ SRCS+= AliasAnalysis.cpp \ BranchProbabilityInfo.cpp \ CFG.cpp \ CFGPrinter.cpp \ - CFLAndersAliasAnalysis.cpp \ - CFLSteensAliasAnalysis.cpp \ + CFGSCCPrinter.cpp \ CGSCCPassManager.cpp \ CallGraph.cpp \ CallGraphSCCPass.cpp \ @@ -29,6 +28,7 @@ SRCS+= AliasAnalysis.cpp \ CostModel.cpp \ CodeMetrics.cpp \ ConstantFolding.cpp \ + CycleAnalysis.cpp \ DDG.cpp \ DDGPrinter.cpp \ ConstraintSystem.cpp \ @@ -53,6 +53,7 @@ SRCS+= AliasAnalysis.cpp \ IndirectCallPromotionAnalysis.cpp \ InlineCost.cpp \ InlineAdvisor.cpp \ + InlineOrder.cpp \ InlineSizeEstimatorAnalysis.cpp \ InstCount.cpp \ InstructionPrecedenceTracking.cpp \ @@ -66,6 +67,7 @@ SRCS+= AliasAnalysis.cpp \ LegacyDivergenceAnalysis.cpp \ Lint.cpp \ Loads.cpp \ + Local.cpp \ LoopAccessAnalysis.cpp \ LoopAnalysisManager.cpp \ LoopCacheAnalysis.cpp \ @@ -79,11 +81,14 @@ SRCS+= AliasAnalysis.cpp \ MemoryBuiltins.cpp \ MemoryDependenceAnalysis.cpp \ MemoryLocation.cpp \ + MemoryProfileInfo.cpp \ MemorySSA.cpp \ MemorySSAUpdater.cpp \ + ModelUnderTrainingRunner.cpp \ ModuleDebugInfoPrinter.cpp \ ModuleSummaryAnalysis.cpp \ MustExecute.cpp \ + NoInferenceModelRunner.cpp \ ObjCARCAliasAnalysis.cpp \ ObjCARCAnalysisUtils.cpp \ ObjCARCInstKind.cpp \ @@ -97,7 +102,6 @@ SRCS+= AliasAnalysis.cpp \ RegionInfo.cpp \ RegionPass.cpp \ RegionPrinter.cpp \ - ReleaseModeModelRunner.cpp \ ReplayInlineAdvisor.cpp \ ScalarEvolution.cpp \ ScalarEvolutionAliasAnalysis.cpp \ @@ -107,12 +111,15 @@ SRCS+= AliasAnalysis.cpp \ StackSafetyAnalysis.cpp \ SyncDependenceAnalysis.cpp \ SyntheticCountsUtils.cpp \ - TFUtils.cpp \ + TFLiteUtils.cpp \ TargetLibraryInfo.cpp \ TargetTransformInfo.cpp \ + TensorSpec.cpp \ Trace.cpp \ + TrainingLogger.cpp \ TypeBasedAliasAnalysis.cpp \ TypeMetadataUtils.cpp \ + UniformityAnalysis.cpp \ ScopedNoAliasAA.cpp \ ValueLattice.cpp \ ValueLatticeUtils.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile index ff0fe10ef9e..f6a42f07b74 100644 --- a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile +++ b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:36 robert Exp $ LIB= LLVMAsmPrinter NOPROFILE= @@ -31,5 +31,4 @@ SRCS+= AccelTable.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 ca5b36e4168..4007940e410 100644 --- a/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile +++ b/gnu/usr.bin/clang/libLLVMBinaryFormat/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:36 robert Exp $ LIB= LLVMBinaryFormat NOPROFILE= @@ -6,7 +6,10 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/BinaryFormat SRCS+= AMDGPUMetadataVerifier.cpp \ + COFF.cpp \ Dwarf.cpp \ + DXContainer.cpp \ + ELF.cpp \ MachO.cpp \ Magic.cpp \ BinaryFormatMinidump.cpp \ @@ -22,4 +25,4 @@ BinaryFormatMinidump.cpp: .PATH: ${.CURDIR}/../../../llvm/llvm/lib/BinaryFormat -CLEANFILES+= BinaryFormatMinidump.cpp +CLEANFILES+= BinaryFormatMinidump.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile index 07d7319650c..97b3802367f 100644 --- a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.17 2023/11/11 18:35:36 robert Exp $ LIB= LLVMCodeGen NOPROFILE= @@ -9,20 +9,25 @@ CPPFLAGS+=-I${LLVM_SRC}/include/llvm/CodeGen/PBQP SRCS+= AggressiveAntiDepBreaker.cpp \ AllocationOrder.cpp \ CodeGenAnalysis.cpp \ + AssignmentTrackingAnalysis.cpp \ AtomicExpandPass.cpp \ BasicTargetTransformInfo.cpp \ BranchFolding.cpp \ BranchRelaxation.cpp \ BreakFalseDeps.cpp \ BasicBlockSections.cpp \ + BasicBlockSectionsProfileReader.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CFGuardLongjmp.cpp \ + CFIFixup.cpp \ CFIInstrInserter.cpp \ CodeGen.cpp \ + CodeGenCommonISel.cpp \ CodeGenPassBuilder.cpp \ CodeGenPrepare.cpp \ CommandFlags.cpp \ + ComplexDeinterleavingPass.cpp \ CriticalAntiDepBreaker.cpp \ DeadMachineInstructionElim.cpp \ DetectDeadLanes.cpp \ @@ -32,6 +37,8 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ EdgeBundles.cpp \ EHContGuardCatchret.cpp \ ExecutionDomainFix.cpp \ + ExpandLargeDivRem.cpp \ + ExpandLargeFpConvert.cpp \ ExpandMemCmp.cpp \ ExpandPostRAPseudos.cpp \ ExpandReductions.cpp \ @@ -54,6 +61,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ InterleavedAccessPass.cpp \ InterleavedLoadCombinePass.cpp \ IntrinsicLowering.cpp \ + JMCInstrumenter.cpp \ LatencyPriorityQueue.cpp \ LazyMachineBlockFrequencyInfo.cpp \ LexicalScopes.cpp \ @@ -79,10 +87,12 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ MachineBlockFrequencyInfo.cpp \ MachineBlockPlacement.cpp \ MachineBranchProbabilityInfo.cpp \ + MachineCFGPrinter.cpp \ MachineCombiner.cpp \ MachineCopyPropagation.cpp \ MachineCSE.cpp \ MachineCheckDebugify.cpp \ + MachineCycleAnalysis.cpp \ MachineDebugify.cpp \ MachineDominanceFrontier.cpp \ MachineDominators.cpp \ @@ -93,6 +103,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ MachineFunctionSplitter.cpp \ MachineInstrBundle.cpp \ MachineInstr.cpp \ + MachineLateInstrsCleanup.cpp \ MachineLICM.cpp \ MachineLoopInfo.cpp \ MachineLoopUtils.cpp \ @@ -110,12 +121,17 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ MachineScheduler.cpp \ MachineSink.cpp \ MachineSizeOpts.cpp \ + MachineSSAContext.cpp \ MachineSSAUpdater.cpp \ MachineStripDebug.cpp \ MachineTraceMetrics.cpp \ + MachineUniformityAnalysis.cpp \ MachineVerifier.cpp \ MIRFSDiscriminator.cpp \ + MIRSampleProfile.cpp \ MIRYamlMapping.cpp \ + MLRegallocEvictAdvisor.cpp \ + MLRegallocPriorityAdvisor.cpp \ ModuloSchedule.cpp \ MultiHazardRecognizer.cpp \ PatchableFunction.cpp \ @@ -142,9 +158,12 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ ReachingDefAnalysis.cpp \ RegAllocBase.cpp \ RegAllocBasic.cpp \ + RegAllocEvictionAdvisor.cpp \ RegAllocFast.cpp \ RegAllocGreedy.cpp \ RegAllocPBQP.cpp \ + RegAllocPriorityAdvisor.cpp \ + RegAllocScore.cpp \ RegisterClassInfo.cpp \ RegisterCoalescer.cpp \ RegisterPressure.cpp \ @@ -162,12 +181,16 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ ResetMachineFunctionPass.cpp \ ReturnProtectorLowering.cpp \ ReturnProtectorPass.cpp \ + RegisterBank.cpp \ + RegisterBankInfo.cpp \ SafeStack.cpp \ SafeStackLayout.cpp \ + SanitizerBinaryMetadata.cpp \ ScheduleDAG.cpp \ ScheduleDAGInstrs.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ + SelectOptimize.cpp \ ShadowStackGCLowering.cpp \ ShrinkWrap.cpp \ SjLjEHPrepare.cpp \ @@ -175,6 +198,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ SpillPlacement.cpp \ SplitKit.cpp \ StackColoring.cpp \ + StackFrameLayoutAnalysisPass.cpp \ StackMapLivenessAnalysis.cpp \ StackMaps.cpp \ StackProtector.cpp \ @@ -192,15 +216,18 @@ SRCS+= AggressiveAntiDepBreaker.cpp \ TargetRegisterInfo.cpp \ TargetSchedule.cpp \ TargetSubtargetInfo.cpp \ - TypePromotion.cpp \ TwoAddressInstructionPass.cpp \ + TypePromotion.cpp \ UnreachableBlockElim.cpp \ ValueTypes.cpp \ + VLIWMachineScheduler.cpp \ VirtRegMap.cpp \ WasmEHPrepare.cpp \ WinEHPrepare.cpp \ - XRayInstrumentation.cpp \ - LiveDebugValues.cpp \ + XRayInstrumentation.cpp + +# LiveDebugValues +SRCS+= LiveDebugValues.cpp \ VarLocBasedImpl.cpp \ InstrRefBasedImpl.cpp diff --git a/gnu/usr.bin/clang/libLLVMCore/Makefile b/gnu/usr.bin/clang/libLLVMCore/Makefile index cf59497abcc..26612a9ec8b 100644 --- a/gnu/usr.bin/clang/libLLVMCore/Makefile +++ b/gnu/usr.bin/clang/libLLVMCore/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.13 2023/11/11 18:35:36 robert Exp $ LIB= LLVMCore NOPROFILE= @@ -34,6 +34,7 @@ SRCS+= AbstractCallSite.cpp \ Globals.cpp \ IRBuilder.cpp \ IRPrintingPasses.cpp \ + SSAContext.cpp \ InlineAsm.cpp \ Instruction.cpp \ Instructions.cpp \ @@ -55,6 +56,7 @@ SRCS+= AbstractCallSite.cpp \ PassRegistry.cpp \ PassTimingInfo.cpp \ PrintPasses.cpp \ + ProfDataUtils.cpp \ SafepointIRVerifier.cpp \ ProfileSummary.cpp \ PseudoProbe.cpp \ @@ -62,11 +64,13 @@ SRCS+= AbstractCallSite.cpp \ Statepoint.cpp \ StructuralHash.cpp \ Type.cpp \ + TypedPointerType.cpp \ TypeFinder.cpp \ Use.cpp \ User.cpp \ Value.cpp \ ValueSymbolTable.cpp \ + VectorBuilder.cpp \ Verifier.cpp CoreCore.cpp: diff --git a/gnu/usr.bin/clang/libLLVMCoroutines/Makefile b/gnu/usr.bin/clang/libLLVMCoroutines/Makefile index 5f5f2cf0100..1a229d62618 100644 --- a/gnu/usr.bin/clang/libLLVMCoroutines/Makefile +++ b/gnu/usr.bin/clang/libLLVMCoroutines/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:25 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:36 robert Exp $ LIB= LLVMCoroutines NOPROFILE= @@ -8,6 +8,7 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Transforms/Coroutines SRCS+= Coroutines.cpp \ CoroCleanup.cpp \ + CoroConditionalWrapper.cpp \ CoroEarly.cpp \ CoroElide.cpp \ CoroFrame.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile index c093b9d31b9..84e741c2a94 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2021/04/28 12:55:39 patrick Exp $ +# $OpenBSD: Makefile,v 1.12 2023/11/11 18:35:36 robert Exp $ LIB= LLVMDebugInfoCodeView NOPROFILE= @@ -23,7 +23,7 @@ SRCS+= AppendingTypeTableBuilder.cpp \ DebugSubsectionVisitor.cpp \ DebugSymbolRVASubsection.cpp \ DebugSymbolsSubsection.cpp \ - EnumTables.cpp \ + DebugInfoCodeViewEnumTables.cpp \ Formatters.cpp \ GlobalTypeTableBuilder.cpp \ LazyRandomTypeCollection.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile index bde32640e31..2d96e1440e0 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoDWARF/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:39 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2023/11/11 18:35:36 robert Exp $ LIB= LLVMDebugInfoDWARF NOPROFILE= @@ -17,6 +17,7 @@ SRCS+= DWARFAbbreviationDeclaration.cpp \ DWARFDebugArangeSet.cpp \ DWARFDebugAranges.cpp \ DWARFDebugFrame.cpp \ + DWARFTypePrinter.cpp \ DWARFDebugInfoEntry.cpp \ DWARFDebugLine.cpp \ DWARFDebugLoc.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile index 3e4d0050321..8b2dcc0be7e 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile @@ -1,30 +1,54 @@ -# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:37 robert Exp $ LIB= LLVMDebugInfoPDB NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/PDB +# DIA +#SRCS+= DIADataStream.cpp \ +# DIAEnumDebugStreams.cpp \ +# DIAEnumFrameData.cpp \ +# DIAEnumInjectedSources.cpp \ +# DIAEnumLineNumbers.cpp \ +# DIAEnumSectionContribs.cpp \ +# DIAEnumSourceFiles.cpp \ +# DIAEnumSymbols.cpp \ +# DIAEnumTables.cpp \ +# DIAError.cpp \ +# DIAFrameData.cpp \ +# DIAInjectedSource.cpp \ +# DIALineNumber.cpp \ +# DIARawSymbol.cpp \ +# DIASectionContrib.cpp \ +# DIASession.cpp \ +# DIASourceFile.cpp \ +# DIATable.cpp + +# Native SRCS+= DbiModuleDescriptor.cpp \ DbiModuleDescriptorBuilder.cpp \ DbiModuleList.cpp \ DbiStream.cpp \ DbiStreamBuilder.cpp \ DebugInfoPDBEnumTables.cpp \ + FormatUtil.cpp \ GlobalsStream.cpp \ Hash.cpp \ HashTable.cpp \ InfoStream.cpp \ InfoStreamBuilder.cpp \ InjectedSourceStream.cpp \ + InputFile.cpp \ + LinePrinter.cpp \ ModuleDebugStream.cpp \ NativeCompilandSymbol.cpp \ NativeEnumGlobals.cpp \ NativeEnumInjectedSources.cpp \ NativeEnumLineNumbers.cpp \ NativeEnumModules.cpp \ - NativeEnumSymbols.cpp \ NativeEnumTypes.cpp \ + NativeEnumSymbols.cpp \ NativeExeSymbol.cpp \ NativeFunctionSymbol.cpp \ NativeInlineSiteSymbol.cpp \ @@ -54,8 +78,9 @@ SRCS+= DbiModuleDescriptor.cpp \ SymbolStream.cpp \ TpiHashing.cpp \ TpiStream.cpp \ - TpiStreamBuilder.cpp \ - GenericError.cpp \ + TpiStreamBuilder.cpp + +SRCS+= GenericError.cpp \ IPDBSourceFile.cpp \ PDB.cpp \ PDBContext.cpp \ @@ -94,12 +119,13 @@ SRCS+= DbiModuleDescriptor.cpp \ PDBSymbolUnknown.cpp \ PDBSymbolUsingNamespace.cpp \ PDBSymDumper.cpp \ - UDTLayout.cpp + UDTLayout.cpp \ DebugInfoPDBEnumTables.cpp: ln -s ${LLVM_SRCS}/lib/DebugInfo/PDB/Native/EnumTables.cpp $@ .PATH: ${.CURDIR}/../../../llvm/llvm/lib/DebugInfo/PDB .PATH: ${.CURDIR}/../../../llvm/llvm/lib/DebugInfo/PDB/Native +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/DebugInfo/PDB/DIA CLEANFILES+= DebugInfoPDBEnumTables.cpp diff --git a/gnu/usr.bin/clang/libLLVMDebuginfod/Makefile b/gnu/usr.bin/clang/libLLVMDebuginfod/Makefile new file mode 100644 index 00000000000..11ac50cdd1a --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMDebuginfod/Makefile @@ -0,0 +1,13 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:37 robert Exp $ + +LIB= LLVMDebuginfod +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Debuginfod + +SRCS+= BuildIDFetcher.cpp \ + Debuginfod.cpp \ + HTTPClient.cpp \ + HTTPServer.cpp + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Debuginfod diff --git a/gnu/usr.bin/clang/libLLVMDemangle/Makefile b/gnu/usr.bin/clang/libLLVMDemangle/Makefile index 1923ac63955..3a4d5704e77 100644 --- a/gnu/usr.bin/clang/libLLVMDemangle/Makefile +++ b/gnu/usr.bin/clang/libLLVMDemangle/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:37 robert Exp $ LIB= LLVMDemangle NOPROFILE= @@ -9,6 +9,7 @@ SRCS+= Demangle.cpp \ ItaniumDemangle.cpp \ MicrosoftDemangle.cpp \ MicrosoftDemangleNodes.cpp \ - RustDemangle.cpp + RustDemangle.cpp \ + DLangDemangle.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Demangle diff --git a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile index 12bec625961..00f8e0d83bf 100644 --- a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile +++ b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:37 robert Exp $ LIB= LLVMExecutionEngine NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ExecutionEngine \ - -I${LLVM_SRCS}/include/llvm/ExecutionEngine/JITLink \ - -I${LLVM_SRCS}/include/llvm/ExecutionEngine/Orc + -I${LLVM_SRCS}/include/llvm/ExecutionEngine/JITLink \ + -I${LLVM_SRCS}/include/llvm/ExecutionEngine/Orc \ + -I${.OBJDIR}/../include/llvm/ExecutionEngine/JITLink # ExecutionEngine SRCS+= ExecutionEngine.cpp \ @@ -20,18 +21,29 @@ SRCS+= Execution.cpp \ Interpreter.cpp # JITLink -SRCS+= JITLink.cpp \ +SRCS+= DWARFRecordSectionSplitter.cpp \ + EHFrameSupport.cpp \ + JITLink.cpp \ JITLinkGeneric.cpp \ JITLinkMemoryManager.cpp \ - EHFrameSupport.cpp \ ExecutionEngineMachO.cpp \ MachO_arm64.cpp \ MachO_x86_64.cpp \ MachOLinkGraphBuilder.cpp \ ExecutionEngineELF.cpp \ ELFLinkGraphBuilder.cpp \ + ELF_aarch64.cpp \ + ELF_i386.cpp \ + ELF_loongarch.cpp \ ELF_riscv.cpp \ ELF_x86_64.cpp \ + ExecutionEngineCOFF.cpp \ + COFFDirectiveParser.cpp \ + COFFLinkGraphBuilder.cpp \ + COFF_x86_64.cpp \ + aarch64.cpp \ + i386.cpp \ + loongarch.cpp \ riscv.cpp \ x86_64.cpp @@ -39,42 +51,62 @@ SRCS+= JITLink.cpp \ SRCS+= MCJIT.cpp # OrcShared -SRCS+= OrcError.cpp \ - RPCError.cpp +SRCS+= AllocationActions.cpp \ + OrcError.cpp \ + OrcRTBridge.cpp \ + SimpleRemoteEPCUtils.cpp # OrcTargetProcess -SRCS+= JITLoaderGDB.cpp \ +SRCS+= ExecutorSharedMemoryMapperService.cpp \ + JITLoaderGDB.cpp \ + OrcRTBootstrap.cpp \ RegisterEHFrames.cpp \ + SimpleExecutorDylibManager.cpp \ + SimpleExecutorMemoryManager.cpp \ + SimpleRemoteEPCServer.cpp \ TargetExecutionUtils.cpp # Orc -SRCS+= CompileOnDemandLayer.cpp \ +SRCS+= COFFVCRuntimeSupport.cpp \ + COFFPlatform.cpp \ + CompileOnDemandLayer.cpp \ CompileUtils.cpp \ ExecutionEngineCore.cpp \ DebugObjectManagerPlugin.cpp \ + DebuggerSupportPlugin.cpp \ DebugUtils.cpp \ EPCDynamicLibrarySearchGenerator.cpp \ EPCDebugObjectRegistrar.cpp \ EPCEHFrameRegistrar.cpp \ + EPCGenericDylibManager.cpp \ + EPCGenericJITLinkMemoryManager.cpp \ + EPCGenericRTDyldMemoryManager.cpp \ EPCIndirectionUtils.cpp \ ExecutionUtils.cpp \ + ObjectFileInterface.cpp \ IndirectionUtils.cpp \ IRCompileLayer.cpp \ IRTransformLayer.cpp \ JITTargetMachineBuilder.cpp \ LazyReexports.cpp \ Layer.cpp \ + LookupAndRecordAddrs.cpp \ LLJIT.cpp \ MachOPlatform.cpp \ + MapperJITLinkMemoryManager.cpp \ + MemoryMapper.cpp \ + ELFNixPlatform.cpp \ Mangling.cpp \ ObjectLinkingLayer.cpp \ ObjectTransformLayer.cpp \ OrcABISupport.cpp \ OrcV2CBindings.cpp \ RTDyldObjectLinkingLayer.cpp \ + SimpleRemoteEPC.cpp \ Speculation.cpp \ SpeculateAnalyses.cpp \ ExecutorProcessControl.cpp \ + TaskDispatch.cpp \ ThreadSafeModule.cpp # RuntimeDyld @@ -89,6 +121,9 @@ SRCS+= JITSymbol.cpp \ # RuntimeDyld/Targets SRCS+= RuntimeDyldELFMips.cpp +ExecutionEngineCOFF.cpp: + ln -s ${LLVM_SRCS}/lib/ExecutionEngine/JITLink/COFF.cpp $@ + ExecutionEngineCore.cpp: ln -s ${LLVM_SRCS}/lib/ExecutionEngine/Orc/Core.cpp $@ diff --git a/gnu/usr.bin/clang/libLLVMFrontendHLSL/Makefile b/gnu/usr.bin/clang/libLLVMFrontendHLSL/Makefile new file mode 100644 index 00000000000..a78000bb838 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMFrontendHLSL/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:37 robert Exp $ + +LIB= LLVMFrontendHLSL +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Frontend +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Frontend/HLSL + +SRCS+= HLSLResource.cpp + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Frontend/HLSL diff --git a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile index a5f0bee7631..0bf4d482adb 100644 --- a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile +++ b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:37 robert Exp $ LIB= LLVMGlobalISel NOPROFILE= @@ -23,12 +23,11 @@ SRCS+= CSEInfo.cpp \ LegalizerHelper.cpp \ LegalizerInfo.cpp \ LegacyLegalizerInfo.cpp \ + LoadStoreOpt.cpp \ Localizer.cpp \ LostDebugLocObserver.cpp \ MachineIRBuilder.cpp \ RegBankSelect.cpp \ - RegisterBank.cpp \ - RegisterBankInfo.cpp \ GlobalISelUtils.cpp GlobalISelUtils.cpp: diff --git a/gnu/usr.bin/clang/libLLVMIRPrinter/Makefile b/gnu/usr.bin/clang/libLLVMIRPrinter/Makefile new file mode 100644 index 00000000000..aec7f1d2d62 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMIRPrinter/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:37 robert Exp $ + +LIB= LLVMIRPrinter +NOPROFILE= + +SRCS+= IRPrinterIRPrintingPasses.cpp + +IRPrinterIRPrintingPasses.cpp: + ln -s ${LLVM_SRCS}/lib/IRPrinter/IRPrintingPasses.cpp $@ + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/IRPrinter diff --git a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile index e8ec0a5d169..553fcd132f2 100644 --- a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile +++ b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.12 2023/11/11 18:35:37 robert Exp $ LIB= LLVMInstrumentation NOPROFILE= @@ -17,12 +17,17 @@ SRCS+= AddressSanitizer.cpp \ Instrumentation.cpp \ InstrOrderFile.cpp \ InstrProfiling.cpp \ + KCFI.cpp \ PGOInstrumentation.cpp \ PGOMemOPSizeOpt.cpp \ PoisonChecking.cpp \ SanitizerCoverage.cpp \ + InstrumentationSanitizerBinaryMetadata.cpp \ ValueProfileCollector.cpp \ ThreadSanitizer.cpp \ HWAddressSanitizer.cpp +InstrumentationSanitizerBinaryMetadata.cpp: + ln -s ${LLVM_SRCS}/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.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 684c8fae8c0..0e08235b5fc 100644 --- a/gnu/usr.bin/clang/libLLVMLTO/Makefile +++ b/gnu/usr.bin/clang/libLLVMLTO/Makefile @@ -1,12 +1,11 @@ -# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:39 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2023/11/11 18:35:37 robert Exp $ LIB= LLVMLTO NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/LTO -SRCS+= Caching.cpp \ - LTO.cpp \ +SRCS+= LTO.cpp \ LTOBackend.cpp \ LTOModule.cpp \ LTOCodeGenerator.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMMC/Makefile b/gnu/usr.bin/clang/libLLVMMC/Makefile index 5ee4250d828..ed95340eb2e 100644 --- a/gnu/usr.bin/clang/libLLVMMC/Makefile +++ b/gnu/usr.bin/clang/libLLVMMC/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:37 robert Exp $ LIB= LLVMMC NOPROFILE= @@ -12,6 +12,7 @@ SRCS+= ConstantPools.cpp \ MCAsmInfoCOFF.cpp \ MCAsmInfoDarwin.cpp \ MCAsmInfoELF.cpp \ + MCAsmInfoGOFF.cpp \ MCAsmInfoWasm.cpp \ MCAsmInfoXCOFF.cpp \ MCAsmMacro.cpp \ @@ -21,6 +22,8 @@ SRCS+= ConstantPools.cpp \ MCCodeView.cpp \ MCContext.cpp \ MCDwarf.cpp \ + MCDXContainerStreamer.cpp \ + MCDXContainerWriter.cpp \ MCELFObjectTargetWriter.cpp \ MCELFStreamer.cpp \ MCExpr.cpp \ @@ -43,11 +46,13 @@ SRCS+= ConstantPools.cpp \ MCSchedule.cpp \ MCSection.cpp \ MCSectionCOFF.cpp \ + MCSectionDXContainer.cpp \ MCSectionELF.cpp \ MCSectionMachO.cpp \ MCSectionWasm.cpp \ MCSectionXCOFF.cpp \ MCStreamer.cpp \ + MCSPIRVStreamer.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ MCSymbolELF.cpp \ @@ -63,8 +68,10 @@ SRCS+= ConstantPools.cpp \ MCXCOFFObjectTargetWriter.cpp \ MCXCOFFStreamer.cpp \ MachObjectWriter.cpp \ + SPIRVObjectWriter.cpp \ StringTableBuilder.cpp \ SubtargetFeature.cpp \ + TargetRegistry.cpp \ WasmObjectWriter.cpp \ WinCOFFObjectWriter.cpp \ XCOFFObjectWriter.cpp diff --git a/gnu/usr.bin/clang/libLLVMMCParser/Makefile b/gnu/usr.bin/clang/libLLVMMCParser/Makefile index 0db81c272e2..080ed31f979 100644 --- a/gnu/usr.bin/clang/libLLVMMCParser/Makefile +++ b/gnu/usr.bin/clang/libLLVMMCParser/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:37 robert Exp $ LIB= LLVMMCParser NOPROFILE= @@ -9,6 +9,7 @@ SRCS+= AsmLexer.cpp \ AsmParser.cpp \ COFFAsmParser.cpp \ COFFMasmParser.cpp \ + GOFFAsmParser.cpp \ DarwinAsmParser.cpp \ ELFAsmParser.cpp \ MCAsmLexer.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile index e37db2f9bf7..1c28302eebc 100644 --- a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:39 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:37 robert Exp $ LIB= LLVMMipsCodeGen NOPROFILE= @@ -34,6 +34,7 @@ SRCS+= Mips16FrameLowering.cpp \ MipsOptimizePICCall.cpp \ MipsOs16.cpp \ MipsPreLegalizerCombiner.cpp \ + MipsPostLegalizerCombiner.cpp \ MipsRegisterBankInfo.cpp \ MipsRegisterInfo.cpp \ MipsReturnProtectorLowering.cpp \ @@ -45,6 +46,8 @@ SRCS+= Mips16FrameLowering.cpp \ MipsSubtarget.cpp \ MipsTargetMachine.cpp \ MipsTargetObjectFile.cpp \ - MicroMipsSizeReduction.cpp + MipsTargetTransformInfo.cpp \ + MicroMipsSizeReduction.cpp \ + MipsMulMulBugPass.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/Mips diff --git a/gnu/usr.bin/clang/libLLVMObjCopy/Makefile b/gnu/usr.bin/clang/libLLVMObjCopy/Makefile new file mode 100644 index 00000000000..a9e3dfd01f3 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMObjCopy/Makefile @@ -0,0 +1,53 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:37 robert Exp $ + +LIB= LLVMObjCopy +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ObjCopy +CPPFLAGS+= -I${LLVM_SRCS}/lib/ObjCopy + +SRCS+= Archive.cpp \ + CommonConfig.cpp \ + ObjCopy.cpp \ + ConfigManager.cpp + +# COFF +SRCS+= COFFObjcopy.cpp \ + COFFObject.cpp \ + COFFReader.cpp \ + COFFWriter.cpp \ + +# ELF +SRCS+= ELFObjcopy.cpp \ + ELFObject.cpp \ + +# MachO +SRCS+= MachOObjcopy.cpp \ + MachOReader.cpp \ + MachOWriter.cpp \ + MachOLayoutBuilder.cpp \ + MachOObject.cpp \ + +# wasm +SRCS+= WasmObject.cpp \ + WasmReader.cpp \ + WasmWriter.cpp \ + WasmObjcopy.cpp \ + +# XCOFF +SRCS+= XCOFFObjcopy.cpp \ + XCOFFReader.cpp \ + XCOFFWriter.cpp + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ObjCopy +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ObjCopy/COFF +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ObjCopy/ELF +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ObjCopy/MachO +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ObjCopy/wasm +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ObjCopy/XCOFF + +install: + @# Nothing here so far ... + +.include diff --git a/gnu/usr.bin/clang/libLLVMObject/Makefile b/gnu/usr.bin/clang/libLLVMObject/Makefile index 925ef336d7b..99d51b51b31 100644 --- a/gnu/usr.bin/clang/libLLVMObject/Makefile +++ b/gnu/usr.bin/clang/libLLVMObject/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:37 robert Exp $ LIB= LLVMObject NOPROFILE= @@ -8,10 +8,12 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Object SRCS+= Archive.cpp \ ArchiveWriter.cpp \ Binary.cpp \ + BuildID.cpp \ COFFImportFile.cpp \ COFFModuleDefinition.cpp \ COFFObjectFile.cpp \ Decompressor.cpp \ + ObjectDXContainer.cpp \ ObjectELF.cpp \ ELFObjectFile.cpp \ ObjectError.cpp \ @@ -24,6 +26,7 @@ SRCS+= Archive.cpp \ ModuleSymbolTable.cpp \ Object.cpp \ ObjectFile.cpp \ + OffloadBinary.cpp \ RecordStreamer.cpp \ RelocationResolver.cpp \ SymbolicFile.cpp \ @@ -36,6 +39,9 @@ SRCS+= Archive.cpp \ WindowsResource.cpp \ XCOFFObjectFile.cpp +ObjectDXContainer.cpp: + ln -s ${LLVM_SRCS}/lib/Object/DXContainer.cpp $@ + ObjectELF.cpp: ln -s ${LLVM_SRCS}/lib/Object/ELF.cpp $@ diff --git a/gnu/usr.bin/clang/libLLVMPasses/Makefile b/gnu/usr.bin/clang/libLLVMPasses/Makefile index 19343fe67c9..46a53c84950 100644 --- a/gnu/usr.bin/clang/libLLVMPasses/Makefile +++ b/gnu/usr.bin/clang/libLLVMPasses/Makefile @@ -1,12 +1,15 @@ -# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:39 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:37 robert Exp $ LIB= LLVMPasses NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Passes \ - -I${LLVM_SRCS}/include/llvm/ + -I${LLVM_SRCS}/include/llvm/ -SRCS+= PassBuilder.cpp \ +SRCS+= OptimizationLevel.cpp \ + PassBuilder.cpp \ + PassBuilderBindings.cpp \ + PassBuilderPipelines.cpp \ PassPlugin.cpp \ StandardInstrumentations.cpp diff --git a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile index af683b58a2a..57e1ca8ccf2 100644 --- a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:37 robert Exp $ LIB= LLVMPowerPCCodeGen NOPROFILE= @@ -19,6 +19,7 @@ SRCS+= PPCBoolRetToInt.cpp \ PPCCallingConv.cpp \ PPCCCState.cpp \ PPCCTRLoops.cpp \ + PPCCTRLoopsVerify.cpp \ PPCExpandAtomicPseudoInsts.cpp \ PPCHazardRecognizers.cpp \ PPCInstrInfo.cpp \ @@ -47,7 +48,8 @@ SRCS+= PPCBoolRetToInt.cpp \ PPCVSXSwapRemoval.cpp \ PPCExpandISEL.cpp \ PPCPreEmitPeephole.cpp \ - PPCLowerMASSVEntries.cpp + PPCLowerMASSVEntries.cpp \ + PPCGenScalarMASSEntries.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/PowerPC .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/PowerPC/GISel diff --git a/gnu/usr.bin/clang/libLLVMProfileData/Makefile b/gnu/usr.bin/clang/libLLVMProfileData/Makefile index f319d9ac2fe..16d6f8acb3f 100644 --- a/gnu/usr.bin/clang/libLLVMProfileData/Makefile +++ b/gnu/usr.bin/clang/libLLVMProfileData/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:37 robert Exp $ LIB= LLVMProfileData NOPROFILE= @@ -7,11 +7,14 @@ CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData SRCS+= GCOV.cpp \ InstrProf.cpp \ + InstrProfCorrelator.cpp \ InstrProfReader.cpp \ InstrProfWriter.cpp \ + MemProf.cpp \ ProfileSummaryBuilder.cpp \ SampleProf.cpp \ SampleProfReader.cpp \ - SampleProfWriter.cpp + SampleProfWriter.cpp \ + RawMemProfReader.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ProfileData diff --git a/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile index 149b057fb29..a8fef8dfb26 100644 --- a/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:45 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2023/11/11 18:35:37 robert Exp $ LIB= LLVMRISCVCodeGen NOPROFILE= @@ -6,21 +6,31 @@ NOPROFILE= CPPFLAGS+= -I${.OBJDIR}/../include/llvm/RISCV \ -I${LLVM_SRCS}/lib/Target/RISCV +# GISel +SRCS+= RISCVCallLowering.cpp \ + RISCVInstructionSelector.cpp \ + RISCVLegalizerInfo.cpp \ + RISCVRegisterBankInfo.cpp + SRCS+= RISCVAsmPrinter.cpp \ - RISCVCallLowering.cpp \ - RISCVExpandAtomicPseudoInsts.cpp\ + RISCVCodeGenPrepare.cpp \ + RISCVMakeCompressible.cpp \ + RISCVExpandAtomicPseudoInsts.cpp \ RISCVExpandPseudoInsts.cpp \ RISCVFrameLowering.cpp \ + RISCVGatherScatterLowering.cpp \ RISCVInsertVSETVLI.cpp \ RISCVInstrInfo.cpp \ - RISCVInstructionSelector.cpp \ RISCVISelDAGToDAG.cpp \ RISCVISelLowering.cpp \ - RISCVLegalizerInfo.cpp \ + RISCVMachineFunctionInfo.cpp \ + RISCVMacroFusion.cpp \ RISCVMCInstLower.cpp \ RISCVMergeBaseOffset.cpp \ - RISCVRegisterBankInfo.cpp \ + RISCVRedundantCopyElimination.cpp \ RISCVRegisterInfo.cpp \ + RISCVSExtWRemoval.cpp \ + RISCVStripWSuffix.cpp \ RISCVSubtarget.cpp \ RISCVTargetMachine.cpp \ RISCVTargetObjectFile.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile b/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile index 8bfb8a32e5e..ae69d02c796 100644 --- a/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile +++ b/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2023/11/11 18:35:37 robert Exp $ LIB= LLVMRISCVDesc NOPROFILE= @@ -9,14 +9,14 @@ CPPFLAGS+= -I${.OBJDIR}/../include/llvm/RISCV \ SRCS+= RISCVAsmBackend.cpp \ RISCVBaseInfo.cpp \ RISCVELFObjectWriter.cpp \ - RISCVELFStreamer.cpp \ RISCVInstPrinter.cpp \ RISCVMCAsmInfo.cpp \ RISCVMCCodeEmitter.cpp \ RISCVMCExpr.cpp \ + RISCVMCObjectFileInfo.cpp \ RISCVMCTargetDesc.cpp \ RISCVMatInt.cpp \ - RISCVTargetStreamer.cpp - + RISCVTargetStreamer.cpp \ + RISCVELFStreamer.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/RISCV/MCTargetDesc diff --git a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile index f56a0fd806d..de547b8e0c5 100644 --- a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile +++ b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.15 2023/11/11 18:35:37 robert Exp $ LIB= LLVMScalarOpts NOPROFILE= @@ -52,9 +52,8 @@ SRCS+= ADCE.cpp \ LoopStrengthReduce.cpp \ LoopUnrollPass.cpp \ LoopUnrollAndJamPass.cpp \ - LoopUnswitch.cpp \ LoopVersioningLICM.cpp \ - LowerAtomic.cpp \ + LowerAtomicPass.cpp \ LowerConstantIntrinsics.cpp \ LowerExpectIntrinsic.cpp \ LowerGuardIntrinsic.cpp \ @@ -84,6 +83,7 @@ SRCS+= ADCE.cpp \ StraightLineStrengthReduce.cpp \ StructurizeCFG.cpp \ TailRecursionElimination.cpp \ + TLSVariableHoist.cpp \ WarnMissedTransforms.cpp ScalarSCCP.cpp: diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile b/gnu/usr.bin/clang/libLLVMSupport/Makefile index 5671c39fbfa..99b3ba2dad3 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile @@ -1,26 +1,30 @@ -# $OpenBSD: Makefile,v 1.13 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.14 2023/11/11 18:35:38 robert Exp $ LIB= LLVMSupport NOPIC= NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ADT \ - -I${LLVM_SRCS}/include/llvm/Support +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ADT \ + -I${LLVM_SRCS}/include/llvm/Support \ + -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2 \ + -DBLAKE3_NO_SSE41 -DBLAKE3_NO_SSE2 .include -SRCS= AArch64TargetParser.cpp \ - ABIBreak.cpp \ - ARMTargetParser.cpp \ +SRCS+= ABIBreak.cpp \ AMDGPUMetadata.cpp \ APFixedPoint.cpp \ APFloat.cpp \ APInt.cpp \ APSInt.cpp \ - ARMBuildAttrs.cpp \ ARMAttributeParser.cpp \ + ARMBuildAttrs.cpp \ ARMWinEH.cpp \ + AddressRanges.cpp \ Allocator.cpp \ + Atomic.cpp \ + AutoConvert.cpp \ + Base64.cpp \ BinaryStreamError.cpp \ BinaryStreamReader.cpp \ BinaryStreamRef.cpp \ @@ -28,34 +32,39 @@ SRCS= AArch64TargetParser.cpp \ BlockFrequency.cpp \ BranchProbability.cpp \ BuryPointer.cpp \ + COM.cpp \ + CRC.cpp \ + CSKYAttributeParser.cpp \ + CSKYAttributes.cpp \ CachePruning.cpp \ - circular_raw_ostream.cpp \ + Caching.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 \ + DivisionByConstantInfo.cpp \ + DynamicLibrary.cpp \ ELFAttributeParser.cpp \ ELFAttributes.cpp \ + Errno.cpp \ SupportError.cpp \ ErrorHandling.cpp \ ExtensibleRTTI.cpp \ FileCollector.cpp \ - FileUtilities.cpp \ FileOutputBuffer.cpp \ + FileUtilities.cpp \ FoldingSet.cpp \ - FormattedStream.cpp \ FormatVariadic.cpp \ + FormattedStream.cpp \ GlobPattern.cpp \ GraphWriter.cpp \ Hashing.cpp \ @@ -71,25 +80,35 @@ SRCS= AArch64TargetParser.cpp \ Locale.cpp \ LockFileManager.cpp \ SupportLowLevelType.cpp \ + MD5.cpp \ + MSP430AttributeParser.cpp \ + MSP430Attributes.cpp \ ManagedStatic.cpp \ MathExtras.cpp \ MemAlloc.cpp \ + Memory.cpp \ MemoryBuffer.cpp \ MemoryBufferRef.cpp \ - MD5.cpp \ NativeFormatting.cpp \ OptimizedStructLayout.cpp \ Optional.cpp \ Parallel.cpp \ + Path.cpp \ PluginLoader.cpp \ PrettyStackTrace.cpp \ + Process.cpp \ + Program.cpp \ + RISCVAttributeParser.cpp \ + RISCVAttributes.cpp \ + RISCVISAInfo.cpp \ + RWMutex.cpp \ RandomNumberGenerator.cpp \ Regex.cpp \ - RISCVAttributes.cpp \ - RISCVAttributeParser.cpp \ + SHA1.cpp \ + SHA256.cpp \ ScaledNumber.cpp \ ScopedPrinter.cpp \ - SHA1.cpp \ + Signals.cpp \ Signposts.cpp \ SmallPtrSet.cpp \ SmallVector.cpp \ @@ -98,29 +117,33 @@ SRCS= AArch64TargetParser.cpp \ Statistic.cpp \ StringExtras.cpp \ StringMap.cpp \ - StringSaver.cpp \ StringRef.cpp \ + StringSaver.cpp \ SuffixTree.cpp \ SymbolRemappingReader.cpp \ SystemUtils.cpp \ TarWriter.cpp \ - TargetParser.cpp \ ThreadPool.cpp \ + Threading.cpp \ TimeProfiler.cpp \ Timer.cpp \ ToolOutputFile.cpp \ TrigramIndex.cpp \ - Triple.cpp \ Twine.cpp \ TypeSize.cpp \ Unicode.cpp \ UnicodeCaseFold.cpp \ + UnicodeNameToCodepoint.cpp \ + UnicodeNameToCodepointGenerated.cpp \ + Valgrind.cpp \ VersionTuple.cpp \ VirtualFileSystem.cpp \ + Watchdog.cpp \ WithColor.cpp \ - X86TargetParser.cpp \ YAMLParser.cpp \ YAMLTraits.cpp \ + Z3Solver.cpp \ + circular_raw_ostream.cpp \ raw_os_ostream.cpp \ raw_ostream.cpp \ regcomp.c \ @@ -128,23 +151,13 @@ SRCS= AArch64TargetParser.cpp \ regexec.c \ regfree.c \ regstrlcpy.c \ - xxhash.cpp \ - Z3Solver.cpp \ - Atomic.cpp \ - DynamicLibrary.cpp \ - Errno.cpp \ - Host.cpp \ - Memory.cpp \ - Path.cpp \ - Process.cpp \ - Program.cpp \ - RWMutex.cpp \ - Signals.cpp \ - TargetRegistry.cpp \ - ThreadLocal.cpp \ - Threading.cpp \ - Valgrind.cpp \ - Watchdog.cpp + xxhash.cpp + +# BLAKE3 +SRCS+= blake3.c \ + blake3_dispatch.c \ + blake3_portable.c \ + blake3_neon.c SupportError.cpp: ln -s ${LLVM_SRCS}/lib/Support/Error.cpp $@ @@ -153,6 +166,7 @@ SupportLowLevelType.cpp: ln -s ${LLVM_SRCS}/lib/Support/LowLevelType.cpp $@ .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Support +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Support/BLAKE3 install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared b/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared index 36b0a4a0aa5..09b376179a5 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared @@ -1,25 +1,29 @@ -# $OpenBSD: Makefile.shared,v 1.5 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile.shared,v 1.6 2023/11/11 18:35:38 robert Exp $ LIB= LLVMSupport NOPROFILE= -CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ADT \ - -I${LLVM_SRCS}/include/llvm/Support +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ADT \ + -I${LLVM_SRCS}/include/llvm/Support \ + -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2 \ + -DBLAKE3_NO_SSE41 -DBLAKE3_NO_SSE2 -SRCS+= AArch64TargetParser.cpp \ - ABIBreak.cpp \ - ARMTargetParser.cpp \ +SRCS+= ABIBreak.cpp \ AMDGPUMetadata.cpp \ APFixedPoint.cpp \ APFloat.cpp \ APInt.cpp \ APSInt.cpp \ - ARMBuildAttrs.cpp \ ARMAttributeParser.cpp \ + ARMBuildAttrs.cpp \ ARMWinEH.cpp \ + AddressRanges.cpp \ Allocator.cpp \ + Atomic.cpp \ + AutoConvert.cpp \ + Base64.cpp \ BinaryStreamError.cpp \ BinaryStreamReader.cpp \ BinaryStreamRef.cpp \ @@ -27,34 +31,39 @@ SRCS+= AArch64TargetParser.cpp \ BlockFrequency.cpp \ BranchProbability.cpp \ BuryPointer.cpp \ + COM.cpp \ + CRC.cpp \ + CSKYAttributeParser.cpp \ + CSKYAttributes.cpp \ CachePruning.cpp \ - circular_raw_ostream.cpp \ + Caching.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 \ + DivisionByConstantInfo.cpp \ + DynamicLibrary.cpp \ ELFAttributeParser.cpp \ ELFAttributes.cpp \ + Errno.cpp \ SupportError.cpp \ ErrorHandling.cpp \ ExtensibleRTTI.cpp \ FileCollector.cpp \ - FileUtilities.cpp \ FileOutputBuffer.cpp \ + FileUtilities.cpp \ FoldingSet.cpp \ - FormattedStream.cpp \ FormatVariadic.cpp \ + FormattedStream.cpp \ GlobPattern.cpp \ GraphWriter.cpp \ Hashing.cpp \ @@ -70,25 +79,35 @@ SRCS+= AArch64TargetParser.cpp \ Locale.cpp \ LockFileManager.cpp \ SupportLowLevelType.cpp \ + MD5.cpp \ + MSP430AttributeParser.cpp \ + MSP430Attributes.cpp \ ManagedStatic.cpp \ MathExtras.cpp \ MemAlloc.cpp \ + Memory.cpp \ MemoryBuffer.cpp \ MemoryBufferRef.cpp \ - MD5.cpp \ NativeFormatting.cpp \ OptimizedStructLayout.cpp \ Optional.cpp \ Parallel.cpp \ + Path.cpp \ PluginLoader.cpp \ PrettyStackTrace.cpp \ + Process.cpp \ + Program.cpp \ + RISCVAttributeParser.cpp \ + RISCVAttributes.cpp \ + RISCVISAInfo.cpp \ + RWMutex.cpp \ RandomNumberGenerator.cpp \ Regex.cpp \ - RISCVAttributes.cpp \ - RISCVAttributeParser.cpp \ + SHA1.cpp \ + SHA256.cpp \ ScaledNumber.cpp \ ScopedPrinter.cpp \ - SHA1.cpp \ + Signals.cpp \ Signposts.cpp \ SmallPtrSet.cpp \ SmallVector.cpp \ @@ -97,29 +116,33 @@ SRCS+= AArch64TargetParser.cpp \ Statistic.cpp \ StringExtras.cpp \ StringMap.cpp \ - StringSaver.cpp \ StringRef.cpp \ + StringSaver.cpp \ SuffixTree.cpp \ SymbolRemappingReader.cpp \ SystemUtils.cpp \ TarWriter.cpp \ - TargetParser.cpp \ ThreadPool.cpp \ + Threading.cpp \ TimeProfiler.cpp \ Timer.cpp \ ToolOutputFile.cpp \ TrigramIndex.cpp \ - Triple.cpp \ Twine.cpp \ TypeSize.cpp \ Unicode.cpp \ UnicodeCaseFold.cpp \ + UnicodeNameToCodepoint.cpp \ + UnicodeNameToCodepointGenerated.cpp \ + Valgrind.cpp \ VersionTuple.cpp \ VirtualFileSystem.cpp \ + Watchdog.cpp \ WithColor.cpp \ - X86TargetParser.cpp \ YAMLParser.cpp \ YAMLTraits.cpp \ + Z3Solver.cpp \ + circular_raw_ostream.cpp \ raw_os_ostream.cpp \ raw_ostream.cpp \ regcomp.c \ @@ -127,23 +150,13 @@ SRCS+= AArch64TargetParser.cpp \ regexec.c \ regfree.c \ regstrlcpy.c \ - xxhash.cpp \ - Z3Solver.cpp \ - Atomic.cpp \ - DynamicLibrary.cpp \ - Errno.cpp \ - Host.cpp \ - Memory.cpp \ - Path.cpp \ - Process.cpp \ - Program.cpp \ - RWMutex.cpp \ - Signals.cpp \ - TargetRegistry.cpp \ - ThreadLocal.cpp \ - Threading.cpp \ - Valgrind.cpp \ - Watchdog.cpp + xxhash.cpp + +# BLAKE3 +SRCS+= blake3.c \ + blake3_dispatch.c \ + blake3_portable.c \ + blake3_neon.c SupportError.cpp: ln -s ${LLVM_SRCS}/lib/Support/Error.cpp $@ @@ -152,5 +165,6 @@ SupportLowLevelType.cpp: ln -s ${LLVM_SRCS}/lib/Support/LowLevelType.cpp $@ .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Support +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Support/BLAKE3 CLEANFILES+= SupportError.cpp SupportLowLevelType.cpp diff --git a/gnu/usr.bin/clang/libLLVMSymbolize/Makefile b/gnu/usr.bin/clang/libLLVMSymbolize/Makefile index 7c77495116d..72b4d61966a 100644 --- a/gnu/usr.bin/clang/libLLVMSymbolize/Makefile +++ b/gnu/usr.bin/clang/libLLVMSymbolize/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2021/08/02 08:50:52 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2023/11/11 18:35:38 robert Exp $ LIB= LLVMSymbolize NOPROFILE= @@ -6,7 +6,9 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/Symbolize SRCS+= DIPrinter.cpp \ + Markup.cpp \ + MarkupFilter.cpp \ SymbolizableObjectFile.cpp \ - Symbolize.cpp \ + Symbolize.cpp .PATH: ${.CURDIR}/../../../llvm/llvm/lib/DebugInfo/Symbolize diff --git a/gnu/usr.bin/clang/libLLVMTableGen/Makefile b/gnu/usr.bin/clang/libLLVMTableGen/Makefile index 7dfce6cb5d2..1ab07a6567c 100644 --- a/gnu/usr.bin/clang/libLLVMTableGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMTableGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:38 robert Exp $ LIB= LLVMTableGen NOPIC= @@ -7,17 +7,19 @@ NOPROFILE= CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/TableGen .include + SRCS= DetailedRecordsBackend.cpp \ TableGenError.cpp \ JSONBackend.cpp \ Main.cpp \ + Parser.cpp \ Record.cpp \ SetTheory.cpp \ StringMatcher.cpp \ - TableGenBackend.cpp \ - TableGenBackendSkeleton.cpp \ TGLexer.cpp \ - TGParser.cpp + TGParser.cpp \ + TableGenBackend.cpp \ + TableGenBackendSkeleton.cpp TableGenError.cpp: ln -s ${LLVM_SRCS}/lib/TableGen/Error.cpp $@ diff --git a/gnu/usr.bin/clang/libLLVMTargetParser/Makefile b/gnu/usr.bin/clang/libLLVMTargetParser/Makefile new file mode 100644 index 00000000000..43973a4688e --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMTargetParser/Makefile @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:38 robert Exp $ + +LIB= LLVMTargetParser +NOPROFILE= + +CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/TargetParser + +SRCS+= AArch64TargetParser.cpp \ + ARMTargetParserCommon.cpp \ + ARMTargetParser.cpp \ + CSKYTargetParser.cpp \ + Host.cpp \ + LoongArchTargetParser.cpp \ + RISCVTargetParser.cpp \ + TargetParser.cpp \ + Triple.cpp \ + X86TargetParser.cpp + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/TargetParser diff --git a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile index 5c8ebefef43..7293378dcf6 100644 --- a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile +++ b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.15 2023/11/11 18:35:38 robert Exp $ LIB= LLVMTransformUtils NOPROFILE= @@ -21,6 +21,7 @@ SRCS+= AddDiscriminators.cpp \ CloneFunction.cpp \ CloneModule.cpp \ CodeExtractor.cpp \ + CodeLayout.cpp \ CodeMoverUtils.cpp \ CtorUtils.cpp \ Debugify.cpp \ @@ -41,7 +42,7 @@ SRCS+= AddDiscriminators.cpp \ IntegerDivision.cpp \ LCSSA.cpp \ LibCallsShrinkWrap.cpp \ - Local.cpp \ + TransformUtilsLocal.cpp \ LoopPeel.cpp \ LoopRotationUtils.cpp \ LoopSimplify.cpp \ @@ -50,13 +51,18 @@ SRCS+= AddDiscriminators.cpp \ LoopUnrollRuntime.cpp \ LoopUtils.cpp \ LoopVersioning.cpp \ + LowerAtomic.cpp \ + LowerGlobalDtors.cpp \ + LowerIFunc.cpp \ LowerInvoke.cpp \ LowerMemIntrinsics.cpp \ LowerSwitch.cpp \ MatrixUtils.cpp \ MemoryOpRemark.cpp \ + MemoryTaggingSupport.cpp \ Mem2Reg.cpp \ MetaRenamer.cpp \ + MisExpect.cpp \ ModuleUtils.cpp \ NameAnonGlobals.cpp \ PredicateInfo.cpp \ @@ -67,6 +73,7 @@ SRCS+= AddDiscriminators.cpp \ StripGCRelocates.cpp \ SSAUpdater.cpp \ SSAUpdaterBulk.cpp \ + SampleProfileInference.cpp \ SampleProfileLoaderBaseUtil.cpp \ SanitizerStats.cpp \ SimplifyCFG.cpp \ @@ -85,9 +92,12 @@ SRCS+= AddDiscriminators.cpp \ TransformUtilsGuardUtils.cpp: ln -s ${LLVM_SRCS}/lib/Transforms/Utils/GuardUtils.cpp $@ +TransformUtilsLocal.cpp: + ln -s ${LLVM_SRCS}/lib/Transforms/Utils/Local.cpp $@ + TransformUtilsUtils.cpp: ln -s ${LLVM_SRCS}/lib/Transforms/Utils/Utils.cpp $@ .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/Utils -CLEANFILES+= TransformUtilsUtils.cpp +CLEANFILES+= TransformUtilsUtils.cpp TransformUtilsGuardUtils.cpp TransformUtilsLocal.cpp diff --git a/gnu/usr.bin/clang/libLLVMVectorize/Makefile b/gnu/usr.bin/clang/libLLVMVectorize/Makefile index a6251472ec1..e690973e94f 100644 --- a/gnu/usr.bin/clang/libLLVMVectorize/Makefile +++ b/gnu/usr.bin/clang/libLLVMVectorize/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:38 robert Exp $ LIB= LLVMVectorize NOPROFILE= @@ -14,7 +14,7 @@ SRCS+= LoadStoreVectorizer.cpp \ VectorCombine.cpp \ VPlan.cpp \ VPlanHCFGBuilder.cpp \ - VPlanPredicator.cpp \ + VPlanRecipes.cpp \ VPlanSLP.cpp \ VPlanTransforms.cpp \ VPlanVerifier.cpp diff --git a/gnu/usr.bin/clang/libLLVMWindowsDriver/Makefile b/gnu/usr.bin/clang/libLLVMWindowsDriver/Makefile new file mode 100644 index 00000000000..e4aa9f91d41 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMWindowsDriver/Makefile @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:38 robert Exp $ + +LIB= LLVMWindowsDriver +NOPROFILE= + +SRCS+= MSVCPaths.cpp + +.PATH: ${.CURDIR}/../../../llvm/llvm/lib/WindowsDriver diff --git a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile index 707f2613dca..0dd32c5c2cd 100644 --- a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.18 2023/11/11 18:35:38 robert Exp $ LIB= LLVMX86CodeGen NOPROFILE= @@ -18,6 +18,7 @@ SRCS+= X86AsmPrinter.cpp \ X86PreAMXConfig.cpp \ X86LowerAMXIntrinsics.cpp \ X86TileConfig.cpp \ + X86FastPreTileConfig.cpp \ X86FastTileConfig.cpp \ X86PreTileConfig.cpp \ X86ExpandPseudo.cpp \ @@ -26,6 +27,7 @@ SRCS+= X86AsmPrinter.cpp \ X86FixupGadgets.cpp \ X86FixupLEAs.cpp \ X86AvoidStoreForwardingBlocks.cpp \ + X86DynAllocaExpander.cpp \ X86FixupSetCC.cpp \ X86FlagsCopyLowering.cpp \ X86FloatingPoint.cpp \ @@ -42,6 +44,7 @@ SRCS+= X86AsmPrinter.cpp \ X86InstrFoldTables.cpp \ X86InstrInfo.cpp \ X86EvexToVex.cpp \ + X86KCFI.cpp \ X86LegalizerInfo.cpp \ X86LoadValueInjectionLoadHardening.cpp \ X86LoadValueInjectionRetHardening.cpp \ @@ -54,6 +57,7 @@ SRCS+= X86AsmPrinter.cpp \ X86RegisterBankInfo.cpp \ X86RegisterInfo.cpp \ X86ReturnProtectorLowering.cpp \ + X86ReturnThunks.cpp \ X86SelectionDAGInfo.cpp \ X86ShuffleDecodeConstantPool.cpp \ X86SpeculativeLoadHardening.cpp \ @@ -63,7 +67,6 @@ SRCS+= X86AsmPrinter.cpp \ X86TargetObjectFile.cpp \ X86TargetTransformInfo.cpp \ X86VZeroUpper.cpp \ - X86WinAllocaExpander.cpp \ X86WinEHState.cpp \ X86InsertWait.cpp diff --git a/gnu/usr.bin/clang/libLLVMX86Desc/Makefile b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile index 329db5c588f..c6485454a0a 100644 --- a/gnu/usr.bin/clang/libLLVMX86Desc/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86Desc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2021/04/28 12:55:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:38 robert Exp $ LIB= LLVMX86Desc NOPROFILE= @@ -9,12 +9,14 @@ SRCS+= X86ATTInstPrinter.cpp \ X86IntelInstPrinter.cpp \ X86InstComments.cpp \ X86InstPrinterCommon.cpp \ + X86InstrRelaxTables.cpp \ X86ShuffleDecode.cpp \ X86AsmBackend.cpp \ X86MCTargetDesc.cpp \ X86MCAsmInfo.cpp \ X86MCCodeEmitter.cpp \ X86MachObjectWriter.cpp \ + X86MnemonicTables.cpp \ X86ELFObjectWriter.cpp \ X86WinCOFFObjectWriter.cpp \ X86WinCOFFStreamer.cpp \ diff --git a/gnu/usr.bin/clang/libLLVMipo/Makefile b/gnu/usr.bin/clang/libLLVMipo/Makefile index 5e9d2894b6b..921109010fa 100644 --- a/gnu/usr.bin/clang/libLLVMipo/Makefile +++ b/gnu/usr.bin/clang/libLLVMipo/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.15 2023/11/11 18:35:38 robert Exp $ LIB= LLVMipo NOPROFILE= @@ -36,10 +36,10 @@ SRCS+= AlwaysInliner.cpp \ LoopExtractor.cpp \ LowerTypeTests.cpp \ MergeFunctions.cpp \ + ModuleInliner.cpp \ OpenMPOpt.cpp \ PartialInlining.cpp \ PassManagerBuilder.cpp \ - PruneEH.cpp \ SampleContextTracker.cpp \ SampleProfile.cpp \ SampleProfileProbe.cpp \ diff --git a/gnu/usr.bin/clang/libclangAST/Makefile b/gnu/usr.bin/clang/libclangAST/Makefile index a8228487aa7..c0977efd502 100644 --- a/gnu/usr.bin/clang/libclangAST/Makefile +++ b/gnu/usr.bin/clang/libclangAST/Makefile @@ -1,13 +1,17 @@ -# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:38 robert Exp $ LIB= clangAST NOPIC= NOPROFILE= +TBLGEN= ${.OBJDIR}/../clang-tblgen/clang-tblgen +CLANG_INC= ${.CURDIR}/../../../llvm/clang/include + CPPFLAGS+= -I${.OBJDIR}/../include/clang/AST \ ${CLANG_INCLUDES} .include + SRCS= APValue.cpp \ ASTConcept.cpp \ ASTConsumer.cpp \ @@ -18,6 +22,7 @@ SRCS= APValue.cpp \ ASTImporterLookupTable.cpp \ ASTStructuralEquivalence.cpp \ ASTTypeTraits.cpp \ + AttrDocTable.cpp \ AttrImpl.cpp \ Comment.cpp \ CommentBriefParser.cpp \ @@ -58,12 +63,14 @@ SRCS= APValue.cpp \ MicrosoftMangle.cpp \ NestedNameSpecifier.cpp \ NSAPI.cpp \ + ODRDiagsEmitter.cpp \ ODRHash.cpp \ OpenMPClause.cpp \ OSLog.cpp \ ParentMap.cpp \ PrintfFormatString.cpp \ QualTypeNames.cpp \ + Randstruct.cpp \ RawCommentList.cpp \ RecordLayout.cpp \ RecordLayoutBuilder.cpp \ @@ -107,11 +114,22 @@ SRCS+= ByteCodeEmitter.cpp \ Program.cpp \ Record.cpp \ Source.cpp \ - State.cpp \ + State.cpp .PATH: ${.CURDIR}/../../../llvm/clang/lib/AST .PATH: ${.CURDIR}/../../../llvm/clang/lib/AST/Interp +BUILDFIRST= AttrDocTable.inc \ + Opcodes.inc + +AttrDocTable.inc: + ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-doc-table ${CLANG_INC}/clang/Basic/Attr.td \ + -o ${.TARGET} ${.ALLSRC} + +Opcodes.inc: + ${TBLGEN} -I${CLANG_INC} -gen-clang-opcodes ${.CURDIR}/../../../llvm/clang/lib/AST/Interp/Opcodes.td \ + -o ${.TARGET} ${.ALLSRC} + install: @# Nothing here so far ... diff --git a/gnu/usr.bin/clang/libclangASTMatchers/Makefile b/gnu/usr.bin/clang/libclangASTMatchers/Makefile new file mode 100644 index 00000000000..8c5f226c49e --- /dev/null +++ b/gnu/usr.bin/clang/libclangASTMatchers/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:38 robert Exp $ + +LIB= clangASTMatchers +NOPIC= +NOPROFILE= + +#CPPFLAGS+= -I${.OBJDIR}/../include/clang/AST \ +CPPFLAGS+= ${CLANG_INCLUDES} + +.include + +SRCS= ASTMatchFinder.cpp \ + ASTMatchersInternal.cpp \ + GtestMatchers.cpp + +SRCS+= Diagnostics.cpp \ + Marshallers.cpp \ + Parser.cpp \ + Registry.cpp \ + VariantValue.cpp + +.PATH: ${.CURDIR}/../../../llvm/clang/lib/ASTMatchers +.PATH: ${.CURDIR}/../../../llvm/clang/lib/ASTMatchers/Dynamic + +install: + @# Nothing here so far ... + +.include diff --git a/gnu/usr.bin/clang/libclangAnalysis/Makefile b/gnu/usr.bin/clang/libclangAnalysis/Makefile index 25669a34cc0..9a0887f4d69 100644 --- a/gnu/usr.bin/clang/libclangAnalysis/Makefile +++ b/gnu/usr.bin/clang/libclangAnalysis/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2023/11/11 18:35:38 robert Exp $ LIB= clangAnalysis NOPIC= @@ -7,6 +7,7 @@ NOPROFILE= CPPFLAGS+= ${CLANG_INCLUDES} .include + SRCS= AnalysisDeclContext.cpp \ BodyFarm.cpp \ CalledOnceCheck.cpp \ @@ -23,6 +24,7 @@ SRCS= AnalysisDeclContext.cpp \ ExprMutationAnalyzer.cpp \ IssueHash.cpp \ LiveVariables.cpp \ + MacroExpansionContext.cpp \ ObjCNoReturn.cpp \ PathDiagnostic.cpp \ PostOrderCFGView.cpp \ @@ -33,7 +35,8 @@ SRCS= AnalysisDeclContext.cpp \ ThreadSafetyCommon.cpp \ ThreadSafetyLogical.cpp \ ThreadSafetyTIL.cpp \ - UninitializedValues.cpp + UninitializedValues.cpp \ + UnsafeBufferUsage.cpp .PATH: ${.CURDIR}/../../../llvm/clang/lib/Analysis diff --git a/gnu/usr.bin/clang/libclangBasic/Makefile b/gnu/usr.bin/clang/libclangBasic/Makefile index 69111b89efa..7b8158fac6e 100644 --- a/gnu/usr.bin/clang/libclangBasic/Makefile +++ b/gnu/usr.bin/clang/libclangBasic/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:38 robert Exp $ LIB= clangBasic NOPIC= @@ -9,8 +9,10 @@ CPPFLAGS+= -I${CLANG_SRCS}/lib/Basic CPPFLAGS+= -I${CLANG_SRCS}/lib/Basic/Targets .include + SRCS= Attributes.cpp \ Builtins.cpp \ + CLWarnings.cpp \ CharInfo.cpp \ CodeGenOptions.cpp \ Cuda.cpp \ @@ -25,6 +27,7 @@ SRCS= Attributes.cpp \ IdentifierTable.cpp \ LangOptions.cpp \ LangStandards.cpp \ + MakeSupport.cpp \ Module.cpp \ ObjCRuntime.cpp \ OpenCLOptions.cpp \ @@ -34,6 +37,7 @@ SRCS= Attributes.cpp \ NoSanitizeList.cpp \ SanitizerSpecialCaseList.cpp \ Sanitizers.cpp \ + Sarif.cpp \ SourceLocation.cpp \ SourceManager.cpp \ Stack.cpp \ @@ -54,9 +58,12 @@ SRCS+= AArch64.cpp \ ARM.cpp \ AVR.cpp \ BPF.cpp \ + CSKY.cpp \ + DirectX.cpp \ Hexagon.cpp \ Lanai.cpp \ Le64.cpp \ + LoongArch.cpp \ M68k.cpp \ MSP430.cpp \ Mips.cpp \ diff --git a/gnu/usr.bin/clang/libclangBasicTargets/Makefile b/gnu/usr.bin/clang/libclangBasicTargets/Makefile index b9f171883ce..459727da3b6 100644 --- a/gnu/usr.bin/clang/libclangBasicTargets/Makefile +++ b/gnu/usr.bin/clang/libclangBasicTargets/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:28 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:38 robert Exp $ LIB= clangBasicTargets NOPIC= @@ -9,15 +9,20 @@ CPPFLAGS+= -I${CLANG_SRCS}/lib/Basic CPPFLAGS+= -I${CLANG_SRCS}/lib/Basic/Targets .include + SRCS= AArch64.cpp \ AMDGPU.cpp \ ARC.cpp \ ARM.cpp \ AVR.cpp \ BPF.cpp \ + CSKY.cpp \ + DirectX.cpp \ Hexagon.cpp \ Lanai.cpp \ Le64.cpp \ + LoongArch.cpp \ + M68k.cpp \ MSP430.cpp \ Mips.cpp \ NVPTX.cpp \ @@ -29,6 +34,7 @@ SRCS= AArch64.cpp \ Sparc.cpp \ SystemZ.cpp \ TCE.cpp \ + VE.cpp \ WebAssembly.cpp \ X86.cpp \ XCore.cpp diff --git a/gnu/usr.bin/clang/libclangCodeGen/Makefile b/gnu/usr.bin/clang/libclangCodeGen/Makefile index 98332f588e4..714fe2f2eef 100644 --- a/gnu/usr.bin/clang/libclangCodeGen/Makefile +++ b/gnu/usr.bin/clang/libclangCodeGen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2023/11/11 18:35:38 robert Exp $ LIB= clangCodeGen NOPIC= @@ -7,6 +7,7 @@ NOPROFILE= CPPFLAGS+= ${CLANG_INCLUDES} .include + SRCS= BackendUtil.cpp \ CGAtomic.cpp \ CGBlocks.cpp \ @@ -30,6 +31,7 @@ SRCS= BackendUtil.cpp \ CGExprConstant.cpp \ CGExprScalar.cpp \ CGGPUBuiltin.cpp \ + CGHLSLRuntime.cpp \ CGLoopInfo.cpp \ CGNonTrivialStruct.cpp \ CGObjC.cpp \ @@ -38,9 +40,7 @@ SRCS= BackendUtil.cpp \ CGObjCRuntime.cpp \ CGOpenCLRuntime.cpp \ CGOpenMPRuntime.cpp \ - CGOpenMPRuntimeAMDGCN.cpp \ CGOpenMPRuntimeGPU.cpp \ - CGOpenMPRuntimeNVPTX.cpp \ CGRecordLayoutBuilder.cpp \ CGStmt.cpp \ CGStmtOpenMP.cpp \ diff --git a/gnu/usr.bin/clang/libclangDriver/Makefile b/gnu/usr.bin/clang/libclangDriver/Makefile index cb1ecca8e6f..326a6ac09c1 100644 --- a/gnu/usr.bin/clang/libclangDriver/Makefile +++ b/gnu/usr.bin/clang/libclangDriver/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:38 robert Exp $ LIB= clangDriver NOPIC= @@ -17,6 +17,7 @@ SRCS= Action.cpp \ DriverOptions.cpp \ Job.cpp \ Multilib.cpp \ + OffloadBundler.cpp \ OptionUtils.cpp \ Phases.cpp \ SanitizerArgs.cpp \ @@ -37,6 +38,7 @@ SRCS+= AIX.cpp \ CommonArgs.cpp \ Contiki.cpp \ CrossWindows.cpp \ + CSKYToolChain.cpp \ Cuda.cpp \ Darwin.cpp \ DragonFly.cpp \ @@ -45,8 +47,11 @@ SRCS+= AIX.cpp \ Fuchsia.cpp \ Gnu.cpp \ Haiku.cpp \ - HIP.cpp \ + HIPUtility.cpp \ + HIPAMD.cpp \ + HIPSPV.cpp \ Hexagon.cpp \ + HLSL.cpp \ Hurd.cpp \ Linux.cpp \ MipsLinux.cpp \ @@ -61,17 +66,21 @@ SRCS+= AIX.cpp \ PS4CPU.cpp \ RISCVToolchain.cpp \ Solaris.cpp \ + SPIRV.cpp \ TCE.cpp \ VEToolchain.cpp \ WebAssembly.cpp \ XCore.cpp \ PPCLinux.cpp \ + PPCFreeBSD.cpp \ InterfaceStubs.cpp \ ZOS.cpp # Driver/Toolchains/Arch SRCS+= AArch64.cpp \ ARM.cpp \ + CSKY.cpp \ + LoongArch.cpp \ M68k.cpp \ Mips.cpp \ PPC.cpp \ diff --git a/gnu/usr.bin/clang/libclangExtractAPI/Makefile b/gnu/usr.bin/clang/libclangExtractAPI/Makefile new file mode 100644 index 00000000000..ffced37edc2 --- /dev/null +++ b/gnu/usr.bin/clang/libclangExtractAPI/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:38 robert Exp $ + +LIB= clangExtractAPI +NOPIC= +NOPROFILE= + +CPPFLAGS+= ${CLANG_INCLUDES} + +.include + +SRCS= API.cpp \ + APIIgnoresList.cpp \ + AvailabilityInfo.cpp \ + ExtractAPIConsumer.cpp \ + ExtractAPIVisitor.cpp \ + DeclarationFragments.cpp \ + TypedefUnderlyingTypeResolver.cpp + +# Serialization +SRCS+= SerializerBase.cpp \ + SymbolGraphSerializer.cpp + +.PATH: ${.CURDIR}/../../../llvm/clang/lib/ExtractAPI +.PATH: ${.CURDIR}/../../../llvm/clang/lib/ExtractAPI/Serialization + +install: + @# Nothing here so far ... + +.include diff --git a/gnu/usr.bin/clang/libclangFrontend/Makefile b/gnu/usr.bin/clang/libclangFrontend/Makefile index 58bc3cbb0d2..53bed2a5253 100644 --- a/gnu/usr.bin/clang/libclangFrontend/Makefile +++ b/gnu/usr.bin/clang/libclangFrontend/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2023/11/11 18:35:38 robert Exp $ LIB= clangFrontend NOPIC= @@ -7,6 +7,7 @@ NOPROFILE= CPPFLAGS+= ${CLANG_INCLUDES} .include + SRCS= ASTConsumers.cpp \ ASTMerge.cpp \ ASTUnit.cpp \ @@ -22,7 +23,6 @@ SRCS= ASTConsumers.cpp \ FrontendActions.cpp \ FrontendOptions.cpp \ HeaderIncludeGen.cpp \ - InitHeaderSearch.cpp \ InitPreprocessor.cpp \ LayoutOverrideSource.cpp \ LogDiagnosticPrinter.cpp \ @@ -30,6 +30,8 @@ SRCS= ASTConsumers.cpp \ MultiplexConsumer.cpp \ PrecompiledPreamble.cpp \ PrintPreprocessedOutput.cpp \ + SARIFDiagnostic.cpp \ + SARIFDiagnosticPrinter.cpp \ SerializedDiagnosticPrinter.cpp \ SerializedDiagnosticReader.cpp \ TestModuleFileExtension.cpp \ diff --git a/gnu/usr.bin/clang/libclangIndex/Makefile b/gnu/usr.bin/clang/libclangIndex/Makefile new file mode 100644 index 00000000000..7a0e16e650e --- /dev/null +++ b/gnu/usr.bin/clang/libclangIndex/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:38 robert Exp $ + +LIB= clangIndex +NOPIC= +NOPROFILE= + +CPPFLAGS+= ${CLANG_INCLUDES} + +.include + +SRCS= CommentToXML.cpp \ + FileIndexRecord.cpp \ + IndexBody.cpp \ + IndexDecl.cpp \ + IndexingAction.cpp \ + IndexingContext.cpp \ + IndexSymbol.cpp \ + IndexTypeSourceInfo.cpp \ + USRGeneration.cpp + +.PATH: ${.CURDIR}/../../../llvm/clang/lib/Index + +install: + @# Nothing here so far ... + +.include diff --git a/gnu/usr.bin/clang/libclangLex/Makefile b/gnu/usr.bin/clang/libclangLex/Makefile index a491021b895..d75b38d4c10 100644 --- a/gnu/usr.bin/clang/libclangLex/Makefile +++ b/gnu/usr.bin/clang/libclangLex/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:38 robert Exp $ LIB= clangLex NOPIC= @@ -7,9 +7,11 @@ NOPROFILE= CPPFLAGS+= ${CLANG_INCLUDES} .include -SRCS= DependencyDirectivesSourceMinimizer.cpp \ + +SRCS= DependencyDirectivesScanner.cpp \ HeaderMap.cpp \ HeaderSearch.cpp \ + InitHeaderSearch.cpp \ Lexer.cpp \ LiteralSupport.cpp \ MacroArgs.cpp \ diff --git a/gnu/usr.bin/clang/libclangParse/Makefile b/gnu/usr.bin/clang/libclangParse/Makefile index 602cd3f8af6..ad31bdc51ef 100644 --- a/gnu/usr.bin/clang/libclangParse/Makefile +++ b/gnu/usr.bin/clang/libclangParse/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2020/08/03 14:45:29 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2023/11/11 18:35:39 robert Exp $ LIB= clangParse NOPIC= @@ -7,12 +7,14 @@ NOPROFILE= CPPFLAGS+= ${CLANG_INCLUDES} .include + SRCS= ParseAST.cpp \ ParseCXXInlineMethods.cpp \ ParseDecl.cpp \ ParseDeclCXX.cpp \ ParseExpr.cpp \ ParseExprCXX.cpp \ + ParseHLSL.cpp \ ParseInit.cpp \ ParseObjc.cpp \ ParseOpenMP.cpp \ diff --git a/gnu/usr.bin/clang/libclangSema/Makefile b/gnu/usr.bin/clang/libclangSema/Makefile index 49abf28b64c..38d4f84255c 100644 --- a/gnu/usr.bin/clang/libclangSema/Makefile +++ b/gnu/usr.bin/clang/libclangSema/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:40 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:39 robert Exp $ LIB= clangSema NOPIC= @@ -8,10 +8,12 @@ CPPFLAGS+= -I${.OBJDIR}/../include/clang/Sema \ ${CLANG_INCLUDES} .include + SRCS= AnalysisBasedWarnings.cpp \ CodeCompleteConsumer.cpp \ DeclSpec.cpp \ DelayedDiagnostic.cpp \ + HLSLExternalSemaSource.cpp \ IdentifierResolver.cpp \ JumpDiagnostics.cpp \ MultiplexExternalSemaSource.cpp \ @@ -40,6 +42,7 @@ SRCS= AnalysisBasedWarnings.cpp \ SemaExprMember.cpp \ SemaExprObjC.cpp \ SemaFixItUtils.cpp \ + SemaHLSL.cpp \ SemaInit.cpp \ SemaLambda.cpp \ SemaLookup.cpp \ @@ -48,6 +51,7 @@ SRCS= AnalysisBasedWarnings.cpp \ SemaOpenMP.cpp \ SemaOverload.cpp \ SemaPseudoObject.cpp \ + SemaRISCVVectorLookup.cpp \ SemaStmt.cpp \ SemaStmtAsm.cpp \ SemaStmtAttr.cpp \ diff --git a/gnu/usr.bin/clang/libclangSupport/Makefile b/gnu/usr.bin/clang/libclangSupport/Makefile new file mode 100644 index 00000000000..2abb789b5e3 --- /dev/null +++ b/gnu/usr.bin/clang/libclangSupport/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:39 robert Exp $ + +LIB= clangSupport +NOPIC= +NOPROFILE= + +CPPFLAGS+= ${CLANG_INCLUDES} + +.include + +SRCS+= RISCVVIntrinsicUtils.cpp + +.PATH: ${.CURDIR}/../../../llvm/clang/lib/Support + +install: + @# Nothing here so far ... + +.include diff --git a/gnu/usr.bin/clang/liblldCommon/Makefile b/gnu/usr.bin/clang/liblldCommon/Makefile index d112a8bd9fa..56b43b2b3a6 100644 --- a/gnu/usr.bin/clang/liblldCommon/Makefile +++ b/gnu/usr.bin/clang/liblldCommon/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:39 robert Exp $ LIB= lldCommon NOPROFILE= @@ -6,7 +6,9 @@ NOPROFILE= CPPFLAGS+= -I${LLD_SRCS}/include .include + SRCS= Args.cpp \ + CommonLinkerContext.cpp \ DWARF.cpp \ ErrorHandler.cpp \ Filesystem.cpp \ diff --git a/gnu/usr.bin/clang/liblldELF/Makefile b/gnu/usr.bin/clang/liblldELF/Makefile index c6373839bfa..21aa7956ffd 100644 --- a/gnu/usr.bin/clang/liblldELF/Makefile +++ b/gnu/usr.bin/clang/liblldELF/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:41 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:39 robert Exp $ LIB= lldELF NOPROFILE= @@ -8,9 +8,9 @@ CPPFLAGS+= -I${LLD_SRCS}/include CPPFLAGS+= -I${LLD_SRCS}/ELF .include + # ELF/Arch -SRCS= AArch64ErrataFix.cpp \ - AArch64.cpp \ +SRCS= AArch64.cpp \ AMDGPU.cpp \ ARM.cpp \ AVR.cpp \ @@ -26,7 +26,8 @@ SRCS= AArch64ErrataFix.cpp \ X86_64.cpp # ELF -SRCS+= ARMErrataFix.cpp \ +SRCS+= AArch64ErrataFix.cpp \ + ARMErrataFix.cpp \ CallGraphSort.cpp \ DWARF.cpp \ Driver.cpp \ @@ -48,7 +49,7 @@ SRCS+= ARMErrataFix.cpp \ SyntheticSections.cpp \ Target.cpp \ Thunks.cpp \ - Writer.cpp \ + Writer.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 a0337040106..efbe3aaa310 100644 --- a/gnu/usr.bin/clang/liblldbABI/Makefile +++ b/gnu/usr.bin/clang/liblldbABI/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2023/11/11 18:35:39 robert Exp $ LIB= lldbABI NOPIC= @@ -22,6 +22,7 @@ SRCS= ABIAArch64.cpp \ ABISysV_ppc64.cpp \ ABISysV_s390x.cpp \ ABIX86.cpp \ + ABIX86_i386.cpp \ ABIMacOSX_i386.cpp \ ABISysV_i386.cpp \ ABISysV_x86_64.cpp \ diff --git a/gnu/usr.bin/clang/liblldbAPI/Makefile b/gnu/usr.bin/clang/liblldbAPI/Makefile index e8dfa8b1a26..67606e0ada8 100644 --- a/gnu/usr.bin/clang/liblldbAPI/Makefile +++ b/gnu/usr.bin/clang/liblldbAPI/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:39 robert Exp $ LIB= lldbAPI NOPIC= @@ -62,6 +62,7 @@ SRCS= SBAddress.cpp \ SBThreadCollection.cpp \ SBThreadPlan.cpp \ SBTrace.cpp \ + SBTraceCursor.cpp \ SBType.cpp \ SBTypeCategory.cpp \ SBTypeEnumMember.cpp \ diff --git a/gnu/usr.bin/clang/liblldbCommands/Makefile b/gnu/usr.bin/clang/liblldbCommands/Makefile index 14dd4af979f..a6779d60214 100644 --- a/gnu/usr.bin/clang/liblldbCommands/Makefile +++ b/gnu/usr.bin/clang/liblldbCommands/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:39 robert Exp $ LIB= lldbCommands NOPIC= @@ -11,7 +11,9 @@ SRCS= CommandCompletions.cpp \ CommandObjectBreakpoint.cpp \ CommandObjectBreakpointCommand.cpp \ CommandObjectCommands.cpp \ + CommandObjectDiagnostics.cpp \ CommandObjectDisassemble.cpp \ + CommandObjectDWIMPrint.cpp \ CommandObjectExpression.cpp \ CommandObjectFrame.cpp \ CommandObjectGUI.cpp \ @@ -27,7 +29,6 @@ SRCS= CommandCompletions.cpp \ CommandObjectQuit.cpp \ CommandObjectRegexCommand.cpp \ CommandObjectRegister.cpp \ - CommandObjectReproducer.cpp \ CommandObjectScript.cpp \ CommandObjectSession.cpp \ CommandObjectSettings.cpp \ @@ -41,6 +42,7 @@ SRCS= CommandCompletions.cpp \ CommandObjectVersion.cpp \ CommandObjectWatchpoint.cpp \ CommandObjectWatchpointCommand.cpp \ + CommandOptionArgumentTable.cpp \ CommandOptionsProcessLaunch.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Commands diff --git a/gnu/usr.bin/clang/liblldbCore/Makefile b/gnu/usr.bin/clang/liblldbCore/Makefile index eeeeb3f955c..9c878414ff1 100644 --- a/gnu/usr.bin/clang/liblldbCore/Makefile +++ b/gnu/usr.bin/clang/liblldbCore/Makefile @@ -1,16 +1,19 @@ -# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:39 robert Exp $ LIB= lldbCore NOPIC= NOPROFILE= .include + SRCS= Address.cpp \ AddressRange.cpp \ AddressResolver.cpp \ AddressResolverFileLine.cpp \ Communication.cpp \ + DataFileCache.cpp \ Debugger.cpp \ + DebuggerEvents.cpp \ Declaration.cpp \ Disassembler.cpp \ DumpDataExtractor.cpp \ @@ -37,6 +40,7 @@ SRCS= Address.cpp \ SourceManager.cpp \ StreamAsynchronousIO.cpp \ StreamFile.cpp \ + ThreadedCommunication.cpp \ UserSettingsController.cpp \ Value.cpp \ ValueObject.cpp \ diff --git a/gnu/usr.bin/clang/liblldbExpression/Makefile b/gnu/usr.bin/clang/liblldbExpression/Makefile index c849fa6ac1d..648bf4e9fd6 100644 --- a/gnu/usr.bin/clang/liblldbExpression/Makefile +++ b/gnu/usr.bin/clang/liblldbExpression/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2023/11/11 18:35:39 robert Exp $ LIB= lldbExpression NOPIC= @@ -8,6 +8,7 @@ NOPROFILE= SRCS= DiagnosticManager.cpp \ DWARFExpression.cpp \ + DWARFExpressionList.cpp \ Expression.cpp \ ExpressionVariable.cpp \ FunctionCaller.cpp \ diff --git a/gnu/usr.bin/clang/liblldbHostCommon/Makefile b/gnu/usr.bin/clang/liblldbHostCommon/Makefile index 461eb10c6c0..e536692a9cb 100644 --- a/gnu/usr.bin/clang/liblldbHostCommon/Makefile +++ b/gnu/usr.bin/clang/liblldbHostCommon/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:39 robert Exp $ LIB= lldbHostCommon NOPIC= NOPROFILE= .include + SRCS= Editline.cpp \ FileAction.cpp \ FileCache.cpp \ @@ -18,7 +19,7 @@ SRCS= Editline.cpp \ HostThread.cpp \ LockFileBase.cpp \ LZMA.cpp \ - MainLoop.cpp \ + MainLoopBase.cpp \ MonitoringProcessLauncher.cpp \ NativeProcessProtocol.cpp \ NativeRegisterContext.cpp \ @@ -31,7 +32,6 @@ SRCS= Editline.cpp \ PseudoTerminal.cpp \ SocketAddress.cpp \ Socket.cpp \ - StringConvert.cpp \ TCPSocket.cpp \ Terminal.cpp \ ThreadLauncher.cpp \ diff --git a/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile b/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile index b1f22644ff3..11927aae9d9 100644 --- a/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile +++ b/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2023/11/11 18:35:39 robert Exp $ LIB= lldbHostPOSIX NOPIC= @@ -12,6 +12,7 @@ SRCS= ConnectionFileDescriptorPosix.cpp \ HostProcessPosix.cpp \ HostThreadPosix.cpp \ LockFilePosix.cpp \ + MainLoopPosix.cpp \ PipePosix.cpp \ ProcessLauncherPosixFork.cpp diff --git a/gnu/usr.bin/clang/liblldbInterpreter/Makefile b/gnu/usr.bin/clang/liblldbInterpreter/Makefile index 05c86cdd748..09c61fa1178 100644 --- a/gnu/usr.bin/clang/liblldbInterpreter/Makefile +++ b/gnu/usr.bin/clang/liblldbInterpreter/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:39 robert Exp $ LIB= lldbInterpreter NOPIC= NOPROFILE= .include + SRCS= CommandAlias.cpp \ CommandHistory.cpp \ CommandInterpreter.cpp \ @@ -16,6 +17,7 @@ SRCS= CommandAlias.cpp \ OptionGroupBoolean.cpp \ OptionGroupFile.cpp \ OptionGroupFormat.cpp \ + OptionGroupMemoryTag.cpp \ OptionGroupPythonClassWithDict.cpp \ OptionGroupOutputFile.cpp \ OptionGroupPlatform.cpp \ diff --git a/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile index 86629d59762..55474ed748d 100644 --- a/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:41 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginExpressionParser NOPIC= NOPROFILE= .include + SRCS= ASTResultSynthesizer.cpp \ ASTStructExtractor.cpp \ ASTUtils.cpp \ @@ -15,6 +16,7 @@ SRCS= ASTResultSynthesizer.cpp \ ClangExpressionDeclMap.cpp \ ClangExpressionParser.cpp \ ClangExpressionSourceCode.cpp \ + ClangExpressionUtil.cpp \ ClangExpressionVariable.cpp \ ClangExternalASTSourceCallbacks.cpp \ ClangFunctionCaller.cpp \ diff --git a/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile b/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile index 1bd560e05cf..a4614e10f5d 100644 --- a/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile @@ -1,29 +1,32 @@ -# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginLanguage NOPIC= NOPROFILE= .include + # CPlusPlus SRCS= BlockPointer.cpp \ + Coroutines.cpp \ CPlusPlusLanguage.cpp \ CPlusPlusNameParser.cpp \ CxxStringTypes.cpp \ + GenericBitset.cpp \ + GenericOptional.cpp \ LibCxx.cpp \ LibCxxAtomic.cpp \ - LibCxxBitset.cpp \ LibCxxInitializerList.cpp \ LibCxxList.cpp \ LibCxxMap.cpp \ - LibCxxOptional.cpp \ LibCxxQueue.cpp \ + LibCxxRangesRefView.cpp \ + LibCxxSpan.cpp \ LibCxxTuple.cpp \ LibCxxUnorderedMap.cpp \ LibCxxVariant.cpp \ LibCxxVector.cpp \ LibStdcpp.cpp \ - LibStdcpp.h \ LibStdcppTuple.cpp \ LibStdcppUniquePointer.cpp \ MSVCUndecoratedNameParser.cpp diff --git a/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile index d49fe78c1f0..70f82e1e98a 100644 --- a/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginObjectFile NOPIC= @@ -32,3 +32,4 @@ install: CPPFLAGS+= ${LLDB_INCLUDES} CPPFLAGS+= ${CLANG_INCLUDES} +CPPFLAGS+= -I${.OBJDIR}/../include/lldb/Plugins diff --git a/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile index 478b1f69223..f9fdf3ca81c 100644 --- a/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginPlatform NOPIC= @@ -11,6 +11,7 @@ SRCS= AdbClient.cpp \ PlatformFreeBSD.cpp \ PlatformLinux.cpp \ PlatformDarwin.cpp \ + PlatformDarwinDevice.cpp \ PlatformDarwinKernel.cpp \ PlatformMacOSX.cpp \ PlatformRemoteAppleBridge.cpp \ @@ -19,6 +20,7 @@ SRCS= AdbClient.cpp \ PlatformRemoteDarwinDevice.cpp \ PlatformRemoteMacOSX.cpp \ PlatformRemoteiOS.cpp \ + PlatformAppleSimulator.cpp \ PlatformNetBSD.cpp \ PlatformOpenBSD.cpp \ PlatformPOSIX.cpp \ @@ -42,3 +44,4 @@ install: CPPFLAGS+= ${LLDB_INCLUDES} CPPFLAGS+= ${CLANG_INCLUDES} +CPPFLAGS+= -I${.OBJDIR}/../include/lldb/Plugins diff --git a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile index 2800618d986..a075e152c07 100644 --- a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:47 patrick Exp $ +# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginProcess NOPIC= NOPROFILE= .include + # Process/OpenBSD SRCS= NativeProcessOpenBSD.cpp \ NativeRegisterContextOpenBSD.cpp \ @@ -24,19 +25,18 @@ SRCS+= GDBRemoteClientBase.cpp \ GDBRemoteCommunication.cpp \ GDBRemoteCommunicationClient.cpp \ GDBRemoteCommunicationHistory.cpp \ - GDBRemoteCommunicationReplayServer.cpp \ GDBRemoteCommunicationServer.cpp \ GDBRemoteCommunicationServerCommon.cpp \ GDBRemoteCommunicationServerLLGS.cpp \ GDBRemoteCommunicationServerPlatform.cpp \ GDBRemoteRegisterContext.cpp \ + GDBRemoteRegisterFallback.cpp \ ProcessGDBRemote.cpp \ ProcessGDBRemoteLog.cpp \ ThreadGDBRemote.cpp # Process/Utility SRCS+= AuxVector.cpp \ - DynamicRegisterInfo.cpp \ FreeBSDSignals.cpp \ GDBRemoteSignals.cpp \ HistoryThread.cpp \ @@ -76,9 +76,11 @@ SRCS+= AuxVector.cpp \ RegisterContextOpenBSD_x86_64.cpp \ RegisterContextPOSIX_arm.cpp \ RegisterContextPOSIX_arm64.cpp \ + RegisterContextPOSIX_loongarch64.cpp \ RegisterContextPOSIX_mips64.cpp \ RegisterContextPOSIX_powerpc.cpp \ RegisterContextPOSIX_ppc64le.cpp \ + RegisterContextPOSIX_riscv64.cpp \ RegisterContextPOSIX_s390x.cpp \ RegisterContextPOSIX_x86.cpp \ RegisterContextThreadMemory.cpp \ @@ -86,7 +88,9 @@ SRCS+= AuxVector.cpp \ RegisterContextWindows_x86_64.cpp \ RegisterInfoPOSIX_arm.cpp \ RegisterInfoPOSIX_arm64.cpp \ + RegisterInfoPOSIX_loongarch64.cpp \ RegisterInfoPOSIX_ppc64le.cpp \ + RegisterInfoPOSIX_riscv64.cpp \ StopInfoMachException.cpp \ ThreadMemory.cpp @@ -117,7 +121,8 @@ SRCS+= MinidumpTypes.cpp \ ThreadMinidump.cpp # Process/scripted -SRCS+= ScriptedProcess.cpp +SRCS+= ScriptedProcess.cpp \ + ScriptedThread.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/OpenBSD .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/POSIX diff --git a/gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile b/gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile index 0732f17be03..fa8cd6f1620 100644 --- a/gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:30 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginScriptInterpreter NOPIC= NOPROFILE= .include + SRCS= ScriptInterpreterNone.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ScriptInterpreter/None diff --git a/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile index c2cd1d30f55..42ad7bd02e2 100644 --- a/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginSymbolFile NOPIC= NOPROFILE= .include + # SymbolFile/Breakpad SRCS= SymbolFileBreakpad.cpp @@ -13,6 +14,7 @@ SRCS+= AppleDWARFIndex.cpp \ DebugNamesDWARFIndex.cpp \ DIERef.cpp \ DWARFAbbreviationDeclaration.cpp \ + DWARFASTParser.cpp \ DWARFASTParserClang.cpp \ DWARFAttribute.cpp \ DWARFBaseDIE.cpp \ diff --git a/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile b/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile index 05b6db52bae..e5c5839a575 100644 --- a/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:42 patrick Exp $ +# $OpenBSD: Makefile,v 1.4 2023/11/11 18:35:39 robert Exp $ LIB= lldbPluginSymbolVendor NOPIC= @@ -6,9 +6,11 @@ NOPROFILE= .include SRCS= SymbolVendorELF.cpp \ + SymbolVendorPECOFF.cpp \ SymbolVendorWasm.cpp .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SymbolVendor/ELF +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SymbolVendor/PECOFF .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/SymbolVendor/wasm install: diff --git a/gnu/usr.bin/clang/liblldbSymbol/Makefile b/gnu/usr.bin/clang/liblldbSymbol/Makefile index 46354e2e274..4faf54affd8 100644 --- a/gnu/usr.bin/clang/liblldbSymbol/Makefile +++ b/gnu/usr.bin/clang/liblldbSymbol/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:47 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:40 robert Exp $ LIB= lldbSymbol NOPIC= NOPROFILE= .include + SRCS= ArmUnwindInfo.cpp \ Block.cpp \ CompactUnwindInfo.cpp \ @@ -20,11 +21,13 @@ SRCS= ArmUnwindInfo.cpp \ LineEntry.cpp \ LineTable.cpp \ LocateSymbolFile.cpp \ + ObjectContainer.cpp \ ObjectFile.cpp \ PostfixExpression.cpp \ Symbol.cpp \ SymbolContext.cpp \ SymbolFile.cpp \ + SymbolFileOnDemand.cpp \ SymbolVendor.cpp \ Symtab.cpp \ Type.cpp \ diff --git a/gnu/usr.bin/clang/liblldbTarget/Makefile b/gnu/usr.bin/clang/liblldbTarget/Makefile index 099a313b47f..21ff771a1f8 100644 --- a/gnu/usr.bin/clang/liblldbTarget/Makefile +++ b/gnu/usr.bin/clang/liblldbTarget/Makefile @@ -1,12 +1,14 @@ -# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:47 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:40 robert Exp $ LIB= lldbTarget NOPIC= NOPROFILE= .include + SRCS= ABI.cpp \ AssertFrameRecognizer.cpp \ + DynamicRegisterInfo.cpp \ ExecutionContext.cpp \ InstrumentationRuntime.cpp \ InstrumentationRuntimeStopInfo.cpp \ @@ -17,6 +19,7 @@ SRCS= ABI.cpp \ Memory.cpp \ MemoryHistory.cpp \ MemoryRegionInfo.cpp \ + MemoryTagMap.cpp \ ModuleCache.cpp \ OperatingSystem.cpp \ PathMappingList.cpp \ @@ -36,6 +39,7 @@ SRCS= ABI.cpp \ StackFrameList.cpp \ StackFrameRecognizer.cpp \ StackID.cpp \ + Statistics.cpp \ StopInfo.cpp \ StructuredDataPlugin.cpp \ SystemRuntime.cpp \ @@ -67,7 +71,7 @@ SRCS= ABI.cpp \ Trace.cpp \ TraceCursor.cpp \ TraceExporter.cpp \ - TraceInstructionDumper.cpp \ + TraceDumper.cpp \ UnixSignals.cpp \ UnwindAssembly.cpp \ UnwindLLDB.cpp diff --git a/gnu/usr.bin/clang/liblldbUtility/Makefile b/gnu/usr.bin/clang/liblldbUtility/Makefile index 70e55d7ff2e..212a3489f71 100644 --- a/gnu/usr.bin/clang/liblldbUtility/Makefile +++ b/gnu/usr.bin/clang/liblldbUtility/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:47 patrick Exp $ +# $OpenBSD: Makefile,v 1.7 2023/11/11 18:35:40 robert Exp $ LIB= lldbUtility NOPIC= @@ -17,28 +17,26 @@ SRCS= ArchSpec.cpp \ DataBufferLLVM.cpp \ DataEncoder.cpp \ DataExtractor.cpp \ + Diagnostics.cpp \ Environment.cpp \ Event.cpp \ FileSpec.cpp \ GDBRemote.cpp \ IOObject.cpp \ LLDBAssert.cpp \ + LLDBLog.cpp \ Listener.cpp \ Log.cpp \ - Logging.cpp \ NameMatches.cpp \ ProcessInfo.cpp \ RegisterValue.cpp \ RegularExpression.cpp \ - Reproducer.cpp \ - ReproducerInstrumentation.cpp \ - ReproducerProvider.cpp \ + Instrumentation.cpp \ Scalar.cpp \ SelectHelper.cpp \ State.cpp \ Status.cpp \ Stream.cpp \ - StreamCallback.cpp \ StreamString.cpp \ StringExtractor.cpp \ StringExtractorGDBRemote.cpp \ diff --git a/gnu/usr.bin/clang/lld/Makefile b/gnu/usr.bin/clang/lld/Makefile index 405f416f563..a36124b8a8c 100644 --- a/gnu/usr.bin/clang/lld/Makefile +++ b/gnu/usr.bin/clang/lld/Makefile @@ -1,10 +1,13 @@ -# $OpenBSD: Makefile,v 1.18 2020/08/03 14:45:31 patrick Exp $ +# $OpenBSD: Makefile,v 1.19 2023/11/11 18:35:40 robert Exp $ .include PROG= ld.lld BINDIR= /usr/bin -SRCS= lld.cpp +SRCS+= lld.cpp + +DRIVER_TEMPLATE=Yes +DRIVER_NAME= lld TARGET_ARCH?= ${MACHINE_ARCH} .if ${LINKER_VERSION:L} == "lld" @@ -22,7 +25,6 @@ CPPFLAGS+= -I${.CURDIR}/../../../llvm/lld/include LLVM_LIBDEPS= LLVM \ lldELF \ - lldCommon \ - lldCore + lldCommon .include diff --git a/gnu/usr.bin/clang/lldb-server/Makefile b/gnu/usr.bin/clang/lldb-server/Makefile index 115bfe2a5cd..c6347ab73ff 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.9 2022/07/26 15:34:33 jca Exp $ +# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:40 robert Exp $ .include @@ -7,20 +7,22 @@ BINDIR= /usr/bin NOMAN= SRCS= Acceptor.cpp \ - lldb.cpp \ lldb-gdbserver.cpp \ lldb-platform.cpp \ lldb-server.cpp \ LLDBServerUtilities.cpp \ - SystemInitializerLLGS.cpp + SystemInitializerLLGS.cpp \ + Version.cpp LDADD+= -lcurses -ledit -lpanel .PATH: ${.CURDIR}/../../../llvm/lldb/source +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Version .PATH: ${.CURDIR}/../../../llvm/lldb/tools/lldb-server LLVM_LIBDEPS= clangAST \ + clangASTMatchers \ clangAnalysis \ clangBasic \ clangCodeGen \ @@ -33,6 +35,7 @@ LLVM_LIBDEPS= clangAST \ clangRewriteFrontend \ clangSema \ clangSerialization \ + clangSupport \ lldbABI \ lldbAPI \ lldbBreakpoint \ diff --git a/gnu/usr.bin/clang/lldb/Makefile b/gnu/usr.bin/clang/lldb/Makefile index 4ae6f5a4585..9b4fc859b7d 100644 --- a/gnu/usr.bin/clang/lldb/Makefile +++ b/gnu/usr.bin/clang/lldb/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2022/07/26 15:34:33 jca Exp $ +# $OpenBSD: Makefile,v 1.15 2023/11/11 18:35:40 robert Exp $ .include @@ -8,20 +8,24 @@ LIBEXECDIR=/usr/libexec SRCS= Driver.cpp \ Platform.cpp \ - lldb.cpp + Version.cpp LDADD+= -lcurses -ledit -lpanel CPPFLAGS+= ${LLDB_INCLUDES} CPPFLAGS+= ${CLANG_INCLUDES} +CPPFLAGS+= -I${.OBJDIR}/../include .PATH: ${.CURDIR}/../../../llvm/lldb/source +.PATH: ${.CURDIR}/../../../llvm/lldb/source/Version .PATH: ${.CURDIR}/../../../llvm/lldb/tools/driver .PATH: ${.CURDIR}/../../../llvm/lldb/docs LLVM_LIBDEPS= clangAST \ + clangASTMatchers \ clangAnalysis \ clangBasic \ + clangBasicTargets \ clangCodeGen \ clangDriver \ clangEdit \ @@ -32,6 +36,7 @@ LLVM_LIBDEPS= clangAST \ clangRewriteFrontend \ clangSema \ clangSerialization \ + clangSupport \ lldbABI \ lldbAPI \ lldbBreakpoint \ diff --git a/gnu/usr.bin/clang/llvm-ar/Makefile b/gnu/usr.bin/clang/llvm-ar/Makefile index df837ae1a07..25ec47d30e5 100644 --- a/gnu/usr.bin/clang/llvm-ar/Makefile +++ b/gnu/usr.bin/clang/llvm-ar/Makefile @@ -1,18 +1,23 @@ -# $OpenBSD: Makefile,v 1.4 2022/03/23 22:44:01 deraadt Exp $ +# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:40 robert Exp $ PROG= ar BINDIR= /usr/bin .include -SRCS= llvm-ar.cpp +DRIVER_NAME= llvm_ar +DRIVER_TEMPLATE=Yes + +SRCS+= llvm-ar.cpp LINKS= ${BINDIR}/ar ${BINDIR}/ranlib MAN+= ranlib.1 ar.1 .PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-ar -LLVM_LIBDEPS= LLVM LLVMDlltoolDriver LLVMLibDriver +LLVM_LIBDEPS= LLVM \ + LLVMDlltoolDriver \ + LLVMLibDriver LDADD+= -L ${.OBJDIR}/../libLLVM -lLLVM diff --git a/gnu/usr.bin/clang/llvm-ar/ar.1 b/gnu/usr.bin/clang/llvm-ar/ar.1 index 27ee3c0685c..af683325b28 100644 --- a/gnu/usr.bin/clang/llvm-ar/ar.1 +++ b/gnu/usr.bin/clang/llvm-ar/ar.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LLVM-AR" "1" "2021-11-18" "11" "LLVM" +.TH "LLVM-AR" "1" "2023-10-21" "16" "LLVM" .SH NAME llvm-ar \- LLVM archiver .SH SYNOPSIS @@ -42,9 +42,9 @@ the archive can contain any kind of file. By default, \fBllvm\-ar\fP generates a symbol table that makes linking faster because only the symbol table needs to be consulted, not each individual file member of the archive. .sp -The \fBllvm\-ar\fP command can be used to \fIread\fP archive files in SVR4, -GNU, BSD and Darwin format, and \fIwrite\fP in the GNU, BSD, and Darwin style -archive files. If an SVR4 format archive is used with the \fI\%r\fP +The \fBllvm\-ar\fP command can be used to \fIread\fP archive files in SVR4, GNU, +BSD , Big Archive, and Darwin format, and \fIwrite\fP in the GNU, BSD, Big Archive, and +Darwin style archive files. If an SVR4 format archive is used with the \fI\%r\fP (replace), \fI\%d\fP (delete), \fI\%m\fP (move) or \fI\%q\fP (quick update) operations, the archive will be reconstructed in the format defined by \fI\%\-\-format\fP\&. @@ -103,7 +103,7 @@ found in other \fBar\fP implementations. The options for \fBllvm\-ar\fP specify a single basic Operation to perform on the archive, a variety of Modifiers for that Operation, the name of the archive file, and an optional list of file names. If the \fIfiles\fP option is not specified, it -generally means either "none" or "all" members, depending on the operation. The +generally means either \(dqnone\(dq or \(dqall\(dq members, depending on the operation. The Options, Operations and Modifiers are explained in the sections below. .sp The minimal set of options is at least one operator and the name of the @@ -234,7 +234,7 @@ is a feature for \fBllvm\-ar\fP that is not found in gnu\-ar. .B N When extracting or deleting a member that shares its name with another member, the \fIcount\fP parameter allows you to supply a positive whole number that -selects the instance of the given name, with "1" indicating the first +selects the instance of the given name, with \(dq1\(dq indicating the first instance. If \fI\%N\fP is not specified the first member of that name will be selected. If \fIcount\fP is not supplied, the operation fails.*count* cannot be .UNINDENT @@ -253,10 +253,8 @@ Display member offsets inside the archive. .INDENT 0.0 .TP .B T -When creating or modifying an archive, this option specifies that the -\fBarchive\fP will be thin. By default, archives are not created as thin -archives and when modifying a thin archive, it will be converted to a regular -archive. +Alias for \fB\-\-thin\fP\&. In many ar implementations \fBT\fP has a different +meaning, as specified by X/Open System interface. .UNINDENT .INDENT 0.0 .TP @@ -337,11 +335,63 @@ stream. No other options are compatible with this option. .UNINDENT .INDENT 0.0 .TP +.B \-\-output= +Specify a directory where archive members should be extracted to. By default the +current working directory is used. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-rsp\-quoting= +.TP +.B This option selects the quoting style \(ga\(ga\(ga\(ga for response files, either +.TP +.B \(ga\(gaposix\(ga\(ga or \(ga\(gawindows\(ga\(ga. The default when on Windows is \(ga\(gawindows\(ga\(ga, otherwise the +.TP +.B default is \(ga\(gaposix\(ga\(ga. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-thin +When creating or modifying an archive, this option specifies that the +\fBarchive\fP will be thin. By default, archives are not created as thin archives +and when modifying a thin archive, it will be converted to a regular archive. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-version Display the version of the \fBllvm\-ar\fP executable. .UNINDENT .INDENT 0.0 .TP +.B \-X mode +Specifies the type of object file \fBllvm\-ar\fP will recognise. The mode must be +one of the following: +.INDENT 7.0 +.INDENT 3.5 +.INDENT 0.0 +.TP +.B 32 +Process only 32\-bit object files. +.TP +.B 64 +Process only 64\-bit object files. +.TP +.B 32_64 +Process both 32\-bit and 64\-bit object files. +.TP +.B any +Process all object files. +.UNINDENT +.UNINDENT +.UNINDENT +.sp +The default is to process 32\-bit object files (ignore 64\-bit objects). The mode can also +be set with the OBJECT_MODE environment variable. For example, OBJECT_MODE=64 causes ar to +process any 64\-bit objects and ignore 32\-bit objects. The \-X flag overrides the OBJECT_MODE +variable. +.UNINDENT +.INDENT 0.0 +.TP .B @ Read command\-line options and commands from response file \fB\fP\&. .UNINDENT @@ -414,6 +464,6 @@ will exit with a non\-zero value. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2021, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-ar/ranlib.1 b/gnu/usr.bin/clang/llvm-ar/ranlib.1 index 9b5cb749f0d..ea4984d3b5d 100644 --- a/gnu/usr.bin/clang/llvm-ar/ranlib.1 +++ b/gnu/usr.bin/clang/llvm-ar/ranlib.1 @@ -1,8 +1,5 @@ .\" Man page generated from reStructuredText. . -.TH "LLVM-RANLIB" "1" "2021-11-13" "11" "LLVM" -.SH NAME -llvm-ranlib \- generates an archive index . .nr rst2man-indent-level 0 . @@ -30,12 +27,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. +.TH "LLVM-RANLIB" "1" "2023-10-21" "16" "LLVM" +.SH NAME +llvm-ranlib \- generates an archive index .SH SYNOPSIS .sp \fBllvm\-ranlib\fP [\fIoptions\fP] \fIarchive...\fP .SH DESCRIPTION .sp -\fBllvm\-ranlib\fP is an alias for the llvm\-ar tool that +\fBllvm\-ranlib\fP is an alias for the \fI\%llvm\-ar\fP tool that generates an index for one or more archives. It can be used as a replacement for GNU\(aqs \fBranlib\fP tool. .sp @@ -46,6 +46,6 @@ Running \fBllvm\-ranlib\fP is equivalent to running \fBllvm\-ar s\fP\&. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2021, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def b/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def index 87abacdea43..5e90eb151ca 100644 --- a/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def +++ b/gnu/usr.bin/clang/llvm-config/BuildVariables.inc.def @@ -20,16 +20,17 @@ #define LLVM_CPPFLAGS "-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" #define LLVM_CFLAGS " -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" #define LLVM_LDFLAGS "" -#define LLVM_CXXFLAGS "-std=c++14 -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" +#define LLVM_CXXFLAGS "-std=c++17 -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" #define LLVM_BUILDMODE "Release" #define LLVM_LIBDIR_SUFFIX "" -#define LLVM_SYSTEM_LIBS "-lz -lpthread -lm" +#define LLVM_INSTALL_INCLUDEDIR "include" +#define LLVM_INSTALL_PACKAGE_DIR "lib/cmake/llvm" +#define LLVM_SYSTEM_LIBS "-lexecinfo -lpthread -lm -lz" #define LLVM_BUILD_SYSTEM "cmake" #define LLVM_HAS_RTTI 0 #define LLVM_ENABLE_DYLIB 1 #define LLVM_LINK_DYLIB 1 #define LLVM_ENABLE_SHARED 0 #define LLVM_DYLIB_COMPONENTS "all" -#define LLVM_DYLIB_VERSION "11" -#define LLVM_HAS_GLOBAL_ISEL 1 +#define LLVM_DYLIB_VERSION "16" #define LLVM_TOOLS_INSTALL_DIR "bin" diff --git a/gnu/usr.bin/clang/llvm-config/ExtensionDependencies.inc b/gnu/usr.bin/clang/llvm-config/ExtensionDependencies.inc index 445b9b48760..abc491fc16c 100644 --- a/gnu/usr.bin/clang/llvm-config/ExtensionDependencies.inc +++ b/gnu/usr.bin/clang/llvm-config/ExtensionDependencies.inc @@ -1,7 +1,7 @@ #include -struct ExtensionDescriptor { - const char* Name; - const char* RequiredLibraries[1 + 1 + 0]; -}; -std::array AvailableExtensions{ + struct ExtensionDescriptor { + const char* Name; + const char* RequiredLibraries[1 + 1 + 0]; + }; + std::array AvailableExtensions{ }; diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 index 4c29e147308..1f56a9dc0fe 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 @@ -10,93 +10,102 @@ bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[87]; - } AvailableComponents[87] = { + const char *RequiredLibraries[96]; + } AvailableComponents[96] = { { "aarch64", nullptr, true, {"aarch64codegen", "aarch64asmparser", "aarch64disassembler", "aarch64desc", "aarch64info", "aarch64utils"} }, -{ "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", "binaryformat", "support"} }, +{ "aarch64asmparser", "LLVMAArch64AsmParser", true, {"aarch64desc", "aarch64info", "aarch64utils", "mc", "mcparser", "support", "targetparser"} }, +{ "aarch64codegen", "LLVMAArch64CodeGen", true, {"aarch64desc", "aarch64info", "aarch64utils", "analysis", "asmprinter", "codegen", "core", "mc", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "globalisel", "cfguard"} }, +{ "aarch64desc", "LLVMAArch64Desc", true, {"aarch64info", "aarch64utils", "mc", "binaryformat", "support", "targetparser"} }, { "aarch64disassembler", "LLVMAArch64Disassembler", true, {"aarch64desc", "aarch64info", "aarch64utils", "mc", "mcdisassembler", "support"} }, -{ "aarch64info", "LLVMAArch64Info", true, {"support"} }, -{ "aarch64utils", "LLVMAArch64Utils", true, {"support"} }, +{ "aarch64info", "LLVMAArch64Info", true, {"mc", "support"} }, +{ "aarch64utils", "LLVMAArch64Utils", true, {"support", "core"} }, { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzmutate", "filecheck", "interfacestub", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "extensions", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "aarch64codegen", "aarch64asmparser", "aarch64disassembler", "aarch64desc", "aarch64info", "aarch64utils", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "textapi", "dlltooldriver", "libdriver", "xray", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "aarch64", "amdgpu"} }, +{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "aarch64codegen", "aarch64asmparser", "aarch64disassembler", "aarch64desc", "aarch64info", "aarch64utils", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "aarch64", "amdgpu"} }, { "all-targets", nullptr, true, {"aarch64", "amdgpu"} }, -{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, -{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support"} }, -{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, -{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat"} }, +{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, +{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} }, +{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, +{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} }, { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} }, -{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"support"} }, -{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support"} }, -{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support"} }, +{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} }, +{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} }, +{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} }, +{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} }, { "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} }, -{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target"} }, -{ "binaryformat", "LLVMBinaryFormat", true, {"support"} }, -{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support"} }, +{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} }, +{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} }, +{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} }, { "bitstreamreader", "LLVMBitstreamReader", true, {"support"} }, -{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support"} }, -{ "cfguard", "LLVMCFGuard", true, {"core", "support"} }, -{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "profiledata", "scalaropts", "support", "target", "transformutils"} }, -{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support"} }, +{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} }, +{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} }, +{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} }, { "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} }, -{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} }, +{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} }, -{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} }, -{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} }, +{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} }, +{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} }, +{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} }, { "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} }, { "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} }, { "demangle", "LLVMDemangle", true, {} }, -{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support"} }, -{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, +{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} }, +{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} }, +{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, { "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} }, { "engine", nullptr, true, {"interpreter"} }, -{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} }, +{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} }, { "extensions", "LLVMExtensions", true, {"support"} }, { "filecheck", "LLVMFileCheck", true, {} }, +{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} }, { "frontendopenacc", "LLVMFrontendOpenACC", true, {} }, -{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} }, -{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} }, +{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} }, +{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} }, +{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} }, { "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} }, { "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} }, -{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} }, +{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} }, +{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} }, { "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} }, -{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "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", "targetparser", "transformutils", "vectorize", "instrumentation"} }, +{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} }, { "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} }, -{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "orctargetprocess", "support"} }, -{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "binaryformat", "bitreader", "object", "option", "support"} }, +{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} }, +{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} }, { "lineeditor", "LLVMLineEditor", true, {"support"} }, -{ "linker", "LLVMLinker", true, {"core", "object", "support", "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"} }, +{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} }, +{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} }, { "mca", "LLVMMCA", true, {"mc", "support"} }, -{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} }, +{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} }, { "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} }, -{ "mcparser", "LLVMMCParser", true, {"mc", "support"} }, +{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} }, { "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} }, { "native", nullptr, true, {} }, { "nativecodegen", nullptr, true, {} }, { "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} }, -{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "binaryformat", "mcparser", "support", "textapi"} }, -{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "debuginfocodeview", "mc"} }, +{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} }, +{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} }, +{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} }, { "option", "LLVMOption", true, {"support"} }, -{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "transformutils"} }, +{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} }, { "orcshared", "LLVMOrcShared", true, {"support"} }, -{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support"} }, -{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, -{ "profiledata", "LLVMProfileData", true, {"core", "support", "demangle"} }, +{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} }, +{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, +{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} }, { "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} }, -{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} }, +{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} }, { "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} }, -{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} }, +{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} }, { "support", "LLVMSupport", true, {"demangle"} }, -{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} }, +{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} }, { "tablegen", "LLVMTableGen", true, {"support"} }, -{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} }, -{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} }, -{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} }, +{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} }, +{ "targetparser", "LLVMTargetParser", true, {"support"} }, +{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} }, +{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} }, { "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} }, +{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} }, { "windowsmanifest", "LLVMWindowsManifest", true, {"support"} }, -{ "xray", "LLVMXRay", true, {"support", "object"} }, +{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} }, }; \ No newline at end of file diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM index 51c1da4fc14..c7f3ee87647 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM @@ -10,93 +10,102 @@ bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[87]; - } AvailableComponents[87] = { + const char *RequiredLibraries[96]; + } AvailableComponents[96] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzmutate", "filecheck", "interfacestub", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "extensions", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "armcodegen", "armasmparser", "armdisassembler", "armdesc", "arminfo", "armutils", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "textapi", "dlltooldriver", "libdriver", "xray", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "arm", "amdgpu"} }, +{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "armcodegen", "armasmparser", "armdisassembler", "armdesc", "arminfo", "armutils", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "arm", "amdgpu"} }, { "all-targets", nullptr, true, {"arm", "amdgpu"} }, -{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, -{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support"} }, -{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, -{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat"} }, +{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, +{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} }, +{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, +{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} }, { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} }, -{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"support"} }, -{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support"} }, -{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support"} }, +{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} }, +{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} }, +{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} }, +{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} }, { "arm", nullptr, true, {"armcodegen", "armasmparser", "armdisassembler", "armdesc", "arminfo", "armutils"} }, -{ "armasmparser", "LLVMARMAsmParser", true, {"armdesc", "arminfo", "mc", "mcparser", "support", "armutils"} }, -{ "armcodegen", "LLVMARMCodeGen", true, {"armdesc", "arminfo", "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "scalaropts", "selectiondag", "support", "target", "globalisel", "armutils", "transformutils", "cfguard"} }, -{ "armdesc", "LLVMARMDesc", true, {"arminfo", "armutils", "mc", "mcdisassembler", "support", "binaryformat"} }, -{ "armdisassembler", "LLVMARMDisassembler", true, {"armdesc", "arminfo", "mcdisassembler", "support", "armutils"} }, -{ "arminfo", "LLVMARMInfo", true, {"support"} }, +{ "armasmparser", "LLVMARMAsmParser", true, {"armdesc", "arminfo", "mc", "mcparser", "support", "targetparser", "armutils"} }, +{ "armcodegen", "LLVMARMCodeGen", true, {"armdesc", "arminfo", "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "scalaropts", "selectiondag", "support", "target", "targetparser", "globalisel", "armutils", "transformutils", "cfguard"} }, +{ "armdesc", "LLVMARMDesc", true, {"arminfo", "armutils", "mc", "mcdisassembler", "support", "binaryformat", "targetparser"} }, +{ "armdisassembler", "LLVMARMDisassembler", true, {"armdesc", "arminfo", "mcdisassembler", "mc", "support", "armutils"} }, +{ "arminfo", "LLVMARMInfo", true, {"mc", "support"} }, { "armutils", "LLVMARMUtils", true, {"support"} }, { "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} }, -{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target"} }, -{ "binaryformat", "LLVMBinaryFormat", true, {"support"} }, -{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support"} }, +{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} }, +{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} }, +{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} }, { "bitstreamreader", "LLVMBitstreamReader", true, {"support"} }, -{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support"} }, -{ "cfguard", "LLVMCFGuard", true, {"core", "support"} }, -{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "profiledata", "scalaropts", "support", "target", "transformutils"} }, -{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support"} }, +{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} }, +{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} }, +{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} }, { "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} }, -{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} }, +{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} }, -{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} }, -{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} }, +{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} }, +{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} }, +{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} }, { "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} }, { "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} }, { "demangle", "LLVMDemangle", true, {} }, -{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support"} }, -{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, +{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} }, +{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} }, +{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, { "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} }, { "engine", nullptr, true, {"interpreter"} }, -{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} }, +{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} }, { "extensions", "LLVMExtensions", true, {"support"} }, { "filecheck", "LLVMFileCheck", true, {} }, +{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} }, { "frontendopenacc", "LLVMFrontendOpenACC", true, {} }, -{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} }, -{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} }, +{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} }, +{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} }, +{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} }, { "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} }, { "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} }, -{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} }, +{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} }, +{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} }, { "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} }, -{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "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", "targetparser", "transformutils", "vectorize", "instrumentation"} }, +{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} }, { "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} }, -{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "orctargetprocess", "support"} }, -{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "binaryformat", "bitreader", "object", "option", "support"} }, +{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} }, +{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} }, { "lineeditor", "LLVMLineEditor", true, {"support"} }, -{ "linker", "LLVMLinker", true, {"core", "object", "support", "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"} }, +{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} }, +{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} }, { "mca", "LLVMMCA", true, {"mc", "support"} }, -{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} }, +{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} }, { "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} }, -{ "mcparser", "LLVMMCParser", true, {"mc", "support"} }, +{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} }, { "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} }, { "native", nullptr, true, {} }, { "nativecodegen", nullptr, true, {} }, { "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} }, -{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "binaryformat", "mcparser", "support", "textapi"} }, -{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "debuginfocodeview", "mc"} }, +{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} }, +{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} }, +{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} }, { "option", "LLVMOption", true, {"support"} }, -{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "transformutils"} }, +{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} }, { "orcshared", "LLVMOrcShared", true, {"support"} }, -{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support"} }, -{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, -{ "profiledata", "LLVMProfileData", true, {"core", "support", "demangle"} }, +{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} }, +{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, +{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} }, { "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} }, -{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} }, +{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} }, { "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} }, -{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} }, +{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} }, { "support", "LLVMSupport", true, {"demangle"} }, -{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} }, +{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} }, { "tablegen", "LLVMTableGen", true, {"support"} }, -{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} }, -{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} }, -{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} }, +{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} }, +{ "targetparser", "LLVMTargetParser", true, {"support"} }, +{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} }, +{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} }, { "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} }, +{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} }, { "windowsmanifest", "LLVMWindowsManifest", true, {"support"} }, -{ "xray", "LLVMXRay", true, {"support", "object"} }, +{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} }, }; \ No newline at end of file diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips index 3aebfc96689..c60baade2fb 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips @@ -10,92 +10,101 @@ bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[86]; - } AvailableComponents[86] = { + const char *RequiredLibraries[95]; + } AvailableComponents[95] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzmutate", "filecheck", "interfacestub", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "extensions", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "mipscodegen", "mipsasmparser", "mipsdisassembler", "mipsdesc", "mipsinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "textapi", "dlltooldriver", "libdriver", "xray", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "mips", "amdgpu"} }, +{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "mipscodegen", "mipsasmparser", "mipsdisassembler", "mipsdesc", "mipsinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "mips", "amdgpu"} }, { "all-targets", nullptr, true, {"mips", "amdgpu"} }, -{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, -{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support"} }, -{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, -{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat"} }, +{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, +{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} }, +{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, +{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} }, { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} }, -{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"support"} }, -{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support"} }, -{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support"} }, +{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} }, +{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} }, +{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} }, +{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} }, { "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} }, -{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target"} }, -{ "binaryformat", "LLVMBinaryFormat", true, {"support"} }, -{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support"} }, +{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} }, +{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} }, +{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} }, { "bitstreamreader", "LLVMBitstreamReader", true, {"support"} }, -{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support"} }, -{ "cfguard", "LLVMCFGuard", true, {"core", "support"} }, -{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "profiledata", "scalaropts", "support", "target", "transformutils"} }, -{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support"} }, +{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} }, +{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} }, +{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} }, { "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} }, -{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} }, +{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} }, -{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} }, -{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} }, +{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} }, +{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} }, +{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} }, { "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} }, { "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} }, { "demangle", "LLVMDemangle", true, {} }, -{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support"} }, -{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, +{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} }, +{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} }, +{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, { "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} }, { "engine", nullptr, true, {"interpreter"} }, -{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} }, +{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} }, { "extensions", "LLVMExtensions", true, {"support"} }, { "filecheck", "LLVMFileCheck", true, {} }, +{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} }, { "frontendopenacc", "LLVMFrontendOpenACC", true, {} }, -{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} }, -{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} }, +{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} }, +{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} }, +{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} }, { "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} }, { "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} }, -{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} }, +{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} }, +{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} }, { "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} }, -{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "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", "targetparser", "transformutils", "vectorize", "instrumentation"} }, +{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} }, { "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} }, -{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "orctargetprocess", "support"} }, -{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "binaryformat", "bitreader", "object", "option", "support"} }, +{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} }, +{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} }, { "lineeditor", "LLVMLineEditor", true, {"support"} }, -{ "linker", "LLVMLinker", true, {"core", "object", "support", "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"} }, +{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} }, +{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} }, { "mca", "LLVMMCA", true, {"mc", "support"} }, -{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} }, +{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} }, { "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} }, -{ "mcparser", "LLVMMCParser", true, {"mc", "support"} }, +{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} }, { "mips", nullptr, true, {"mipscodegen", "mipsasmparser", "mipsdisassembler", "mipsdesc", "mipsinfo"} }, -{ "mipsasmparser", "LLVMMipsAsmParser", true, {"mc", "mcparser", "mipsdesc", "mipsinfo", "support"} }, -{ "mipscodegen", "LLVMMipsCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "mc", "mipsdesc", "mipsinfo", "selectiondag", "support", "target", "globalisel"} }, -{ "mipsdesc", "LLVMMipsDesc", true, {"mc", "mipsinfo", "support"} }, -{ "mipsdisassembler", "LLVMMipsDisassembler", true, {"mcdisassembler", "mipsinfo", "support"} }, -{ "mipsinfo", "LLVMMipsInfo", true, {"support"} }, +{ "mipsasmparser", "LLVMMipsAsmParser", true, {"mc", "mcparser", "mipsdesc", "mipsinfo", "support", "targetparser"} }, +{ "mipscodegen", "LLVMMipsCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "mc", "mipsdesc", "mipsinfo", "selectiondag", "support", "target", "targetparser", "globalisel"} }, +{ "mipsdesc", "LLVMMipsDesc", true, {"mc", "mipsinfo", "support", "targetparser"} }, +{ "mipsdisassembler", "LLVMMipsDisassembler", true, {"mcdisassembler", "mc", "mipsinfo", "support"} }, +{ "mipsinfo", "LLVMMipsInfo", true, {"mc", "support"} }, { "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} }, { "native", nullptr, true, {} }, { "nativecodegen", nullptr, true, {} }, { "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} }, -{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "binaryformat", "mcparser", "support", "textapi"} }, -{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "debuginfocodeview", "mc"} }, +{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} }, +{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} }, +{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} }, { "option", "LLVMOption", true, {"support"} }, -{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "transformutils"} }, +{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} }, { "orcshared", "LLVMOrcShared", true, {"support"} }, -{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support"} }, -{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, -{ "profiledata", "LLVMProfileData", true, {"core", "support", "demangle"} }, +{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} }, +{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, +{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} }, { "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} }, -{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} }, +{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} }, { "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} }, -{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} }, +{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} }, { "support", "LLVMSupport", true, {"demangle"} }, -{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} }, +{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} }, { "tablegen", "LLVMTableGen", true, {"support"} }, -{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} }, -{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} }, -{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} }, +{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} }, +{ "targetparser", "LLVMTargetParser", true, {"support"} }, +{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} }, +{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} }, { "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} }, +{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} }, { "windowsmanifest", "LLVMWindowsManifest", true, {"support"} }, -{ "xray", "LLVMXRay", true, {"support", "object"} }, +{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} }, }; \ No newline at end of file diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC index e0fa1f2b34c..67971ccb665 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC @@ -10,92 +10,101 @@ bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[86]; - } AvailableComponents[86] = { + const char *RequiredLibraries[95]; + } AvailableComponents[95] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzmutate", "filecheck", "interfacestub", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "extensions", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "powerpccodegen", "powerpcasmparser", "powerpcdisassembler", "powerpcdesc", "powerpcinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "textapi", "dlltooldriver", "libdriver", "xray", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "powerpc", "amdgpu"} }, +{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "powerpccodegen", "powerpcasmparser", "powerpcdisassembler", "powerpcdesc", "powerpcinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "powerpc", "amdgpu"} }, { "all-targets", nullptr, true, {"powerpc", "amdgpu"} }, -{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, -{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support"} }, -{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, -{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat"} }, +{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, +{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} }, +{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, +{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} }, { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} }, -{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"support"} }, -{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support"} }, -{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support"} }, +{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} }, +{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} }, +{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} }, +{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} }, { "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} }, -{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target"} }, -{ "binaryformat", "LLVMBinaryFormat", true, {"support"} }, -{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support"} }, +{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} }, +{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} }, +{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} }, { "bitstreamreader", "LLVMBitstreamReader", true, {"support"} }, -{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support"} }, -{ "cfguard", "LLVMCFGuard", true, {"core", "support"} }, -{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "profiledata", "scalaropts", "support", "target", "transformutils"} }, -{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support"} }, +{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} }, +{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} }, +{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} }, { "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} }, -{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} }, +{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} }, -{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} }, -{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} }, +{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} }, +{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} }, +{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} }, { "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} }, { "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} }, { "demangle", "LLVMDemangle", true, {} }, -{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support"} }, -{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, +{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} }, +{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} }, +{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, { "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} }, { "engine", nullptr, true, {"interpreter"} }, -{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} }, +{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} }, { "extensions", "LLVMExtensions", true, {"support"} }, { "filecheck", "LLVMFileCheck", true, {} }, +{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} }, { "frontendopenacc", "LLVMFrontendOpenACC", true, {} }, -{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} }, -{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} }, +{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} }, +{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} }, +{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} }, { "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} }, { "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} }, -{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} }, +{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} }, +{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} }, { "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} }, -{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "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", "targetparser", "transformutils", "vectorize", "instrumentation"} }, +{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} }, { "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} }, -{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "orctargetprocess", "support"} }, -{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "binaryformat", "bitreader", "object", "option", "support"} }, +{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} }, +{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} }, { "lineeditor", "LLVMLineEditor", true, {"support"} }, -{ "linker", "LLVMLinker", true, {"core", "object", "support", "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"} }, +{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} }, +{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} }, { "mca", "LLVMMCA", true, {"mc", "support"} }, -{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} }, +{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} }, { "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} }, -{ "mcparser", "LLVMMCParser", true, {"mc", "support"} }, +{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} }, { "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} }, { "native", nullptr, true, {} }, { "nativecodegen", nullptr, true, {} }, { "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} }, -{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "binaryformat", "mcparser", "support", "textapi"} }, -{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "debuginfocodeview", "mc"} }, +{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} }, +{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} }, +{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} }, { "option", "LLVMOption", true, {"support"} }, -{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "transformutils"} }, +{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} }, { "orcshared", "LLVMOrcShared", true, {"support"} }, -{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support"} }, -{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, +{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} }, +{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, { "powerpc", nullptr, true, {"powerpccodegen", "powerpcasmparser", "powerpcdisassembler", "powerpcdesc", "powerpcinfo"} }, { "powerpcasmparser", "LLVMPowerPCAsmParser", true, {"mc", "mcparser", "powerpcdesc", "powerpcinfo", "support"} }, -{ "powerpccodegen", "LLVMPowerPCCodeGen", true, {"analysis", "asmprinter", "binaryformat", "codegen", "core", "mc", "powerpcdesc", "powerpcinfo", "scalaropts", "selectiondag", "support", "target", "transformutils", "globalisel"} }, -{ "powerpcdesc", "LLVMPowerPCDesc", true, {"mc", "powerpcinfo", "support", "binaryformat"} }, -{ "powerpcdisassembler", "LLVMPowerPCDisassembler", true, {"mcdisassembler", "powerpcinfo", "support"} }, -{ "powerpcinfo", "LLVMPowerPCInfo", true, {"support"} }, -{ "profiledata", "LLVMProfileData", true, {"core", "support", "demangle"} }, +{ "powerpccodegen", "LLVMPowerPCCodeGen", true, {"analysis", "asmprinter", "binaryformat", "codegen", "core", "mc", "powerpcdesc", "powerpcinfo", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "globalisel"} }, +{ "powerpcdesc", "LLVMPowerPCDesc", true, {"mc", "powerpcinfo", "support", "binaryformat", "targetparser"} }, +{ "powerpcdisassembler", "LLVMPowerPCDisassembler", true, {"mcdisassembler", "mc", "powerpcinfo", "support"} }, +{ "powerpcinfo", "LLVMPowerPCInfo", true, {"mc", "support"} }, +{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} }, { "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} }, -{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} }, +{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} }, { "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} }, -{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} }, +{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} }, { "support", "LLVMSupport", true, {"demangle"} }, -{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} }, +{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} }, { "tablegen", "LLVMTableGen", true, {"support"} }, -{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} }, -{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} }, -{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} }, +{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} }, +{ "targetparser", "LLVMTargetParser", true, {"support"} }, +{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} }, +{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} }, { "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} }, +{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} }, { "windowsmanifest", "LLVMWindowsManifest", true, {"support"} }, -{ "xray", "LLVMXRay", true, {"support", "object"} }, +{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} }, }; \ No newline at end of file diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV index e1e2c694208..0558ef48e38 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV @@ -10,92 +10,102 @@ bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[86]; - } AvailableComponents[86] = { + const char *RequiredLibraries[96]; + } AvailableComponents[96] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzmutate", "filecheck", "interfacestub", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "extensions", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "riscvcodegen", "riscvasmparser", "riscvdisassembler", "riscvdesc", "riscvinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "textapi", "dlltooldriver", "libdriver", "xray", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "riscv", "amdgpu"} }, +{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "riscvcodegen", "riscvasmparser", "riscvdisassembler", "riscvdesc", "riscvtargetmca", "riscvinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "riscv", "amdgpu"} }, { "all-targets", nullptr, true, {"riscv", "amdgpu"} }, -{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, -{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support"} }, -{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, -{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat"} }, +{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, +{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} }, +{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, +{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} }, { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} }, -{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"support"} }, -{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support"} }, -{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support"} }, +{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} }, +{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} }, +{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} }, +{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} }, { "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} }, -{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target"} }, -{ "binaryformat", "LLVMBinaryFormat", true, {"support"} }, -{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support"} }, +{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} }, +{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} }, +{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} }, { "bitstreamreader", "LLVMBitstreamReader", true, {"support"} }, -{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support"} }, -{ "cfguard", "LLVMCFGuard", true, {"core", "support"} }, -{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "profiledata", "scalaropts", "support", "target", "transformutils"} }, -{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support"} }, +{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} }, +{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} }, +{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} }, { "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} }, -{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} }, +{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} }, -{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} }, -{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} }, +{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} }, +{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} }, +{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} }, { "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} }, { "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} }, { "demangle", "LLVMDemangle", true, {} }, -{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support"} }, -{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, +{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} }, +{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} }, +{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, { "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} }, { "engine", nullptr, true, {"interpreter"} }, -{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} }, +{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} }, { "extensions", "LLVMExtensions", true, {"support"} }, { "filecheck", "LLVMFileCheck", true, {} }, +{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} }, { "frontendopenacc", "LLVMFrontendOpenACC", true, {} }, -{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} }, -{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} }, +{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} }, +{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} }, +{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} }, { "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} }, { "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} }, -{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} }, +{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} }, +{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} }, { "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} }, -{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "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", "targetparser", "transformutils", "vectorize", "instrumentation"} }, +{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} }, { "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} }, -{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "orctargetprocess", "support"} }, -{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "binaryformat", "bitreader", "object", "option", "support"} }, +{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} }, +{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} }, { "lineeditor", "LLVMLineEditor", true, {"support"} }, -{ "linker", "LLVMLinker", true, {"core", "object", "support", "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"} }, +{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} }, +{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} }, { "mca", "LLVMMCA", true, {"mc", "support"} }, -{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} }, +{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} }, { "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} }, -{ "mcparser", "LLVMMCParser", true, {"mc", "support"} }, +{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} }, { "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} }, { "native", nullptr, true, {} }, { "nativecodegen", nullptr, true, {} }, { "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} }, -{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "binaryformat", "mcparser", "support", "textapi"} }, -{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "debuginfocodeview", "mc"} }, +{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} }, +{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} }, +{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} }, { "option", "LLVMOption", true, {"support"} }, -{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "transformutils"} }, +{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} }, { "orcshared", "LLVMOrcShared", true, {"support"} }, -{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support"} }, -{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, -{ "profiledata", "LLVMProfileData", true, {"core", "support", "demangle"} }, +{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} }, +{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, +{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} }, { "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} }, -{ "riscv", nullptr, true, {"riscvcodegen", "riscvasmparser", "riscvdisassembler", "riscvdesc", "riscvinfo"} }, -{ "riscvasmparser", "LLVMRISCVAsmParser", true, {"mc", "mcparser", "riscvdesc", "riscvinfo", "support"} }, -{ "riscvcodegen", "LLVMRISCVCodeGen", true, {"analysis", "asmprinter", "core", "codegen", "mc", "riscvdesc", "riscvinfo", "selectiondag", "support", "target", "globalisel"} }, -{ "riscvdesc", "LLVMRISCVDesc", true, {"mc", "riscvinfo", "support"} }, +{ "riscv", nullptr, true, {"riscvcodegen", "riscvasmparser", "riscvdisassembler", "riscvdesc", "riscvtargetmca", "riscvinfo"} }, +{ "riscvasmparser", "LLVMRISCVAsmParser", true, {"mc", "mcparser", "riscvdesc", "riscvinfo", "support", "targetparser"} }, +{ "riscvcodegen", "LLVMRISCVCodeGen", true, {"analysis", "asmprinter", "core", "ipo", "codegen", "mc", "riscvdesc", "riscvinfo", "selectiondag", "support", "target", "targetparser", "transformutils", "globalisel"} }, +{ "riscvdesc", "LLVMRISCVDesc", true, {"mc", "riscvinfo", "support", "targetparser"} }, { "riscvdisassembler", "LLVMRISCVDisassembler", true, {"mc", "mcdisassembler", "riscvdesc", "riscvinfo", "support"} }, -{ "riscvinfo", "LLVMRISCVInfo", true, {"support"} }, -{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} }, +{ "riscvinfo", "LLVMRISCVInfo", true, {"mc", "support"} }, +{ "riscvtargetmca", "LLVMRISCVTargetMCA", true, {"mc", "mcparser", "riscvdesc", "riscvinfo", "support", "mca"} }, +{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} }, { "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} }, -{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} }, +{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} }, { "support", "LLVMSupport", true, {"demangle"} }, -{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} }, +{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} }, { "tablegen", "LLVMTableGen", true, {"support"} }, -{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} }, -{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} }, -{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} }, +{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} }, +{ "targetparser", "LLVMTargetParser", true, {"support"} }, +{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} }, +{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} }, { "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} }, +{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} }, { "windowsmanifest", "LLVMWindowsManifest", true, {"support"} }, -{ "xray", "LLVMXRay", true, {"support", "object"} }, +{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} }, }; \ No newline at end of file diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc index ea1b4bc94f8..4177f7fde55 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc @@ -10,92 +10,101 @@ bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[86]; - } AvailableComponents[86] = { + const char *RequiredLibraries[95]; + } AvailableComponents[95] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzmutate", "filecheck", "interfacestub", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "extensions", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "sparccodegen", "sparcasmparser", "sparcdisassembler", "sparcdesc", "sparcinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "textapi", "dlltooldriver", "libdriver", "xray", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "sparc", "amdgpu"} }, +{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "sparccodegen", "sparcasmparser", "sparcdisassembler", "sparcdesc", "sparcinfo", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "sparc", "amdgpu"} }, { "all-targets", nullptr, true, {"sparc", "amdgpu"} }, -{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, -{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support"} }, -{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, -{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat"} }, +{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, +{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} }, +{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, +{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} }, { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} }, -{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"support"} }, -{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support"} }, -{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support"} }, +{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} }, +{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} }, +{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} }, +{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} }, { "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} }, -{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target"} }, -{ "binaryformat", "LLVMBinaryFormat", true, {"support"} }, -{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support"} }, +{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} }, +{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} }, +{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} }, { "bitstreamreader", "LLVMBitstreamReader", true, {"support"} }, -{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support"} }, -{ "cfguard", "LLVMCFGuard", true, {"core", "support"} }, -{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "profiledata", "scalaropts", "support", "target", "transformutils"} }, -{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support"} }, +{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} }, +{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} }, +{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} }, { "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} }, -{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} }, +{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} }, -{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} }, -{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} }, +{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} }, +{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} }, +{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} }, { "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} }, { "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} }, { "demangle", "LLVMDemangle", true, {} }, -{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support"} }, -{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, +{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} }, +{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} }, +{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, { "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} }, { "engine", nullptr, true, {"interpreter"} }, -{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} }, +{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} }, { "extensions", "LLVMExtensions", true, {"support"} }, { "filecheck", "LLVMFileCheck", true, {} }, +{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} }, { "frontendopenacc", "LLVMFrontendOpenACC", true, {} }, -{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} }, -{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} }, +{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} }, +{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} }, +{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} }, { "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} }, { "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} }, -{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} }, +{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} }, +{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} }, { "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} }, -{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "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", "targetparser", "transformutils", "vectorize", "instrumentation"} }, +{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} }, { "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} }, -{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "orctargetprocess", "support"} }, -{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "binaryformat", "bitreader", "object", "option", "support"} }, +{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} }, +{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} }, { "lineeditor", "LLVMLineEditor", true, {"support"} }, -{ "linker", "LLVMLinker", true, {"core", "object", "support", "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"} }, +{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} }, +{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} }, { "mca", "LLVMMCA", true, {"mc", "support"} }, -{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} }, +{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} }, { "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} }, -{ "mcparser", "LLVMMCParser", true, {"mc", "support"} }, +{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} }, { "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} }, { "native", nullptr, true, {} }, { "nativecodegen", nullptr, true, {} }, { "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} }, -{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "binaryformat", "mcparser", "support", "textapi"} }, -{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "debuginfocodeview", "mc"} }, +{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} }, +{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} }, +{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} }, { "option", "LLVMOption", true, {"support"} }, -{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "transformutils"} }, +{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} }, { "orcshared", "LLVMOrcShared", true, {"support"} }, -{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support"} }, -{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, -{ "profiledata", "LLVMProfileData", true, {"core", "support", "demangle"} }, +{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} }, +{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, +{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} }, { "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} }, -{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} }, +{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} }, { "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} }, -{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} }, +{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} }, { "sparc", nullptr, true, {"sparccodegen", "sparcasmparser", "sparcdisassembler", "sparcdesc", "sparcinfo"} }, -{ "sparcasmparser", "LLVMSparcAsmParser", true, {"mc", "mcparser", "sparcdesc", "sparcinfo", "support"} }, -{ "sparccodegen", "LLVMSparcCodeGen", true, {"asmprinter", "codegen", "core", "mc", "selectiondag", "sparcdesc", "sparcinfo", "support", "target"} }, -{ "sparcdesc", "LLVMSparcDesc", true, {"mc", "sparcinfo", "support"} }, -{ "sparcdisassembler", "LLVMSparcDisassembler", true, {"mcdisassembler", "sparcinfo", "support"} }, -{ "sparcinfo", "LLVMSparcInfo", true, {"support"} }, +{ "sparcasmparser", "LLVMSparcAsmParser", true, {"mc", "mcparser", "sparcdesc", "sparcinfo", "support", "targetparser"} }, +{ "sparccodegen", "LLVMSparcCodeGen", true, {"asmprinter", "codegen", "core", "mc", "selectiondag", "sparcdesc", "sparcinfo", "support", "target", "targetparser"} }, +{ "sparcdesc", "LLVMSparcDesc", true, {"mc", "sparcinfo", "support", "targetparser"} }, +{ "sparcdisassembler", "LLVMSparcDisassembler", true, {"mcdisassembler", "mc", "sparcinfo", "support"} }, +{ "sparcinfo", "LLVMSparcInfo", true, {"mc", "support"} }, { "support", "LLVMSupport", true, {"demangle"} }, -{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} }, +{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} }, { "tablegen", "LLVMTableGen", true, {"support"} }, -{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} }, -{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} }, -{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} }, +{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} }, +{ "targetparser", "LLVMTargetParser", true, {"support"} }, +{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} }, +{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} }, { "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} }, +{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} }, { "windowsmanifest", "LLVMWindowsManifest", true, {"support"} }, -{ "xray", "LLVMXRay", true, {"support", "object"} }, +{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} }, }; \ No newline at end of file diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 index c8eb326b402..4642734b8c8 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 @@ -10,92 +10,102 @@ bool IsInstalled; /// The list of libraries required when linking this component. - const char *RequiredLibraries[86]; - } AvailableComponents[86] = { + const char *RequiredLibraries[96]; + } AvailableComponents[96] = { { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzmutate", "filecheck", "interfacestub", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "extensions", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "x86codegen", "x86asmparser", "x86disassembler", "x86desc", "x86info", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "textapi", "dlltooldriver", "libdriver", "xray", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "x86", "amdgpu"} }, +{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "x86codegen", "x86asmparser", "x86disassembler", "x86targetmca", "x86desc", "x86info", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "x86", "amdgpu"} }, { "all-targets", nullptr, true, {"x86", "amdgpu"} }, -{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, -{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support"} }, -{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, -{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat"} }, +{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} }, +{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} }, +{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} }, +{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} }, { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} }, -{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"support"} }, -{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support"} }, -{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support"} }, +{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} }, +{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} }, +{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} }, +{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} }, { "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} }, -{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target"} }, -{ "binaryformat", "LLVMBinaryFormat", true, {"support"} }, -{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support"} }, +{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} }, +{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} }, +{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} }, { "bitstreamreader", "LLVMBitstreamReader", true, {"support"} }, -{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support"} }, -{ "cfguard", "LLVMCFGuard", true, {"core", "support"} }, -{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "profiledata", "scalaropts", "support", "target", "transformutils"} }, -{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support"} }, +{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} }, +{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} }, +{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} }, { "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} }, -{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} }, +{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} }, { "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} }, -{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} }, -{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} }, +{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} }, +{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} }, +{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} }, { "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} }, { "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} }, { "demangle", "LLVMDemangle", true, {} }, -{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support"} }, -{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, +{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} }, +{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} }, +{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} }, { "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} }, { "engine", nullptr, true, {"interpreter"} }, -{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} }, +{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} }, { "extensions", "LLVMExtensions", true, {"support"} }, { "filecheck", "LLVMFileCheck", true, {} }, +{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} }, { "frontendopenacc", "LLVMFrontendOpenACC", true, {} }, -{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} }, -{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} }, +{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} }, +{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} }, +{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} }, { "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} }, { "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} }, -{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} }, -{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} }, +{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} }, +{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} }, { "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} }, -{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "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", "targetparser", "transformutils", "vectorize", "instrumentation"} }, +{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} }, { "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} }, -{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "orctargetprocess", "support"} }, -{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "binaryformat", "bitreader", "object", "option", "support"} }, +{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} }, +{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} }, { "lineeditor", "LLVMLineEditor", true, {"support"} }, -{ "linker", "LLVMLinker", true, {"core", "object", "support", "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"} }, +{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} }, +{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} }, +{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} }, { "mca", "LLVMMCA", true, {"mc", "support"} }, -{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} }, +{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} }, { "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} }, -{ "mcparser", "LLVMMCParser", true, {"mc", "support"} }, +{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} }, { "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} }, { "native", nullptr, true, {"x86"} }, { "nativecodegen", nullptr, true, {"x86codegen"} }, { "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} }, -{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "binaryformat", "mcparser", "support", "textapi"} }, -{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "debuginfocodeview", "mc"} }, +{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} }, +{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} }, +{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} }, { "option", "LLVMOption", true, {"support"} }, -{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "transformutils"} }, +{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} }, { "orcshared", "LLVMOrcShared", true, {"support"} }, -{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support"} }, -{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, -{ "profiledata", "LLVMProfileData", true, {"core", "support", "demangle"} }, +{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} }, +{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} }, +{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} }, { "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} }, -{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} }, +{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} }, { "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} }, -{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} }, +{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} }, { "support", "LLVMSupport", true, {"demangle"} }, -{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} }, +{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} }, { "tablegen", "LLVMTableGen", true, {"support"} }, -{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} }, -{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} }, -{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} }, +{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} }, +{ "targetparser", "LLVMTargetParser", true, {"support"} }, +{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} }, +{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} }, { "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} }, +{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} }, { "windowsmanifest", "LLVMWindowsManifest", true, {"support"} }, -{ "x86", nullptr, true, {"x86codegen", "x86asmparser", "x86disassembler", "x86desc", "x86info"} }, +{ "x86", nullptr, true, {"x86codegen", "x86asmparser", "x86disassembler", "x86targetmca", "x86desc", "x86info"} }, { "x86asmparser", "LLVMX86AsmParser", true, {"mc", "mcparser", "support", "x86desc", "x86info"} }, -{ "x86codegen", "LLVMX86CodeGen", true, {"analysis", "asmprinter", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils", "x86desc", "x86info", "globalisel", "profiledata", "cfguard"} }, -{ "x86desc", "LLVMX86Desc", true, {"mc", "mcdisassembler", "support", "x86info", "binaryformat"} }, +{ "x86codegen", "LLVMX86CodeGen", true, {"analysis", "asmprinter", "codegen", "core", "instrumentation", "mc", "selectiondag", "support", "target", "targetparser", "transformutils", "x86desc", "x86info", "globalisel", "profiledata", "cfguard"} }, +{ "x86desc", "LLVMX86Desc", true, {"mc", "mcdisassembler", "support", "targetparser", "x86info", "binaryformat"} }, { "x86disassembler", "LLVMX86Disassembler", true, {"mcdisassembler", "support", "x86info"} }, -{ "x86info", "LLVMX86Info", true, {"support"} }, -{ "xray", "LLVMXRay", true, {"support", "object"} }, +{ "x86info", "LLVMX86Info", true, {"mc", "support"} }, +{ "x86targetmca", "LLVMX86TargetMCA", true, {"mc", "mcparser", "x86desc", "x86info", "support", "targetparser", "mca"} }, +{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} }, }; \ No newline at end of file diff --git a/gnu/usr.bin/clang/llvm-config/Makefile b/gnu/usr.bin/clang/llvm-config/Makefile index 37731506a68..f1a19cd8a32 100644 --- a/gnu/usr.bin/clang/llvm-config/Makefile +++ b/gnu/usr.bin/clang/llvm-config/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:47 patrick Exp $ +# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:40 robert Exp $ PROG= llvm-config BINDIR= /usr/bin @@ -28,17 +28,18 @@ LibraryDependencies.inc: cp ${.CURDIR}/LibraryDependencies.inc.${LLVM_ARCH} \ ${.OBJDIR}/LibraryDependencies.inc -LLVM_LIBDEPS= LLVMTableGen LLVMSupport +LLVM_LIBDEPS= LLVM reconf: .for arch in ${NATIVE_ARCHS} mkdir ${.CURDIR}/CMakeGen - cd ${.CURDIR}/CMakeGen && ${CMAKE} -DLLVM_TARGETS_TO_BUILD="${arch};AMDGPU" ${LLVMROOT} + cd ${.CURDIR}/CMakeGen && ${CMAKE} -DLLVM_TARGETS_TO_BUILD="${arch};AMDGPU" \ + -DCMAKE_BUILD_TYPE=Release ${LLVMROOT} mv ${.CURDIR}/CMakeGen/tools/llvm-config/LibraryDependencies.inc ${.CURDIR}/LibraryDependencies.inc.${arch} rm -rf ${.CURDIR}/CMakeGen .endfor -CLEANFILES+= BuildVariables.inc LibraryDependencies.inc +CLEANFILES+= BuildVariables.inc LibraryDependencies.inc ExtensionDependencies.inc .PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-config diff --git a/gnu/usr.bin/clang/llvm-config/llvm-config.1 b/gnu/usr.bin/clang/llvm-config/llvm-config.1 index 8fe5bd10f01..22d9c77991d 100644 --- a/gnu/usr.bin/clang/llvm-config/llvm-config.1 +++ b/gnu/usr.bin/clang/llvm-config/llvm-config.1 @@ -1,8 +1,5 @@ .\" Man page generated from reStructuredText. . -.TH "LLVM-CONFIG" "1" "2021-08-29" "13" "LLVM" -.SH NAME -llvm-config \- Print LLVM compilation options . .nr rst2man-indent-level 0 . @@ -30,6 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. +.TH "LLVM-CONFIG" "1" "2023-10-21" "16" "LLVM" +.SH NAME +llvm-config \- Print LLVM compilation options .SH SYNOPSIS .sp \fBllvm\-config\fP \fIoption\fP [\fIcomponents\fP\&...] @@ -55,59 +55,59 @@ g++ \(gallvm\-config \-\-ldflags\(ga \-o HowToUseJIT HowToUseJIT.o \e .UNINDENT .SH OPTIONS .sp -\fB\-\-version\fP +\fB\-\-assertion\-mode\fP .INDENT 0.0 .INDENT 3.5 -Print the version number of LLVM. +Print the assertion mode used when LLVM was built (ON or OFF). .UNINDENT .UNINDENT .sp -\fB\-help\fP +\fB\-\-bindir\fP .INDENT 0.0 .INDENT 3.5 -Print a summary of \fBllvm\-config\fP arguments. +Print the installation directory for LLVM binaries. .UNINDENT .UNINDENT .sp -\fB\-\-prefix\fP +\fB\-\-build\-mode\fP .INDENT 0.0 .INDENT 3.5 -Print the installation prefix for LLVM. +Print the build mode used when LLVM was built (e.g. Debug or Release). .UNINDENT .UNINDENT .sp -\fB\-\-src\-root\fP +\fB\-\-build\-system\fP .INDENT 0.0 .INDENT 3.5 -Print the source root from which LLVM was built. +Print the build system used to build LLVM (e.g. \fIcmake\fP or \fIgn\fP). .UNINDENT .UNINDENT .sp -\fB\-\-obj\-root\fP +\fB\-\-cflags\fP .INDENT 0.0 .INDENT 3.5 -Print the object root used to build LLVM. +Print the C compiler flags needed to use LLVM headers. .UNINDENT .UNINDENT .sp -\fB\-\-bindir\fP +\fB\-\-cmakedir\fP .INDENT 0.0 .INDENT 3.5 -Print the installation directory for LLVM binaries. +Print the installation directory for LLVM CMake modules. .UNINDENT .UNINDENT .sp -\fB\-\-includedir\fP +\fB\-\-components\fP .INDENT 0.0 .INDENT 3.5 -Print the installation directory for LLVM headers. +Print all valid component names. .UNINDENT .UNINDENT .sp -\fB\-\-libdir\fP +\fB\-\-cppflags\fP .INDENT 0.0 .INDENT 3.5 -Print the installation directory for LLVM libraries. +Print the C preprocessor flags needed to use LLVM headers. .UNINDENT .UNINDENT .sp @@ -118,6 +118,41 @@ Print the C++ compiler flags needed to use LLVM headers. .UNINDENT .UNINDENT .sp +\fB\-\-has\-rtti\fP +.INDENT 0.0 +.INDENT 3.5 +Print whether or not LLVM was built with rtti (YES or NO). +.UNINDENT +.UNINDENT +.sp +\fB\-\-help\fP +.INDENT 0.0 +.INDENT 3.5 +Print a summary of \fBllvm\-config\fP arguments. +.UNINDENT +.UNINDENT +.sp +\fB\-\-host\-target\fP +.INDENT 0.0 +.INDENT 3.5 +Print the target triple used to configure LLVM. +.UNINDENT +.UNINDENT +.sp +\fB\-\-ignore\-libllvm\fP +.INDENT 0.0 +.INDENT 3.5 +Ignore libLLVM and link component libraries instead. +.UNINDENT +.UNINDENT +.sp +\fB\-\-includedir\fP +.INDENT 0.0 +.INDENT 3.5 +Print the installation directory for LLVM headers. +.UNINDENT +.UNINDENT +.sp \fB\-\-ldflags\fP .INDENT 0.0 .INDENT 3.5 @@ -125,11 +160,19 @@ Print the flags needed to link against LLVM libraries. .UNINDENT .UNINDENT .sp -\fB\-\-libs\fP +\fB\-\-libdir\fP .INDENT 0.0 .INDENT 3.5 -Print all the libraries needed to link against the specified LLVM -\fIcomponents\fP, including any dependencies. +Print the installation directory for LLVM libraries. +.UNINDENT +.UNINDENT +.sp +\fB\-\-libfiles\fP +.INDENT 0.0 +.INDENT 3.5 +Similar to \fB\-\-libs\fP, but print the full path to each library file. This is +useful when creating makefile dependencies, to ensure that a tool is relinked if +any library it uses changes. .UNINDENT .UNINDENT .sp @@ -142,19 +185,54 @@ copy of LLVM. .UNINDENT .UNINDENT .sp -\fB\-\-libfiles\fP +\fB\-\-libs\fP .INDENT 0.0 .INDENT 3.5 -Similar to \fB\-\-libs\fP, but print the full path to each library file. This is -useful when creating makefile dependencies, to ensure that a tool is relinked if -any library it uses changes. +Print all the libraries needed to link against the specified LLVM +\fIcomponents\fP, including any dependencies. .UNINDENT .UNINDENT .sp -\fB\-\-components\fP +\fB\-\-link\-shared\fP .INDENT 0.0 .INDENT 3.5 -Print all valid component names. +Link the components as shared libraries. +.UNINDENT +.UNINDENT +.sp +\fB\-\-link\-static\fP +.INDENT 0.0 +.INDENT 3.5 +Link the component libraries statically. +.UNINDENT +.UNINDENT +.sp +\fB\-\-obj\-root\fP +.INDENT 0.0 +.INDENT 3.5 +Print the object root used to build LLVM. +.UNINDENT +.UNINDENT +.sp +\fB\-\-prefix\fP +.INDENT 0.0 +.INDENT 3.5 +Print the installation prefix for LLVM. +.UNINDENT +.UNINDENT +.sp +\fB\-\-shared\-mode\fP +.INDENT 0.0 +.INDENT 3.5 +Print how the provided components can be collectively linked (\fIshared\fP or \fIstatic\fP). +.UNINDENT +.UNINDENT +.sp +\fB\-\-system\-libs\fP +.INDENT 0.0 +.INDENT 3.5 +Print all the system libraries needed to link against the specified LLVM +\fIcomponents\fP, including any dependencies. .UNINDENT .UNINDENT .sp @@ -165,17 +243,17 @@ Print the component names for all targets supported by this copy of LLVM. .UNINDENT .UNINDENT .sp -\fB\-\-build\-mode\fP +\fB\-\-version\fP .INDENT 0.0 .INDENT 3.5 -Print the build mode used when LLVM was built (e.g. Debug or Release) +Print the version number of LLVM. .UNINDENT .UNINDENT .SH COMPONENTS .sp To print a list of all available components, run \fBllvm\-config \-\-components\fP\&. In most cases, components correspond directly to LLVM -libraries. Useful "virtual" components include: +libraries. Useful \(dqvirtual\(dq components include: .sp \fBall\fP .INDENT 0.0 @@ -204,6 +282,6 @@ occurs, it will exit with a non\-zero value. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2021, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-cov/llvm-cov.1 b/gnu/usr.bin/clang/llvm-cov/llvm-cov.1 index 4e64d957e40..a279e7aab6e 100644 --- a/gnu/usr.bin/clang/llvm-cov/llvm-cov.1 +++ b/gnu/usr.bin/clang/llvm-cov/llvm-cov.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LLVM-COV" "1" "2022-05-23" "13" "LLVM" +.TH "LLVM-COV" "1" "2023-10-21" "16" "LLVM" .SH NAME llvm-cov \- emit coverage information .SH SYNOPSIS @@ -152,7 +152,7 @@ displayed. .UNINDENT .INDENT 0.0 .TP -.B \-o=, \-\-object\-directory=, \-\-object\-file= +.B \-o , \-\-object\-directory=, \-\-object\-file= Find objects in DIR or based on FILE\(aqs path. If you specify a particular object file, the coverage data files are expected to have the same base name with \fB\&.gcno\fP and \fB\&.gcda\fP extensions. If you specify a directory, the @@ -177,7 +177,7 @@ by \fB\-s\fP\&. .UNINDENT .INDENT 0.0 .TP -.B \-s= +.B \-s Source prefix to elide. .UNINDENT .INDENT 0.0 @@ -209,12 +209,12 @@ it exits with zero. .SH SHOW COMMAND .SS SYNOPSIS .sp -\fBllvm\-cov show\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fI\-object BIN,...\fP] [[\fI\-object BIN\fP]] [\fISOURCES\fP] +\fBllvm\-cov show\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP [\fIBIN\fP] [\fI\-object BIN\fP]... [\fI\-sources\fP] [\fISOURCE\fP]... .SS DESCRIPTION .sp The \fBllvm\-cov show\fP command shows line by line coverage of the -binaries \fIBIN\fP,... using the profile data \fIPROFILE\fP\&. It can optionally be -filtered to only show the coverage for the files listed in \fISOURCES\fP\&. +binaries \fIBIN\fP\&... using the profile data \fIPROFILE\fP\&. It can optionally be +filtered to only show the coverage for the files listed in \fISOURCE\fP\&.... .sp \fIBIN\fP may be an executable, object file, dynamic library, or archive (thin or otherwise). @@ -237,7 +237,7 @@ tool. .TP .B \-show\-branches= Show coverage for branch conditions in terms of either count or percentage. -The supported views are: "count", "percent". +The supported views are: \(dqcount\(dq, \(dqpercent\(dq. .UNINDENT .INDENT 0.0 .TP @@ -292,9 +292,9 @@ Show code coverage only for functions with the given name. .UNINDENT .INDENT 0.0 .TP -.B \-name\-whitelist= +.B \-name\-allowlist= Show code coverage only for functions listed in the given file. Each line in -the file should start with \fIwhitelist_fun:\fP, immediately followed by the name +the file should start with \fIallowlist_fun:\fP, immediately followed by the name of the function to accept. This name can be a wildcard expression. .UNINDENT .INDENT 0.0 @@ -310,7 +310,7 @@ Skip source code files with file paths that match the given regular expression. .INDENT 0.0 .TP .B \-format= -Use the specified output format. The supported formats are: "text", "html". +Use the specified output format. The supported formats are: \(dqtext\(dq, \(dqhtml\(dq. .UNINDENT .INDENT 0.0 .TP @@ -381,15 +381,38 @@ Map the paths in the coverage data to local source file paths. This allows you to generate the coverage data on one machine, and then use llvm\-cov on a different machine where you have the same files on a different path. .UNINDENT +.INDENT 0.0 +.TP +.B \-coverage\-watermark=, +Set high and low watermarks for coverage in html format output. This allows you +to set the high and low watermark of coverage as desired, green when +coverage >= high, red when coverage < low, and yellow otherwise. Both high and +low should be between 0\-100 and high > low. +.UNINDENT +.INDENT 0.0 +.TP +.B \-debuginfod +.UNINDENT +.sp +Use debuginfod to look up coverage mapping for binary IDs present in the profile +but not in any object given on the command line. Defaults to true if debuginfod +is compiled in and configured via the DEBUGINFOD_URLS environment variable. +.INDENT 0.0 +.TP +.B \-debug\-file\-directory= +.UNINDENT +.sp +Provides local directories to search for objects corresponding to binary IDs in +the profile (as with debuginfod). Defaults to system build ID directories. .SH REPORT COMMAND .SS SYNOPSIS .sp -\fBllvm\-cov report\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fI\-object BIN,...\fP] [[\fI\-object BIN\fP]] [\fISOURCES\fP] +\fBllvm\-cov report\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP [\fIBIN\fP] [\fI\-object BIN\fP]... [\fI\-sources\fP] [\fISOURCE\fP]... .SS DESCRIPTION .sp The \fBllvm\-cov report\fP command displays a summary of the coverage of -the binaries \fIBIN\fP,... using the profile data \fIPROFILE\fP\&. It can optionally be -filtered to only show the coverage for the files listed in \fISOURCES\fP\&. +the binaries \fIBIN\fP\&... using the profile data \fIPROFILE\fP\&. It can optionally be +filtered to only show the coverage for the files listed in \fISOURCE\fP\&.... .sp \fIBIN\fP may be an executable, object file, dynamic library, or archive (thin or otherwise). @@ -446,14 +469,30 @@ Directory used as a base for relative coverage mapping paths. Only applicable when binaries have been compiled with one of \fI\-fcoverage\-prefix\-map\fP \fI\-fcoverage\-compilation\-dir\fP, or \fI\-ffile\-compilation\-dir\fP\&. .UNINDENT +.INDENT 0.0 +.TP +.B \-debuginfod +.UNINDENT +.sp +Attempt to look up coverage mapping from objects using debuginfod. This is +attempted by default for binary IDs present in the profile but not provided on +the command line, so long as debuginfod is compiled in and configured via +DEBUGINFOD_URLS. +.INDENT 0.0 +.TP +.B \-debug\-file\-directory= +.UNINDENT +.sp +Provides a directory to search for objects corresponding to binary IDs in the +profile. .SH EXPORT COMMAND .SS SYNOPSIS .sp -\fBllvm\-cov export\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fI\-object BIN,...\fP] [[\fI\-object BIN\fP]] [\fISOURCES\fP] +\fBllvm\-cov export\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP [\fIBIN\fP] [\fI\-object BIN\fP]... [\fI\-sources\fP] [\fISOURCE\fP]... .SS DESCRIPTION .sp The \fBllvm\-cov export\fP command exports coverage data of the binaries -\fIBIN\fP,... using the profile data \fIPROFILE\fP in either JSON or lcov trace file +\fIBIN\fP\&... using the profile data \fIPROFILE\fP in either JSON or lcov trace file format. .sp When exporting JSON, the regions, functions, branches, expansions, and @@ -461,7 +500,7 @@ summaries of the coverage data will be exported. When exporting an lcov trace file, the line\-based coverage, branch coverage, and summaries will be exported. .sp The exported data can optionally be filtered to only export the coverage -for the files listed in \fISOURCES\fP\&. +for the files listed in \fISOURCE\fP\&.... .sp For information on compiling programs for coverage and generating profile data, see \fI\%SHOW COMMAND\fP\&. @@ -477,8 +516,8 @@ non\-universal binary. .INDENT 0.0 .TP .B \-format= -Use the specified output format. The supported formats are: "text" (JSON), -"lcov". +Use the specified output format. The supported formats are: \(dqtext\(dq (JSON), +\(dqlcov\(dq. .UNINDENT .INDENT 0.0 .TP @@ -520,9 +559,25 @@ Directory used as a base for relative coverage mapping paths. Only applicable when binaries have been compiled with one of \fI\-fcoverage\-prefix\-map\fP \fI\-fcoverage\-compilation\-dir\fP, or \fI\-ffile\-compilation\-dir\fP\&. .UNINDENT +.INDENT 0.0 +.TP +.B \-debuginfod +.UNINDENT +.sp +Attempt to look up coverage mapping from objects using debuginfod. This is +attempted by default for binary IDs present in the profile but not provided on +the command line, so long as debuginfod is compiled in and configured via +DEBUGINFOD_URLS. +.INDENT 0.0 +.TP +.B \-debug\-file\-directory= +.UNINDENT +.sp +Provides a directory to search for objects corresponding to binary IDs in the +profile. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2022, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-objcopy/Makefile b/gnu/usr.bin/clang/llvm-objcopy/Makefile index 6f3fd0fa134..b65f88cecf6 100644 --- a/gnu/usr.bin/clang/llvm-objcopy/Makefile +++ b/gnu/usr.bin/clang/llvm-objcopy/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2023/01/27 22:01:02 kettenis Exp $ +# $OpenBSD: Makefile,v 1.6 2023/11/11 18:35:40 robert Exp $ .include @@ -7,78 +7,24 @@ MAN= llvm-objcopy.1 BINDIR= /usr/bin LIBEXECDIR=/usr/libexec -SRCS= ConfigManager.cpp \ - llvm-objcopy.cpp \ - COFFObjcopy.cpp \ - COFFObject.cpp \ - COFFReader.cpp \ - COFFWriter.cpp \ - ELFObjcopy.cpp \ - ELFObject.cpp \ - MachOObjcopy.cpp \ - MachOReader.cpp \ - MachOWriter.cpp \ - MachOLayoutBuilder.cpp \ - MachOObject.cpp \ - WasmObject.cpp \ - WasmReader.cpp \ - WasmWriter.cpp \ - WasmObjcopy.cpp +DRIVER_TEMPLATE=Yes + +SRCS+= ObjcopyOptions.cpp \ + llvm-objcopy.cpp .if ${LINKER_VERSION:L} == "lld" LINKS= ${BINDIR}/llvm-objcopy ${BINDIR}/strip MAN+= strip.1 .endif -COFFObject.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF/Object.cpp $@ - -COFFReader.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF/Reader.cpp $@ - -COFFWriter.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF/Writer.cpp $@ - -ELFObject.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/ELF/Object.cpp $@ - -MachOObject.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/MachO/Object.cpp $@ - -WasmObject.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/wasm/Object.cpp $@ - -WasmReader.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/wasm/Reader.cpp $@ - -WasmWriter.cpp: - ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/wasm/Writer.cpp $@ - CPPFLAGS+= -I${.OBJDIR}/../include/llvm-objcopy CPPFLAGS+= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy -CPPFLAGS+= ${CPPFLAGS_$*} - -CPPFLAGS_COFFObject= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF -CPPFLAGS_COFFReader= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF -CPPFLAGS_COFFWriter= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF -CPPFLAGS_ELFObject= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/ELF -CPPFLAGS_MachOObject= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/MachO -CPPFLAGS_WasmObject= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/wasm -CPPFLAGS_WasmReader= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/wasm -CPPFLAGS_WasmWriter= -I${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/wasm .PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy -.PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF -.PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/ELF -.PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/MachO -.PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/wasm -LLVM_LIBDEPS= LLVM +LLVM_LIBDEPS= LLVM \ + LLVMObjCopy LDADD+= -L ${.OBJDIR}/../libLLVM -lLLVM -CLEANFILES+= COFFObject.cpp COFFReader.cpp COFFWriter.cpp -CLEANFILES+= ELFObject.cpp MachOObject.cpp -CLEANFILES+= WasmObject.cpp WasmReader.cpp WasmWriter.cpp - .include diff --git a/gnu/usr.bin/clang/llvm-objcopy/strip.1 b/gnu/usr.bin/clang/llvm-objcopy/strip.1 index 9ca5638cbd0..98725a93430 100644 --- a/gnu/usr.bin/clang/llvm-objcopy/strip.1 +++ b/gnu/usr.bin/clang/llvm-objcopy/strip.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LLVM-STRIP" "1" "2023-01-08" "13" "LLVM" +.TH "LLVM-STRIP" "1" "2023-10-21" "16" "LLVM" .SH NAME llvm-strip \- object stripping tool .SH SYNOPSIS @@ -88,6 +88,16 @@ with \-o. .UNINDENT .INDENT 0.0 .TP +.B \-\-only\-keep\-debug +Produce a debug file as the output that only preserves contents of sections +useful for debugging purposes. +.sp +For ELF objects, this removes the contents of \fISHF_ALLOC\fP sections that are not +\fISHT_NOTE\fP by making them \fISHT_NOBITS\fP and shrinking the program headers where +possible. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-regex If specified, symbol and section names specified by other switches are treated as extended POSIX regular expression patterns. @@ -209,17 +219,6 @@ the same as \fB\-w \-N \(aq!x\(aq \-N \(aq*\(aq\fP\&. .B @ Read command\-line options and commands from response file \fI\fP\&. .UNINDENT -.SH COFF-SPECIFIC OPTIONS -.sp -The following options are implemented only for COFF objects. If used with other -objects, \fBllvm\-strip\fP will either emit an error or silently ignore -them. -.INDENT 0.0 -.TP -.B \-\-only\-keep\-debug -Remove the contents of non\-debug sections from the output, but keep the section -headers. -.UNINDENT .SH ELF-SPECIFIC OPTIONS .sp The following options are implemented only for ELF objects. If used with other @@ -276,7 +275,7 @@ Remove Swift symbols. Otherwise, it exits with code 0. .SH BUGS .sp -To report bugs, please visit <\fI\%https://bugs.llvm.org/\fP>. +To report bugs, please visit <\fI\%https://github.com/llvm/llvm\-project/labels/tools:llvm\-objcopy%2Fstrip\fP>. .SH SEE ALSO .sp \fBllvm\-objcopy(1)\fP diff --git a/gnu/usr.bin/clang/llvm-objdump/Makefile b/gnu/usr.bin/clang/llvm-objdump/Makefile index c6e4b308f14..3fdfdf5d13a 100644 --- a/gnu/usr.bin/clang/llvm-objdump/Makefile +++ b/gnu/usr.bin/clang/llvm-objdump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:47 patrick Exp $ +# $OpenBSD: Makefile,v 1.3 2023/11/11 18:35:40 robert Exp $ .include @@ -11,6 +11,7 @@ SRCS= llvm-objdump.cpp \ COFFDump.cpp \ ELFDump.cpp \ MachODump.cpp \ + OffloadDump.cpp \ WasmDump.cpp \ XCOFFDump.cpp diff --git a/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 b/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 index d3e735f49e3..a194d263d9e 100644 --- a/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 +++ b/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 @@ -1,8 +1,5 @@ .\" Man page generated from reStructuredText. . -.TH "LLVM-OBJDUMP" "1" "2021-08-29" "13" "LLVM" -.SH NAME -llvm-objdump \- LLVM's object file dumper . .nr rst2man-indent-level 0 . @@ -30,6 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. +.TH "LLVM-OBJDUMP" "1" "2023-10-21" "16" "LLVM" +.SH NAME +llvm-objdump \- LLVM's object file dumper .SH SYNOPSIS .sp \fBllvm\-objdump\fP [\fIcommands\fP] [\fIoptions\fP] [\fIfilenames...\fP] @@ -52,7 +52,11 @@ Display the information contained within an archive\(aqs headers. .INDENT 0.0 .TP .B \-d, \-\-disassemble -Disassemble all text sections found in the input files. +Disassemble all executable sections found in the input files. On some +architectures (AArch64, PPC64, x86), all known instructions are disassembled by +default. On the others, \fI\%\-\-mcpu\fP or \fI\%\-\-mattr\fP is needed to +enable some instruction sets. Disabled instructions are displayed as +\fB\fP\&. .UNINDENT .INDENT 0.0 .TP @@ -132,6 +136,8 @@ Display the contents of the dynamic symbol table. .TP .B \-u, \-\-unwind\-info Display the unwind info of the input(s). +.sp +This operation is only currently supported for COFF and Mach\-O object files. .UNINDENT .INDENT 0.0 .TP @@ -164,11 +170,32 @@ for a list of available targets. .UNINDENT .INDENT 0.0 .TP +.B \-\-build\-id= +Look up the object using the given build ID, specified as a hexadecimal +string. The found object is handled as if it were an input filename. +.UNINDENT +.INDENT 0.0 +.TP .B \-C, \-\-demangle Demangle symbol names in the output. .UNINDENT .INDENT 0.0 .TP +.B \-\-debug\-file\-directory +Provide a path to a directory with a \fI\&.build\-id\fP subdirectory to search for +debug information for stripped binaries. Multiple instances of this argument +are searched in the order given. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-debuginfod, \-\-no\-debuginfod +Whether or not to try debuginfod lookups for debug binaries. Unless specified, +debuginfod is only enabled if libcurl was compiled in (\fBLLVM_ENABLE_CURL\fP) +and at least one server URL was provided by the environment variable +\fBDEBUGINFOD_URLS\fP\&. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-debug\-vars= Print the locations (in registers or memory) of source\-level variables alongside disassembly. \fBformat\fP may be \fBunicode\fP or \fBascii\fP, defaulting @@ -202,7 +229,7 @@ Pass target\-specific disassembler options. Available options: .IP \(bu 2 \fBreg\-names\-raw\fP: ARM only. Use r followed by the register number. .IP \(bu 2 -\fBno\-aliases\fP: AArch64 and RISC\-V only. Print raw instruction mnemonic instead of pesudo instruction mnemonic. +\fBno\-aliases\fP: AArch64 and RISC\-V only. Print raw instruction mnemonic instead of pseudo instruction mnemonic. .IP \(bu 2 \fBnumeric\fP: RISC\-V only. Print raw register names instead of ABI mnemonic. (e.g. print x1 instead of ra) .IP \(bu 2 @@ -225,13 +252,14 @@ the available attributes. .UNINDENT .INDENT 0.0 .TP -.B \-\-no\-leading\-addr -When disassembling, do not print leading addresses. +.B \-\-no\-leading\-addr, \-\-no\-addresses +When disassembling, do not print leading addresses for instructions or inline +relocations. .UNINDENT .INDENT 0.0 .TP .B \-\-no\-print\-imm\-hex -Do not use hex format for immediate values in disassembly output (default). +Do not use hex format for immediate values in disassembly output. .UNINDENT .INDENT 0.0 .TP @@ -240,6 +268,11 @@ When disassembling, do not print the raw bytes of each instruction. .UNINDENT .INDENT 0.0 .TP +.B \-\-offloading +Display the content of the LLVM offloading section. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-prefix= When disassembling with the \fI\%\-\-source\fP option, prepend \fBprefix\fP to absolute paths. @@ -254,7 +287,7 @@ initial directories from absolute paths. This option has no effect without .INDENT 0.0 .TP .B \-\-print\-imm\-hex -Use hex format when printing immediate values in disassembly output. +Use hex format when printing immediate values in disassembly output (default). .UNINDENT .INDENT 0.0 .TP @@ -264,6 +297,12 @@ When disassembling, display source interleaved with the disassembly. Implies .UNINDENT .INDENT 0.0 .TP +.B \-\-show\-all\-symbols +Show all symbols during disassembly, even if multiple symbols are defined at +the same location. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-show\-lma Display the LMA column when dumping ELF section headers. Defaults to off unless any section has different VMA and LMAs. @@ -293,7 +332,9 @@ When disassembling, symbolize a branch target operand to print a label instead o .sp When printing a PC\-relative global symbol reference, print it as an offset from the leading symbol. .sp -Only works with an X86 linked image. +When a bb\-address\-map section is present (i.e., the object file is built with \fB\-fbasic\-block\-sections=labels\fP), labels are retrieved from that section instead. +.sp +Only works with PowerPC objects or X86 linked images. .INDENT 7.0 .TP .B Example: @@ -398,6 +439,17 @@ Disassemble just the specified symbol\(aqs instructions. .UNINDENT .INDENT 0.0 .TP +.B \-\-chained\-fixups +Print chained fixup information. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-dyld\-info +Print bind and rebase information used by dyld to resolve external +references in a final linked binary. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-dylibs\-used Display the shared libraries used for linked files. .UNINDENT @@ -418,8 +470,11 @@ Display exported symbols. .UNINDENT .INDENT 0.0 .TP -.B \-\-function\-starts -Print the function starts table for Mach\-O objects. +.B \-\-function\-starts [=] +Print the function starts table for Mach\-O objects. Either \fBaddrs\fP +(default) to print only the addresses of functions, \fBnames\fP to print only +the names of the functions (when available), or \fBboth\fP to print the +names beside the addresses. .UNINDENT .INDENT 0.0 .TP @@ -510,7 +565,7 @@ Add symbol description to disassembly output. .UNINDENT .SH BUGS .sp -To report bugs, please visit <\fI\%https://bugs.llvm.org/\fP>. +To report bugs, please visit <\fI\%https://github.com/llvm/llvm\-project/labels/tools:llvm\-objdump/\fP>. .SH SEE ALSO .sp \fBllvm\-nm(1)\fP, \fBllvm\-otool(1)\fP, \fBllvm\-readelf(1)\fP, @@ -518,6 +573,6 @@ To report bugs, please visit <\fI\%https://bugs.llvm.org/\fP>. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2021, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-profdata/Makefile b/gnu/usr.bin/clang/llvm-profdata/Makefile index 8d505f70517..0cde832a59d 100644 --- a/gnu/usr.bin/clang/llvm-profdata/Makefile +++ b/gnu/usr.bin/clang/llvm-profdata/Makefile @@ -1,11 +1,13 @@ -# $OpenBSD: Makefile,v 1.1 2022/07/11 14:43:24 robert Exp $ +# $OpenBSD: Makefile,v 1.2 2023/11/11 18:35:40 robert Exp $ .include PROG= llvm-profdata BINDIR= /usr/bin -SRCS= llvm-profdata.cpp +DRIVER_TEMPLATE=Yes + +SRCS+= llvm-profdata.cpp MAN+= llvm-profdata.1 .PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-profdata diff --git a/gnu/usr.bin/clang/llvm-profdata/llvm-profdata.1 b/gnu/usr.bin/clang/llvm-profdata/llvm-profdata.1 index b7a8db34316..19ed2a033ff 100644 --- a/gnu/usr.bin/clang/llvm-profdata/llvm-profdata.1 +++ b/gnu/usr.bin/clang/llvm-profdata/llvm-profdata.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LLVM-PROFDATA" "1" "2022-06-20" "13" "LLVM" +.TH "LLVM-PROFDATA" "1" "2023-10-21" "16" "LLVM" .SH NAME llvm-profdata \- Profile data tool .SH SYNOPSIS @@ -68,18 +68,18 @@ arguments are processed once for each time they are seen. .SS OPTIONS .INDENT 0.0 .TP -.B \-help +.B \-\-help Print a summary of command line options. .UNINDENT .INDENT 0.0 .TP -.B \-output=output, \-o=output +.B \-\-output=, \-o Specify the output file name. \fIOutput\fP cannot be \fB\-\fP as the resulting indexed profile data can\(aqt be written to standard output. .UNINDENT .INDENT 0.0 .TP -.B \-weighted\-input=weight,filename +.B \-\-weighted\-input= Specify an input file name along with a weight. The profile counts of the supplied \fBfilename\fP will be scaled (multiplied) by the supplied \fBweight\fP, where \fBweight\fP is a decimal integer >= 1. @@ -88,43 +88,43 @@ weight of 1. Examples are shown below. .UNINDENT .INDENT 0.0 .TP -.B \-input\-files=path, \-f=path +.B \-\-input\-files=, \-f Specify a file which contains a list of files to merge. The entries in this file are newline\-separated. Lines starting with \(aq#\(aq are skipped. Entries may be of the form or ,. .UNINDENT .INDENT 0.0 .TP -.B \-remapping\-file=path, \-r=path +.B \-\-remapping\-file=, \-r Specify a file which contains a remapping from symbol names in the input profile to the symbol names that should be used in the output profile. The file should consist of lines of the form \fB \fP\&. Blank lines and lines starting with \fB#\fP are skipped. .sp -The llvm\-cxxmap tool can be used to generate the symbol +The \fI\%llvm\-cxxmap\fP tool can be used to generate the symbol remapping file. .UNINDENT .INDENT 0.0 .TP -.B \-instr (default) +.B \-\-instr (default) Specify that the input profile is an instrumentation\-based profile. .UNINDENT .INDENT 0.0 .TP -.B \-sample +.B \-\-sample Specify that the input profile is a sample\-based profile. .sp The format of the generated file can be generated in one of three ways: .INDENT 7.0 .TP -.B \-binary (default) +.B \-\-binary (default) .UNINDENT .sp Emit the profile using a binary encoding. For instrumentation\-based profile the output format is the indexed binary format. .INDENT 7.0 .TP -.B \-extbinary +.B \-\-extbinary .UNINDENT .sp Emit the profile using an extensible binary encoding. This option can only @@ -133,7 +133,7 @@ more compact with compression enabled and can be loaded faster than the default binary encoding. .INDENT 7.0 .TP -.B \-text +.B \-\-text .UNINDENT .sp Emit the profile in text mode. This option can also be used with both @@ -142,27 +142,27 @@ the profile will be dumped in the text format that is parsable by the profile reader. .INDENT 7.0 .TP -.B \-gcc +.B \-\-gcc .UNINDENT .sp Emit the profile using GCC\(aqs gcov format (Not yet supported). .UNINDENT .INDENT 0.0 .TP -.B \-sparse[=true|false] +.B \-\-sparse[=true|false] Do not emit function records with 0 execution count. Can only be used in conjunction with \-instr. Defaults to false, since it can inhibit compiler optimization during PGO. .UNINDENT .INDENT 0.0 .TP -.B \-num\-threads=N, \-j=N +.B \-\-num\-threads=, \-j Use N threads to perform profile merging. When N=0, llvm\-profdata auto\-detects an appropriate number of threads to use. This is the default. .UNINDENT .INDENT 0.0 .TP -.B \-failure\-mode=[any|all] +.B \-\-failure\-mode=[any|all] Set the failure mode. There are two options: \(aqany\(aq causes the merge command to fail if any profiles are invalid, and \(aqall\(aq causes the merge command to fail only if all profiles are invalid. If \(aqall\(aq is set, information from any @@ -171,58 +171,65 @@ failure mode is \(aqany\(aq. .UNINDENT .INDENT 0.0 .TP -.B \-prof\-sym\-list=path +.B \-\-prof\-sym\-list= Specify a file which contains a list of symbols to generate profile symbol list in the profile. This option can only be used with sample\-based profile in extbinary format. The entries in this file are newline\-separated. .UNINDENT .INDENT 0.0 .TP -.B \-compress\-all\-sections=[true|false] +.B \-\-compress\-all\-sections=[true|false] Compress all sections when writing the profile. This option can only be used with sample\-based profile in extbinary format. .UNINDENT .INDENT 0.0 .TP -.B \-use\-md5=[true|false] +.B \-\-use\-md5=[true|false] Use MD5 to represent string in name table when writing the profile. This option can only be used with sample\-based profile in extbinary format. .UNINDENT .INDENT 0.0 .TP -.B \-gen\-partial\-profile=[true|false] +.B \-\-gen\-partial\-profile=[true|false] Mark the profile to be a partial profile which only provides partial profile coverage for the optimized target. This option can only be used with sample\-based profile in extbinary format. .UNINDENT .INDENT 0.0 .TP -.B \-supplement\-instr\-with\-sample=path_to_sample_profile +.B \-\-supplement\-instr\-with\-sample= Supplement an instrumentation profile with sample profile. The sample profile is the input of the flag. Output will be in instrumentation format (only works with \-instr). .UNINDENT .INDENT 0.0 .TP -.B \-zero\-counter\-threshold=threshold_float_number +.B \-\-zero\-counter\-threshold= For the function which is cold in instr profile but hot in sample profile, if -the ratio of the number of zero counters divided by the the total number of +the ratio of the number of zero counters divided by the total number of counters is above the threshold, the profile of the function will be regarded as being harmful for performance and will be dropped. .UNINDENT .INDENT 0.0 .TP -.B \-instr\-prof\-cold\-threshold=threshold_int_number +.B \-\-instr\-prof\-cold\-threshold= User specified cold threshold for instr profile which will override the cold threshold got from profile summary. .UNINDENT .INDENT 0.0 .TP -.B \-suppl\-min\-size\-threshold=threshold_int_number +.B \-\-suppl\-min\-size\-threshold= If the size of a function is smaller than the threshold, assume it can be inlined by PGO early inliner and it will not be adjusted based on sample profile. .UNINDENT +.INDENT 0.0 +.TP +.B \-\-debug\-info= +Specify the executable or \fB\&.dSYM\fP that contains debug info for the raw profile. +When \fB\-debug\-info\-correlate\fP was used for instrumentation, use this option +to correlate the raw profile. +.UNINDENT .SS EXAMPLES .SS Basic Usage .sp @@ -239,13 +246,13 @@ llvm\-profdata merge foo.profdata bar.profdata baz.profdata \-output merged.prof .UNINDENT .SS Weighted Input .sp -The input file \fIfoo.profdata\fP is especially important, multiply its counts by 10: +The input file \fBfoo.profdata\fP is especially important, multiply its counts by 10: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C -llvm\-profdata merge \-weighted\-input=10,foo.profdata bar.profdata baz.profdata \-output merged.profdata +llvm\-profdata merge \-\-weighted\-input=10,foo.profdata bar.profdata baz.profdata \-\-output merged.profdata .ft P .fi .UNINDENT @@ -257,7 +264,7 @@ Exactly equivalent to the previous invocation (explicit form; useful for program .sp .nf .ft C -llvm\-profdata merge \-weighted\-input=10,foo.profdata \-weighted\-input=1,bar.profdata \-weighted\-input=1,baz.profdata \-output merged.profdata +llvm\-profdata merge \-\-weighted\-input=10,foo.profdata \-\-weighted\-input=1,bar.profdata \-\-weighted\-input=1,baz.profdata \-\-output merged.profdata .ft P .fi .UNINDENT @@ -277,38 +284,48 @@ input from standard input. .SS OPTIONS .INDENT 0.0 .TP -.B \-all\-functions +.B \-\-all\-functions Print details for every function. .UNINDENT .INDENT 0.0 .TP -.B \-counts +.B \-\-binary\-ids +Print embedded binary ids in a profile. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-counts Print the counter values for the displayed functions. .UNINDENT .INDENT 0.0 .TP -.B \-function=string +.B \-\-show\-format= +Emit output in the selected format if supported by the provided profile type. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-function= Print details for a function if the function\(aqs name contains the given string. .UNINDENT .INDENT 0.0 .TP -.B \-help +.B \-\-help Print a summary of command line options. .UNINDENT .INDENT 0.0 .TP -.B \-output=output, \-o=output +.B \-\-output=, \-o Specify the output file name. If \fIoutput\fP is \fB\-\fP or it isn\(aqt specified, then the output is sent to standard output. .UNINDENT .INDENT 0.0 .TP -.B \-instr (default) +.B \-\-instr (default) Specify that the input profile is an instrumentation\-based profile. .UNINDENT .INDENT 0.0 .TP -.B \-text +.B \-\-text Instruct the profile dumper to show profile counts in the text format of the instrumentation\-based profile data representation. By default, the profile information is dumped in a more human readable form (also in text) with @@ -316,51 +333,69 @@ annotations. .UNINDENT .INDENT 0.0 .TP -.B \-topn=n +.B \-\-topn= Instruct the profile dumper to show the top \fBn\fP functions with the hottest basic blocks in the summary section. By default, the topn functions are not dumped. .UNINDENT .INDENT 0.0 .TP -.B \-sample +.B \-\-sample Specify that the input profile is a sample\-based profile. .UNINDENT .INDENT 0.0 .TP -.B \-memop\-sizes +.B \-\-memop\-sizes Show the profiled sizes of the memory intrinsic calls for shown functions. .UNINDENT .INDENT 0.0 .TP -.B \-value\-cutoff=n +.B \-\-value\-cutoff= Show only those functions whose max count values are greater or equal to \fBn\fP\&. By default, the value\-cutoff is set to 0. .UNINDENT .INDENT 0.0 .TP -.B \-list\-below\-cutoff +.B \-\-list\-below\-cutoff Only output names of functions whose max count value are below the cutoff value. .UNINDENT .INDENT 0.0 .TP -.B \-showcs +.B \-\-profile\-version +Print profile version. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-showcs Only show context sensitive profile counts. The default is to filter all context sensitive profile counts. .UNINDENT .INDENT 0.0 .TP -.B \-show\-prof\-sym\-list=[true|false] +.B \-\-show\-prof\-sym\-list=[true|false] Show profile symbol list if it exists in the profile. This option is only meaningful for sample\-based profile in extbinary format. .UNINDENT .INDENT 0.0 .TP -.B \-show\-sec\-info\-only=[true|false] +.B \-\-show\-sec\-info\-only=[true|false] Show basic information about each section in the profile. This option is only meaningful for sample\-based profile in extbinary format. .UNINDENT +.INDENT 0.0 +.TP +.B \-\-debug\-info= +Specify the executable or \fB\&.dSYM\fP that contains debug info for the raw profile. +When \fB\-debug\-info\-correlate\fP was used for instrumentation, use this option +to show the correlated functions from the raw profile. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-covered +Show only the functions that have been executed, i.e., functions with non\-zero +counts. +.UNINDENT .SH OVERLAP .SS SYNOPSIS .sp @@ -393,29 +428,29 @@ Here is an example, if \fIbase profile file\fP has counts of {400, 600}, and .SS OPTIONS .INDENT 0.0 .TP -.B \-function=string +.B \-\-function= Print details for a function if the function\(aqs name contains the given string. .UNINDENT .INDENT 0.0 .TP -.B \-help +.B \-\-help Print a summary of command line options. .UNINDENT .INDENT 0.0 .TP -.B \-o=output or \-o output +.B \-\-output=, \-o Specify the output file name. If \fIoutput\fP is \fB\-\fP or it isn\(aqt specified, then the output is sent to standard output. .UNINDENT .INDENT 0.0 .TP -.B \-value\-cutoff=n +.B \-\-value\-cutoff= Show only those functions whose max count values are greater or equal to \fBn\fP\&. By default, the value\-cutoff is set to max of unsigned long long. .UNINDENT .INDENT 0.0 .TP -.B \-cs +.B \-\-cs Only show overlap for the context sensitive profile counts. The default is to show non\-context sensitive profile counts. .UNINDENT @@ -426,6 +461,6 @@ if it cannot read input files, or if there is a mismatch between their data. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2022, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-readobj/Makefile b/gnu/usr.bin/clang/llvm-readobj/Makefile index adf898d8351..80fd02a1b06 100644 --- a/gnu/usr.bin/clang/llvm-readobj/Makefile +++ b/gnu/usr.bin/clang/llvm-readobj/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2022/07/09 16:25:37 jca Exp $ +# $OpenBSD: Makefile,v 1.2 2023/11/11 18:35:40 robert Exp $ .include @@ -7,7 +7,9 @@ BINDIR= /usr/bin LINKS= ${BINDIR}/llvm-readobj ${BINDIR}/llvm-readelf MAN= llvm-readelf.1 llvm-readobj.1 -SRCS= ARMWinEHPrinter.cpp \ +DRIVER_TEMPLATE=Yes + +SRCS+= ARMWinEHPrinter.cpp \ COFFDumper.cpp \ COFFImportDumper.cpp \ ELFDumper.cpp \ diff --git a/gnu/usr.bin/clang/llvm-readobj/llvm-readelf.1 b/gnu/usr.bin/clang/llvm-readobj/llvm-readelf.1 index f89e3fdceb1..26659bf65e3 100644 --- a/gnu/usr.bin/clang/llvm-readobj/llvm-readelf.1 +++ b/gnu/usr.bin/clang/llvm-readobj/llvm-readelf.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LLVM-READELF" "1" "2022-07-05" "13" "LLVM" +.TH "LLVM-READELF" "1" "2023-10-21" "16" "LLVM" .SH NAME llvm-readelf \- GNU-style LLVM Object Reader .SH SYNOPSIS @@ -38,12 +38,12 @@ llvm-readelf \- GNU-style LLVM Object Reader The \fBllvm\-readelf\fP tool displays low\-level format\-specific information about one or more object files. .sp -If \fBinput\fP is "\fB\-\fP", \fBllvm\-readelf\fP reads from standard +If \fBinput\fP is \(dq\fB\-\fP\(dq, \fBllvm\-readelf\fP reads from standard input. Otherwise, it will read from the specified \fBfilenames\fP\&. .SH OPTIONS .INDENT 0.0 .TP -.B \-\-all +.B \-\-all, \-a Equivalent to specifying all the main display options relevant to the file format. .UNINDENT @@ -70,6 +70,11 @@ Display demangled symbol names in the output. .UNINDENT .INDENT 0.0 .TP +.B \-\-dependent\-libraries +Display the dependent libraries section. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-dyn\-relocations Display the dynamic relocation entries. .UNINDENT @@ -101,9 +106,10 @@ Display the linker options section. .INDENT 0.0 .TP .B \-\-elf\-output\-style= -Format ELF information in the specified style. Valid options are \fBLLVM\fP and -\fBGNU\fP\&. \fBLLVM\fP output is an expanded and structured format, whilst \fBGNU\fP -(the default) output mimics the equivalent GNU \fBreadelf\fP output. +Format ELF information in the specified style. Valid options are \fBLLVM\fP, +\fBGNU\fP, and \fBJSON\fP\&. \fBLLVM\fP output is an expanded and structured format. +\fBGNU\fP (the default) output mimics the equivalent GNU \fBreadelf\fP +output. \fBJSON\fP is JSON formatted output intended for machine consumption. .UNINDENT .INDENT 0.0 .TP @@ -160,11 +166,22 @@ Display the needed libraries. .UNINDENT .INDENT 0.0 .TP +.B \-\-no\-demangle +Do not display demangled symbol names in the output. On by default. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-notes, \-n Display all notes. .UNINDENT .INDENT 0.0 .TP +.B \-\-pretty\-print +When used with \fI\%\-\-elf\-output\-style\fP, JSON output will be formatted in +a more readable format. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-program\-headers, \-\-segments, \-l Display the program headers. .UNINDENT @@ -232,7 +249,7 @@ section index or section name. .INDENT 0.0 .TP .B \-\-symbols, \-\-syms, \-s -Display the symbol table. +Display the symbol table. Also display the dynamic symbol table when using GNU output style for ELF. .UNINDENT .INDENT 0.0 .TP @@ -251,6 +268,11 @@ Display version sections. .UNINDENT .INDENT 0.0 .TP +.B \-\-wide, \-W +Ignored for GNU readelf compatibility. The output is already similar to when using \-W with GNU readelf. +.UNINDENT +.INDENT 0.0 +.TP .B @ Read command\-line options from response file \fI\fP\&. .UNINDENT @@ -264,6 +286,6 @@ exit code if there were any errors. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2022, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-readobj/llvm-readobj.1 b/gnu/usr.bin/clang/llvm-readobj/llvm-readobj.1 index eaaf2b49a8a..f3870f0e4d6 100644 --- a/gnu/usr.bin/clang/llvm-readobj/llvm-readobj.1 +++ b/gnu/usr.bin/clang/llvm-readobj/llvm-readobj.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LLVM-READOBJ" "1" "2022-07-05" "13" "LLVM" +.TH "LLVM-READOBJ" "1" "2023-10-21" "16" "LLVM" .SH NAME llvm-readobj \- LLVM Object Reader .SH SYNOPSIS @@ -38,7 +38,7 @@ llvm-readobj \- LLVM Object Reader The \fBllvm\-readobj\fP tool displays low\-level format\-specific information about one or more object files. .sp -If \fBinput\fP is "\fB\-\fP", \fBllvm\-readobj\fP reads from standard +If \fBinput\fP is \(dq\fB\-\fP\(dq, \fBllvm\-readobj\fP reads from standard input. Otherwise, it will read from the specified \fBfilenames\fP\&. .SH DIFFERENCES TO LLVM-READELF .sp @@ -146,6 +146,12 @@ This option has no effect for GNU style output. .UNINDENT .INDENT 0.0 .TP +.B \-\-sort\-symbols= +Specify the keys to sort symbols before displaying symtab. +Valid values for sort_key are \fBname\fP and \fBtype\fP\&. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-stackmap Display contents of the stackmap section. .UNINDENT @@ -237,9 +243,10 @@ Display the linker options section. .INDENT 0.0 .TP .B \-\-elf\-output\-style= -Format ELF information in the specified style. Valid options are \fBLLVM\fP and -\fBGNU\fP\&. \fBLLVM\fP output (the default) is an expanded and structured format, -whilst \fBGNU\fP output mimics the equivalent GNU \fBreadelf\fP output. +Format ELF information in the specified style. Valid options are \fBLLVM\fP, +\fBGNU\fP, and \fBJSON\fP\&. \fBLLVM\fP output (the default) is an expanded and +structured format. \fBGNU\fP output mimics the equivalent GNU \fBreadelf\fP +output. \fBJSON\fP is JSON formatted output intended for machine consumption. .UNINDENT .INDENT 0.0 .TP @@ -268,6 +275,12 @@ Display all notes. .UNINDENT .INDENT 0.0 .TP +.B \-\-pretty\-print +When used with \fI\%\-\-elf\-output\-style\fP, JSON output will be formatted in +a more readable format. +.UNINDENT +.INDENT 0.0 +.TP .B \-\-program\-headers, \-\-segments, \-l Display the program headers. .UNINDENT @@ -389,6 +402,34 @@ Display the load config. .B \-\-coff\-resources Display the .rsrc section. .UNINDENT +.SH XCOFF SPECIFIC OPTIONS +.sp +The following options are implemented only for the XCOFF file format. +.INDENT 0.0 +.TP +.B \-\-auxiliary\-header +Display XCOFF Auxiliary header. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-exception\-section +Display XCOFF exception section entries. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-loader\-section\-header +Display XCOFF loader section header. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-loader\-section\-symbols +Display symbol table of loader section. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-loader\-section\-relocations +Display relocation entries of loader section. +.UNINDENT .SH EXIT STATUS .sp \fBllvm\-readobj\fP returns 0 under normal operation. It returns a non\-zero @@ -399,6 +440,6 @@ exit code if there were any errors. .SH AUTHOR Maintained by the LLVM Team (https://llvm.org/). .SH COPYRIGHT -2003-2022, LLVM Project +2003-2023, LLVM Project .\" Generated by docutils manpage writer. . diff --git a/gnu/usr.bin/clang/llvm-tblgen/Makefile b/gnu/usr.bin/clang/llvm-tblgen/Makefile index f9317e61ac3..ea0b51bcaf5 100644 --- a/gnu/usr.bin/clang/llvm-tblgen/Makefile +++ b/gnu/usr.bin/clang/llvm-tblgen/Makefile @@ -1,15 +1,17 @@ -# $OpenBSD: Makefile,v 1.13 2021/12/17 14:55:47 patrick Exp $ +# $OpenBSD: Makefile,v 1.14 2023/11/11 18:35:40 robert Exp $ PROG= llvm-tblgen NOMAN= .include + +# TableGen SRCS= AsmMatcherEmitter.cpp \ AsmWriterEmitter.cpp \ AsmWriterInst.cpp \ Attributes.cpp \ + CTagsEmitter.cpp \ CallingConvEmitter.cpp \ - CodeBeadsGen.cpp \ CodeEmitterGen.cpp \ CodeGenDAGPatterns.cpp \ CodeGenHwModes.cpp \ @@ -18,30 +20,32 @@ SRCS= AsmMatcherEmitter.cpp \ CodeGenRegisters.cpp \ CodeGenSchedule.cpp \ CodeGenTarget.cpp \ + CompressInstEmitter.cpp \ DAGISelEmitter.cpp \ + DAGISelMatcher.cpp \ DAGISelMatcherEmitter.cpp \ DAGISelMatcherGen.cpp \ DAGISelMatcherOpt.cpp \ - DAGISelMatcher.cpp \ DFAEmitter.cpp \ DFAPacketizerEmitter.cpp \ + DXILEmitter.cpp \ + DecoderEmitter.cpp \ DirectiveEmitter.cpp \ DisassemblerEmitter.cpp \ ExegesisEmitter.cpp \ FastISelEmitter.cpp \ - FixedLenDecoderEmitter.cpp \ GICombinerEmitter.cpp \ GlobalISelEmitter.cpp \ InfoByHwMode.cpp \ - InstrInfoEmitter.cpp \ InstrDocsEmitter.cpp \ + InstrInfoEmitter.cpp \ IntrinsicEmitter.cpp \ OptEmitter.cpp \ OptParserEmitter.cpp \ OptRSTEmitter.cpp \ PredicateExpander.cpp \ PseudoLoweringEmitter.cpp \ - RISCVCompressInstEmitter.cpp \ + RISCVTargetDefEmitter.cpp \ RegisterBankEmitter.cpp \ RegisterInfoEmitter.cpp \ SDNodeProperties.cpp \ @@ -50,14 +54,17 @@ SRCS= AsmMatcherEmitter.cpp \ SubtargetFeatureInfo.cpp \ TableGen.cpp \ Types.cpp \ + VarLenCodeEmitterGen.cpp \ + WebAssemblyDisassemblerEmitter.cpp \ X86DisassemblerTables.cpp \ X86EVEX2VEXTablesEmitter.cpp \ X86FoldTablesEmitter.cpp \ + X86MnemonicTables.cpp \ X86ModRMFilters.cpp \ - X86RecognizableInstr.cpp \ - WebAssemblyDisassemblerEmitter.cpp \ - CTagsEmitter.cpp \ - CodeExpander.cpp \ + X86RecognizableInstr.cpp + +# TableGen/GlobalISel +SRCS+= CodeExpander.cpp \ GIMatchDag.cpp \ GIMatchDagEdge.cpp \ GIMatchDagInstr.cpp \ -- 2.20.1