Update build infrastructure for LLVM 13.0.0.
authorpatrick <patrick@openbsd.org>
Fri, 17 Dec 2021 14:55:43 +0000 (14:55 +0000)
committerpatrick <patrick@openbsd.org>
Fri, 17 Dec 2021 14:55:43 +0000 (14:55 +0000)
96 files changed:
gnu/lib/libclang_rt/profile/Makefile
gnu/lib/libcxx/Makefile
gnu/lib/libcxx/include/c++/v1/__config_site [new file with mode: 0644]
gnu/lib/libcxx/shlib_version
gnu/lib/libcxxabi/Makefile
gnu/lib/libcxxabi/shlib_version
gnu/lib/libexecinfo/Makefile
gnu/usr.bin/clang/Makefile
gnu/usr.bin/clang/clang-tblgen/Makefile
gnu/usr.bin/clang/clang/clang.1
gnu/usr.bin/clang/include/clang/Basic/Makefile
gnu/usr.bin/clang/include/clang/Basic/Version.inc
gnu/usr.bin/clang/include/clang/Config/config.h
gnu/usr.bin/clang/include/clang/intrin/Makefile
gnu/usr.bin/clang/include/lld/Common/Version.inc
gnu/usr.bin/clang/include/lldb/Host/Config.h
gnu/usr.bin/clang/include/llvm-objcopy/Makefile
gnu/usr.bin/clang/include/llvm-objdump/Makefile [new file with mode: 0644]
gnu/usr.bin/clang/include/llvm/AArch64/Makefile
gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile
gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h
gnu/usr.bin/clang/include/llvm/Config/config.h
gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in
gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile
gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile
gnu/usr.bin/clang/include/llvm/IR/Makefile
gnu/usr.bin/clang/include/llvm/PowerPC/Makefile
gnu/usr.bin/clang/include/llvm/RISCV/Makefile
gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile [deleted file]
gnu/usr.bin/clang/libLLVM/Makefile
gnu/usr.bin/clang/libLLVM/shlib_version
gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile
gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile
gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile
gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile
gnu/usr.bin/clang/libLLVMAnalysis/Makefile
gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile
gnu/usr.bin/clang/libLLVMCodeGen/Makefile
gnu/usr.bin/clang/libLLVMCore/Makefile
gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile
gnu/usr.bin/clang/libLLVMDemangle/Makefile
gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile
gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile
gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile
gnu/usr.bin/clang/libLLVMGlobalISel/Makefile
gnu/usr.bin/clang/libLLVMInstrumentation/Makefile
gnu/usr.bin/clang/libLLVMMC/Makefile
gnu/usr.bin/clang/libLLVMMCParser/Makefile
gnu/usr.bin/clang/libLLVMObject/Makefile
gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile
gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile
gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile
gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile
gnu/usr.bin/clang/libLLVMRISCVUtils/Makefile [deleted file]
gnu/usr.bin/clang/libLLVMScalarOpts/Makefile
gnu/usr.bin/clang/libLLVMSupport/Makefile
gnu/usr.bin/clang/libLLVMSupport/Makefile.shared
gnu/usr.bin/clang/libLLVMTableGen/Makefile
gnu/usr.bin/clang/libLLVMTextAPI/Makefile
gnu/usr.bin/clang/libLLVMTransformUtils/Makefile
gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile
gnu/usr.bin/clang/libLLVMipo/Makefile
gnu/usr.bin/clang/libclangAnalysis/Makefile
gnu/usr.bin/clang/libclangBasic/Makefile
gnu/usr.bin/clang/libclangCodeGen/Makefile
gnu/usr.bin/clang/libclangDriver/Makefile
gnu/usr.bin/clang/libclangFrontend/Makefile
gnu/usr.bin/clang/liblldCommon/Makefile
gnu/usr.bin/clang/liblldbAPI/Makefile
gnu/usr.bin/clang/liblldbBreakpoint/Makefile
gnu/usr.bin/clang/liblldbCommands/Makefile
gnu/usr.bin/clang/liblldbCore/Makefile
gnu/usr.bin/clang/liblldbInterpreter/Makefile
gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile
gnu/usr.bin/clang/liblldbPluginPlatform/Makefile
gnu/usr.bin/clang/liblldbPluginProcess/Makefile
gnu/usr.bin/clang/liblldbSymbol/Makefile
gnu/usr.bin/clang/liblldbTarget/Makefile
gnu/usr.bin/clang/liblldbUtility/Makefile
gnu/usr.bin/clang/lldb-server/Makefile
gnu/usr.bin/clang/lldb/Makefile
gnu/usr.bin/clang/lldb/lldb.1
gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64
gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM
gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips
gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC
gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV
gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc
gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86
gnu/usr.bin/clang/llvm-config/Makefile
gnu/usr.bin/clang/llvm-config/llvm-config.1
gnu/usr.bin/clang/llvm-objcopy/Makefile
gnu/usr.bin/clang/llvm-objcopy/llvm-objcopy.1
gnu/usr.bin/clang/llvm-objdump/Makefile
gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1
gnu/usr.bin/clang/llvm-tblgen/Makefile

index 8442ee1..422fc89 100644 (file)
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.1 2021/09/15 10:21:30 fcambus Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:43 patrick Exp $
 
 .include <bsd.own.mk>
 
-LLVM_V=                11.1.0
+LLVM_V=                13.0.0
 LIBDIR=                /usr/lib/clang/${LLVM_V}/lib
 
 .if ${COMPILER_VERSION:L} != "clang"
@@ -27,18 +27,18 @@ CPPFLAGS+=  -I${BSDSRCDIR}/gnu/llvm/compiler-rt/include/
 
 SRCS+=         GCDAProfiling.c \
                InstrProfiling.c \
-               InstrProfilingBiasVar.c \
+               InstrProfilingInternal.c \
+               InstrProfilingValue.c \
                InstrProfilingBuffer.c \
                InstrProfilingFile.c \
-               InstrProfilingInternal.c \
                InstrProfilingMerge.c \
                InstrProfilingMergeFile.c \
                InstrProfilingNameVar.c \
+               InstrProfilingVersionVar.c \
+               InstrProfilingWriter.c \
                InstrProfilingPlatformOther.c \
                InstrProfilingRuntime.cpp \
-               InstrProfilingUtil.c \
-               InstrProfilingValue.c \
-               InstrProfilingWriter.c
+               InstrProfilingUtil.c
 
 beforeinstall:
        ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${DIRMODE} \
index dd78a48..15ab065 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 13:06:20 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:43 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -15,6 +15,9 @@ AHDRDIR=      ${.CURDIR}/../../../gnu/llvm/libcxxabi/include
 UHDRDIR=       ${.CURDIR}/../../../gnu/llvm/libunwind/include
 CXXINCLUDEDIR= /usr/include/c++/v1
 
+LOCALHDRDIR=   ${.CURDIR}/include/c++/v1
+CONFIG_SITE=   ${LOCALHDRDIR}/__config_site
+
 .PATH: ${SRCDIR} ${SRCDIR}/filesystem
 
 LIB=           c++
@@ -36,6 +39,7 @@ SRCS+=                algorithm.cpp \
                future.cpp \
                hash.cpp \
                ios.cpp \
+               ios.instantiations.cpp \
                iostream.cpp \
                locale.cpp \
                memory.cpp \
@@ -60,7 +64,7 @@ SRCS+=                algorithm.cpp \
                vector.cpp
 
 CPPFLAGS+=     -Wall -DLIBCXXABI -I${HDRDIR} -D_LIBCPP_BUILDING_LIBRARY \
-               -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} \
+               -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} -I${LOCALHDRDIR} \
                -DNDEBUG
 CXXFLAGS+=     -nostdlib -nostdinc++
 .if empty(CXXFLAGS:M-std=*)
@@ -70,224 +74,405 @@ CXXFLAGS+=        -std=c++14
 LDADD+=                -L${BSDOBJDIR}/gnu/lib/libcxxabi -lc++abi
 
 
-STD_HEADERS=   __bit_reference \
-               __bsd_locale_defaults.h \
-               __bsd_locale_fallbacks.h \
-               __config \
-               __config_site.in \
-               __debug \
-               __errc \
-               __functional_03 \
-               __functional_base \
-               __functional_base_03 \
-               __hash_table \
-               __libcpp_version \
-               __locale \
-               __mutex_base \
-               __node_handle \
-               __nullptr \
-               __split_buffer \
-               __sso_allocator \
-               __std_stream \
-               __string \
-               __threading_support \
-               __tree \
-               __tuple \
-               __undef_macros \
-               algorithm \
-               any \
-               array \
-               atomic \
-               barrier \
-               bit \
-               bitset \
-               cassert \
-               ccomplex \
-               cctype \
-               cerrno \
-               cfenv \
-               cfloat \
-               charconv \
-               chrono \
-               cinttypes \
-               ciso646 \
-               climits \
-               clocale \
-               cmath \
-               codecvt \
-               compare \
-               complex \
-               complex.h \
-               concepts \
-               condition_variable \
-               csetjmp \
-               csignal \
-               cstdarg \
-               cstdbool \
-               cstddef \
-               cstdint \
-               cstdio \
-               cstdlib \
-               cstring \
-               ctgmath \
-               ctime \
-               ctype.h \
-               cwchar \
-               cwctype \
-               deque \
-               errno.h \
-               exception \
-               execution \
-               fenv.h \
-               filesystem \
-               float.h \
-               forward_list \
-               fstream \
-               functional \
-               future \
-               initializer_list \
-               inttypes.h \
-               iomanip \
-               ios \
-               iosfwd \
-               iostream \
-               istream \
-               iterator \
-               latch \
-               limits \
-               limits.h \
-               list \
-               locale \
-               locale.h \
-               map \
-               math.h \
-               memory \
-               module.modulemap \
-               mutex \
-               new \
-               numbers \
-               numeric \
-               optional \
-               ostream \
-               queue \
-               random \
-               ratio \
-               regex \
-               scoped_allocator \
-               semaphore \
-               set \
-               setjmp.h \
-               shared_mutex \
-               span \
-               sstream \
-               stack \
-               stdbool.h \
-               stddef.h \
-               stdexcept \
-               stdint.h \
-               stdio.h \
-               stdlib.h \
-               streambuf \
-               string \
-               string.h \
-               string_view \
-               strstream \
-               system_error \
-               tgmath.h \
-               thread \
-               tuple \
-               type_traits \
-               typeindex \
-               typeinfo \
-               unordered_map \
-               unordered_set \
-               utility \
-               valarray \
-               variant \
-               vector \
-               version \
-               wchar.h \
-               wctype.h
-
-.for hdr in ${STD_HEADERS}
-STD+=          ${hdr} ${HDRDIR}/${hdr}
-.endfor
-STDDIR=                ${CXXINCLUDEDIR}
-
-EXT_HEADERS=   __hash\
-               hash_map\
-               hash_set
-
-.for hdr in ${EXT_HEADERS}
-EXT+=          ${hdr} ${HDRDIR}/ext/${hdr}
-.endfor
-EXTDIR=                ${CXXINCLUDEDIR}/ext
-
-
-EXP_HEADERS=   __config \
-               __memory \
-               algorithm \
-               coroutine \
-               deque \
-               filesystem \
-               forward_list \
-               functional \
-               iterator \
-               list \
-               map \
-               memory_resource \
-               propagate_const \
-               regex \
-               set \
-               simd \
-               string \
-               utility \
-               type_traits \
-               unordered_map \
-               unordered_set \
-               vector
-
-.for hdr in ${EXP_HEADERS}
-EXP+=          ${hdr} ${HDRDIR}/experimental/${hdr}
-.endfor
-EXPDIR=                ${CXXINCLUDEDIR}/experimental
-
-XLOCALE_HEADERS=       __nop_locale_mgmt.h\
-                       __posix_l_fallback.h\
-                       __strtonum_fallback.h
-
-.for hdr in ${XLOCALE_HEADERS}
-XLOCALE+=      ${hdr} ${HDRDIR}/support/xlocale/${hdr}
-.endfor
-XLOCALEDIR=    ${CXXINCLUDEDIR}/support/xlocale
+STD_HEADERS=   \
+       __algorithm/adjacent_find.h \
+       __algorithm/all_of.h \
+       __algorithm/any_of.h \
+       __algorithm/binary_search.h \
+       __algorithm/clamp.h \
+       __algorithm/comp_ref_type.h \
+       __algorithm/comp.h \
+       __algorithm/copy_backward.h \
+       __algorithm/copy_if.h \
+       __algorithm/copy_n.h \
+       __algorithm/copy.h \
+       __algorithm/count_if.h \
+       __algorithm/count.h \
+       __algorithm/equal_range.h \
+       __algorithm/equal.h \
+       __algorithm/fill_n.h \
+       __algorithm/fill.h \
+       __algorithm/find_end.h \
+       __algorithm/find_first_of.h \
+       __algorithm/find_if_not.h \
+       __algorithm/find_if.h \
+       __algorithm/find.h \
+       __algorithm/for_each_n.h \
+       __algorithm/for_each.h \
+       __algorithm/generate_n.h \
+       __algorithm/generate.h \
+       __algorithm/half_positive.h \
+       __algorithm/includes.h \
+       __algorithm/inplace_merge.h \
+       __algorithm/is_heap_until.h \
+       __algorithm/is_heap.h \
+       __algorithm/is_partitioned.h \
+       __algorithm/is_permutation.h \
+       __algorithm/is_sorted_until.h \
+       __algorithm/is_sorted.h \
+       __algorithm/iter_swap.h \
+       __algorithm/lexicographical_compare.h \
+       __algorithm/lower_bound.h \
+       __algorithm/make_heap.h \
+       __algorithm/max_element.h \
+       __algorithm/max.h \
+       __algorithm/merge.h \
+       __algorithm/min_element.h \
+       __algorithm/min.h \
+       __algorithm/minmax_element.h \
+       __algorithm/minmax.h \
+       __algorithm/mismatch.h \
+       __algorithm/move_backward.h \
+       __algorithm/move.h \
+       __algorithm/next_permutation.h \
+       __algorithm/none_of.h \
+       __algorithm/nth_element.h \
+       __algorithm/partial_sort_copy.h \
+       __algorithm/partial_sort.h \
+       __algorithm/partition_copy.h \
+       __algorithm/partition_point.h \
+       __algorithm/partition.h \
+       __algorithm/pop_heap.h \
+       __algorithm/prev_permutation.h \
+       __algorithm/push_heap.h \
+       __algorithm/remove_copy_if.h \
+       __algorithm/remove_copy.h \
+       __algorithm/remove_if.h \
+       __algorithm/remove.h \
+       __algorithm/replace_copy_if.h \
+       __algorithm/replace_copy.h \
+       __algorithm/replace_if.h \
+       __algorithm/replace.h \
+       __algorithm/reverse_copy.h \
+       __algorithm/reverse.h \
+       __algorithm/rotate_copy.h \
+       __algorithm/rotate.h \
+       __algorithm/sample.h \
+       __algorithm/search_n.h \
+       __algorithm/search.h \
+       __algorithm/set_difference.h \
+       __algorithm/set_intersection.h \
+       __algorithm/set_symmetric_difference.h \
+       __algorithm/set_union.h \
+       __algorithm/shift_left.h \
+       __algorithm/shift_right.h \
+       __algorithm/shuffle.h \
+       __algorithm/sift_down.h \
+       __algorithm/sort_heap.h \
+       __algorithm/sort.h \
+       __algorithm/stable_partition.h \
+       __algorithm/stable_sort.h \
+       __algorithm/swap_ranges.h \
+       __algorithm/transform.h \
+       __algorithm/unique_copy.h \
+       __algorithm/unique.h \
+       __algorithm/unwrap_iter.h \
+       __algorithm/upper_bound.h \
+       __availability \
+       __bit_reference \
+       __bits \
+       __bsd_locale_defaults.h \
+       __bsd_locale_fallbacks.h \
+       __config \
+       __debug \
+       __errc \
+       __format/format_error.h \
+       __format/format_parse_context.h \
+       __function_like.h \
+       __functional_base \
+       __functional/binary_function.h \
+       __functional/binary_negate.h \
+       __functional/bind_front.h \
+       __functional/bind.h \
+       __functional/binder1st.h \
+       __functional/binder2nd.h \
+       __functional/default_searcher.h \
+       __functional/function.h \
+       __functional/hash.h \
+       __functional/identity.h \
+       __functional/invoke.h \
+       __functional/is_transparent.h \
+       __functional/mem_fn.h \
+       __functional/mem_fun_ref.h \
+       __functional/not_fn.h \
+       __functional/operations.h \
+       __functional/perfect_forward.h \
+       __functional/pointer_to_binary_function.h \
+       __functional/pointer_to_unary_function.h \
+       __functional/ranges_operations.h \
+       __functional/reference_wrapper.h \
+       __functional/unary_function.h \
+       __functional/unary_negate.h \
+       __functional/unwrap_ref.h \
+       __functional/weak_result_type.h \
+       __hash_table \
+       __iterator/access.h \
+       __iterator/advance.h \
+       __iterator/back_insert_iterator.h \
+       __iterator/common_iterator.h \
+       __iterator/concepts.h \
+       __iterator/counted_iterator.h \
+       __iterator/data.h \
+       __iterator/default_sentinel.h \
+       __iterator/distance.h \
+       __iterator/empty.h \
+       __iterator/erase_if_container.h \
+       __iterator/front_insert_iterator.h \
+       __iterator/incrementable_traits.h \
+       __iterator/insert_iterator.h \
+       __iterator/istream_iterator.h \
+       __iterator/istreambuf_iterator.h \
+       __iterator/iter_move.h \
+       __iterator/iter_swap.h \
+       __iterator/iterator_traits.h \
+       __iterator/iterator.h \
+       __iterator/move_iterator.h \
+       __iterator/next.h \
+       __iterator/ostream_iterator.h \
+       __iterator/ostreambuf_iterator.h \
+       __iterator/prev.h \
+       __iterator/projected.h \
+       __iterator/readable_traits.h \
+       __iterator/reverse_access.h \
+       __iterator/reverse_iterator.h \
+       __iterator/size.h \
+       __iterator/wrap_iter.h \
+       __libcpp_version \
+       __locale \
+       __memory/addressof.h \
+       __memory/allocation_guard.h \
+       __memory/allocator_arg_t.h \
+       __memory/allocator_traits.h \
+       __memory/allocator.h \
+       __memory/auto_ptr.h \
+       __memory/compressed_pair.h \
+       __memory/construct_at.h \
+       __memory/pointer_safety.h \
+       __memory/pointer_traits.h \
+       __memory/raw_storage_iterator.h \
+       __memory/shared_ptr.h \
+       __memory/temporary_buffer.h \
+       __memory/uninitialized_algorithms.h \
+       __memory/unique_ptr.h \
+       __memory/uses_allocator.h \
+       __mutex_base \
+       __node_handle \
+       __nullptr \
+       __random/uniform_int_distribution.h \
+       __ranges/access.h \
+       __ranges/all.h \
+       __ranges/common_view.h \
+       __ranges/concepts.h \
+       __ranges/copyable_box.h \
+       __ranges/dangling.h \
+       __ranges/data.h \
+       __ranges/drop_view.h \
+       __ranges/empty_view.h \
+       __ranges/empty.h \
+       __ranges/enable_borrowed_range.h \
+       __ranges/enable_view.h \
+       __ranges/non_propagating_cache.h \
+       __ranges/ref_view.h \
+       __ranges/size.h \
+       __ranges/subrange.h \
+       __ranges/transform_view.h \
+       __ranges/view_interface.h \
+       __split_buffer \
+       __std_stream \
+       __string \
+       __support/android/locale_bionic.h \
+       __support/fuchsia/xlocale.h \
+       __support/ibm/gettod_zos.h \
+       __support/ibm/limits.h \
+       __support/ibm/locale_mgmt_aix.h \
+       __support/ibm/locale_mgmt_zos.h \
+       __support/ibm/nanosleep.h \
+       __support/ibm/support.h \
+       __support/ibm/xlocale.h \
+       __support/musl/xlocale.h \
+       __support/newlib/xlocale.h \
+       __support/nuttx/xlocale.h \
+       __support/openbsd/xlocale.h \
+       __support/solaris/floatingpoint.h \
+       __support/solaris/wchar.h \
+       __support/solaris/xlocale.h \
+       __support/win32/limits_msvc_win32.h \
+       __support/win32/locale_win32.h \
+       __support/xlocale/__nop_locale_mgmt.h \
+       __support/xlocale/__posix_l_fallback.h \
+       __support/xlocale/__strtonum_fallback.h \
+       __threading_support \
+       __tree \
+       __tuple \
+       __undef_macros \
+       __utility/__decay_copy.h \
+       __utility/as_const.h \
+       __utility/cmp.h \
+       __utility/declval.h \
+       __utility/exchange.h \
+       __utility/forward.h \
+       __utility/in_place.h \
+       __utility/integer_sequence.h \
+       __utility/move.h \
+       __utility/pair.h \
+       __utility/piecewise_construct.h \
+       __utility/rel_ops.h \
+       __utility/swap.h \
+       __utility/to_underlying.h \
+       __variant/monostate.h \
+       algorithm \
+       any \
+       array \
+       atomic \
+       barrier \
+       bit \
+       bitset \
+       cassert \
+       ccomplex \
+       cctype \
+       cerrno \
+       cfenv \
+       cfloat \
+       charconv \
+       chrono \
+       cinttypes \
+       ciso646 \
+       climits \
+       clocale \
+       cmath \
+       codecvt \
+       compare \
+       complex \
+       complex.h \
+       concepts \
+       condition_variable \
+       csetjmp \
+       csignal \
+       cstdarg \
+       cstdbool \
+       cstddef \
+       cstdint \
+       cstdio \
+       cstdlib \
+       cstring \
+       ctgmath \
+       ctime \
+       ctype.h \
+       cwchar \
+       cwctype \
+       deque \
+       errno.h \
+       exception \
+       execution \
+       experimental/__config \
+       experimental/__memory \
+       experimental/algorithm \
+       experimental/coroutine \
+       experimental/deque \
+       experimental/filesystem \
+       experimental/forward_list \
+       experimental/functional \
+       experimental/iterator \
+       experimental/list \
+       experimental/map \
+       experimental/memory_resource \
+       experimental/propagate_const \
+       experimental/regex \
+       experimental/set \
+       experimental/simd \
+       experimental/string \
+       experimental/type_traits \
+       experimental/unordered_map \
+       experimental/unordered_set \
+       experimental/utility \
+       experimental/vector \
+       ext/__hash \
+       ext/hash_map \
+       ext/hash_set \
+       fenv.h \
+       filesystem \
+       float.h \
+       format \
+       forward_list \
+       fstream \
+       functional \
+       future \
+       initializer_list \
+       inttypes.h \
+       iomanip \
+       ios \
+       iosfwd \
+       iostream \
+       istream \
+       iterator \
+       latch \
+       limits \
+       limits.h \
+       list \
+       locale \
+       locale.h \
+       map \
+       math.h \
+       memory \
+       module.modulemap \
+       mutex \
+       new \
+       numbers \
+       numeric \
+       optional \
+       ostream \
+       queue \
+       random \
+       ranges \
+       ranges \
+       ratio \
+       regex \
+       scoped_allocator \
+       semaphore \
+       set \
+       setjmp.h \
+       shared_mutex \
+       span \
+       sstream \
+       stack \
+       stdbool.h \
+       stddef.h \
+       stdexcept \
+       stdint.h \
+       stdio.h \
+       stdlib.h \
+       streambuf \
+       string \
+       string_view \
+       string.h \
+       strstream \
+       system_error \
+       tgmath.h \
+       thread \
+       tuple \
+       type_traits \
+       typeindex \
+       typeinfo \
+       unordered_map \
+       unordered_set \
+       utility \
+       valarray \
+       variant \
+       vector \
+       version \
+       wchar.h \
+       wctype.h
 
 includes:
        @echo installing ${STD_HEADERS}
-       ${INSTALL} -d -m 755 ${DESTDIR}/${STDDIR};
-.      for hdr src in ${STD}
-               cmp -s ${src} ${DESTDIR}/${STDDIR}/${hdr} || \
-                   ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${STDDIR}/${hdr};
-.      endfor
-       ${INSTALL} -d -m 755 ${DESTDIR}/${EXTDIR};
-.      for hdr src in ${EXT}
-               cmp -s ${src} ${DESTDIR}/${EXTDIR}/${hdr} || \
-                   ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${EXTDIR}/${hdr};
-.      endfor
-       ${INSTALL} -d -m 755 ${DESTDIR}/${EXPDIR};
-.      for hdr src in ${EXP}
-               cmp -s ${src} ${DESTDIR}/${EXPDIR}/${hdr} || \
-                   ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${EXPDIR}/${hdr};
-.      endfor
-       ${INSTALL} -d -m 755 ${DESTDIR}/${CXXINCLUDEDIR}/support/newlib;
-       cmp -s ${HDRDIR}/support/newlib/xlocale.h \
-           ${DESTDIR}/${CXXINCLUDEDIR}/support/newlib/xlocale.h || \
-           ${INSTALL} ${INSTALL_COPY} -m 444 ${HDRDIR}/support/newlib/xlocale.h \
-           ${DESTDIR}/${CXXINCLUDEDIR}/support/newlib/xlocale.h;
-       ${INSTALL} -d -m 755 ${DESTDIR}/${CXXINCLUDEDIR}/support/xlocale;
-.      for hdr src in ${XLOCALE}
-               cmp -s ${src} ${DESTDIR}/${XLOCALEDIR}/${hdr} || \
-                   ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${XLOCALEDIR}/${hdr};
+.      for hdr in ${STD_HEADERS}
+               cmp -s ${HDRDIR}/${hdr} ${DESTDIR}/${CXXINCLUDEDIR}/${hdr} || \
+                       ${INSTALL} ${INSTALL_COPY} -D -m 444 ${HDRDIR}/${hdr} \
+                               ${DESTDIR}/${CXXINCLUDEDIR}/${hdr};
 .      endfor
+       cmp -s ${CONFIG_SITE} ${DESTDIR}/${CXXINCLUDEDIR}/${CONFIG_SITE:T} || \
+               ${INSTALL} ${INSTALL_COPY} -D -m 444 ${CONFIG_SITE} \
+                       ${DESTDIR}/${CXXINCLUDEDIR}/${CONFIG_SITE:T}
 
 .include <bsd.lib.mk>
 
diff --git a/gnu/lib/libcxx/include/c++/v1/__config_site b/gnu/lib/libcxx/include/c++/v1/__config_site
new file mode 100644 (file)
index 0000000..cb19572
--- /dev/null
@@ -0,0 +1,42 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_CONFIG_SITE
+#define _LIBCPP_CONFIG_SITE
+
+/* #undef _LIBCPP_ABI_VERSION */
+/* #undef _LIBCPP_ABI_UNSTABLE */
+/* #undef _LIBCPP_ABI_FORCE_ITANIUM */
+/* #undef _LIBCPP_ABI_FORCE_MICROSOFT */
+/* #undef _LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT */
+/* #undef _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE */
+/* #undef _LIBCPP_HAS_NO_STDIN */
+/* #undef _LIBCPP_HAS_NO_STDOUT */
+/* #undef _LIBCPP_HAS_NO_THREADS */
+/* #undef _LIBCPP_HAS_NO_MONOTONIC_CLOCK */
+/* #undef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS */
+/* #undef _LIBCPP_HAS_MUSL_LIBC */
+/* #undef _LIBCPP_HAS_THREAD_API_PTHREAD */
+/* #undef _LIBCPP_HAS_THREAD_API_EXTERNAL */
+/* #undef _LIBCPP_HAS_THREAD_API_WIN32 */
+/* #undef _LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL */
+/* #undef _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS */
+#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
+/* #undef _LIBCPP_NO_VCRUNTIME */
+/* #undef _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION */
+/* #undef _LIBCPP_ABI_NAMESPACE */
+/* #undef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY */
+/* #undef _LIBCPP_HAS_PARALLEL_ALGORITHMS */
+/* #undef _LIBCPP_HAS_NO_RANDOM_DEVICE */
+/* #undef _LIBCPP_HAS_NO_LOCALIZATION */
+/* #undef _LIBCPP_HAS_NO_INCOMPLETE_FORMAT */
+/* #undef _LIBCPP_HAS_NO_INCOMPLETE_RANGES */
+
+
+
+#endif // _LIBCPP_CONFIG_SITE
index b3626af..fcd30f8 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2021/04/28 13:06:20 patrick Exp $
+# $OpenBSD: Makefile,v 1.4 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -15,6 +15,8 @@ SHDRDIR=      ${.CURDIR}/../../../gnu/llvm/libcxx/include
 UHDRDIR=       ${.CURDIR}/../../../gnu/llvm/libunwind/include
 CXXINCLUDEDIR= /usr/include/c++/v1
 
+LOCALHDRDIR=    ${.CURDIR}/../libcxx/include/c++/v1
+
 .PATH: ${SRCDIR} ${.CURDIR}/../../../gnu/llvm/libunwind/src
 
 LIB=           c++abi
@@ -46,7 +48,8 @@ SRCS+=                abort_message.cpp \
                UnwindRegistersSave.S \
                libunwind.cpp
 
-CPPFLAGS+=     -Wall -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR}
+CPPFLAGS+=     -Wall -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR} \
+                                               -I${LOCALHDRDIR} -I${SHDRDIR}/../
 CPPFLAGS+=     -D_LIBUNWIND_IS_NATIVE_ONLY
 CPPFLAGS+=     -D_LIBCXXABI_BUILDING_LIBRARY
 CPPFLAGS+=     -DNDEBUG
index 23268d4..a6349c2 100644 (file)
@@ -1,3 +1,3 @@
 # Don't forget to give libc++ the same type of bump!
-major=5
-minor=1
+major=6
+minor=0
index fe0855a..047803f 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/06/09 19:37:43 mortimer Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -19,6 +19,7 @@ CFLAGS+=  -std=gnu99
 .PATH: ${SRCDIR} ${BSDSRCDIR}/gnu/llvm/libunwind/src
 .PATH: ${SRCDIR} ${BSDSRCDIR}/gnu/llvm/libcxx/src
 CXXFLAGS+= -I${BSDSRCDIR}/gnu/llvm/libunwind/include \
+           -I${BSDSRCDIR}/gnu/lib/libcxx/include/c++/v1/ \
            -I${BSDSRCDIR}/gnu/llvm/libcxx/include
 CFLAGS+= -I${BSDSRCDIR}/gnu/llvm/libunwind/include
 
index 8de9775..6cf71d3 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2021/11/24 15:15:19 robert Exp $
+# $OpenBSD: Makefile,v 1.18 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -10,7 +10,6 @@ SUBDIR+=libLLVMSupport
 SUBDIR+=libLLVMTableGen
 SUBDIR+=llvm-tblgen
 SUBDIR+=include/llvm/IR
-SUBDIR+=include/llvm/Transforms/InstCombine
 SUBDIR+=include/llvm/Frontend/OpenACC
 SUBDIR+=include/llvm/Frontend/OpenMP
 
@@ -101,6 +100,7 @@ SUBDIR+=lldb-server
 
 SUBDIR+=include/llvm-objcopy
 SUBDIR+=llvm-objcopy
+SUBDIR+=include/llvm-objdump
 SUBDIR+=llvm-objdump
 
 .if ${AR_VERSION:L} == "llvm"
index e29e4de..7a6d514 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:37 patrick Exp $
+# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:44 patrick Exp $
 
 PROG=  clang-tblgen
 NOMAN=
@@ -17,9 +17,11 @@ SRCS=        ASTTableGen.cpp \
        ClangOpenCLBuiltinEmitter.cpp \
        ClangOptionDocEmitter.cpp \
        ClangSACheckersEmitter.cpp \
+       ClangSyntaxEmitter.cpp \
        ClangTypeNodesEmitter.cpp \
        MveEmitter.cpp \
        NeonEmitter.cpp \
+       RISCVVEmitter.cpp \
        SveEmitter.cpp \
        TableGen.cpp
 
index bbd50b6..8f8baf8 100644 (file)
@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "CLANG, CLANG++, CLANG-CPP" "1" "May 01, 2021" "11" "Clang"
+.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
 .
@@ -526,13 +526,13 @@ application.
 .TP
 .B \-\-print\-supported\-cpus
 Print out a list of supported processors for the given target (specified
-through \-\-target=<architecture> or \-arch <architecture>). If no target is
-specified, the system default target will be used.
+through \fB\-\-target=<architecture>\fP or \fI\%\-arch\fP \fB<architecture>\fP). If no
+target is specified, the system default target will be used.
 .UNINDENT
 .INDENT 0.0
 .TP
 .B \-mcpu=?, \-mtune=?
-Aliases of \-\-print\-supported\-cpus
+Acts as an alias for \fI\%\-\-print\-supported\-cpus\fP\&.
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -634,6 +634,13 @@ program.
 .UNINDENT
 .INDENT 0.0
 .TP
+.B \-feliminate\-unused\-debug\-types
+By default, Clang does not emit type information for types that are defined
+but not used in a program. To retain the debug info for these unused types,
+the negation \fB\-fno\-eliminate\-unused\-debug\-types\fP can be used.
+.UNINDENT
+.INDENT 0.0
+.TP
 .B \-fexceptions
 Enable generation of unwind information. This allows exceptions to be thrown
 through Clang compiled stack frames.  This is on by default in x86\-64.
index c904b2c..a46a5f6 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:37 patrick Exp $
+# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -41,7 +41,9 @@ GEN+= DiagnosticGroups.inc \
        arm_cde_builtins.inc \
        arm_cde_builtin_cg.inc \
        arm_cde_builtin_sema.inc \
-       arm_cde_builtin_aliases.inc
+       arm_cde_builtin_aliases.inc \
+       riscv_vector_builtins.inc \
+       riscv_vector_builtin_cg.inc
 
 all: ${GEN}
 
@@ -135,4 +137,12 @@ arm_cde_builtin_aliases.inc: ${CLANG_INC}/clang/Basic/arm_cde.td
        ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-cde-builtin-aliases \
                -o ${.TARGET} ${.ALLSRC}
 
+riscv_vector_builtins.inc: ${CLANG_INC}/clang/Basic/riscv_vector.td
+       ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-riscv-vector-builtins \
+               -o ${.TARGET} ${.ALLSRC}
+
+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}
+
 .include <bsd.obj.mk>
index db0cd9a..03e5325 100644 (file)
@@ -1,9 +1,9 @@
-/*     $OpenBSD: Version.inc,v 1.12 2021/04/28 12:55:37 patrick Exp $ */
+/*     $OpenBSD: Version.inc,v 1.13 2021/12/17 14:55:44 patrick Exp $ */
 
-#define        CLANG_VERSION                   11.1.0
-#define        CLANG_VERSION_STRING            "11.1.0"
-#define        CLANG_VERSION_MAJOR             11
-#define        CLANG_VERSION_MINOR             1
+#define        CLANG_VERSION                   13.0.0
+#define        CLANG_VERSION_STRING            "13.0.0"
+#define        CLANG_VERSION_MAJOR             13
+#define        CLANG_VERSION_MINOR             0
 #define        CLANG_VERSION_PATCHLEVEL        0
 
 #define        CLANG_VENDOR            "OpenBSD "
index 484a8f9..02a049b 100644 (file)
@@ -64,7 +64,7 @@
 #define CLANG_HAVE_RLIMITS 1
 
 /* The LLVM product name and version */
-#define BACKEND_PACKAGE_STRING "LLVM 11.1.0"
+#define BACKEND_PACKAGE_STRING "LLVM 13.0.0"
 
 /* Linker version detected at compile time. */
 /* #undef HOST_LINK_VERSION */
@@ -75,9 +75,6 @@
 /* enable x86 relax relocations by default */
 #define ENABLE_X86_RELAX_RELOCATIONS 0
 
-/* Enable the experimental new pass manager by default */
-#define ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER 0
-
 /* Enable each functionality of modules */
 #define CLANG_ENABLE_ARCMT 0
 #define CLANG_ENABLE_OBJC_REWRITER 0
index aa07c4f..81f343e 100644 (file)
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.24 2021/04/28 12:55:37 patrick Exp $
+# $OpenBSD: Makefile,v 1.25 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
-LLVM_V=                        11.1.0
+LLVM_V=                        13.0.0
 CLANG_INTR_INCDIR=     /usr/lib/clang/${LLVM_V}/include
 
 TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen
@@ -59,6 +59,7 @@ HEADERS+=     adxintrin.h \
                avx512vnniintrin.h \
                avx512vlvnniintrin.h \
                avxintrin.h \
+               avxvnniintrin.h \
                bmi2intrin.h \
                bmiintrin.h \
                cetintrin.h \
@@ -75,9 +76,11 @@ HEADERS+=    adxintrin.h \
                fmaintrin.h \
                fxsrintrin.h \
                gfniintrin.h \
+               hresetintrin.h \
                ia32intrin.h \
                immintrin.h \
                invpcidintrin.h \
+               keylockerintrin.h \
                lwpintrin.h \
                lzcntintrin.h \
                mm3dnow.h \
@@ -101,6 +104,7 @@ HEADERS+=   adxintrin.h \
                tbmintrin.h \
                tmmintrin.h \
                tsxldtrkintrin.h \
+               uintrintrin.h \
                vaesintrin.h \
                vpclmulqdqintrin.h \
                waitpkgintrin.h \
@@ -109,6 +113,7 @@ HEADERS+=   adxintrin.h \
                wmmintrin.h \
                __wmmintrin_aes.h \
                __wmmintrin_pclmul.h \
+               x86gprintrin.h \
                x86intrin.h \
                xmmintrin.h \
                xopintrin.h \
@@ -121,6 +126,8 @@ HEADERS+=   adxintrin.h \
 HEADERS+=      altivec.h \
                htmintrin.h \
                htmxlintrin.h
+.elif ${MACHINE_ARCH} == "riscv64"
+GEN+=          riscv_vector.h
 .endif
 
 all:   ${HEADERS}
@@ -160,4 +167,8 @@ arm_cde.h: ${CLANG_INC}/clang/Basic/arm_cde.td
        ${TBLGEN} -gen-arm-cde-header -I${CLANG_INC}/clang/Basic \
            -o ${.TARGET} ${.ALLSRC}
 
+riscv_vector.h: ${CLANG_INC}/clang/Basic/riscv_vector.td
+       ${TBLGEN} -gen-riscv-vector-header -I${CLANG_INC}/clang/Basic \
+           -o ${.TARGET} ${.ALLSRC}
+
 .include <bsd.obj.mk>
index c577e92..18f2401 100644 (file)
@@ -1,8 +1,8 @@
-/*     $OpenBSD: Version.inc,v 1.7 2021/04/28 12:55:37 patrick Exp $ */
+/*     $OpenBSD: Version.inc,v 1.8 2021/12/17 14:55:44 patrick Exp $ */
 
-#define        LLD_VERSION                     11.1.0
-#define        LLD_VERSION_STRING              "11.1.0"
-#define        LLD_VERSION_MAJOR               11
-#define        LLD_VERSION_MINOR               1
+#define        LLD_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           ""
index 38ab5a5..184c613 100644 (file)
 
 #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
 
+#ifndef HAVE_LIBCOMPRESSION
 /* #undef HAVE_LIBCOMPRESSION */
+#endif
 
 #define LLDB_ENABLE_POSIX 1
 
@@ -35,6 +39,8 @@
 
 #define LLDB_ENABLE_CURSES 0
 
+#define CURSES_HAVE_NCURSES_CURSES_H 0
+
 #define LLDB_ENABLE_LIBEDIT 0
 
 #define LLDB_ENABLE_LIBXML2 0
@@ -43,6 +49,8 @@
 
 #define LLDB_ENABLE_PYTHON 0
 
+#define LLDB_EMBED_PYTHON_HOME 0
+
 #define LLDB_PYTHON_HOME ""
 
 #define LLDB_LIBDIR_SUFFIX ""
index 8f820fc..b848d50 100644 (file)
@@ -1,11 +1,14 @@
-# $OpenBSD: Makefile,v 1.1 2021/08/02 08:50:51 patrick Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
 TBLGEN=        ${.OBJDIR}/../../llvm-tblgen/llvm-tblgen
 OBJCOPY_INC=${.CURDIR}/../../../../llvm/llvm/tools/llvm-objcopy
 
-GEN=   InstallNameToolOpts.inc ObjcopyOpts.inc StripOpts.inc
+GEN=   InstallNameToolOpts.inc \
+       ObjcopyOpts.inc \
+       StripOpts.inc \
+       BitcodeStripOpts.inc
 
 all: ${GEN}
 
@@ -30,4 +33,9 @@ StripOpts.inc: ${OBJCOPY_INC}/StripOpts.td
                -I${.CURDIR}/../../../../llvm/llvm/tools/llvm-objcopy \
                -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
 
+BitcodeStripOpts.inc: ${OBJCOPY_INC}/BitcodeStripOpts.td
+       ${TBLGEN} -I${.CURDIR}/../../../../llvm/llvm/include \
+               -I${.CURDIR}/../../../../llvm/llvm/tools/llvm-objcopy \
+               -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
+
 .include <bsd.obj.mk>
diff --git a/gnu/usr.bin/clang/include/llvm-objdump/Makefile b/gnu/usr.bin/clang/include/llvm-objdump/Makefile
new file mode 100644 (file)
index 0000000..978e0e5
--- /dev/null
@@ -0,0 +1,29 @@
+# $OpenBSD: Makefile,v 1.1 2021/12/17 14:55:45 patrick Exp $
+
+.include <bsd.own.mk>
+
+TBLGEN=        ${.OBJDIR}/../../llvm-tblgen/llvm-tblgen
+OBJDUMP_INC=${.CURDIR}/../../../../llvm/llvm/tools/llvm-objdump
+
+GEN=   ObjdumpOpts.inc \
+       OtoolOpts.inc
+
+all: ${GEN}
+
+install:
+       @# Nothing here so far ...
+
+clean cleandir:
+       rm -f ${GEN}
+
+ObjdumpOpts.inc: ${OBJDUMP_INC}/ObjdumpOpts.td
+       ${TBLGEN} -I${.CURDIR}/../../../../llvm/llvm/include \
+               -I${.CURDIR}/../../../../llvm/llvm/tools/llvm-objdump \
+               -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
+
+OtoolOpts.inc: ${OBJDUMP_INC}/OtoolOpts.td
+       ${TBLGEN} -I${.CURDIR}/../../../../llvm/llvm/include \
+               -I${.CURDIR}/../../../../llvm/llvm/tools/llvm-objdump \
+               -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
+
+.include <bsd.obj.mk>
index 746520a..43ffec9 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -12,8 +12,10 @@ HDRS=        AArch64GenAsmMatcher.inc \
        AArch64GenDisassemblerTables.inc \
        AArch64GenFastISel.inc \
        AArch64GenGlobalISel.inc \
+       AArch64GenO0PreLegalizeGICombiner.inc \
        AArch64GenPreLegalizeGICombiner.inc \
        AArch64GenPostLegalizeGICombiner.inc \
+       AArch64GenPostLegalizeGILowering.inc \
        AArch64GenInstrInfo.inc \
        AArch64GenMCCodeEmitter.inc \
        AArch64GenMCPseudoLowering.inc \
@@ -71,6 +73,12 @@ AArch64GenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td
                -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \
                -o ${.TARGET} ${.ALLSRC}
 
+AArch64GenO0PreLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td
+       ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \
+               -combiners="AArch64O0PreLegalizerCombinerHelper" \
+               -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \
+               -o ${.TARGET} ${.ALLSRC}
+
 AArch64GenPreLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td
        ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \
                -combiners="AArch64PreLegalizerCombinerHelper" \
@@ -83,6 +91,12 @@ AArch64GenPostLegalizeGICombiner.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td
                -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \
                -o ${.TARGET} ${.ALLSRC}
 
+AArch64GenPostLegalizeGILowering.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td
+       ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel-combiner \
+               -combiners="AArch64PostLegalizerLoweringHelper" \
+               -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \
+               -o ${.TARGET} ${.ALLSRC}
+
 AArch64GenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/AArch64/AArch64.td
        ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \
                -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AArch64 \
index 11794a6..6a68075 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.4 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -31,6 +31,8 @@ HDRS+=        R600GenAsmWriter.inc \
        R600GenRegisterInfo.inc \
        R600GenSubtargetInfo.inc
 
+HDRS+= InstCombineTables.inc
+
 all: ${HDRS}
 
 install:
@@ -141,4 +143,9 @@ R600GenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/AMDGPU/R600.td
                -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AMDGPU \
                -o ${.TARGET} ${.ALLSRC}
 
+InstCombineTables.inc: ${LLVM_SRCS}/lib/Target/AMDGPU/InstCombineTables.td
+       ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \
+               -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/AMDGPU \
+               -o ${.TARGET} ${.ALLSRC}
+
 .include <bsd.obj.mk>
index fd32bf3..c501cc3 100644 (file)
@@ -20,7 +20,7 @@
 
 /* Allow selectively disabling link-time mismatch checking so that header-only
    ADT content from LLVM can be used without linking libSupport. */
-#if !LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
+#if !defined(LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING) || !LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
 
 // ABI_BREAKING_CHECKS protection: provides link-time failure when clients build
 // mismatch with LLVM
index a3d5748..4704977 100644 (file)
 /* Define if dladdr() is available on this platform. */
 #define HAVE_DLADDR 1
 
+/* test from libunwind */
+#if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) && \
+    !defined(__ARM_DWARF_EH__)
+/* Define to 1 if we can register EH frames on this platform. */
+/* #undef HAVE_REGISTER_FRAME */
+
+/* Define to 1 if we can deregister EH frames on this platform. */
+/* #undef HAVE_DEREGISTER_FRAME */
+#else
+/* Define to 1 if we can register EH frames on this platform. */
+#define HAVE_REGISTER_FRAME 1
+
+/* Define to 1 if we can deregister EH frames on this platform. */
+#define HAVE_DEREGISTER_FRAME 1
+#endif
+
 /* Define to 1 if you have the <errno.h> header file. */
 #define HAVE_ERRNO_H 1
 
 /* Define to 1 if you have the `pfm' library (-lpfm). */
 /* #undef HAVE_LIBPFM */
 
+/* Define to 1 if the `perf_branch_entry' struct has field cycles. */
+/* #undef LIBPFM_HAS_FIELD_CYCLES */
+
 /* Define to 1 if you have the `psapi' library (-lpsapi). */
 /* #undef HAVE_LIBPSAPI */
 
 /* Define to 1 if you have the `pthread_setname_np' function. */
 /* #undef HAVE_PTHREAD_SETNAME_NP */
 
-/* Define to 1 if you have the `z' library (-lz). */
-#define HAVE_LIBZ 1
-
 /* Define to 1 if you have the <link.h> header file. */
 /* #undef HAVE_LINK_H */
 
 /* Define if mallinfo() is available on this platform. */
 /* #undef HAVE_MALLINFO */
 
+/* Define to 1 if you have the `mallinfo2' function. */
+/* #undef HAVE_MALLINFO2 */
+
 /* Define to 1 if you have the <malloc/malloc.h> header file. */
 /* #undef HAVE_MALLOC_MALLOC_H */
 
 /* Define to 1 if you have the `setenv' function. */
 #define HAVE_SETENV 1
 
-/* Define to 1 if you have the `sched_getaffinity' function. */
-/* #undef HAVE_SCHED_GETAFFINITY */
-
-/* Define to 1 if you have the `CPU_COUNT' macro. */
-/* #undef HAVE_CPU_COUNT */
-
 /* Define to 1 if you have the `setrlimit' function. */
 #define HAVE_SETRLIMIT 1
 
 /* #undef HAVE_SYS_TYPES_H */
 
 /* Define if the setupterm() function is supported this platform. */
-/* #undef HAVE_TERMINFO */
-
-/* Define if the xar_open() function is supported this platform. */
-/* #undef HAVE_LIBXAR */
+/* #undef LLVM_ENABLE_TERMINFO */
 
 /* Define to 1 if you have the <termios.h> header file. */
 #define HAVE_TERMIOS_H 1
 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
 /* #define HAVE_VALGRIND_VALGRIND_H 1 */
 
-/* Define to 1 if you have the <zlib.h> header file. */
-#define HAVE_ZLIB_H 1
-
 /* Have host's _alloca */
 /* #undef HAVE__ALLOCA */
 
 
 /* Target triple LLVM will generate code for by default */
 /* Doesn't use `cmakedefine` because it is allowed to be empty. */
-/* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd6.8" */
+/* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd7.0" */
 
 /* Define if zlib compression is available */
 /* #define LLVM_ENABLE_ZLIB 1 */
 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
 
 /* Define if libxml2 is supported on this platform. */
-/* #undef LLVM_LIBXML2_ENABLED */
+/* #undef LLVM_ENABLE_LIBXML2 */
 
 /* Define to the extension used for shared libraries, say, ".so". */
 #define LTDL_SHLIB_EXT ".so"
 
+/* Define to the extension used for plugin libraries, say, ".so". */
+#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_NAME "LLVM"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 11.1.0"
+#define PACKAGE_STRING "LLVM 13.0.0"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "11.1.0"
+#define PACKAGE_VERSION "13.0.0"
 
 /* Define to the vendor of this package. */
 /* #undef PACKAGE_VENDOR */
 /* 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
index f27faf5..8a7595b 100644 (file)
 #define LLVM_USE_PERF 0
 
 /* Major version of the LLVM API */
-#define LLVM_VERSION_MAJOR 11
+#define LLVM_VERSION_MAJOR 13
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 1
+#define LLVM_VERSION_MINOR 0
 
 /* Patch version of the LLVM API */
 #define LLVM_VERSION_PATCH 0
 
 /* LLVM version string */
-#define LLVM_VERSION_STRING "11.1.0"
+#define LLVM_VERSION_STRING "13.0.0"
 
 /* Whether LLVM records statistics for use with GetStatistics(),
  * PrintStatistics() or PrintStatisticsJSON()
  */
 #define LLVM_FORCE_ENABLE_STATS 0
+
+/* 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 LLVM was built with a dependency to the tensorflow compiler */
+/* #undef LLVM_HAVE_TF_AOT */
+
+/* Define to 1 if you have the <sysexits.h> 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
+
index 6dd1233..68460ef 100644 (file)
@@ -1,17 +1,16 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
 LLVM_SRCS=     ${.CURDIR}/../../../../../../llvm/llvm
 
 DEFS=  ACC.h.inc \
-       ACC.cpp.inc \
-       ACC.cpp
+       ACC.inc
 
 all: ${DEFS}
 
 install:
-       @# Nothing here so far ...
+       @# Nothing here so far
 
 clean cleandir:
        rm -f ${DEFS}
@@ -23,14 +22,7 @@ ACC.h.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenACC/ACC.td
                -I${LLVM_SRCS}/include \
                -o ${.TARGET} ${.ALLSRC}
 
-ACC.cpp.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenACC/ACC.td
-       ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-gen \
-               -I${LLVM_SRCS}/include/llvm/Frontend/OpenACC \
-               -I${LLVM_SRCS}/include/llvm/Frontend/ \
-               -I${LLVM_SRCS}/include \
-               -o ${.TARGET} ${.ALLSRC}
-
-ACC.cpp: ${LLVM_SRCS}/include/llvm/Frontend/OpenACC/ACC.td
+ACC.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenACC/ACC.td
        ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-impl \
                -I${LLVM_SRCS}/include/llvm/Frontend/OpenACC \
                -I${LLVM_SRCS}/include/llvm/Frontend/ \
index b2e6eae..9b97c1f 100644 (file)
@@ -1,12 +1,11 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
 LLVM_SRCS=     ${.CURDIR}/../../../../../../llvm/llvm
 
 DEFS=  OMP.h.inc \
-       OMP.cpp.inc \
-       OMP.cpp
+       OMP.inc
 
 all: ${DEFS}
 
@@ -23,14 +22,7 @@ OMP.h.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td
                -I${LLVM_SRCS}/include \
                -o ${.TARGET} ${.ALLSRC}
 
-OMP.cpp.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td
-       ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-gen \
-               -I${LLVM_SRCS}/include/llvm/Frontend/OpenMP \
-               -I${LLVM_SRCS}/include/llvm/Frontend/ \
-               -I${LLVM_SRCS}/include \
-               -o ${.TARGET} ${.ALLSRC}
-
-OMP.cpp: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td
+OMP.inc: ${LLVM_SRCS}/include/llvm/Frontend/OpenMP/OMP.td
        ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-directive-impl \
                -I${LLVM_SRCS}/include/llvm/Frontend/OpenMP \
                -I${LLVM_SRCS}/include/llvm/Frontend/ \
index 7be0c3e..76e7134 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -20,7 +20,8 @@ DEFS= Attributes.inc \
        IntrinsicsS390.h \
        IntrinsicsWebAssembly.h \
        IntrinsicsX86.h \
-       IntrinsicsXCore.h
+       IntrinsicsXCore.h \
+       IntrinsicsVE.h
 
 INCDIR=        /usr/include/llvm/IR
 
@@ -131,6 +132,12 @@ IntrinsicsXCore.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
                -I${LLVM_SRCS}/include \
                -o ${.TARGET} ${.ALLSRC}
 
+IntrinsicsVE.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
+       ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=ve \
+               -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \
+               -I${LLVM_SRCS}/include \
+               -o ${.TARGET} ${.ALLSRC}
+
 install includes: ${DEFS}
        ${INSTALL} -d -m 755 ${DESTDIR}${INCDIR}
        @cd ${.OBJDIR}; for i in $(DEFS); do \
index f4068bf..346c944 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -14,7 +14,9 @@ HDRS= PPCGenAsmMatcher.inc \
        PPCGenMCCodeEmitter.inc \
        PPCGenRegisterInfo.inc \
        PPCGenSubtargetInfo.inc \
-       PPCGenExegesis.inc
+       PPCGenExegesis.inc \
+       PPCGenRegisterBank.inc \
+       PPCGenGlobalISel.inc
 
 all: ${HDRS}
 
@@ -79,4 +81,14 @@ PPCGenExegesis.inc: ${LLVM_SRCS}/lib/Target/PowerPC/PPC.td
                -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/PowerPC \
                -o ${.TARGET} ${.ALLSRC}
 
+PPCGenRegisterBank.inc: ${LLVM_SRCS}/lib/Target/PowerPC/PPC.td
+       ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-bank \
+               -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/PowerPC \
+               -o ${.TARGET} ${.ALLSRC}
+
+PPCGenGlobalISel.inc: ${LLVM_SRCS}/lib/Target/PowerPC/PPC.td
+       ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-global-isel \
+               -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/PowerPC \
+               -o ${.TARGET} ${.ALLSRC}
+
 .include <bsd.obj.mk>
index 0eb6c94..1e616b1 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/29 05:32:01 drahn Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:44 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -10,7 +10,7 @@ HDRS= RISCVGenAsmMatcher.inc RISCVGenAsmWriter.inc \
        RISCVGenInstrInfo.inc RISCVGenRegisterInfo.inc \
        RISCVGenSubtargetInfo.inc \
        RISCVGenMCCodeEmitter.inc RISCVGenMCPseudoLowering.inc \
-       RISCVGenSystemOperands.inc RISCVGenRegisterBank.inc \
+       RISCVGenSearchableTables.inc RISCVGenRegisterBank.inc \
        RISCVGenGlobalISel.inc RISCVGenCompressInstEmitter.inc
 
 # RISCVGenGICombiner.inc  RISCVGenFastISel.inc 
@@ -78,7 +78,7 @@ RISCVGenMCPseudoLowering.inc: ${LLVM_SRCS}/lib/Target/RISCV/RISCV.td
                -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/RISCV \
                -o ${.TARGET} ${.ALLSRC}
 
-RISCVGenSystemOperands.inc: ${LLVM_SRCS}/lib/Target/RISCV/RISCV.td
+RISCVGenSearchableTables.inc: ${LLVM_SRCS}/lib/Target/RISCV/RISCV.td
        ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \
                -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/RISCV \
                -o ${.TARGET} ${.ALLSRC}
diff --git a/gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile b/gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile
deleted file mode 100644 (file)
index 80ef7b1..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:23 patrick Exp $
-
-.include <bsd.own.mk>
-
-LLVM_SRCS=     ${.CURDIR}/../../../../../../llvm/llvm
-
-DEFS=  InstCombineTables.inc
-
-all: ${DEFS}
-
-install:
-       @# Nothing here so far ...
-
-clean cleandir:
-       rm -f ${DEFS}
-
-InstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
-       ${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \
-               -I${LLVM_SRCS}/include/llvm/Transforms/InstCombine \
-               -I${LLVM_SRCS}/lib/Target -I${LLVM_SRCS}/include \
-               -o ${.TARGET} ${.ALLSRC}
-
-.include <bsd.obj.mk>
index 8de3140..be8e783 100644 (file)
@@ -58,7 +58,7 @@
 .include "../libLLVM${LLVM_ARCH}Desc/Makefile"
 .include "../libLLVM${LLVM_ARCH}Disassembler/Makefile"
 .include "../libLLVM${LLVM_ARCH}Info/Makefile"
-.if "${LLVM_ARCH}" == "AArch64" || "${LLVM_ARCH}" == "ARM" || "${LLVM_ARCH}" == "RISCV"
+.if "${LLVM_ARCH}" == "AArch64" || "${LLVM_ARCH}" == "ARM"
 .include "../libLLVM${LLVM_ARCH}Utils/Makefile"
 .endif
 .include "../libLLVMipo/Makefile"
index 80e13b1..0cc06d4 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.12 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMAArch64CodeGen
 NOPROFILE=
@@ -8,10 +8,14 @@ CPPFLAGS+=    -I${.OBJDIR}/../include/llvm/AArch64 \
 
 # GISel
 SRCS+= AArch64CallLowering.cpp \
+       AArch64GlobalISelUtils.cpp \
        AArch64InstructionSelector.cpp \
        AArch64LegalizerInfo.cpp \
+       AArch64O0PreLegalizerCombiner.cpp \
        AArch64PreLegalizerCombiner.cpp \
        AArch64PostLegalizerCombiner.cpp \
+       AArch64PostLegalizerLowering.cpp \
+       AArch64PostSelectOptimize.cpp \
        AArch64RegisterBankInfo.cpp
 
 SRCS+= AArch64A57FPLoadBalancing.cpp \
@@ -37,6 +41,7 @@ SRCS+=        AArch64A57FPLoadBalancing.cpp \
        AArch64ISelLowering.cpp \
        AArch64InstrInfo.cpp \
        AArch64LoadStoreOptimizer.cpp \
+       AArch64LowerHomogeneousPrologEpilog.cpp \
        AArch64MachineFunctionInfo.cpp \
        AArch64MacroFusion.cpp \
        AArch64MCInstLower.cpp \
index 6e26259..2bbf07f 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMAMDGPUCodeGen
 NOPROFILE=
@@ -9,6 +9,7 @@ CPPFLAGS+=      -I${.OBJDIR}/../include/llvm/AMDGPU \
 SRCS+= AMDGPUAliasAnalysis.cpp \
        AMDGPUAlwaysInlinePass.cpp \
        AMDGPUAnnotateKernelFeatures.cpp \
+       AMDGPUAttributor.cpp \
        AMDGPUAnnotateUniformValues.cpp \
        AMDGPUArgumentUsageInfo.cpp \
        AMDGPUAsmPrinter.cpp \
@@ -19,22 +20,26 @@ SRCS+=      AMDGPUAliasAnalysis.cpp \
        AMDGPUFixFunctionBitcasts.cpp \
        AMDGPUFrameLowering.cpp \
        AMDGPUHSAMetadataStreamer.cpp \
+       AMDGPUInstCombineIntrinsic.cpp \
        AMDGPUInstrInfo.cpp \
        AMDGPUInstructionSelector.cpp \
        AMDGPUISelDAGToDAG.cpp \
        AMDGPUISelLowering.cpp \
        AMDGPUGlobalISelUtils.cpp \
+       AMDGPULateCodeGenPrepare.cpp \
        AMDGPULegalizerInfo.cpp \
        AMDGPULibCalls.cpp \
        AMDGPULibFunc.cpp \
        AMDGPULowerIntrinsics.cpp \
        AMDGPULowerKernelArguments.cpp \
        AMDGPULowerKernelAttributes.cpp \
+       AMDGPULowerModuleLDSPass.cpp \
        AMDGPUMachineCFGStructurizer.cpp \
        AMDGPUMachineFunction.cpp \
        AMDGPUMachineModuleInfo.cpp \
        AMDGPUMacroFusion.cpp \
        AMDGPUMCInstLower.cpp \
+       AMDGPUMIRFormatter.cpp \
        AMDGPUOpenCLEnqueuedBlockLowering.cpp \
        AMDGPUPostLegalizerCombiner.cpp \
        AMDGPUPreLegalizerCombiner.cpp \
@@ -42,6 +47,7 @@ SRCS+=        AMDGPUAliasAnalysis.cpp \
        AMDGPUPropagateAttributes.cpp \
        AMDGPURegBankCombiner.cpp \
        AMDGPURegisterBankInfo.cpp \
+       AMDGPUReplaceLDSUseWithPointer.cpp \
        AMDGPURewriteOutArguments.cpp \
        AMDGPUSubtarget.cpp \
        AMDGPUTargetMachine.cpp \
@@ -49,10 +55,10 @@ SRCS+=      AMDGPUAliasAnalysis.cpp \
        AMDGPUTargetTransformInfo.cpp \
        AMDGPUUnifyDivergentExitNodes.cpp \
        AMDGPUUnifyMetadata.cpp \
-       AMDGPUInline.cpp \
        AMDGPUPerfHintAnalysis.cpp \
        AMDILCFGStructurizer.cpp \
        AMDGPUPrintfRuntimeBinding.cpp \
+       AMDGPUResourceUsageAnalysis.cpp \
        GCNHazardRecognizer.cpp \
        GCNIterativeScheduler.cpp \
        GCNMinRegStrategy.cpp \
@@ -72,17 +78,15 @@ SRCS+=      AMDGPUAliasAnalysis.cpp \
        R600OptimizeVectorRegisters.cpp \
        R600Packetizer.cpp \
        R600RegisterInfo.cpp \
-       SIAddIMGInit.cpp \
        SIAnnotateControlFlow.cpp \
        SIFixSGPRCopies.cpp \
-       SIFixupVectorISel.cpp \
        SIFixVGPRCopies.cpp \
        SIPreAllocateWWMRegs.cpp \
        SIFoldOperands.cpp \
        SIFormMemoryClauses.cpp \
        SIFrameLowering.cpp \
        SIInsertHardClauses.cpp \
-       SIInsertSkips.cpp \
+       SILateBranchLowering.cpp \
        SIInsertWaitcnts.cpp \
        SIInstrInfo.cpp \
        SIISelLowering.cpp \
@@ -95,17 +99,18 @@ SRCS+=      AMDGPUAliasAnalysis.cpp \
        SIMemoryLegalizer.cpp \
        SIOptimizeExecMasking.cpp \
        SIOptimizeExecMaskingPreRA.cpp \
+       SIOptimizeVGPRLiveRange.cpp \
        SIPeepholeSDWA.cpp \
        SIPostRABundler.cpp \
        SIPreEmitPeephole.cpp \
+       SIProgramInfo.cpp \
        SIRegisterInfo.cpp \
-       SIRemoveShortExecBranches.cpp \
        SIShrinkInstructions.cpp \
        SIWholeQuadMode.cpp \
        GCNILPSched.cpp \
-       GCNRegBankReassign.cpp \
        GCNNSAReassign.cpp \
        GCNDPPCombine.cpp \
+       GCNPreRAOptimizations.cpp \
        SIModeRegister.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/AMDGPU
index 57ec84d..3ea877d 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2020/08/03 14:45:24 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMAMDGPUUtils
 NOPROFILE=
@@ -6,9 +6,10 @@ NOPROFILE=
 CPPFLAGS+=     -I${.OBJDIR}/../include/llvm/AMDGPU \
                -I${LLVM_SRCS}/lib/Target/AMDGPU
 
-SRCS+= AMDGPUBaseInfo.cpp \
-       AMDKernelCodeTUtils.cpp \
-       AMDGPUAsmUtils.cpp \
-       AMDGPUPALMetadata.cpp
+SRCS+= AMDGPUAsmUtils.cpp \
+       AMDGPUBaseInfo.cpp \
+       AMDGPULDSUtils.cpp \
+       AMDGPUPALMetadata.cpp \
+       AMDKernelCodeTUtils.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/AMDGPU/Utils
index c8b6878..0999fcc 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMARMCodeGen
 NOPROFILE=
@@ -26,6 +26,7 @@ SRCS+=        A15SDOptimizer.cpp \
        ARMParallelDSP.cpp \
        ARMLoadStoreOptimizer.cpp \
        ARMLowOverheadLoops.cpp \
+       ARMBlockPlacement.cpp \
        ARMMCInstLower.cpp \
        ARMMachineFunctionInfo.cpp \
        ARMMacroFusion.cpp \
@@ -33,15 +34,17 @@ SRCS+=      A15SDOptimizer.cpp \
        ARMOptimizeBarriersPass.cpp \
        ARMRegisterBankInfo.cpp \
        ARMSelectionDAGInfo.cpp \
+       ARMSLSHardening.cpp \
        ARMSubtarget.cpp \
        ARMTargetMachine.cpp \
        ARMTargetObjectFile.cpp \
        ARMTargetTransformInfo.cpp \
        MLxExpansionPass.cpp \
        MVEGatherScatterLowering.cpp \
+       MVELaneInterleavingPass.cpp \
        MVETailPredication.cpp \
        MVEVPTBlockPass.cpp \
-       MVEVPTOptimisationsPass.cpp \
+       MVETPAndVPTOptimisationsPass.cpp \
        Thumb1FrameLowering.cpp \
        Thumb1InstrInfo.cpp \
        ThumbRegisterInfo.cpp \
index b7cdf2d..88705b7 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.13 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMAnalysis
 NOPROFILE=
@@ -30,24 +30,29 @@ SRCS+=      AliasAnalysis.cpp \
        CodeMetrics.cpp \
        ConstantFolding.cpp \
        DDG.cpp \
+       DDGPrinter.cpp \
+       ConstraintSystem.cpp \
        Delinearization.cpp \
        DemandedBits.cpp \
        DependenceAnalysis.cpp \
        DependenceGraphBuilder.cpp \
+       DevelopmentModeInlineAdvisor.cpp \
        DivergenceAnalysis.cpp \
        DomPrinter.cpp \
        DomTreeUpdater.cpp \
        DominanceFrontier.cpp \
        EHPersonalities.cpp \
+       FunctionPropertiesAnalysis.cpp \
        GlobalsModRef.cpp \
        GuardUtils.cpp \
        HeatUtils.cpp \
+       IRSimilarityIdentifier.cpp \
        IVDescriptors.cpp \
        IVUsers.cpp \
+       ImportedFunctionsInliningStatistics.cpp \
        IndirectCallPromotionAnalysis.cpp \
        InlineCost.cpp \
        InlineAdvisor.cpp \
-       InlineFeaturesAnalysis.cpp \
        InlineSizeEstimatorAnalysis.cpp \
        InstCount.cpp \
        InstructionPrecedenceTracking.cpp \
@@ -68,6 +73,7 @@ SRCS+=        AliasAnalysis.cpp \
        LoopUnrollAnalyzer.cpp \
        LoopInfo.cpp \
        LoopPass.cpp \
+       MLInlineAdvisor.cpp \
        MemDepPrinter.cpp \
        MemDerefPrinter.cpp \
        MemoryBuiltins.cpp \
@@ -82,6 +88,7 @@ SRCS+=        AliasAnalysis.cpp \
        ObjCARCAnalysisUtils.cpp \
        ObjCARCInstKind.cpp \
        OptimizationRemarkEmitter.cpp \
+       OverflowInstAnalysis.cpp \
        PHITransAddr.cpp \
        PhiValues.cpp \
        PostDominators.cpp \
@@ -90,6 +97,8 @@ SRCS+=        AliasAnalysis.cpp \
        RegionInfo.cpp \
        RegionPass.cpp \
        RegionPrinter.cpp \
+       ReleaseModeModelRunner.cpp \
+       ReplayInlineAdvisor.cpp \
        ScalarEvolution.cpp \
        ScalarEvolutionAliasAnalysis.cpp \
        ScalarEvolutionDivision.cpp \
@@ -98,6 +107,7 @@ SRCS+=       AliasAnalysis.cpp \
        StackSafetyAnalysis.cpp \
        SyncDependenceAnalysis.cpp \
        SyntheticCountsUtils.cpp \
+       TFUtils.cpp \
        TargetLibraryInfo.cpp \
        TargetTransformInfo.cpp \
        Trace.cpp \
index cf78de4..ff0fe10 100644 (file)
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:38 patrick Exp $
+# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMAsmPrinter
 NOPROFILE=
 
 SRCS+= AccelTable.cpp \
        AddressPool.cpp \
+       AIXException.cpp \
        ARMException.cpp \
        AsmPrinter.cpp \
        AsmPrinterDwarf.cpp \
@@ -24,6 +25,7 @@ SRCS+=        AccelTable.cpp \
        EHStreamer.cpp \
        ErlangGCPrinter.cpp \
        OcamlGCPrinter.cpp \
+       PseudoProbePrinter.cpp \
        WinCFGuard.cpp \
        WinException.cpp \
        CodeViewDebug.cpp \
index 31fbc5b..07d7319 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.16 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMCodeGen
 NOPROFILE=
@@ -14,13 +14,13 @@ SRCS+=      AggressiveAntiDepBreaker.cpp \
        BranchFolding.cpp \
        BranchRelaxation.cpp \
        BreakFalseDeps.cpp \
-       BuiltinGCs.cpp \
-       BBSectionsPrepare.cpp \
+       BasicBlockSections.cpp \
        CalcSpillWeights.cpp \
        CallingConvLower.cpp \
        CFGuardLongjmp.cpp \
        CFIInstrInserter.cpp \
        CodeGen.cpp \
+       CodeGenPassBuilder.cpp \
        CodeGenPrepare.cpp \
        CommandFlags.cpp \
        CriticalAntiDepBreaker.cpp \
@@ -30,10 +30,12 @@ SRCS+=      AggressiveAntiDepBreaker.cpp \
        DwarfEHPrepare.cpp \
        EarlyIfConversion.cpp \
        EdgeBundles.cpp \
+       EHContGuardCatchret.cpp \
        ExecutionDomainFix.cpp \
        ExpandMemCmp.cpp \
        ExpandPostRAPseudos.cpp \
        ExpandReductions.cpp \
+       ExpandVectorPredication.cpp \
        FaultMaps.cpp \
        FEntryInserter.cpp \
        FinalizeISel.cpp \
@@ -42,7 +44,6 @@ SRCS+=        AggressiveAntiDepBreaker.cpp \
        GCMetadata.cpp \
        GCMetadataPrinter.cpp \
        GCRootLowering.cpp \
-       GCStrategy.cpp \
        GlobalMerge.cpp \
        HardwareLoops.cpp \
        IfConversion.cpp \
@@ -56,7 +57,6 @@ SRCS+=        AggressiveAntiDepBreaker.cpp \
        LatencyPriorityQueue.cpp \
        LazyMachineBlockFrequencyInfo.cpp \
        LexicalScopes.cpp \
-       LiveDebugValues.cpp \
        LiveDebugVariables.cpp \
        LiveIntervals.cpp \
        LiveInterval.cpp \
@@ -82,6 +82,7 @@ SRCS+=        AggressiveAntiDepBreaker.cpp \
        MachineCombiner.cpp \
        MachineCopyPropagation.cpp \
        MachineCSE.cpp \
+       MachineCheckDebugify.cpp \
        MachineDebugify.cpp \
        MachineDominanceFrontier.cpp \
        MachineDominators.cpp \
@@ -89,6 +90,7 @@ SRCS+=        AggressiveAntiDepBreaker.cpp \
        MachineFunction.cpp \
        MachineFunctionPass.cpp \
        MachineFunctionPrinterPass.cpp \
+       MachineFunctionSplitter.cpp \
        MachineInstrBundle.cpp \
        MachineInstr.cpp \
        MachineLICM.cpp \
@@ -96,9 +98,11 @@ SRCS+=       AggressiveAntiDepBreaker.cpp \
        MachineLoopUtils.cpp \
        MachineModuleInfo.cpp \
        MachineModuleInfoImpls.cpp \
+       MachineModuleSlotTracker.cpp \
        MachineOperand.cpp \
        MachineOptimizationRemarkEmitter.cpp \
        MachineOutliner.cpp \
+       MachinePassManager.cpp \
        MachinePipeliner.cpp \
        MachinePostDominators.cpp \
        MachineRegionInfo.cpp \
@@ -110,7 +114,10 @@ SRCS+=     AggressiveAntiDepBreaker.cpp \
        MachineStripDebug.cpp \
        MachineTraceMetrics.cpp \
        MachineVerifier.cpp \
+       MIRFSDiscriminator.cpp \
+       MIRYamlMapping.cpp \
        ModuloSchedule.cpp \
+       MultiHazardRecognizer.cpp \
        PatchableFunction.cpp \
        MBFIWrapper.cpp \
        MIRPrinter.cpp \
@@ -127,6 +134,7 @@ SRCS+=      AggressiveAntiDepBreaker.cpp \
        PreISelIntrinsicLowering.cpp \
        ProcessImplicitDefs.cpp \
        PrologEpilogInserter.cpp \
+       PseudoProbeInserter.cpp \
        PseudoSourceValue.cpp \
        RDFGraph.cpp \
        RDFLiveness.cpp \
@@ -141,19 +149,21 @@ SRCS+=    AggressiveAntiDepBreaker.cpp \
        RegisterCoalescer.cpp \
        RegisterPressure.cpp \
        RegisterScavenging.cpp \
+       RemoveRedundantDebugValues.cpp \
        RenameIndependentSubregs.cpp \
+       MachineStableHash.cpp \
        MIRVRegNamerUtils.cpp \
        MIRNamerPass.cpp \
        MIRCanonicalizerPass.cpp \
        RegisterUsageInfo.cpp \
        RegUsageInfoCollector.cpp \
        RegUsageInfoPropagate.cpp \
+       ReplaceWithVeclib.cpp \
        ResetMachineFunctionPass.cpp \
        ReturnProtectorLowering.cpp \
        ReturnProtectorPass.cpp \
        SafeStack.cpp \
        SafeStackLayout.cpp \
-       ScalarizeMaskedMemIntrin.cpp \
        ScheduleDAG.cpp \
        ScheduleDAGInstrs.cpp \
        ScheduleDAGPrinter.cpp \
@@ -189,7 +199,10 @@ SRCS+=     AggressiveAntiDepBreaker.cpp \
        VirtRegMap.cpp \
        WasmEHPrepare.cpp \
        WinEHPrepare.cpp \
-       XRayInstrumentation.cpp
+       XRayInstrumentation.cpp \
+       LiveDebugValues.cpp \
+       VarLocBasedImpl.cpp \
+       InstrRefBasedImpl.cpp
 
 CodeGenAnalysis.cpp:
        ln -s ${LLVM_SRCS}/lib/CodeGen/Analysis.cpp $@
@@ -198,5 +211,6 @@ CodeGenLowLevelType.cpp:
        ln -s ${LLVM_SRCS}/lib/CodeGen/LowLevelType.cpp $@
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/CodeGen
+.PATH: ${.CURDIR}/../../../llvm/llvm/lib/CodeGen/LiveDebugValues
 
 CLEANFILES+= CodeGenAnalysis.cpp CodeGenLowLevelType.cpp
index a3c077b..cf59497 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.12 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMCore
 NOPROFILE=
@@ -8,9 +8,11 @@ CPPFLAGS+=     -I${.OBJDIR}/../include/llvm/IR \
 
 SRCS+= AbstractCallSite.cpp \
        AsmWriter.cpp \
+       Assumptions.cpp \
        Attributes.cpp \
        AutoUpgrade.cpp \
        BasicBlock.cpp \
+       BuiltinGCs.cpp \
        Comdat.cpp \
        ConstantFold.cpp \
        ConstantRange.cpp \
@@ -27,6 +29,7 @@ SRCS+=        AbstractCallSite.cpp \
        Dominators.cpp \
        FPEnv.cpp \
        Function.cpp \
+       GCStrategy.cpp \
        GVMaterializer.cpp \
        Globals.cpp \
        IRBuilder.cpp \
@@ -51,9 +54,13 @@ SRCS+=       AbstractCallSite.cpp \
        PassManager.cpp \
        PassRegistry.cpp \
        PassTimingInfo.cpp \
+       PrintPasses.cpp \
        SafepointIRVerifier.cpp \
        ProfileSummary.cpp \
+       PseudoProbe.cpp \
+       ReplaceConstant.cpp \
        Statepoint.cpp \
+       StructuralHash.cpp \
        Type.cpp \
        TypeFinder.cpp \
        Use.cpp \
index b501053..3e4d005 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMDebugInfoPDB
 NOPROFILE=
@@ -23,9 +23,11 @@ SRCS+=       DbiModuleDescriptor.cpp \
        NativeEnumInjectedSources.cpp \
        NativeEnumLineNumbers.cpp \
        NativeEnumModules.cpp \
+       NativeEnumSymbols.cpp \
        NativeEnumTypes.cpp \
        NativeExeSymbol.cpp \
        NativeFunctionSymbol.cpp \
+       NativeInlineSiteSymbol.cpp \
        NativeLineNumber.cpp \
        NativePublicSymbol.cpp \
        NativeRawSymbol.cpp \
index c453565..1923ac6 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2020/08/03 14:45:25 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMDemangle
 NOPROFILE=
@@ -8,6 +8,7 @@ CPPFLAGS+=      -I${LLVM_SRCS}/include/llvm/Demangle
 SRCS+= Demangle.cpp \
        ItaniumDemangle.cpp \
        MicrosoftDemangle.cpp \
-       MicrosoftDemangleNodes.cpp
+       MicrosoftDemangleNodes.cpp \
+       RustDemangle.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Demangle
index e0738f9..12bec62 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMExecutionEngine
 NOPROFILE=
@@ -29,42 +29,53 @@ SRCS+=      JITLink.cpp \
        MachO_x86_64.cpp \
        MachOLinkGraphBuilder.cpp \
        ExecutionEngineELF.cpp \
-       ELF_x86_64.cpp
+       ELFLinkGraphBuilder.cpp \
+       ELF_riscv.cpp \
+       ELF_x86_64.cpp \
+       riscv.cpp \
+       x86_64.cpp
 
 # MCJIT
 SRCS+= MCJIT.cpp
 
-# OrcError
+# OrcShared
 SRCS+= OrcError.cpp \
-       RPCError.cpp \
+       RPCError.cpp
 
-# OrcJIT
+# OrcTargetProcess
+SRCS+= JITLoaderGDB.cpp \
+       RegisterEHFrames.cpp \
+       TargetExecutionUtils.cpp
+
+# Orc
 SRCS+= CompileOnDemandLayer.cpp \
        CompileUtils.cpp \
        ExecutionEngineCore.cpp \
+       DebugObjectManagerPlugin.cpp \
        DebugUtils.cpp \
+       EPCDynamicLibrarySearchGenerator.cpp \
+       EPCDebugObjectRegistrar.cpp \
+       EPCEHFrameRegistrar.cpp \
+       EPCIndirectionUtils.cpp \
        ExecutionUtils.cpp \
        IndirectionUtils.cpp \
        IRCompileLayer.cpp \
        IRTransformLayer.cpp \
        JITTargetMachineBuilder.cpp \
        LazyReexports.cpp \
-       Legacy.cpp \
        Layer.cpp \
        LLJIT.cpp \
        MachOPlatform.cpp \
        Mangling.cpp \
-       NullResolver.cpp \
        ObjectLinkingLayer.cpp \
        ObjectTransformLayer.cpp \
        OrcABISupport.cpp \
-       OrcCBindings.cpp \
        OrcV2CBindings.cpp \
-       OrcMCJITReplacement.cpp \
        RTDyldObjectLinkingLayer.cpp \
-       ThreadSafeModule.cpp \
        Speculation.cpp \
-       SpeculateAnalyses.cpp
+       SpeculateAnalyses.cpp \
+       ExecutorProcessControl.cpp \
+       ThreadSafeModule.cpp
 
 # RuntimeDyld
 SRCS+= JITSymbol.cpp \
@@ -92,7 +103,8 @@ ExecutionEngineELF.cpp:
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/JITLink
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/MCJIT
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/Orc
-.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/OrcError
+.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/Orc/Shared
+.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/Orc/TargetProcess
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/RuntimeDyld
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets
 
index e616a1b..41f7608 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMFrontendOpenACC
 NOPROFILE=
@@ -9,9 +9,3 @@ CPPFLAGS+=      -I${LLVM_SRCS}/include/llvm/Frontend/OpenACC
 SRCS+= ACC.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Frontend/OpenACC
-
-ACC.cpp:
-       ln -sf ${.OBJDIR}/../include/llvm/Frontend/OpenACC/ACC.cpp $@
-
-CLEANFILES+= ACC.cpp
-
index 424fe35..73cca53 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.3 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMFrontendOpenMP
 NOPROFILE=
@@ -11,8 +11,3 @@ SRCS+=        OMP.cpp \
        OMPIRBuilder.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Frontend/OpenMP
-
-OMP.cpp:
-       ln -sf ${.OBJDIR}/../include/llvm/Frontend/OpenMP/OMP.cpp $@
-
-CLEANFILES+= OMP.cpp
index 03f6bfb..a5f0bee 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMGlobalISel
 NOPROFILE=
@@ -22,6 +22,7 @@ SRCS+=        CSEInfo.cpp \
        Legalizer.cpp \
        LegalizerHelper.cpp \
        LegalizerInfo.cpp \
+       LegacyLegalizerInfo.cpp \
        Localizer.cpp \
        LostDebugLocObserver.cpp \
        MachineIRBuilder.cpp \
index be9b466..e8ec0a5 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.11 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMInstrumentation
 NOPROFILE=
@@ -11,6 +11,7 @@ SRCS+=        AddressSanitizer.cpp \
        ControlHeightReduction.cpp \
        DataFlowSanitizer.cpp \
        GCOVProfiling.cpp \
+       MemProfiler.cpp \
        MemorySanitizer.cpp \
        IndirectCallPromotion.cpp \
        Instrumentation.cpp \
index 93a64b5..5ee4250 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMMC
 NOPROFILE=
@@ -38,6 +38,7 @@ SRCS+=        ConstantPools.cpp \
        MCObjectFileInfo.cpp \
        MCObjectStreamer.cpp \
        MCObjectWriter.cpp \
+       MCPseudoProbe.cpp \
        MCRegisterInfo.cpp \
        MCSchedule.cpp \
        MCSection.cpp \
index af5dc96..0db81c2 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMMCParser
 NOPROFILE=
@@ -16,6 +16,7 @@ SRCS+=        AsmLexer.cpp \
        MCAsmParserExtension.cpp \
        MCTargetAsmParser.cpp \
        MasmParser.cpp \
-       WasmAsmParser.cpp
+       WasmAsmParser.cpp \
+       XCOFFAsmParser.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/MC/MCParser
index 89bd019..925ef33 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:39 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMObject
 NOPROFILE=
@@ -15,6 +15,7 @@ SRCS+=        Archive.cpp \
        ObjectELF.cpp \
        ELFObjectFile.cpp \
        ObjectError.cpp \
+       FaultMapParser.cpp \
        IRObjectFile.cpp \
        IRSymtab.cpp \
        MachOObjectFile.cpp \
@@ -29,6 +30,7 @@ SRCS+=        Archive.cpp \
        SymbolSize.cpp \
        TapiFile.cpp \
        TapiUniversal.cpp \
+       MachOUniversalWriter.cpp \
        WasmObjectFile.cpp \
        WindowsMachineFlag.cpp \
        WindowsResource.cpp \
index 4cf1f72..af683b5 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMPowerPCCodeGen
 NOPROFILE=
@@ -6,6 +6,12 @@ NOPROFILE=
 CPPFLAGS+=     -I${.OBJDIR}/../include/llvm/PowerPC \
                -I${LLVM_SRCS}/lib/Target/PowerPC
 
+# GISel
+SRCS+= PPCInstructionSelector.cpp \
+       PPCCallLowering.cpp \
+       PPCRegisterBankInfo.cpp \
+       PPCLegalizerInfo.cpp
+
 SRCS+= PPCBoolRetToInt.cpp \
        PPCAsmPrinter.cpp \
        PPCBranchSelector.cpp \
@@ -13,6 +19,7 @@ SRCS+=        PPCBoolRetToInt.cpp \
        PPCCallingConv.cpp \
        PPCCCState.cpp \
        PPCCTRLoops.cpp \
+       PPCExpandAtomicPseudoInsts.cpp \
        PPCHazardRecognizers.cpp \
        PPCInstrInfo.cpp \
        PPCISelDAGToDAG.cpp \
@@ -28,7 +35,6 @@ SRCS+=        PPCBoolRetToInt.cpp \
        PPCMIPeephole.cpp \
        PPCRegisterInfo.cpp \
        PPCReturnProtectorLowering.cpp \
-       PPCQPXLoadSplat.cpp \
        PPCSubtarget.cpp \
        PPCTargetMachine.cpp \
        PPCTargetObjectFile.cpp \
@@ -44,3 +50,4 @@ SRCS+=        PPCBoolRetToInt.cpp \
        PPCLowerMASSVEntries.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/PowerPC
+.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/PowerPC/GISel
index 9a42553..1c91a74 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMPowerPCDesc
 NOPROFILE=
@@ -15,6 +15,7 @@ SRCS+=        PPCAsmBackend.cpp \
        PPCPredicates.cpp \
        PPCELFObjectWriter.cpp \
        PPCXCOFFObjectWriter.cpp \
-       PPCELFStreamer.cpp
+       PPCELFStreamer.cpp \
+       PPCXCOFFStreamer.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/PowerPC/MCTargetDesc
index 9847fe5..149b057 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/29 05:32:01 drahn Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:45 patrick Exp $
 
 LIB=   LLVMRISCVCodeGen
 NOPROFILE=
@@ -11,6 +11,7 @@ SRCS+=        RISCVAsmPrinter.cpp \
        RISCVExpandAtomicPseudoInsts.cpp\
        RISCVExpandPseudoInsts.cpp \
        RISCVFrameLowering.cpp \
+       RISCVInsertVSETVLI.cpp \
        RISCVInstrInfo.cpp \
        RISCVInstructionSelector.cpp \
        RISCVISelDAGToDAG.cpp \
index a1f4c1f..8bfb8a3 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/29 05:32:01 drahn Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMRISCVDesc
 NOPROFILE=
@@ -7,6 +7,7 @@ CPPFLAGS+=      -I${.OBJDIR}/../include/llvm/RISCV \
                -I${LLVM_SRCS}/lib/Target/RISCV
 
 SRCS+= RISCVAsmBackend.cpp \
+       RISCVBaseInfo.cpp \
        RISCVELFObjectWriter.cpp \
        RISCVELFStreamer.cpp \
        RISCVInstPrinter.cpp \
@@ -14,6 +15,7 @@ SRCS+=        RISCVAsmBackend.cpp \
        RISCVMCCodeEmitter.cpp \
        RISCVMCExpr.cpp \
        RISCVMCTargetDesc.cpp \
+       RISCVMatInt.cpp \
        RISCVTargetStreamer.cpp
 
 
diff --git a/gnu/usr.bin/clang/libLLVMRISCVUtils/Makefile b/gnu/usr.bin/clang/libLLVMRISCVUtils/Makefile
deleted file mode 100644 (file)
index c9eb4b7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/29 05:32:01 drahn Exp $
-
-LIB=   LLVMRISCVUtils
-NOPROFILE=
-
-CPPFLAGS+=     -I${.OBJDIR}/../include/llvm/RISCV \
-               -I${LLVM_SRCS}/lib/Target/RISCV
-
-SRCS+= RISCVBaseInfo.cpp \
-       RISCVMatInt.cpp
-
-.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Target/RISCV/Utils
index e9e56dd..f56a0fd 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.14 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMScalarOpts
 NOPROFILE=
@@ -8,13 +8,15 @@ CPPFLAGS+=    -I${LLVM_SRCS}/include/llvm/Transforms/Scalar
 
 SRCS+= ADCE.cpp \
        AlignmentFromAssumptions.cpp \
+       AnnotationRemarks.cpp \
        BDCE.cpp \
        CallSiteSplitting.cpp \
        ConstantHoisting.cpp \
-       ConstantProp.cpp \
+       ConstraintElimination.cpp \
        CorrelatedValuePropagation.cpp \
        DCE.cpp \
        DeadStoreElimination.cpp \
+       DFAJumpThreading.cpp \
        DivRemPairs.cpp \
        EarlyCSE.cpp \
        FlattenCFGPass.cpp \
@@ -31,6 +33,7 @@ SRCS+=        ADCE.cpp \
        JumpThreading.cpp \
        LICM.cpp \
        LoopAccessAnalysisPrinter.cpp \
+       LoopBoundSplit.cpp \
        LoopSink.cpp \
        LoopDeletion.cpp \
        LoopDataPrefetch.cpp \
@@ -39,6 +42,7 @@ SRCS+=        ADCE.cpp \
        LoopIdiomRecognize.cpp \
        LoopInstSimplify.cpp \
        LoopInterchange.cpp \
+       LoopFlatten.cpp \
        LoopLoadElimination.cpp \
        LoopPassManager.cpp \
        LoopPredication.cpp \
@@ -71,12 +75,12 @@ SRCS+=      ADCE.cpp \
        SROA.cpp \
        Scalar.cpp \
        Scalarizer.cpp \
+       ScalarizeMaskedMemIntrin.cpp \
        SeparateConstOffsetFromGEP.cpp \
        SimpleLoopUnswitch.cpp \
        SimplifyCFGPass.cpp \
        Sink.cpp \
        SpeculativeExecution.cpp \
-       SpeculateAroundPHIs.cpp \
        StraightLineStrengthReduce.cpp \
        StructurizeCFG.cpp \
        TailRecursionElimination.cpp \
index b6413f4..5671c39 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.13 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMSupport
 NOPIC=
@@ -13,6 +13,7 @@ SRCS= AArch64TargetParser.cpp \
        ABIBreak.cpp \
        ARMTargetParser.cpp \
        AMDGPUMetadata.cpp \
+       APFixedPoint.cpp \
        APFloat.cpp \
        APInt.cpp \
        APSInt.cpp \
@@ -49,7 +50,6 @@ SRCS= AArch64TargetParser.cpp \
        SupportError.cpp \
        ErrorHandling.cpp \
        ExtensibleRTTI.cpp \
-       FileCheck.cpp \
        FileCollector.cpp \
        FileUtilities.cpp \
        FileOutputBuffer.cpp \
@@ -60,6 +60,7 @@ SRCS= AArch64TargetParser.cpp \
        GraphWriter.cpp \
        Hashing.cpp \
        InitLLVM.cpp \
+       InstructionCost.cpp \
        IntEqClasses.cpp \
        IntervalMap.cpp \
        ItaniumManglingCanonicalizer.cpp \
@@ -74,6 +75,7 @@ SRCS= AArch64TargetParser.cpp \
        MathExtras.cpp \
        MemAlloc.cpp \
        MemoryBuffer.cpp \
+       MemoryBufferRef.cpp \
        MD5.cpp \
        NativeFormatting.cpp \
        OptimizedStructLayout.cpp \
@@ -110,6 +112,7 @@ SRCS=       AArch64TargetParser.cpp \
        TrigramIndex.cpp \
        Triple.cpp \
        Twine.cpp \
+       TypeSize.cpp \
        Unicode.cpp \
        UnicodeCaseFold.cpp \
        VersionTuple.cpp \
index 31d6044..36b0a4a 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.shared,v 1.4 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile.shared,v 1.5 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMSupport
 
@@ -12,6 +12,7 @@ SRCS+=        AArch64TargetParser.cpp \
        ABIBreak.cpp \
        ARMTargetParser.cpp \
        AMDGPUMetadata.cpp \
+       APFixedPoint.cpp \
        APFloat.cpp \
        APInt.cpp \
        APSInt.cpp \
@@ -48,7 +49,6 @@ SRCS+=        AArch64TargetParser.cpp \
        SupportError.cpp \
        ErrorHandling.cpp \
        ExtensibleRTTI.cpp \
-       FileCheck.cpp \
        FileCollector.cpp \
        FileUtilities.cpp \
        FileOutputBuffer.cpp \
@@ -59,6 +59,7 @@ SRCS+=        AArch64TargetParser.cpp \
        GraphWriter.cpp \
        Hashing.cpp \
        InitLLVM.cpp \
+       InstructionCost.cpp \
        IntEqClasses.cpp \
        IntervalMap.cpp \
        ItaniumManglingCanonicalizer.cpp \
@@ -73,6 +74,7 @@ SRCS+=        AArch64TargetParser.cpp \
        MathExtras.cpp \
        MemAlloc.cpp \
        MemoryBuffer.cpp \
+       MemoryBufferRef.cpp \
        MD5.cpp \
        NativeFormatting.cpp \
        OptimizedStructLayout.cpp \
@@ -109,6 +111,7 @@ SRCS+=      AArch64TargetParser.cpp \
        TrigramIndex.cpp \
        Triple.cpp \
        Twine.cpp \
+       TypeSize.cpp \
        Unicode.cpp \
        UnicodeCaseFold.cpp \
        VersionTuple.cpp \
index 2d3195c..7dfce6c 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMTableGen
 NOPIC=
@@ -7,13 +7,15 @@ NOPROFILE=
 CPPFLAGS+=     -I${LLVM_SRCS}/include/llvm/TableGen
 
 .include <bsd.own.mk>
-SRCS=  TableGenError.cpp \
+SRCS=  DetailedRecordsBackend.cpp \
+       TableGenError.cpp \
        JSONBackend.cpp \
        Main.cpp \
        Record.cpp \
        SetTheory.cpp \
        StringMatcher.cpp \
        TableGenBackend.cpp \
+       TableGenBackendSkeleton.cpp \
        TGLexer.cpp \
        TGParser.cpp
 
index 16bb0a1..82f0a63 100644 (file)
@@ -1,13 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.3 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMTextAPI
 NOPROFILE=
 
-# TextAPI/ELF
-SRCS+= ELFStub.cpp \
-       TBEHandler.cpp
-
-# TextAPI/MachO
+# TextAPI
 SRCS+= Architecture.cpp \
        ArchitectureSet.cpp \
        InterfaceFile.cpp \
@@ -19,10 +15,8 @@ SRCS+=       Architecture.cpp \
        TextStubCommon.cpp
 
 TextAPITarget.cpp:
-       ln -s ${LLVM_SRCS}/lib/TextAPI/MachO/Target.cpp $@
+       ln -s ${LLVM_SRCS}/lib/TextAPI/Target.cpp $@
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/TextAPI
-.PATH: ${.CURDIR}/../../../llvm/llvm/lib/TextAPI/ELF
-.PATH: ${.CURDIR}/../../../llvm/llvm/lib/TextAPI/MachO
 
 CLEANFILES+= TextAPITarget.cpp
index 076e1ed..5c8ebef 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.14 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMTransformUtils
 NOPROFILE=
@@ -34,36 +34,40 @@ SRCS+=      AddDiscriminators.cpp \
        FunctionImportUtils.cpp \
        GlobalStatus.cpp \
        TransformUtilsGuardUtils.cpp \
+       HelloWorld.cpp \
        InlineFunction.cpp \
-       ImportedFunctionsInliningStatistics.cpp \
        InjectTLIMappings.cpp \
        InstructionNamer.cpp \
        IntegerDivision.cpp \
        LCSSA.cpp \
        LibCallsShrinkWrap.cpp \
        Local.cpp \
+       LoopPeel.cpp \
        LoopRotationUtils.cpp \
        LoopSimplify.cpp \
        LoopUnroll.cpp \
        LoopUnrollAndJam.cpp \
-       LoopUnrollPeel.cpp \
        LoopUnrollRuntime.cpp \
        LoopUtils.cpp \
        LoopVersioning.cpp \
        LowerInvoke.cpp \
        LowerMemIntrinsics.cpp \
        LowerSwitch.cpp \
+       MatrixUtils.cpp \
+       MemoryOpRemark.cpp \
        Mem2Reg.cpp \
        MetaRenamer.cpp \
-       MisExpect.cpp \
        ModuleUtils.cpp \
        NameAnonGlobals.cpp \
        PredicateInfo.cpp \
        PromoteMemoryToRegister.cpp \
+       RelLookupTableConverter.cpp \
        ScalarEvolutionExpander.cpp \
+       SCCPSolver.cpp \
        StripGCRelocates.cpp \
        SSAUpdater.cpp \
        SSAUpdaterBulk.cpp \
+       SampleProfileLoaderBaseUtil.cpp \
        SanitizerStats.cpp \
        SimplifyCFG.cpp \
        SimplifyIndVar.cpp \
@@ -74,7 +78,6 @@ SRCS+=        AddDiscriminators.cpp \
        SymbolRewriter.cpp \
        UnifyFunctionExitNodes.cpp \
        UnifyLoopExits.cpp \
-       UniqueInternalLinkageNames.cpp \
        TransformUtilsUtils.cpp \
        ValueMapper.cpp \
        VNCoercion.cpp
index 01c3a11..707f261 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.17 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMX86CodeGen
 NOPROFILE=
@@ -11,9 +11,15 @@ SRCS+=       X86AsmPrinter.cpp \
        X86CallingConv.cpp \
        X86CallLowering.cpp \
        X86CmovConversion.cpp \
-       X86CondBrFolding.cpp \
        X86DomainReassignment.cpp \
        X86DiscriminateMemOps.cpp \
+       X86LowerTileCopy.cpp \
+       X86LowerAMXType.cpp \
+       X86PreAMXConfig.cpp \
+       X86LowerAMXIntrinsics.cpp \
+       X86TileConfig.cpp \
+       X86FastTileConfig.cpp \
+       X86PreTileConfig.cpp \
        X86ExpandPseudo.cpp \
        X86FastISel.cpp \
        X86FixupBWInsts.cpp \
@@ -31,6 +37,7 @@ SRCS+=        X86AsmPrinter.cpp \
        X86IndirectThunks.cpp \
        X86InterleavedAccess.cpp \
        X86InsertPrefetch.cpp \
+       X86InstCombineIntrinsic.cpp \
        X86InstrFMA3Info.cpp \
        X86InstrFoldTables.cpp \
        X86InstrInfo.cpp \
index 9b43fba..5e9d289 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.14 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   LLVMipo
 NOPROFILE=
@@ -7,6 +7,7 @@ CPPFLAGS+=      -I${LLVM_SRCS}/include/llvm/Transforms
 CPPFLAGS+=     -I${LLVM_SRCS}/include/llvm/Transforms/IPO
 
 SRCS+= AlwaysInliner.cpp \
+       Annotation2Metadata.cpp \
        ArgumentPromotion.cpp \
        Attributor.cpp \
        AttributorAttributes.cpp \
@@ -21,12 +22,13 @@ SRCS+=      AlwaysInliner.cpp \
        ForceFunctionAttrs.cpp \
        FunctionAttrs.cpp \
        FunctionImport.cpp \
+       FunctionSpecialization.cpp \
        GlobalDCE.cpp \
        GlobalOpt.cpp \
        GlobalSplit.cpp \
        HotColdSplitting.cpp \
-       IPConstantPropagation.cpp \
        IPO.cpp \
+       IROutliner.cpp \
        InferFunctionAttrs.cpp \
        InlineSimple.cpp \
        Inliner.cpp \
@@ -38,7 +40,9 @@ SRCS+=        AlwaysInliner.cpp \
        PartialInlining.cpp \
        PassManagerBuilder.cpp \
        PruneEH.cpp \
+       SampleContextTracker.cpp \
        SampleProfile.cpp \
+       SampleProfileProbe.cpp \
        ipoSCCP.cpp \
        StripDeadPrototypes.cpp \
        StripSymbols.cpp \
index 16e2f9c..25669a3 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.8 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   clangAnalysis
 NOPIC=
@@ -9,6 +9,7 @@ CPPFLAGS+=      ${CLANG_INCLUDES}
 .include <bsd.own.mk>
 SRCS=  AnalysisDeclContext.cpp \
        BodyFarm.cpp \
+       CalledOnceCheck.cpp \
        CFG.cpp \
        CFGReachabilityAnalysis.cpp \
        CFGStmtMap.cpp \
@@ -20,6 +21,7 @@ SRCS= AnalysisDeclContext.cpp \
        CodeInjector.cpp \
        Dominators.cpp \
        ExprMutationAnalyzer.cpp \
+       IssueHash.cpp \
        LiveVariables.cpp \
        ObjCNoReturn.cpp \
        PathDiagnostic.cpp \
index 405e293..69111b8 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   clangBasic
 NOPIC=
@@ -14,26 +14,30 @@ SRCS=       Attributes.cpp \
        CharInfo.cpp \
        CodeGenOptions.cpp \
        Cuda.cpp \
+       DarwinSDKInfo.cpp \
        Diagnostic.cpp \
        DiagnosticIDs.cpp \
        DiagnosticOptions.cpp \
        ExpressionTraits.cpp \
+       FileEntry.cpp \
        FileManager.cpp \
        FileSystemStatCache.cpp \
-       FixedPoint.cpp \
        IdentifierTable.cpp \
        LangOptions.cpp \
        LangStandards.cpp \
        Module.cpp \
        ObjCRuntime.cpp \
+       OpenCLOptions.cpp \
        OpenMPKinds.cpp \
        OperatorPrecedence.cpp \
-       SanitizerBlacklist.cpp \
+       ProfileList.cpp \
+       NoSanitizeList.cpp \
        SanitizerSpecialCaseList.cpp \
        Sanitizers.cpp \
        SourceLocation.cpp \
        SourceManager.cpp \
        Stack.cpp \
+       TargetID.cpp \
        TargetInfo.cpp \
        Targets.cpp \
        TokenKinds.cpp \
@@ -53,6 +57,7 @@ SRCS+=        AArch64.cpp \
        Hexagon.cpp \
        Lanai.cpp \
        Le64.cpp \
+       M68k.cpp \
        MSP430.cpp \
        Mips.cpp \
        NVPTX.cpp \
@@ -72,6 +77,11 @@ SRCS+=       AArch64.cpp \
 .PATH: ${.CURDIR}/../../../llvm/clang/lib/Basic
 .PATH: ${.CURDIR}/../../../llvm/clang/lib/Basic/Targets
 
+BUILDFIRST=    VCSVersion.inc
+
+VCSVersion.inc:
+       touch $@
+
 install:
        @# Nothing here so far ...
 
index 157759f..98332f5 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2020/08/03 14:45:28 patrick Exp $
+# $OpenBSD: Makefile,v 1.8 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   clangCodeGen
 NOPIC=
@@ -38,6 +38,8 @@ SRCS= BackendUtil.cpp \
        CGObjCRuntime.cpp \
        CGOpenCLRuntime.cpp \
        CGOpenMPRuntime.cpp \
+       CGOpenMPRuntimeAMDGCN.cpp \
+       CGOpenMPRuntimeGPU.cpp \
        CGOpenMPRuntimeNVPTX.cpp \
        CGRecordLayoutBuilder.cpp \
        CGStmt.cpp \
index 58b82b5..cb1ecca 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   clangDriver
 NOPIC=
@@ -12,7 +12,6 @@ CPPFLAGS+=    -I${CLANG_SRCS}/lib/Driver
 # Driver
 SRCS=  Action.cpp \
        Compilation.cpp \
-       DarwinSDKInfo.cpp \
        Distro.cpp \
        Driver.cpp \
        DriverOptions.cpp \
@@ -30,6 +29,7 @@ SRCS= Action.cpp \
 SRCS+= AIX.cpp \
        Ananas.cpp \
        AMDGPU.cpp \
+       AMDGPUOpenMP.cpp \
        AVR.cpp \
        BareMetal.cpp \
        Clang.cpp \
@@ -66,11 +66,13 @@ SRCS+=      AIX.cpp \
        WebAssembly.cpp \
        XCore.cpp \
        PPCLinux.cpp \
-       InterfaceStubs.cpp
+       InterfaceStubs.cpp \
+       ZOS.cpp
 
 # Driver/Toolchains/Arch
 SRCS+= AArch64.cpp \
        ARM.cpp \
+       M68k.cpp \
        Mips.cpp \
        PPC.cpp \
        RISCV.cpp \
index 9e7bbfa..58bc3cb 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2021/04/28 12:55:40 patrick Exp $
+# $OpenBSD: Makefile,v 1.8 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   clangFrontend
 NOPIC=
@@ -21,7 +21,6 @@ SRCS= ASTConsumers.cpp \
        FrontendAction.cpp \
        FrontendActions.cpp \
        FrontendOptions.cpp \
-       FrontendTiming.cpp \
        HeaderIncludeGen.cpp \
        InitHeaderSearch.cpp \
        InitPreprocessor.cpp \
index 43837c9..d112a8b 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2021/04/28 12:55:41 patrick Exp $
+# $OpenBSD: Makefile,v 1.4 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldCommon
 NOPROFILE=
@@ -19,6 +19,11 @@ SRCS=        Args.cpp \
 
 .PATH: ${.CURDIR}/../../../llvm/lld/Common
 
+BUILDFIRST=    VCSVersion.inc
+
+VCSVersion.inc:
+       touch $@
+
 install:
        @# Nothing here so far ...
 
index f1723ee..e8dfa8b 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldbAPI
 NOPIC=
@@ -62,7 +62,6 @@ SRCS= SBAddress.cpp \
        SBThreadCollection.cpp \
        SBThreadPlan.cpp \
        SBTrace.cpp \
-       SBTraceOptions.cpp \
        SBType.cpp \
        SBTypeCategory.cpp \
        SBTypeEnumMember.cpp \
index aa9832d..5a24b7b 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldbBreakpoint
 NOPIC=
@@ -26,7 +26,7 @@ SRCS= Breakpoint.cpp \
        BreakpointSiteList.cpp \
        Stoppoint.cpp \
        StoppointCallbackContext.cpp \
-       StoppointLocation.cpp \
+       StoppointSite.cpp \
        Watchpoint.cpp \
        WatchpointList.cpp \
        WatchpointOptions.cpp
index 816d0cf..14dd4af 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:41 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldbCommands
 NOPIC=
@@ -16,25 +16,32 @@ SRCS=       CommandCompletions.cpp \
        CommandObjectFrame.cpp \
        CommandObjectGUI.cpp \
        CommandObjectHelp.cpp \
+       CommandObjectLanguage.cpp \
        CommandObjectLog.cpp \
        CommandObjectMemory.cpp \
+       CommandObjectMemoryTag.cpp \
        CommandObjectMultiword.cpp \
        CommandObjectPlatform.cpp \
        CommandObjectPlugin.cpp \
        CommandObjectProcess.cpp \
        CommandObjectQuit.cpp \
+       CommandObjectRegexCommand.cpp \
        CommandObjectRegister.cpp \
        CommandObjectReproducer.cpp \
+       CommandObjectScript.cpp \
+       CommandObjectSession.cpp \
        CommandObjectSettings.cpp \
        CommandObjectSource.cpp \
        CommandObjectStats.cpp \
        CommandObjectTarget.cpp \
        CommandObjectThread.cpp \
+       CommandObjectThreadUtil.cpp \
+       CommandObjectTrace.cpp \
        CommandObjectType.cpp \
        CommandObjectVersion.cpp \
        CommandObjectWatchpoint.cpp \
        CommandObjectWatchpointCommand.cpp \
-       CommandObjectLanguage.cpp
+       CommandOptionsProcessLaunch.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Commands
 
index 63699bc..eeeeb3f 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:41 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldbCore
 NOPIC=
@@ -9,9 +9,9 @@ SRCS=   Address.cpp \
        AddressRange.cpp \
        AddressResolver.cpp \
        AddressResolverFileLine.cpp \
-       AddressResolverName.cpp \
        Communication.cpp \
        Debugger.cpp \
+       Declaration.cpp \
        Disassembler.cpp \
        DumpDataExtractor.cpp \
        DumpRegisterValue.cpp \
@@ -29,9 +29,11 @@ SRCS=        Address.cpp \
        ModuleList.cpp \
        Opcode.cpp \
        PluginManager.cpp \
+       Progress.cpp \
        RichManglingContext.cpp \
        SearchFilter.cpp \
        Section.cpp \
+       SourceLocationSpec.cpp \
        SourceManager.cpp \
        StreamAsynchronousIO.cpp \
        StreamFile.cpp \
@@ -49,6 +51,7 @@ SRCS= Address.cpp \
        ValueObjectMemory.cpp \
        ValueObjectRegister.cpp \
        ValueObjectSyntheticFilter.cpp \
+       ValueObjectUpdater.cpp \
        ValueObjectVariable.cpp
 
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Core
index effa166..05c86cd 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:41 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldbInterpreter
 NOPIC=
@@ -9,8 +9,6 @@ SRCS=   CommandAlias.cpp \
        CommandHistory.cpp \
        CommandInterpreter.cpp \
        CommandObject.cpp \
-       CommandObjectRegexCommand.cpp \
-       CommandObjectScript.cpp \
        CommandOptionValidators.cpp \
        CommandReturnObject.cpp \
        OptionArgParser.cpp \
@@ -33,6 +31,7 @@ SRCS= CommandAlias.cpp \
        OptionValueChar.cpp \
        OptionValueDictionary.cpp \
        OptionValueEnumeration.cpp \
+       OptionValueFileColonLine.cpp \
        OptionValueFileSpec.cpp \
        OptionValueFileSpecList.cpp \
        OptionValueFormat.cpp \
index a21b7e2..d49fe78 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldbPluginObjectFile
 NOPIC=
@@ -11,6 +11,7 @@ SRCS= BreakpadRecords.cpp \
        ObjectFileELF.cpp \
        ObjectFileJIT.cpp \
        ObjectFileMachO.cpp \
+       ObjectFilePDB.cpp \
        ObjectFilePECOFF.cpp \
        PECallFrameInfo.cpp \
        WindowsMiniDump.cpp \
@@ -19,6 +20,7 @@ SRCS= BreakpadRecords.cpp \
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/Breakpad
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/ELF
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/Mach-O
+.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/PDB
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/PECOFF
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/JIT
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/ObjectFile/wasm
index fa1bab6..478b1f6 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:46 patrick Exp $
 
 LIB=   lldbPluginPlatform
 NOPIC=
@@ -13,11 +13,12 @@ SRCS=       AdbClient.cpp \
        PlatformDarwin.cpp \
        PlatformDarwinKernel.cpp \
        PlatformMacOSX.cpp \
-       PlatformRemoteiOS.cpp \
+       PlatformRemoteAppleBridge.cpp \
        PlatformRemoteAppleTV.cpp \
        PlatformRemoteAppleWatch.cpp \
        PlatformRemoteDarwinDevice.cpp \
-       PlatformRemoteAppleBridge.cpp \
+       PlatformRemoteMacOSX.cpp \
+       PlatformRemoteiOS.cpp \
        PlatformNetBSD.cpp \
        PlatformOpenBSD.cpp \
        PlatformPOSIX.cpp \
index 3cdbf48..2800618 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/17 14:55:47 patrick Exp $
 
 LIB=   lldbPluginProcess
 NOPIC=
@@ -9,6 +9,8 @@ NOPROFILE=
 SRCS=  NativeProcessOpenBSD.cpp \
        NativeRegisterContextOpenBSD.cpp \
        NativeRegisterContextOpenBSD_arch.cpp \
+       NativeRegisterContextOpenBSD_arm64.cpp \
+       NativeRegisterContextOpenBSD_x86_64.cpp \
        NativeThreadOpenBSD.cpp
 
 # Process/POSIX
@@ -42,10 +44,15 @@ SRCS+=      AuxVector.cpp \
        InferiorCallPOSIX.cpp \
        LinuxProcMaps.cpp \
        LinuxSignals.cpp \
+       MemoryTagManagerAArch64MTE.cpp \
        MipsLinuxSignals.cpp \
+       NativeProcessSoftwareSingleStep.cpp \
+       NativeRegisterContextDBReg_arm64.cpp \
+       NativeRegisterContextDBReg_x86.cpp \
        NativeRegisterContextRegisterInfo.cpp \
        NetBSDSignals.cpp \
        OpenBSDSignals.cpp \
+       RegisterContext_x86.cpp \
        RegisterContextDarwin_arm.cpp \
        RegisterContextDarwin_arm64.cpp \
        RegisterContextDarwin_i386.cpp \
@@ -58,8 +65,6 @@ SRCS+=        AuxVector.cpp \
        RegisterContextHistory.cpp \
        RegisterContextLinux_i386.cpp \
        RegisterContextLinux_x86_64.cpp \
-       RegisterContextLinux_mips64.cpp \
-       RegisterContextLinux_mips.cpp \
        RegisterContextLinux_s390x.cpp \
        RegisterContextMach_arm.cpp \
        RegisterContextMach_i386.cpp \
@@ -111,6 +116,9 @@ SRCS+=      MinidumpTypes.cpp \
        ProcessMinidump.cpp \
        ThreadMinidump.cpp
 
+# Process/scripted
+SRCS+= ScriptedProcess.cpp
+
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/OpenBSD
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/POSIX
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/gdb-remote
@@ -118,6 +126,7 @@ SRCS+=      MinidumpTypes.cpp \
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/elf-core
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/mach-core
 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/minidump
+.PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/Process/scripted
 
 install:
        @# Nothing here so far ...
index 3620519..46354e2 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:47 patrick Exp $
 
 LIB=   lldbSymbol
 NOPIC=
@@ -14,7 +14,6 @@ SRCS= ArmUnwindInfo.cpp \
        CompilerType.cpp \
        DWARFCallFrameInfo.cpp \
        DebugMacros.cpp \
-       Declaration.cpp \
        DeclVendor.cpp \
        FuncUnwinders.cpp \
        Function.cpp \
index d1f516a..099a313 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:47 patrick Exp $
 
 LIB=   lldbTarget
 NOPIC=
@@ -22,6 +22,7 @@ SRCS= ABI.cpp \
        PathMappingList.cpp \
        Platform.cpp \
        Process.cpp \
+       ProcessTrace.cpp \
        Queue.cpp \
        QueueItem.cpp \
        QueueList.cpp \
@@ -63,6 +64,10 @@ SRCS=        ABI.cpp \
        ThreadPlanTracer.cpp \
        ThreadPlanStack.cpp \
        ThreadSpec.cpp \
+       Trace.cpp \
+       TraceCursor.cpp \
+       TraceExporter.cpp \
+       TraceInstructionDumper.cpp \
        UnixSignals.cpp \
        UnwindAssembly.cpp \
        UnwindLLDB.cpp
index 579e629..70e55d7 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:47 patrick Exp $
 
 LIB=   lldbUtility
 NOPIC=
@@ -32,6 +32,7 @@ SRCS= ArchSpec.cpp \
        RegularExpression.cpp \
        Reproducer.cpp \
        ReproducerInstrumentation.cpp \
+       ReproducerProvider.cpp \
        Scalar.cpp \
        SelectHelper.cpp \
        State.cpp \
@@ -46,6 +47,9 @@ SRCS= ArchSpec.cpp \
        StructuredData.cpp \
        TildeExpressionResolver.cpp \
        Timer.cpp \
+       TraceGDBRemotePackets.cpp \
+       TraceIntelPTGDBRemotePackets.cpp \
+       UnimplementedError.cpp \
        UUID.cpp \
        UriParser.cpp \
        UserID.cpp \
index af2613e..f55f44e 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:47 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -75,6 +75,15 @@ LLVM_LIBDEPS=        clangAST \
     lldbTarget \
     lldbUtility
 
+BUILDFIRST=    VCSVersion.inc LLGSOptions.inc
+
+VCSVersion.inc:
+       touch $@
+
+LLGSOptions.inc: ${.CURDIR}/../../../llvm/lldb/tools/lldb-server/LLGSOptions.td
+       ${.OBJDIR}/../llvm-tblgen/llvm-tblgen -gen-opt-parser-defs \
+               -I ${LLVM_SRCS}/include \
+               -o ${.TARGET} ${.ALLSRC}
 
 LDADD+= -L ${.OBJDIR}/../libLLVM -lLLVM
 
index 20ff77a..3ab9247 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.11 2021/12/17 14:55:47 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -81,6 +81,11 @@ Options.inc: Options.td
                -I ${LLVM_SRCS}/include \
                -o ${.TARGET} ${.ALLSRC}
 
+BUILDFIRST=    VCSVersion.inc
+
+VCSVersion.inc:
+       touch $@
+
 LDADD+= -L ${.OBJDIR}/../libLLVM -lLLVM
 
 .include <bsd.prog.mk>
index f4c99a9..ddd2e6c 100644 (file)
@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "LLDB" "1" "May 01, 2021" "11" "LLDB"
+.TH "LLDB" "1" "Aug 29, 2021" "" "LLDB"
 .SH NAME
 lldb \- LLDB Documentation
 .
@@ -383,11 +383,17 @@ For instance, "apropos breakpoint" will list any command that has the word
 \fBlldb\fP reads things like settings, aliases and commands from the
 \&.lldbinit file.
 .sp
-First, it will read the application specific init file whose name is
-~/.lldbinit followed by a "\-" and the name of the current program. This would
-be ~/.lldbinit\-lldb for the command line \fBlldb\fP and ~/.lldbinit\-Xcode
-for Xcode. If there is no application specific init file, the global
-~/.lldbinit is read.
+First, \fBlldb\fP will try to read the application specific init file
+whose name is ~/.lldbinit followed by a "\-" and the name of the current
+program. This would be ~/.lldbinit\-lldb for the command line \fBlldb\fP
+and ~/.lldbinit\-Xcode for Xcode. If there is no application specific init
+file, \fBlldb\fP will look for an init file in the home directory.
+If launched with a \fI\%REPL\fP option, it will first look for a REPL configuration
+file, specific to the REPL language. The init file should be named as follow:
+\fB\&.lldbinit\-<language>\-repl\fP (i.e. \fB\&.lldbinit\-swift\-repl\fP). If this file doesn\(aqt
+exist, or \fBlldb\fP wasn\(aqt launch with \fI\%REPL\fP, meaning there is neither
+a REPL init file nor an application specific init file, \fBlldb\fP will fallback to
+the global ~/.lldbinit.
 .sp
 Secondly, it will look for an .lldbinit file in the current working directory.
 For security reasons, \fBlldb\fP will print a warning and not source this
index c80ef69..4c29e14 100644 (file)
-//===- llvm-build generated file --------------------------------*- C++ -*-===//
-//
-// Component Library Dependency Table
-//
-// Automatically generated file, do not edit!
-//
-//===----------------------------------------------------------------------===//
 
-struct AvailableComponent {
-  /// The name of the component.
-  const char *Name;
+  struct AvailableComponent {
+    /// The name of the component.
+    const char *Name;
 
-  /// The name of the library for this component (or NULL).
-  const char *Library;
+    /// The name of the library for this component (or NULL).
+    const char *Library;
 
-  /// Whether the component is installed.
-  bool IsInstalled;
+    /// Whether the component is installed.
+    bool IsInstalled;
 
-  /// The list of libraries required when linking this component.
-  const char *RequiredLibraries[23];
-} AvailableComponents[85] = {
-  { "aarch64", nullptr, true, { "aarch64info", "aarch64utils", "aarch64desc", "aarch64asmparser", "aarch64codegen", "aarch64disassembler" } },
-  { "aarch64asmparser", "LLVMAArch64AsmParser", true, { "aarch64desc", "aarch64info", "aarch64utils", "mc", "mcparser", "support" } },
-  { "aarch64codegen", "LLVMAArch64CodeGen", true, { "aarch64desc", "aarch64info", "aarch64utils", "analysis", "asmprinter", "codegen", "core", "mc", "scalaropts", "selectiondag", "support", "target", "transformutils", "globalisel", "cfguard" } },
-  { "aarch64desc", "LLVMAArch64Desc", true, { "aarch64info", "aarch64utils", "mc", "binaryformat", "support" } },
-  { "aarch64disassembler", "LLVMAArch64Disassembler", true, { "aarch64desc", "aarch64info", "aarch64utils", "mc", "mcdisassembler", "support" } },
-  { "aarch64info", "LLVMAArch64Info", true, { "support" } },
-  { "aarch64utils", "LLVMAArch64Utils", true, { "support" } },
-  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "all", nullptr, true, { "all-targets", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } },
-  { "all-targets", nullptr, true, { "aarch64", "amdgpu" } },
-  { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } },
-  { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } },
-  { "amdgpucodegen", "LLVMAMDGPUCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser" } },
-  { "amdgpudesc", "LLVMAMDGPUDesc", true, { "core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat" } },
-  { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, { "amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support" } },
-  { "amdgpuinfo", "LLVMAMDGPUInfo", true, { "support" } },
-  { "amdgpuutils", "LLVMAMDGPUUtils", true, { "core", "mc", "binaryformat", "support" } },
-  { "analysis", "LLVMAnalysis", true, { "binaryformat", "core", "object", "profiledata", "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" } },
-  { "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" } },
-  { "coroutines", "LLVMCoroutines", true, { "analysis", "core", "ipo", "scalaropts", "support", "transformutils" } },
-  { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } },
-  { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } },
-  { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } },
-  { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "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, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } },
-  { "engine", nullptr, true, { "interpreter" } },
-  { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } },
-  { "extensions", "LLVMExtensions", true, { "support" } },
-  { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } },
-  { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } },
-  { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } },
-  { "gtest", "gtest", false, { "support" } },
-  { "gtest_main", "gtest_main", false, { "gtest" } },
-  { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } },
-  { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } },
-  { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } },
-  { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } },
-  { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } },
-  { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } },
-  { "lineeditor", "LLVMLineEditor", true, { "support" } },
-  { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } },
-  { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } },
-  { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } },
-  { "mca", "LLVMMCA", true, { "mc", "support" } },
-  { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } },
-  { "mcjit", "LLVMMCJIT", true, { "core", "executionengine", "object", "runtimedyld", "support", "target" } },
-  { "mcparser", "LLVMMCParser", 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, { "object", "support", "debuginfocodeview", "mc" } },
-  { "option", "LLVMOption", true, { "support" } },
-  { "orcerror", "LLVMOrcError", true, { "support" } },
-  { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } },
-  { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } },
-  { "profiledata", "LLVMProfileData", true, { "core", "support" } },
-  { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } },
-  { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } },
-  { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } },
-  { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } },
-  { "support", "LLVMSupport", true, { "demangle" } },
-  { "symbolize", "LLVMSymbolize", true, { "debuginfodwarf", "debuginfopdb", "object", "support", "demangle" } },
-  { "tablegen", "LLVMTableGen", true, { "support" } },
-  { "target", "LLVMTarget", true, { "analysis", "core", "mc", "support" } },
-  { "testingsupport", "LLVMTestingSupport", false, { "support" } },
-  { "textapi", "LLVMTextAPI", true, { "support", "binaryformat" } },
-  { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } },
-  { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } },
-  { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } },
-  { "xray", "LLVMXRay", true, { "support", "object" } },
-};
+    /// The list of libraries required when linking this component.
+    const char *RequiredLibraries[87];
+  } AvailableComponents[87] = {
+  { "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"} },
+{ "aarch64disassembler", "LLVMAArch64Disassembler", true, {"aarch64desc", "aarch64info", "aarch64utils", "mc", "mcdisassembler", "support"} },
+{ "aarch64info", "LLVMAArch64Info", true, {"support"} },
+{ "aarch64utils", "LLVMAArch64Utils", true, {"support"} },
+{ "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "all", nullptr, true, {"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-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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
+{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
+{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
+{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
+{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "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"} },
+{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
+{ "engine", nullptr, true, {"interpreter"} },
+{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} },
+{ "extensions", "LLVMExtensions", true, {"support"} },
+{ "filecheck", "LLVMFileCheck", true, {} },
+{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
+{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} },
+{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} },
+{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
+{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} },
+{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "mca", "LLVMMCA", true, {"mc", "support"} },
+{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} },
+{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
+{ "mcparser", "LLVMMCParser", 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"} },
+{ "option", "LLVMOption", true, {"support"} },
+{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "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"} },
+{ "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} },
+{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} },
+{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
+{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} },
+{ "support", "LLVMSupport", true, {"demangle"} },
+{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} },
+{ "tablegen", "LLVMTableGen", true, {"support"} },
+{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} },
+{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} },
+{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} },
+{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
+{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
+{ "xray", "LLVMXRay", true, {"support", "object"} },
+};
\ No newline at end of file
index 0bcca93..51c1da4 100644 (file)
-//===- llvm-build generated file --------------------------------*- C++ -*-===//
-//
-// Component Library Dependency Table
-//
-// Automatically generated file, do not edit!
-//
-//===----------------------------------------------------------------------===//
 
-struct AvailableComponent {
-  /// The name of the component.
-  const char *Name;
+  struct AvailableComponent {
+    /// The name of the component.
+    const char *Name;
 
-  /// The name of the library for this component (or NULL).
-  const char *Library;
+    /// The name of the library for this component (or NULL).
+    const char *Library;
 
-  /// Whether the component is installed.
-  bool IsInstalled;
+    /// Whether the component is installed.
+    bool IsInstalled;
 
-  /// The list of libraries required when linking this component.
-  const char *RequiredLibraries[23];
-} AvailableComponents[85] = {
-  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "all", nullptr, true, { "all-targets", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } },
-  { "all-targets", nullptr, true, { "arm", "amdgpu" } },
-  { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } },
-  { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } },
-  { "amdgpucodegen", "LLVMAMDGPUCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser" } },
-  { "amdgpudesc", "LLVMAMDGPUDesc", true, { "core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat" } },
-  { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, { "amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support" } },
-  { "amdgpuinfo", "LLVMAMDGPUInfo", true, { "support" } },
-  { "amdgpuutils", "LLVMAMDGPUUtils", true, { "core", "mc", "binaryformat", "support" } },
-  { "analysis", "LLVMAnalysis", true, { "binaryformat", "core", "object", "profiledata", "support" } },
-  { "arm", nullptr, true, { "arminfo", "armutils", "armdesc", "armasmparser", "armcodegen", "armdisassembler" } },
-  { "armasmparser", "LLVMARMAsmParser", true, { "armdesc", "arminfo", "mc", "mcparser", "support", "armutils" } },
-  { "armcodegen", "LLVMARMCodeGen", true, { "armdesc", "arminfo", "analysis", "asmprinter", "codegen", "core", "mc", "scalaropts", "selectiondag", "support", "target", "globalisel", "armutils", "transformutils", "cfguard" } },
-  { "armdesc", "LLVMARMDesc", true, { "arminfo", "armutils", "mc", "mcdisassembler", "support", "binaryformat" } },
-  { "armdisassembler", "LLVMARMDisassembler", true, { "armdesc", "arminfo", "mcdisassembler", "support", "armutils" } },
-  { "arminfo", "LLVMARMInfo", true, { "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" } },
-  { "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" } },
-  { "coroutines", "LLVMCoroutines", true, { "analysis", "core", "ipo", "scalaropts", "support", "transformutils" } },
-  { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } },
-  { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } },
-  { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } },
-  { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "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, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } },
-  { "engine", nullptr, true, { "interpreter" } },
-  { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } },
-  { "extensions", "LLVMExtensions", true, { "support" } },
-  { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } },
-  { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } },
-  { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } },
-  { "gtest", "gtest", false, { "support" } },
-  { "gtest_main", "gtest_main", false, { "gtest" } },
-  { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } },
-  { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } },
-  { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } },
-  { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } },
-  { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } },
-  { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } },
-  { "lineeditor", "LLVMLineEditor", true, { "support" } },
-  { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } },
-  { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } },
-  { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } },
-  { "mca", "LLVMMCA", true, { "mc", "support" } },
-  { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } },
-  { "mcjit", "LLVMMCJIT", true, { "core", "executionengine", "object", "runtimedyld", "support", "target" } },
-  { "mcparser", "LLVMMCParser", 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, { "object", "support", "debuginfocodeview", "mc" } },
-  { "option", "LLVMOption", true, { "support" } },
-  { "orcerror", "LLVMOrcError", true, { "support" } },
-  { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } },
-  { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } },
-  { "profiledata", "LLVMProfileData", true, { "core", "support" } },
-  { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } },
-  { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } },
-  { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } },
-  { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } },
-  { "support", "LLVMSupport", true, { "demangle" } },
-  { "symbolize", "LLVMSymbolize", true, { "debuginfodwarf", "debuginfopdb", "object", "support", "demangle" } },
-  { "tablegen", "LLVMTableGen", true, { "support" } },
-  { "target", "LLVMTarget", true, { "analysis", "core", "mc", "support" } },
-  { "testingsupport", "LLVMTestingSupport", false, { "support" } },
-  { "textapi", "LLVMTextAPI", true, { "support", "binaryformat" } },
-  { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } },
-  { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } },
-  { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } },
-  { "xray", "LLVMXRay", true, { "support", "object" } },
-};
+    /// The list of libraries required when linking this component.
+    const char *RequiredLibraries[87];
+  } AvailableComponents[87] = {
+  { "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-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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
+{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
+{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
+{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
+{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "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"} },
+{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
+{ "engine", nullptr, true, {"interpreter"} },
+{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} },
+{ "extensions", "LLVMExtensions", true, {"support"} },
+{ "filecheck", "LLVMFileCheck", true, {} },
+{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
+{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} },
+{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} },
+{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
+{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} },
+{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "mca", "LLVMMCA", true, {"mc", "support"} },
+{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} },
+{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
+{ "mcparser", "LLVMMCParser", 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"} },
+{ "option", "LLVMOption", true, {"support"} },
+{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "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"} },
+{ "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} },
+{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} },
+{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
+{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} },
+{ "support", "LLVMSupport", true, {"demangle"} },
+{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} },
+{ "tablegen", "LLVMTableGen", true, {"support"} },
+{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} },
+{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} },
+{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} },
+{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
+{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
+{ "xray", "LLVMXRay", true, {"support", "object"} },
+};
\ No newline at end of file
index 62ac309..3aebfc9 100644 (file)
-//===- llvm-build generated file --------------------------------*- C++ -*-===//
-//
-// Component Library Dependency Table
-//
-// Automatically generated file, do not edit!
-//
-//===----------------------------------------------------------------------===//
 
-struct AvailableComponent {
-  /// The name of the component.
-  const char *Name;
+  struct AvailableComponent {
+    /// The name of the component.
+    const char *Name;
 
-  /// The name of the library for this component (or NULL).
-  const char *Library;
+    /// The name of the library for this component (or NULL).
+    const char *Library;
 
-  /// Whether the component is installed.
-  bool IsInstalled;
+    /// Whether the component is installed.
+    bool IsInstalled;
 
-  /// The list of libraries required when linking this component.
-  const char *RequiredLibraries[24];
-} AvailableComponents[84] = {
-  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "all", nullptr, true, { "all-targets", "cfguard", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } },
-  { "all-targets", nullptr, true, { "mips", "amdgpu" } },
-  { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } },
-  { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } },
-  { "amdgpucodegen", "LLVMAMDGPUCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser" } },
-  { "amdgpudesc", "LLVMAMDGPUDesc", true, { "core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat" } },
-  { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, { "amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support" } },
-  { "amdgpuinfo", "LLVMAMDGPUInfo", true, { "support" } },
-  { "amdgpuutils", "LLVMAMDGPUUtils", true, { "core", "mc", "binaryformat", "support" } },
-  { "analysis", "LLVMAnalysis", true, { "binaryformat", "core", "object", "profiledata", "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" } },
-  { "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" } },
-  { "coroutines", "LLVMCoroutines", true, { "analysis", "core", "ipo", "scalaropts", "support", "transformutils" } },
-  { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } },
-  { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } },
-  { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } },
-  { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "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, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } },
-  { "engine", nullptr, true, { "interpreter" } },
-  { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } },
-  { "extensions", "LLVMExtensions", true, { "support" } },
-  { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } },
-  { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } },
-  { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } },
-  { "gtest", "gtest", false, { "support" } },
-  { "gtest_main", "gtest_main", false, { "gtest" } },
-  { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } },
-  { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } },
-  { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } },
-  { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } },
-  { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } },
-  { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } },
-  { "lineeditor", "LLVMLineEditor", true, { "support" } },
-  { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } },
-  { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } },
-  { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } },
-  { "mca", "LLVMMCA", true, { "mc", "support" } },
-  { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } },
-  { "mcjit", "LLVMMCJIT", true, { "core", "executionengine", "object", "runtimedyld", "support", "target" } },
-  { "mcparser", "LLVMMCParser", true, { "mc", "support" } },
-  { "mips", nullptr, true, { "mipsinfo", "mipsdesc", "mipsasmparser", "mipscodegen", "mipsdisassembler" } },
-  { "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" } },
-  { "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, { "object", "support", "debuginfocodeview", "mc" } },
-  { "option", "LLVMOption", true, { "support" } },
-  { "orcerror", "LLVMOrcError", true, { "support" } },
-  { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } },
-  { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } },
-  { "profiledata", "LLVMProfileData", true, { "core", "support" } },
-  { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } },
-  { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } },
-  { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } },
-  { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } },
-  { "support", "LLVMSupport", true, { "demangle" } },
-  { "symbolize", "LLVMSymbolize", true, { "debuginfodwarf", "debuginfopdb", "object", "support", "demangle" } },
-  { "tablegen", "LLVMTableGen", true, { "support" } },
-  { "target", "LLVMTarget", true, { "analysis", "core", "mc", "support" } },
-  { "testingsupport", "LLVMTestingSupport", false, { "support" } },
-  { "textapi", "LLVMTextAPI", true, { "support", "binaryformat" } },
-  { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } },
-  { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } },
-  { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } },
-  { "xray", "LLVMXRay", true, { "support", "object" } },
-};
+    /// The list of libraries required when linking this component.
+    const char *RequiredLibraries[86];
+  } AvailableComponents[86] = {
+  { "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-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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
+{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
+{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
+{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
+{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "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"} },
+{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
+{ "engine", nullptr, true, {"interpreter"} },
+{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} },
+{ "extensions", "LLVMExtensions", true, {"support"} },
+{ "filecheck", "LLVMFileCheck", true, {} },
+{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
+{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} },
+{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} },
+{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
+{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} },
+{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "mca", "LLVMMCA", true, {"mc", "support"} },
+{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} },
+{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
+{ "mcparser", "LLVMMCParser", true, {"mc", "support"} },
+{ "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"} },
+{ "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"} },
+{ "option", "LLVMOption", true, {"support"} },
+{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "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"} },
+{ "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} },
+{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} },
+{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
+{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} },
+{ "support", "LLVMSupport", true, {"demangle"} },
+{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} },
+{ "tablegen", "LLVMTableGen", true, {"support"} },
+{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} },
+{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} },
+{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} },
+{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
+{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
+{ "xray", "LLVMXRay", true, {"support", "object"} },
+};
\ No newline at end of file
index a7fa25c..e0fa1f2 100644 (file)
-//===- llvm-build generated file --------------------------------*- C++ -*-===//
-//
-// Component Library Dependency Table
-//
-// Automatically generated file, do not edit!
-//
-//===----------------------------------------------------------------------===//
 
-struct AvailableComponent {
-  /// The name of the component.
-  const char *Name;
+  struct AvailableComponent {
+    /// The name of the component.
+    const char *Name;
 
-  /// The name of the library for this component (or NULL).
-  const char *Library;
+    /// The name of the library for this component (or NULL).
+    const char *Library;
 
-  /// Whether the component is installed.
-  bool IsInstalled;
+    /// Whether the component is installed.
+    bool IsInstalled;
 
-  /// The list of libraries required when linking this component.
-  const char *RequiredLibraries[24];
-} AvailableComponents[84] = {
-  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "all", nullptr, true, { "all-targets", "cfguard", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } },
-  { "all-targets", nullptr, true, { "powerpc", "amdgpu" } },
-  { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } },
-  { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } },
-  { "amdgpucodegen", "LLVMAMDGPUCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser" } },
-  { "amdgpudesc", "LLVMAMDGPUDesc", true, { "core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat" } },
-  { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, { "amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support" } },
-  { "amdgpuinfo", "LLVMAMDGPUInfo", true, { "support" } },
-  { "amdgpuutils", "LLVMAMDGPUUtils", true, { "core", "mc", "binaryformat", "support" } },
-  { "analysis", "LLVMAnalysis", true, { "binaryformat", "core", "object", "profiledata", "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" } },
-  { "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" } },
-  { "coroutines", "LLVMCoroutines", true, { "analysis", "core", "ipo", "scalaropts", "support", "transformutils" } },
-  { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } },
-  { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } },
-  { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } },
-  { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "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, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } },
-  { "engine", nullptr, true, { "interpreter" } },
-  { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } },
-  { "extensions", "LLVMExtensions", true, { "support" } },
-  { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } },
-  { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } },
-  { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } },
-  { "gtest", "gtest", false, { "support" } },
-  { "gtest_main", "gtest_main", false, { "gtest" } },
-  { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } },
-  { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } },
-  { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } },
-  { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } },
-  { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } },
-  { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } },
-  { "lineeditor", "LLVMLineEditor", true, { "support" } },
-  { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } },
-  { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } },
-  { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } },
-  { "mca", "LLVMMCA", true, { "mc", "support" } },
-  { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } },
-  { "mcjit", "LLVMMCJIT", true, { "core", "executionengine", "object", "runtimedyld", "support", "target" } },
-  { "mcparser", "LLVMMCParser", 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, { "object", "support", "debuginfocodeview", "mc" } },
-  { "option", "LLVMOption", true, { "support" } },
-  { "orcerror", "LLVMOrcError", true, { "support" } },
-  { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } },
-  { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } },
-  { "powerpc", nullptr, true, { "powerpcinfo", "powerpcdesc", "powerpcasmparser", "powerpccodegen", "powerpcdisassembler" } },
-  { "powerpcasmparser", "LLVMPowerPCAsmParser", true, { "mc", "mcparser", "powerpcdesc", "powerpcinfo", "support" } },
-  { "powerpccodegen", "LLVMPowerPCCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "mc", "powerpcdesc", "powerpcinfo", "scalaropts", "selectiondag", "support", "target", "transformutils" } },
-  { "powerpcdesc", "LLVMPowerPCDesc", true, { "mc", "powerpcinfo", "support", "binaryformat" } },
-  { "powerpcdisassembler", "LLVMPowerPCDisassembler", true, { "mcdisassembler", "powerpcinfo", "support" } },
-  { "powerpcinfo", "LLVMPowerPCInfo", true, { "support" } },
-  { "profiledata", "LLVMProfileData", true, { "core", "support" } },
-  { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } },
-  { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } },
-  { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } },
-  { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } },
-  { "support", "LLVMSupport", true, { "demangle" } },
-  { "symbolize", "LLVMSymbolize", true, { "debuginfodwarf", "debuginfopdb", "object", "support", "demangle" } },
-  { "tablegen", "LLVMTableGen", true, { "support" } },
-  { "target", "LLVMTarget", true, { "analysis", "core", "mc", "support" } },
-  { "testingsupport", "LLVMTestingSupport", false, { "support" } },
-  { "textapi", "LLVMTextAPI", true, { "support", "binaryformat" } },
-  { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } },
-  { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } },
-  { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } },
-  { "xray", "LLVMXRay", true, { "support", "object" } },
-};
+    /// The list of libraries required when linking this component.
+    const char *RequiredLibraries[86];
+  } AvailableComponents[86] = {
+  { "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-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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
+{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
+{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
+{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
+{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "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"} },
+{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
+{ "engine", nullptr, true, {"interpreter"} },
+{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} },
+{ "extensions", "LLVMExtensions", true, {"support"} },
+{ "filecheck", "LLVMFileCheck", true, {} },
+{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
+{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} },
+{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} },
+{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
+{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} },
+{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "mca", "LLVMMCA", true, {"mc", "support"} },
+{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} },
+{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
+{ "mcparser", "LLVMMCParser", 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"} },
+{ "option", "LLVMOption", true, {"support"} },
+{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "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"} },
+{ "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"} },
+{ "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} },
+{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} },
+{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
+{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} },
+{ "support", "LLVMSupport", true, {"demangle"} },
+{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} },
+{ "tablegen", "LLVMTableGen", true, {"support"} },
+{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} },
+{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} },
+{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} },
+{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
+{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
+{ "xray", "LLVMXRay", true, {"support", "object"} },
+};
\ No newline at end of file
index 4892aa9..e1e2c69 100644 (file)
-//===- llvm-build generated file --------------------------------*- C++ -*-===//
-//
-// Component Library Dependency Table
-//
-// Automatically generated file, do not edit!
-//
-//===----------------------------------------------------------------------===//
 
-struct AvailableComponent {
-  /// The name of the component.
-  const char *Name;
+  struct AvailableComponent {
+    /// The name of the component.
+    const char *Name;
 
-  /// The name of the library for this component (or NULL).
-  const char *Library;
+    /// The name of the library for this component (or NULL).
+    const char *Library;
 
-  /// Whether the component is installed.
-  bool IsInstalled;
+    /// Whether the component is installed.
+    bool IsInstalled;
 
-  /// The list of libraries required when linking this component.
-  const char *RequiredLibraries[24];
-} AvailableComponents[85] = {
-  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "all", nullptr, true, { "all-targets", "cfguard", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } },
-  { "all-targets", nullptr, true, { "riscv", "amdgpu" } },
-  { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } },
-  { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } },
-  { "amdgpucodegen", "LLVMAMDGPUCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser" } },
-  { "amdgpudesc", "LLVMAMDGPUDesc", true, { "core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat" } },
-  { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, { "amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support" } },
-  { "amdgpuinfo", "LLVMAMDGPUInfo", true, { "support" } },
-  { "amdgpuutils", "LLVMAMDGPUUtils", true, { "core", "mc", "binaryformat", "support" } },
-  { "analysis", "LLVMAnalysis", true, { "binaryformat", "core", "object", "profiledata", "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" } },
-  { "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" } },
-  { "coroutines", "LLVMCoroutines", true, { "analysis", "core", "ipo", "scalaropts", "support", "transformutils" } },
-  { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } },
-  { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } },
-  { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } },
-  { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "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, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } },
-  { "engine", nullptr, true, { "interpreter" } },
-  { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } },
-  { "extensions", "LLVMExtensions", true, { "support" } },
-  { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } },
-  { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } },
-  { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } },
-  { "gtest", "gtest", false, { "support" } },
-  { "gtest_main", "gtest_main", false, { "gtest" } },
-  { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } },
-  { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } },
-  { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } },
-  { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } },
-  { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } },
-  { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } },
-  { "lineeditor", "LLVMLineEditor", true, { "support" } },
-  { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } },
-  { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } },
-  { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } },
-  { "mca", "LLVMMCA", true, { "mc", "support" } },
-  { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } },
-  { "mcjit", "LLVMMCJIT", true, { "core", "executionengine", "object", "runtimedyld", "support", "target" } },
-  { "mcparser", "LLVMMCParser", 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, { "object", "support", "debuginfocodeview", "mc" } },
-  { "option", "LLVMOption", true, { "support" } },
-  { "orcerror", "LLVMOrcError", true, { "support" } },
-  { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } },
-  { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } },
-  { "profiledata", "LLVMProfileData", true, { "core", "support" } },
-  { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } },
-  { "riscv", nullptr, true, { "riscvinfo", "riscvutils", "riscvdesc", "riscvasmparser", "riscvcodegen", "riscvdisassembler" } },
-  { "riscvasmparser", "LLVMRISCVAsmParser", true, { "mc", "mcparser", "riscvdesc", "riscvinfo", "riscvutils", "support" } },
-  { "riscvcodegen", "LLVMRISCVCodeGen", true, { "analysis", "asmprinter", "core", "codegen", "mc", "riscvdesc", "riscvinfo", "riscvutils", "selectiondag", "support", "target", "globalisel" } },
-  { "riscvdesc", "LLVMRISCVDesc", true, { "mc", "riscvinfo", "riscvutils", "support" } },
-  { "riscvdisassembler", "LLVMRISCVDisassembler", true, { "mcdisassembler", "riscvinfo", "support" } },
-  { "riscvinfo", "LLVMRISCVInfo", true, { "support" } },
-  { "riscvutils", "LLVMRISCVUtils", true, { "support" } },
-  { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } },
-  { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } },
-  { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } },
-  { "support", "LLVMSupport", true, { "demangle" } },
-  { "symbolize", "LLVMSymbolize", true, { "debuginfodwarf", "debuginfopdb", "object", "support", "demangle" } },
-  { "tablegen", "LLVMTableGen", true, { "support" } },
-  { "target", "LLVMTarget", true, { "analysis", "core", "mc", "support" } },
-  { "testingsupport", "LLVMTestingSupport", false, { "support" } },
-  { "textapi", "LLVMTextAPI", true, { "support", "binaryformat" } },
-  { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } },
-  { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } },
-  { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } },
-  { "xray", "LLVMXRay", true, { "support", "object" } },
-};
+    /// The list of libraries required when linking this component.
+    const char *RequiredLibraries[86];
+  } AvailableComponents[86] = {
+  { "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-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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
+{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
+{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
+{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
+{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "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"} },
+{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
+{ "engine", nullptr, true, {"interpreter"} },
+{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} },
+{ "extensions", "LLVMExtensions", true, {"support"} },
+{ "filecheck", "LLVMFileCheck", true, {} },
+{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
+{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} },
+{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} },
+{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
+{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} },
+{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "mca", "LLVMMCA", true, {"mc", "support"} },
+{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} },
+{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
+{ "mcparser", "LLVMMCParser", 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"} },
+{ "option", "LLVMOption", true, {"support"} },
+{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "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"} },
+{ "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"} },
+{ "riscvdisassembler", "LLVMRISCVDisassembler", true, {"mc", "mcdisassembler", "riscvdesc", "riscvinfo", "support"} },
+{ "riscvinfo", "LLVMRISCVInfo", true, {"support"} },
+{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} },
+{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
+{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} },
+{ "support", "LLVMSupport", true, {"demangle"} },
+{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} },
+{ "tablegen", "LLVMTableGen", true, {"support"} },
+{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} },
+{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} },
+{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} },
+{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
+{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
+{ "xray", "LLVMXRay", true, {"support", "object"} },
+};
\ No newline at end of file
index 1a80f8b..ea1b4bc 100644 (file)
-//===- llvm-build generated file --------------------------------*- C++ -*-===//
-//
-// Component Library Dependency Table
-//
-// Automatically generated file, do not edit!
-//
-//===----------------------------------------------------------------------===//
 
-struct AvailableComponent {
-  /// The name of the component.
-  const char *Name;
+  struct AvailableComponent {
+    /// The name of the component.
+    const char *Name;
 
-  /// The name of the library for this component (or NULL).
-  const char *Library;
+    /// The name of the library for this component (or NULL).
+    const char *Library;
 
-  /// Whether the component is installed.
-  bool IsInstalled;
+    /// Whether the component is installed.
+    bool IsInstalled;
 
-  /// The list of libraries required when linking this component.
-  const char *RequiredLibraries[24];
-} AvailableComponents[84] = {
-  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "all", nullptr, true, { "all-targets", "cfguard", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "libdriver", "lineeditor", "lto", "mca", "mcjit", "native", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } },
-  { "all-targets", nullptr, true, { "sparc", "amdgpu" } },
-  { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } },
-  { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } },
-  { "amdgpucodegen", "LLVMAMDGPUCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser" } },
-  { "amdgpudesc", "LLVMAMDGPUDesc", true, { "core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat" } },
-  { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, { "amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support" } },
-  { "amdgpuinfo", "LLVMAMDGPUInfo", true, { "support" } },
-  { "amdgpuutils", "LLVMAMDGPUUtils", true, { "core", "mc", "binaryformat", "support" } },
-  { "analysis", "LLVMAnalysis", true, { "binaryformat", "core", "object", "profiledata", "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" } },
-  { "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" } },
-  { "coroutines", "LLVMCoroutines", true, { "analysis", "core", "ipo", "scalaropts", "support", "transformutils" } },
-  { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } },
-  { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } },
-  { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } },
-  { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "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, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } },
-  { "engine", nullptr, true, { "interpreter" } },
-  { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } },
-  { "extensions", "LLVMExtensions", true, { "support" } },
-  { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } },
-  { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } },
-  { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } },
-  { "gtest", "gtest", false, { "support" } },
-  { "gtest_main", "gtest_main", false, { "gtest" } },
-  { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } },
-  { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } },
-  { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } },
-  { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } },
-  { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } },
-  { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } },
-  { "lineeditor", "LLVMLineEditor", true, { "support" } },
-  { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } },
-  { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } },
-  { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } },
-  { "mca", "LLVMMCA", true, { "mc", "support" } },
-  { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } },
-  { "mcjit", "LLVMMCJIT", true, { "core", "executionengine", "object", "runtimedyld", "support", "target" } },
-  { "mcparser", "LLVMMCParser", 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, { "object", "support", "debuginfocodeview", "mc" } },
-  { "option", "LLVMOption", true, { "support" } },
-  { "orcerror", "LLVMOrcError", true, { "support" } },
-  { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } },
-  { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } },
-  { "profiledata", "LLVMProfileData", true, { "core", "support" } },
-  { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } },
-  { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } },
-  { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } },
-  { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } },
-  { "sparc", nullptr, true, { "sparcinfo", "sparcdesc", "sparcasmparser", "sparccodegen", "sparcdisassembler" } },
-  { "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" } },
-  { "support", "LLVMSupport", true, { "demangle" } },
-  { "symbolize", "LLVMSymbolize", true, { "debuginfodwarf", "debuginfopdb", "object", "support", "demangle" } },
-  { "tablegen", "LLVMTableGen", true, { "support" } },
-  { "target", "LLVMTarget", true, { "analysis", "core", "mc", "support" } },
-  { "testingsupport", "LLVMTestingSupport", false, { "support" } },
-  { "textapi", "LLVMTextAPI", true, { "support", "binaryformat" } },
-  { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } },
-  { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } },
-  { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } },
-  { "xray", "LLVMXRay", true, { "support", "object" } },
-};
+    /// The list of libraries required when linking this component.
+    const char *RequiredLibraries[86];
+  } AvailableComponents[86] = {
+  { "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-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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
+{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
+{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
+{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
+{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "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"} },
+{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
+{ "engine", nullptr, true, {"interpreter"} },
+{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} },
+{ "extensions", "LLVMExtensions", true, {"support"} },
+{ "filecheck", "LLVMFileCheck", true, {} },
+{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
+{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} },
+{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} },
+{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
+{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} },
+{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "mca", "LLVMMCA", true, {"mc", "support"} },
+{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} },
+{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
+{ "mcparser", "LLVMMCParser", 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"} },
+{ "option", "LLVMOption", true, {"support"} },
+{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "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"} },
+{ "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} },
+{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} },
+{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
+{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} },
+{ "sparc", nullptr, true, {"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"} },
+{ "support", "LLVMSupport", true, {"demangle"} },
+{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} },
+{ "tablegen", "LLVMTableGen", true, {"support"} },
+{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} },
+{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} },
+{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} },
+{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
+{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
+{ "xray", "LLVMXRay", true, {"support", "object"} },
+};
\ No newline at end of file
index 295931b..c8eb326 100644 (file)
-//===- llvm-build generated file --------------------------------*- C++ -*-===//
-//
-// Component Library Dependency Table
-//
-// Automatically generated file, do not edit!
-//
-//===----------------------------------------------------------------------===//
 
-struct AvailableComponent {
-  /// The name of the component.
-  const char *Name;
+  struct AvailableComponent {
+    /// The name of the component.
+    const char *Name;
 
-  /// The name of the library for this component (or NULL).
-  const char *Library;
+    /// The name of the library for this component (or NULL).
+    const char *Library;
 
-  /// Whether the component is installed.
-  bool IsInstalled;
+    /// Whether the component is installed.
+    bool IsInstalled;
 
-  /// The list of libraries required when linking this component.
-  const char *RequiredLibraries[22];
-} AvailableComponents[84] = {
-  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "all", nullptr, true, { "all-targets", "coverage", "debuginfogsym", "dlltooldriver", "dwarflinker", "engine", "fuzzmutate", "gtest_main", "interpreter", "libdriver", "lineeditor", "lto", "mca", "nativecodegen", "objectyaml", "orcjit", "symbolize", "tablegen", "testingsupport", "windowsmanifest", "xray" } },
-  { "all-targets", nullptr, true, { "x86", "amdgpu" } },
-  { "amdgpu", nullptr, true, { "amdgpuinfo", "amdgpuutils", "amdgpudesc", "amdgpuasmparser", "amdgpucodegen", "amdgpudisassembler" } },
-  { "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, { "mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support" } },
-  { "amdgpucodegen", "LLVMAMDGPUCodeGen", true, { "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser" } },
-  { "amdgpudesc", "LLVMAMDGPUDesc", true, { "core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat" } },
-  { "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, { "amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support" } },
-  { "amdgpuinfo", "LLVMAMDGPUInfo", true, { "support" } },
-  { "amdgpuutils", "LLVMAMDGPUUtils", true, { "core", "mc", "binaryformat", "support" } },
-  { "analysis", "LLVMAnalysis", true, { "binaryformat", "core", "object", "profiledata", "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" } },
-  { "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" } },
-  { "coroutines", "LLVMCoroutines", true, { "analysis", "core", "ipo", "scalaropts", "support", "transformutils" } },
-  { "coverage", "LLVMCoverage", true, { "core", "object", "profiledata", "support" } },
-  { "debuginfocodeview", "LLVMDebugInfoCodeView", true, { "support", "debuginfomsf" } },
-  { "debuginfodwarf", "LLVMDebugInfoDWARF", true, { "binaryformat", "object", "mc", "support" } },
-  { "debuginfogsym", "LLVMDebugInfoGSYM", true, { "mc", "object", "support", "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, { "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support" } },
-  { "engine", nullptr, true, { "mcjit", "native" } },
-  { "executionengine", "LLVMExecutionEngine", true, { "core", "mc", "object", "runtimedyld", "support", "target" } },
-  { "extensions", "LLVMExtensions", true, { "support" } },
-  { "frontendopenmp", "LLVMFrontendOpenMP", true, { "core", "support", "transformutils" } },
-  { "fuzzmutate", "LLVMFuzzMutate", true, { "analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target" } },
-  { "globalisel", "LLVMGlobalISel", true, { "analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils" } },
-  { "gtest", "gtest", false, { "support" } },
-  { "gtest_main", "gtest_main", false, { "gtest" } },
-  { "instcombine", "LLVMInstCombine", true, { "analysis", "core", "support", "transformutils" } },
-  { "instrumentation", "LLVMInstrumentation", true, { "analysis", "core", "mc", "support", "transformutils", "profiledata" } },
-  { "interpreter", "LLVMInterpreter", true, { "codegen", "core", "executionengine", "support" } },
-  { "ipo", "LLVMipo", true, { "aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "transformutils", "vectorize", "instrumentation" } },
-  { "irreader", "LLVMIRReader", true, { "asmparser", "bitreader", "core", "support" } },
-  { "jitlink", "LLVMJITLink", true, { "binaryformat", "object", "support" } },
-  { "libdriver", "LLVMLibDriver", true, { "binaryformat", "bitreader", "object", "option", "support" } },
-  { "lineeditor", "LLVMLineEditor", true, { "support" } },
-  { "linker", "LLVMLinker", true, { "core", "support", "transformutils" } },
-  { "lto", "LLVMLTO", true, { "aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "transformutils" } },
-  { "mc", "LLVMMC", true, { "support", "binaryformat", "debuginfocodeview" } },
-  { "mca", "LLVMMCA", true, { "mc", "support" } },
-  { "mcdisassembler", "LLVMMCDisassembler", true, { "mc", "support" } },
-  { "mcjit", "LLVMMCJIT", true, { "core", "executionengine", "object", "runtimedyld", "support", "target" } },
-  { "mcparser", "LLVMMCParser", true, { "mc", "support" } },
-  { "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, { "object", "support", "debuginfocodeview", "mc" } },
-  { "option", "LLVMOption", true, { "support" } },
-  { "orcerror", "LLVMOrcError", true, { "support" } },
-  { "orcjit", "LLVMOrcJIT", true, { "core", "executionengine", "jitlink", "object", "orcerror", "mc", "passes", "runtimedyld", "support", "target", "transformutils" } },
-  { "passes", "LLVMPasses", true, { "aggressiveinstcombine", "analysis", "core", "coroutines", "ipo", "instcombine", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation" } },
-  { "profiledata", "LLVMProfileData", true, { "core", "support" } },
-  { "remarks", "LLVMRemarks", true, { "bitstreamreader", "support" } },
-  { "runtimedyld", "LLVMRuntimeDyld", true, { "core", "mc", "object", "support" } },
-  { "scalaropts", "LLVMScalarOpts", true, { "aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils" } },
-  { "selectiondag", "LLVMSelectionDAG", true, { "analysis", "codegen", "core", "mc", "support", "target", "transformutils" } },
-  { "support", "LLVMSupport", true, { "demangle" } },
-  { "symbolize", "LLVMSymbolize", true, { "debuginfodwarf", "debuginfopdb", "object", "support", "demangle" } },
-  { "tablegen", "LLVMTableGen", true, { "support" } },
-  { "target", "LLVMTarget", true, { "analysis", "core", "mc", "support" } },
-  { "testingsupport", "LLVMTestingSupport", false, { "support" } },
-  { "textapi", "LLVMTextAPI", true, { "support", "binaryformat" } },
-  { "transformutils", "LLVMTransformUtils", true, { "analysis", "core", "support" } },
-  { "vectorize", "LLVMVectorize", true, { "analysis", "core", "support", "transformutils" } },
-  { "windowsmanifest", "LLVMWindowsManifest", true, { "support" } },
-  { "x86", nullptr, true, { "x86info", "x86desc", "x86codegen", "x86asmparser", "x86disassembler" } },
-  { "x86asmparser", "LLVMX86AsmParser", true, { "mc", "mcparser", "support", "x86desc", "x86info" } },
-  { "x86codegen", "LLVMX86CodeGen", true, { "analysis", "asmprinter", "codegen", "core", "mc", "selectiondag", "support", "target", "x86desc", "x86info", "globalisel", "profiledata", "cfguard" } },
-  { "x86desc", "LLVMX86Desc", true, { "mc", "mcdisassembler", "support", "x86info", "binaryformat" } },
-  { "x86disassembler", "LLVMX86Disassembler", true, { "mcdisassembler", "support", "x86info" } },
-  { "x86info", "LLVMX86Info", true, { "support" } },
-  { "xray", "LLVMXRay", true, { "support", "object" } },
-};
+    /// The list of libraries required when linking this component.
+    const char *RequiredLibraries[86];
+  } AvailableComponents[86] = {
+  { "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-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"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
+{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
+{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
+{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
+{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "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"} },
+{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
+{ "engine", nullptr, true, {"interpreter"} },
+{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target"} },
+{ "extensions", "LLVMExtensions", true, {"support"} },
+{ "filecheck", "LLVMFileCheck", true, {} },
+{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
+{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "transformutils"} },
+{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target"} },
+{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
+{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
+{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "mc", "support", "transformutils", "profiledata"} },
+{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support"} },
+{ "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"} },
+{ "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"} },
+{ "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"} },
+{ "mca", "LLVMMCA", true, {"mc", "support"} },
+{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support"} },
+{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
+{ "mcparser", "LLVMMCParser", true, {"mc", "support"} },
+{ "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"} },
+{ "option", "LLVMOption", true, {"support"} },
+{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "mc", "passes", "runtimedyld", "support", "target", "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"} },
+{ "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} },
+{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support"} },
+{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
+{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "transformutils"} },
+{ "support", "LLVMSupport", true, {"demangle"} },
+{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle"} },
+{ "tablegen", "LLVMTableGen", true, {"support"} },
+{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support"} },
+{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat"} },
+{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support"} },
+{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
+{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
+{ "x86", nullptr, true, {"x86codegen", "x86asmparser", "x86disassembler", "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"} },
+{ "x86disassembler", "LLVMX86Disassembler", true, {"mcdisassembler", "support", "x86info"} },
+{ "x86info", "LLVMX86Info", true, {"support"} },
+{ "xray", "LLVMXRay", true, {"support", "object"} },
+};
\ No newline at end of file
index b6bce21..3773150 100644 (file)
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.6 2021/04/29 05:51:57 jsg Exp $
+# $OpenBSD: Makefile,v 1.7 2021/12/17 14:55:47 patrick Exp $
 
 PROG=  llvm-config
 BINDIR= /usr/bin
 
 NATIVE_ARCHS=AArch64 ARM Mips PowerPC RISCV Sparc X86
 
-PYTHON=                python3
-LLVMBUILD=     ${.CURDIR}/../../../llvm/llvm/utils/llvm-build/llvm-build
+CMAKE=         cmake
+LLVMROOT=      ${.CURDIR}/../../../llvm/llvm
 
 .include <bsd.own.mk>
 SRCS=  llvm-config.cpp
@@ -32,10 +32,10 @@ LLVM_LIBDEPS=       LLVMTableGen LLVMSupport
 
 reconf:
 .for arch in ${NATIVE_ARCHS}
-       ${PYTHON} -B ${LLVMBUILD} \
-           --native-target ${LLVM_ARCH} \
-           --enable-targets "${arch} AMDGPU" \
-           --write-library-table ${.CURDIR}/LibraryDependencies.inc.${arch}
+       mkdir ${.CURDIR}/CMakeGen
+       cd ${.CURDIR}/CMakeGen && ${CMAKE} -DLLVM_TARGETS_TO_BUILD="${arch};AMDGPU" ${LLVMROOT}
+       mv ${.CURDIR}/CMakeGen/tools/llvm-config/LibraryDependencies.inc ${.CURDIR}/LibraryDependencies.inc.${arch}
+       rm -rf ${.CURDIR}/CMakeGen
 .endfor
 
 CLEANFILES+= BuildVariables.inc LibraryDependencies.inc
index 394cb66..8fe5bd1 100644 (file)
@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "LLVM-CONFIG" "1" "2021-05-01" "11" "LLVM"
+.TH "LLVM-CONFIG" "1" "2021-08-29" "13" "LLVM"
 .SH NAME
 llvm-config \- Print LLVM compilation options
 .
index 99c5728..4eb15f0 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/08/02 08:50:52 patrick Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:47 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -6,25 +6,23 @@ PROG= llvm-objcopy
 BINDIR=        /usr/bin
 LIBEXECDIR=/usr/libexec
 
-SRCS=  Buffer.cpp \
+SRCS=  ConfigManager.cpp \
+       llvm-objcopy.cpp \
        COFFObjcopy.cpp \
        COFFObject.cpp \
        COFFReader.cpp \
        COFFWriter.cpp \
-       CopyConfig.cpp \
-       ELFConfig.cpp \
        ELFObjcopy.cpp \
        ELFObject.cpp \
-       MachOLayoutBuilder.cpp \
        MachOObjcopy.cpp \
-       MachOObject.cpp \
        MachOReader.cpp \
        MachOWriter.cpp \
-       WasmObjcopy.cpp \
+       MachOLayoutBuilder.cpp \
+       MachOObject.cpp \
        WasmObject.cpp \
        WasmReader.cpp \
        WasmWriter.cpp \
-       llvm-objcopy.cpp
+       WasmObjcopy.cpp
 
 COFFObject.cpp:
        ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF/Object.cpp $@
index 68868fc..b4e5cf3 100644 (file)
@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "LLVM-OBJCOPY" "1" "2021-07-28" "11" "LLVM"
+.TH "LLVM-OBJCOPY" "1" "2021-08-29" "13" "LLVM"
 .SH NAME
 llvm-objcopy \- object copying and editing tool
 .
@@ -85,7 +85,7 @@ headers.
 .B \-\-discard\-all, \-x
 Remove most local symbols from the output. Different file formats may limit
 this to a subset of the local symbols. For example, file and section symbols in
-ELF objects will not be discarded.
+ELF objects will not be discarded. Additionally, remove all debug sections.
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -408,26 +408,6 @@ section references. Any invalid sh_link fields will be set to zero.
 .UNINDENT
 .INDENT 0.0
 .TP
-.B \-\-build\-id\-link\-dir <dir>
-Set the directory used by \fI\%\-\-build\-id\-link\-input\fP and
-\fI\%\-\-build\-id\-link\-output\fP\&.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-build\-id\-link\-input <suffix>
-Hard\-link the input to \fB<dir>/xx/xxx<suffix>\fP, where \fB<dir>\fP is the directory
-specified by \fI\%\-\-build\-id\-link\-dir\fP\&. The path used is derived from the
-hex build ID.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-build\-id\-link\-output <suffix>
-Hard\-link the output to \fB<dir>/xx/xxx<suffix>\fP, where \fB<dir>\fP is the directory
-specified by \fI\%\-\-build\-id\-link\-dir\fP\&. The path used is derived from the
-hex build ID.
-.UNINDENT
-.INDENT 0.0
-.TP
 .B \-\-change\-start <incr>, \-\-adjust\-start
 Add \fB<incr>\fP to the program\(aqs start address. Can be specified multiple
 times, in which case the values will be applied cumulatively.
@@ -650,6 +630,12 @@ a \(aq#\(aq. Can be specified multiple times to read names from multiple files.
 .B \-\-weaken
 Mark all defined global symbols as weak in the output.
 .UNINDENT
+.SH MACH-O-SPECIFIC OPTIONS
+.INDENT 0.0
+.TP
+.B \-\-keep\-undefined
+Keep undefined symbols, even if they would otherwise be stripped.
+.UNINDENT
 .SH SUPPORTED FORMATS
 .sp
 The following values are currently supported by \fBllvm\-objcopy\fP for the
index 1d0d146..c6e4b30 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/08/02 08:50:52 patrick Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:47 patrick Exp $
 
 .include <bsd.own.mk>
 
@@ -6,12 +6,15 @@ PROG= llvm-objdump
 BINDIR=        /usr/bin
 LIBEXECDIR=/usr/libexec
 
-SRCS=  COFFDump.cpp \
+SRCS=  llvm-objdump.cpp \
+       SourcePrinter.cpp \
+       COFFDump.cpp \
        ELFDump.cpp \
        MachODump.cpp \
        WasmDump.cpp \
-       XCOFFDump.cpp \
-       llvm-objdump.cpp
+       XCOFFDump.cpp
+
+CPPFLAGS+=     -I${.OBJDIR}/../include/llvm-objdump
 
 .PATH: ${.CURDIR}/../../../llvm/llvm/tools/llvm-objdump
 
index 520fc03..d3e735f 100644 (file)
@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "LLVM-OBJDUMP" "1" "2021-07-28" "11" "LLVM"
+.TH "LLVM-OBJDUMP" "1" "2021-08-29" "13" "LLVM"
 .SH NAME
 llvm-objdump \- LLVM's object file dumper
 .
@@ -135,7 +135,7 @@ Display the unwind info of the input(s).
 .UNINDENT
 .INDENT 0.0
 .TP
-.B \-\-version
+.B \-v, \-\-version
 Display the version of the \fBllvm\-objdump\fP executable. Does not stack
 with other commands.
 .UNINDENT
@@ -178,7 +178,7 @@ to \fBunicode\fP if omitted.
 .TP
 .B \-\-debug\-vars\-indent=<width>
 Distance to indent the source\-level variable display, relative to the start
-of the disassembly. Defaults to 40 characters.
+of the disassembly. Defaults to 52 characters.
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -195,8 +195,21 @@ When disassembling, display source line numbers. Implies
 .INDENT 0.0
 .TP
 .B \-M, \-\-disassembler\-options=<opt1[,opt2,...]>
-Pass target\-specific disassembler options. Currently supported for ARM targets
-only. Available options are \fBreg\-names\-std\fP and \fBreg\-names\-raw\fP\&.
+Pass target\-specific disassembler options. Available options:
+.INDENT 7.0
+.IP \(bu 2
+\fBreg\-names\-std\fP: ARM only (default). Print in ARM \(aqs instruction set documentation, with r13/r14/r15 replaced by sp/lr/pc.
+.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.
+.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
+\fBatt\fP: x86 only (default). Print in the AT&T syntax.
+.IP \(bu 2
+\fBintel\fP: x86 only. Print in the intel syntax.
+.UNINDENT
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -207,7 +220,7 @@ available CPUs.
 .INDENT 0.0
 .TP
 .B \-\-mattr=<a1,+a2,\-a3,...>
-Enable/disable target\-specific attributes. Specify \fB\-\-mcpu=help\fP to display
+Enable/disable target\-specific attributes. Specify \fB\-\-mattr=help\fP to display
 the available attributes.
 .UNINDENT
 .INDENT 0.0
@@ -217,11 +230,29 @@ When disassembling, do not print leading addresses.
 .UNINDENT
 .INDENT 0.0
 .TP
+.B \-\-no\-print\-imm\-hex
+Do not use hex format for immediate values in disassembly output (default).
+.UNINDENT
+.INDENT 0.0
+.TP
 .B \-\-no\-show\-raw\-insn
 When disassembling, do not print the raw bytes of each instruction.
 .UNINDENT
 .INDENT 0.0
 .TP
+.B \-\-prefix=<prefix>
+When disassembling with the \fI\%\-\-source\fP option, prepend \fBprefix\fP to
+absolute paths.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-prefix\-strip=<level>
+When disassembling with the \fI\%\-\-source\fP option, strip out \fBlevel\fP
+initial directories from absolute paths. This option has no effect without
+\fI\%\-\-prefix\fP\&.
+.UNINDENT
+.INDENT 0.0
+.TP
 .B \-\-print\-imm\-hex
 Use hex format when printing immediate values in disassembly output.
 .UNINDENT
@@ -257,6 +288,45 @@ When printing symbols, only print symbols with a value up to \fBaddress\fP\&.
 .UNINDENT
 .INDENT 0.0
 .TP
+.B \-\-symbolize\-operands
+When disassembling, symbolize a branch target operand to print a label instead of a real address.
+.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.
+.INDENT 7.0
+.TP
+.B Example:
+A non\-symbolized branch instruction with a local target and pc\-relative memory access like
+.UNINDENT
+.INDENT 7.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+cmp eax, dword ptr [rip + 4112]
+jge 0x20117e <_start+0x25>
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+might become
+.INDENT 7.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+<L0>:
+  cmp eax, dword ptr <g>
+  jge      <L0>
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.INDENT 0.0
+.TP
 .B \-\-triple=<string>
 Target triple to disassemble for, see \fB\-\-version\fP for available targets.
 .UNINDENT
@@ -268,6 +338,7 @@ Ignored for compatibility with GNU objdump.
 .INDENT 0.0
 .TP
 .B \-\-x86\-asm\-syntax=<style>
+Deprecated.
 When used with \fI\%\-\-disassemble\fP, choose style of code to emit from
 X86 backend. Supported values are:
 .INDENT 7.0
@@ -317,12 +388,6 @@ Display binding info
 .UNINDENT
 .INDENT 0.0
 .TP
-.B \-\-cfg
-Create a CFG for every symbol in the object file and write it to a graphviz
-file.
-.UNINDENT
-.INDENT 0.0
-.TP
 .B \-\-data\-in\-code
 Display the data in code table.
 .UNINDENT
@@ -353,6 +418,11 @@ Display exported symbols.
 .UNINDENT
 .INDENT 0.0
 .TP
+.B \-\-function\-starts
+Print the function starts table for Mach\-O objects.
+.UNINDENT
+.INDENT 0.0
+.TP
 .B \-g
 Print line information from debug info if available.
 .UNINDENT
@@ -419,6 +489,11 @@ Display rebasing information.
 .UNINDENT
 .INDENT 0.0
 .TP
+.B \-\-rpaths
+Display runtime search paths for the binary.
+.UNINDENT
+.INDENT 0.0
+.TP
 .B \-\-universal\-headers
 Display universal headers.
 .UNINDENT
@@ -438,7 +513,8 @@ Add symbol description to disassembly output.
 To report bugs, please visit <\fI\%https://bugs.llvm.org/\fP>.
 .SH SEE ALSO
 .sp
-\fBllvm\-nm(1)\fP, \fBllvm\-readelf(1)\fP, \fBllvm\-readobj(1)\fP
+\fBllvm\-nm(1)\fP, \fBllvm\-otool(1)\fP, \fBllvm\-readelf(1)\fP,
+\fBllvm\-readobj(1)\fP
 .SH AUTHOR
 Maintained by the LLVM Team (https://llvm.org/).
 .SH COPYRIGHT
index 436e5fe..f9317e6 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2021/04/28 12:55:42 patrick Exp $
+# $OpenBSD: Makefile,v 1.13 2021/12/17 14:55:47 patrick Exp $
 
 PROG=  llvm-tblgen
 NOMAN=
@@ -9,6 +9,7 @@ SRCS=   AsmMatcherEmitter.cpp \
        AsmWriterInst.cpp \
        Attributes.cpp \
        CallingConvEmitter.cpp \
+       CodeBeadsGen.cpp \
        CodeEmitterGen.cpp \
        CodeGenDAGPatterns.cpp \
        CodeGenHwModes.cpp \