From 5a38ef86d0b61900239c7913d24a05e7b88a58f0 Mon Sep 17 00:00:00 2001 From: patrick Date: Fri, 17 Dec 2021 14:55:43 +0000 Subject: [PATCH] Update build infrastructure for LLVM 13.0.0. --- gnu/lib/libclang_rt/profile/Makefile | 14 +- gnu/lib/libcxx/Makefile | 617 ++++++++++++------ gnu/lib/libcxx/include/c++/v1/__config_site | 42 ++ gnu/lib/libcxx/shlib_version | 2 +- gnu/lib/libcxxabi/Makefile | 7 +- gnu/lib/libcxxabi/shlib_version | 4 +- gnu/lib/libexecinfo/Makefile | 3 +- gnu/usr.bin/clang/Makefile | 4 +- gnu/usr.bin/clang/clang-tblgen/Makefile | 4 +- gnu/usr.bin/clang/clang/clang.1 | 15 +- .../clang/include/clang/Basic/Makefile | 14 +- .../clang/include/clang/Basic/Version.inc | 10 +- .../clang/include/clang/Config/config.h | 5 +- .../clang/include/clang/intrin/Makefile | 15 +- .../clang/include/lld/Common/Version.inc | 10 +- gnu/usr.bin/clang/include/lldb/Host/Config.h | 8 + .../clang/include/llvm-objcopy/Makefile | 12 +- .../clang/include/llvm-objdump/Makefile | 29 + .../clang/include/llvm/AArch64/Makefile | 16 +- .../clang/include/llvm/AMDGPU/Makefile | 9 +- .../clang/include/llvm/Config/abi-breaking.h | 2 +- .../clang/include/llvm/Config/config.h | 53 +- .../include/llvm/Config/llvm-config.h.in | 28 +- .../include/llvm/Frontend/OpenACC/Makefile | 16 +- .../include/llvm/Frontend/OpenMP/Makefile | 14 +- gnu/usr.bin/clang/include/llvm/IR/Makefile | 11 +- .../clang/include/llvm/PowerPC/Makefile | 16 +- gnu/usr.bin/clang/include/llvm/RISCV/Makefile | 6 +- .../llvm/Transforms/InstCombine/Makefile | 23 - gnu/usr.bin/clang/libLLVM/Makefile | 2 +- gnu/usr.bin/clang/libLLVM/shlib_version | 2 +- .../clang/libLLVMAArch64CodeGen/Makefile | 7 +- .../clang/libLLVMAMDGPUCodeGen/Makefile | 19 +- gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile | 11 +- gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile | 7 +- gnu/usr.bin/clang/libLLVMAnalysis/Makefile | 14 +- gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile | 4 +- gnu/usr.bin/clang/libLLVMCodeGen/Makefile | 28 +- gnu/usr.bin/clang/libLLVMCore/Makefile | 9 +- .../clang/libLLVMDebugInfoPDB/Makefile | 4 +- gnu/usr.bin/clang/libLLVMDemangle/Makefile | 5 +- .../clang/libLLVMExecutionEngine/Makefile | 36 +- .../clang/libLLVMFrontendOpenACC/Makefile | 8 +- .../clang/libLLVMFrontendOpenMP/Makefile | 7 +- gnu/usr.bin/clang/libLLVMGlobalISel/Makefile | 3 +- .../clang/libLLVMInstrumentation/Makefile | 3 +- gnu/usr.bin/clang/libLLVMMC/Makefile | 3 +- gnu/usr.bin/clang/libLLVMMCParser/Makefile | 5 +- gnu/usr.bin/clang/libLLVMObject/Makefile | 4 +- .../clang/libLLVMPowerPCCodeGen/Makefile | 11 +- gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile | 5 +- .../clang/libLLVMRISCVCodeGen/Makefile | 3 +- gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile | 4 +- gnu/usr.bin/clang/libLLVMRISCVUtils/Makefile | 12 - gnu/usr.bin/clang/libLLVMScalarOpts/Makefile | 10 +- gnu/usr.bin/clang/libLLVMSupport/Makefile | 7 +- .../clang/libLLVMSupport/Makefile.shared | 7 +- gnu/usr.bin/clang/libLLVMTableGen/Makefile | 6 +- gnu/usr.bin/clang/libLLVMTextAPI/Makefile | 12 +- .../clang/libLLVMTransformUtils/Makefile | 13 +- gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile | 11 +- gnu/usr.bin/clang/libLLVMipo/Makefile | 8 +- gnu/usr.bin/clang/libclangAnalysis/Makefile | 4 +- gnu/usr.bin/clang/libclangBasic/Makefile | 16 +- gnu/usr.bin/clang/libclangCodeGen/Makefile | 4 +- gnu/usr.bin/clang/libclangDriver/Makefile | 8 +- gnu/usr.bin/clang/libclangFrontend/Makefile | 3 +- gnu/usr.bin/clang/liblldCommon/Makefile | 7 +- gnu/usr.bin/clang/liblldbAPI/Makefile | 3 +- gnu/usr.bin/clang/liblldbBreakpoint/Makefile | 4 +- gnu/usr.bin/clang/liblldbCommands/Makefile | 11 +- gnu/usr.bin/clang/liblldbCore/Makefile | 7 +- gnu/usr.bin/clang/liblldbInterpreter/Makefile | 5 +- .../clang/liblldbPluginObjectFile/Makefile | 4 +- .../clang/liblldbPluginPlatform/Makefile | 7 +- .../clang/liblldbPluginProcess/Makefile | 15 +- gnu/usr.bin/clang/liblldbSymbol/Makefile | 3 +- gnu/usr.bin/clang/liblldbTarget/Makefile | 7 +- gnu/usr.bin/clang/liblldbUtility/Makefile | 6 +- gnu/usr.bin/clang/lldb-server/Makefile | 11 +- gnu/usr.bin/clang/lldb/Makefile | 7 +- gnu/usr.bin/clang/lldb/lldb.1 | 18 +- .../LibraryDependencies.inc.AArch64 | 201 +++--- .../llvm-config/LibraryDependencies.inc.ARM | 201 +++--- .../llvm-config/LibraryDependencies.inc.Mips | 199 +++--- .../LibraryDependencies.inc.PowerPC | 199 +++--- .../llvm-config/LibraryDependencies.inc.RISCV | 200 +++--- .../llvm-config/LibraryDependencies.inc.Sparc | 199 +++--- .../llvm-config/LibraryDependencies.inc.X86 | 199 +++--- gnu/usr.bin/clang/llvm-config/Makefile | 14 +- gnu/usr.bin/clang/llvm-config/llvm-config.1 | 2 +- gnu/usr.bin/clang/llvm-objcopy/Makefile | 14 +- gnu/usr.bin/clang/llvm-objcopy/llvm-objcopy.1 | 30 +- gnu/usr.bin/clang/llvm-objdump/Makefile | 11 +- gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 | 102 ++- gnu/usr.bin/clang/llvm-tblgen/Makefile | 3 +- 96 files changed, 1765 insertions(+), 1258 deletions(-) create mode 100644 gnu/lib/libcxx/include/c++/v1/__config_site create mode 100644 gnu/usr.bin/clang/include/llvm-objdump/Makefile delete mode 100644 gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile delete mode 100644 gnu/usr.bin/clang/libLLVMRISCVUtils/Makefile diff --git a/gnu/lib/libclang_rt/profile/Makefile b/gnu/lib/libclang_rt/profile/Makefile index 8442ee1d57b..422fc899e5a 100644 --- a/gnu/lib/libclang_rt/profile/Makefile +++ b/gnu/lib/libclang_rt/profile/Makefile @@ -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 -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} \ diff --git a/gnu/lib/libcxx/Makefile b/gnu/lib/libcxx/Makefile index dd78a48d70c..15ab0659bd8 100644 --- a/gnu/lib/libcxx/Makefile +++ b/gnu/lib/libcxx/Makefile @@ -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 @@ -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 diff --git a/gnu/lib/libcxx/include/c++/v1/__config_site b/gnu/lib/libcxx/include/c++/v1/__config_site new file mode 100644 index 00000000000..cb195721d10 --- /dev/null +++ b/gnu/lib/libcxx/include/c++/v1/__config_site @@ -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 diff --git a/gnu/lib/libcxx/shlib_version b/gnu/lib/libcxx/shlib_version index d0f0988b418..1c5d96eb2aa 100644 --- a/gnu/lib/libcxx/shlib_version +++ b/gnu/lib/libcxx/shlib_version @@ -1,2 +1,2 @@ -major=8 +major=9 minor=0 diff --git a/gnu/lib/libcxxabi/Makefile b/gnu/lib/libcxxabi/Makefile index b3626afdeb7..fcd30f80960 100644 --- a/gnu/lib/libcxxabi/Makefile +++ b/gnu/lib/libcxxabi/Makefile @@ -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 @@ -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 diff --git a/gnu/lib/libcxxabi/shlib_version b/gnu/lib/libcxxabi/shlib_version index 23268d4770a..a6349c22dec 100644 --- a/gnu/lib/libcxxabi/shlib_version +++ b/gnu/lib/libcxxabi/shlib_version @@ -1,3 +1,3 @@ # Don't forget to give libc++ the same type of bump! -major=5 -minor=1 +major=6 +minor=0 diff --git a/gnu/lib/libexecinfo/Makefile b/gnu/lib/libexecinfo/Makefile index fe0855a4552..047803f63c0 100644 --- a/gnu/lib/libexecinfo/Makefile +++ b/gnu/lib/libexecinfo/Makefile @@ -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 @@ -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 diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile index 8de977504ea..6cf71d36cf8 100644 --- a/gnu/usr.bin/clang/Makefile +++ b/gnu/usr.bin/clang/Makefile @@ -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 @@ -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" diff --git a/gnu/usr.bin/clang/clang-tblgen/Makefile b/gnu/usr.bin/clang/clang-tblgen/Makefile index e29e4de75ed..7a6d51491ab 100644 --- a/gnu/usr.bin/clang/clang-tblgen/Makefile +++ b/gnu/usr.bin/clang/clang-tblgen/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.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 diff --git a/gnu/usr.bin/clang/clang/clang.1 b/gnu/usr.bin/clang/clang/clang.1 index bbd50b6241a..8f8baf850b9 100644 --- a/gnu/usr.bin/clang/clang/clang.1 +++ b/gnu/usr.bin/clang/clang/clang.1 @@ -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= or \-arch ). If no target is -specified, the system default target will be used. +through \fB\-\-target=\fP or \fI\%\-arch\fP \fB\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. diff --git a/gnu/usr.bin/clang/include/clang/Basic/Makefile b/gnu/usr.bin/clang/include/clang/Basic/Makefile index c904b2c7cc0..a46a5f6efde 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Makefile +++ b/gnu/usr.bin/clang/include/clang/Basic/Makefile @@ -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 @@ -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 diff --git a/gnu/usr.bin/clang/include/clang/Basic/Version.inc b/gnu/usr.bin/clang/include/clang/Basic/Version.inc index db0cd9aaf0a..03e5325502b 100644 --- a/gnu/usr.bin/clang/include/clang/Basic/Version.inc +++ b/gnu/usr.bin/clang/include/clang/Basic/Version.inc @@ -1,9 +1,9 @@ -/* $OpenBSD: Version.inc,v 1.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 " diff --git a/gnu/usr.bin/clang/include/clang/Config/config.h b/gnu/usr.bin/clang/include/clang/Config/config.h index 484a8f91af9..02a049bf2be 100644 --- a/gnu/usr.bin/clang/include/clang/Config/config.h +++ b/gnu/usr.bin/clang/include/clang/Config/config.h @@ -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 diff --git a/gnu/usr.bin/clang/include/clang/intrin/Makefile b/gnu/usr.bin/clang/include/clang/intrin/Makefile index aa07c4fa66a..81f343ec6d0 100644 --- a/gnu/usr.bin/clang/include/clang/intrin/Makefile +++ b/gnu/usr.bin/clang/include/clang/intrin/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.24 2021/04/28 12:55:37 patrick Exp $ +# $OpenBSD: Makefile,v 1.25 2021/12/17 14:55:44 patrick Exp $ .include -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 diff --git a/gnu/usr.bin/clang/include/lld/Common/Version.inc b/gnu/usr.bin/clang/include/lld/Common/Version.inc index c577e922600..18f240111e7 100644 --- a/gnu/usr.bin/clang/include/lld/Common/Version.inc +++ b/gnu/usr.bin/clang/include/lld/Common/Version.inc @@ -1,8 +1,8 @@ -/* $OpenBSD: Version.inc,v 1.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 "" diff --git a/gnu/usr.bin/clang/include/lldb/Host/Config.h b/gnu/usr.bin/clang/include/lldb/Host/Config.h index 38ab5a580a0..184c61330a6 100644 --- a/gnu/usr.bin/clang/include/lldb/Host/Config.h +++ b/gnu/usr.bin/clang/include/lldb/Host/Config.h @@ -19,13 +19,17 @@ #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 "" diff --git a/gnu/usr.bin/clang/include/llvm-objcopy/Makefile b/gnu/usr.bin/clang/include/llvm-objcopy/Makefile index 8f820fc217c..b848d508b0b 100644 --- a/gnu/usr.bin/clang/include/llvm-objcopy/Makefile +++ b/gnu/usr.bin/clang/include/llvm-objcopy/Makefile @@ -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 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 diff --git a/gnu/usr.bin/clang/include/llvm-objdump/Makefile b/gnu/usr.bin/clang/include/llvm-objdump/Makefile new file mode 100644 index 00000000000..978e0e570e8 --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm-objdump/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1 2021/12/17 14:55:45 patrick Exp $ + +.include + +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 diff --git a/gnu/usr.bin/clang/include/llvm/AArch64/Makefile b/gnu/usr.bin/clang/include/llvm/AArch64/Makefile index 746520a5092..43ffec9fbba 100644 --- a/gnu/usr.bin/clang/include/llvm/AArch64/Makefile +++ b/gnu/usr.bin/clang/include/llvm/AArch64/Makefile @@ -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 @@ -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 \ diff --git a/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile b/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile index 11794a6bdfa..6a680750d7a 100644 --- a/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile +++ b/gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile @@ -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 @@ -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 diff --git a/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h b/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h index fd32bf38157..c501cc3545e 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h +++ b/gnu/usr.bin/clang/include/llvm/Config/abi-breaking.h @@ -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 diff --git a/gnu/usr.bin/clang/include/llvm/Config/config.h b/gnu/usr.bin/clang/include/llvm/Config/config.h index a3d574865d3..47049770e43 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/config.h +++ b/gnu/usr.bin/clang/include/llvm/Config/config.h @@ -57,6 +57,22 @@ /* 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 header file. */ #define HAVE_ERRNO_H 1 @@ -99,6 +115,9 @@ /* 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 */ @@ -111,9 +130,6 @@ /* 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 header file. */ /* #undef HAVE_LINK_H */ @@ -129,6 +145,9 @@ /* 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 header file. */ /* #undef HAVE_MALLOC_MALLOC_H */ @@ -162,12 +181,6 @@ /* 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 @@ -214,10 +227,7 @@ /* #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 header file. */ #define HAVE_TERMIOS_H 1 @@ -228,9 +238,6 @@ /* Define to 1 if you have the header file. */ /* #define HAVE_VALGRIND_VALGRIND_H 1 */ -/* Define to 1 if you have the header file. */ -#define HAVE_ZLIB_H 1 - /* Have host's _alloca */ /* #undef HAVE__ALLOCA */ @@ -296,7 +303,7 @@ /* Target triple LLVM will generate code for by default */ /* Doesn't use `cmakedefine` because it is allowed to be empty. */ -/* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd6.8" */ +/* #define LLVM_DEFAULT_TARGET_TRIPLE "amd64-unknown-openbsd7.0" */ /* Define if zlib compression is available */ /* #define LLVM_ENABLE_ZLIB 1 */ @@ -311,11 +318,14 @@ #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/" @@ -323,10 +333,10 @@ #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 */ @@ -349,7 +359,6 @@ /* Define to the default GlobalISel coverage file prefix */ /* #undef LLVM_GISEL_COV_PREFIX */ -/* Whether Timers signpost passes in Xcode Instruments */ -#define LLVM_SUPPORT_XCODE_SIGNPOSTS 0 +/* #undef HAVE_PROC_PID_RUSAGE */ #endif diff --git a/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in index f27faf51c84..8a7595ba99a 100644 --- a/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in +++ b/gnu/usr.bin/clang/include/llvm/Config/llvm-config.h.in @@ -48,18 +48,40 @@ #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 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 + diff --git a/gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile b/gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile index 6dd1233878a..68460ef53eb 100644 --- a/gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile +++ b/gnu/usr.bin/clang/include/llvm/Frontend/OpenACC/Makefile @@ -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 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/ \ diff --git a/gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile b/gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile index b2e6eae5a28..9b97c1fb196 100644 --- a/gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile +++ b/gnu/usr.bin/clang/include/llvm/Frontend/OpenMP/Makefile @@ -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 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/ \ diff --git a/gnu/usr.bin/clang/include/llvm/IR/Makefile b/gnu/usr.bin/clang/include/llvm/IR/Makefile index 7be0c3ec2d8..76e7134040d 100644 --- a/gnu/usr.bin/clang/include/llvm/IR/Makefile +++ b/gnu/usr.bin/clang/include/llvm/IR/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2021/04/28 12:55:38 patrick Exp $ +# $OpenBSD: Makefile,v 1.9 2021/12/17 14:55:44 patrick Exp $ .include @@ -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 \ diff --git a/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile b/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile index f4068bf1b4d..346c9443eb1 100644 --- a/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile +++ b/gnu/usr.bin/clang/include/llvm/PowerPC/Makefile @@ -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 @@ -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 diff --git a/gnu/usr.bin/clang/include/llvm/RISCV/Makefile b/gnu/usr.bin/clang/include/llvm/RISCV/Makefile index 0eb6c944bd6..1e616b15960 100644 --- a/gnu/usr.bin/clang/include/llvm/RISCV/Makefile +++ b/gnu/usr.bin/clang/include/llvm/RISCV/Makefile @@ -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 @@ -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 index 80ef7b1d574..00000000000 --- a/gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:23 patrick Exp $ - -.include - -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 diff --git a/gnu/usr.bin/clang/libLLVM/Makefile b/gnu/usr.bin/clang/libLLVM/Makefile index 8de3140e859..be8e783f892 100644 --- a/gnu/usr.bin/clang/libLLVM/Makefile +++ b/gnu/usr.bin/clang/libLLVM/Makefile @@ -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" diff --git a/gnu/usr.bin/clang/libLLVM/shlib_version b/gnu/usr.bin/clang/libLLVM/shlib_version index 9c1551636c5..5b844bbf422 100644 --- a/gnu/usr.bin/clang/libLLVM/shlib_version +++ b/gnu/usr.bin/clang/libLLVM/shlib_version @@ -1,2 +1,2 @@ -major=6 +major=7 minor=0 diff --git a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile index 80e13b1eaac..0cc06d47f14 100644 --- a/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMAArch64CodeGen/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile index 6e26259eabe..2bbf07f66b5 100644 --- a/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMAMDGPUCodeGen/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile b/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile index 57ec84d9bd4..3ea877deef9 100644 --- a/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile +++ b/gnu/usr.bin/clang/libLLVMAMDGPUUtils/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile index c8b6878113d..0999fcc2ba8 100644 --- a/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMARMCodeGen/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile index b7cdf2d88b9..88705b77c50 100644 --- a/gnu/usr.bin/clang/libLLVMAnalysis/Makefile +++ b/gnu/usr.bin/clang/libLLVMAnalysis/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile index cf78de4362c..ff0fe10ef9e 100644 --- a/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile +++ b/gnu/usr.bin/clang/libLLVMAsmPrinter/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile index 31fbc5bda55..07d7319650c 100644 --- a/gnu/usr.bin/clang/libLLVMCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMCodeGen/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMCore/Makefile b/gnu/usr.bin/clang/libLLVMCore/Makefile index a3c077bd81e..cf59497abcc 100644 --- a/gnu/usr.bin/clang/libLLVMCore/Makefile +++ b/gnu/usr.bin/clang/libLLVMCore/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile index b501053073f..3e4d0050321 100644 --- a/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile +++ b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMDemangle/Makefile b/gnu/usr.bin/clang/libLLVMDemangle/Makefile index c4535650a91..1923ac63955 100644 --- a/gnu/usr.bin/clang/libLLVMDemangle/Makefile +++ b/gnu/usr.bin/clang/libLLVMDemangle/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile index e0738f968b3..12bec625961 100644 --- a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile +++ b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile b/gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile index e616a1b9366..41f76085f69 100644 --- a/gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile +++ b/gnu/usr.bin/clang/libLLVMFrontendOpenACC/Makefile @@ -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 - diff --git a/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile b/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile index 424fe3507ec..73cca537089 100644 --- a/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile +++ b/gnu/usr.bin/clang/libLLVMFrontendOpenMP/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile index 03f6bfbe410..a5f0bee7631 100644 --- a/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile +++ b/gnu/usr.bin/clang/libLLVMGlobalISel/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile index be9b46660ab..e8ec0a5d169 100644 --- a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile +++ b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMMC/Makefile b/gnu/usr.bin/clang/libLLVMMC/Makefile index 93a64b5b34d..5ee4250d828 100644 --- a/gnu/usr.bin/clang/libLLVMMC/Makefile +++ b/gnu/usr.bin/clang/libLLVMMC/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMMCParser/Makefile b/gnu/usr.bin/clang/libLLVMMCParser/Makefile index af5dc962fdb..0db81c272e2 100644 --- a/gnu/usr.bin/clang/libLLVMMCParser/Makefile +++ b/gnu/usr.bin/clang/libLLVMMCParser/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMObject/Makefile b/gnu/usr.bin/clang/libLLVMObject/Makefile index 89bd019380a..925ef336d7b 100644 --- a/gnu/usr.bin/clang/libLLVMObject/Makefile +++ b/gnu/usr.bin/clang/libLLVMObject/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile index 4cf1f72a384..af683b58a2a 100644 --- a/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMPowerPCCodeGen/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile b/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile index 9a42553a3b5..1c91a74a30e 100644 --- a/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile +++ b/gnu/usr.bin/clang/libLLVMPowerPCDesc/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile index 9847fe54e13..149b057fb29 100644 --- a/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMRISCVCodeGen/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile b/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile index a1f4c1f24af..8bfb8a32e5e 100644 --- a/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile +++ b/gnu/usr.bin/clang/libLLVMRISCVDesc/Makefile @@ -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 index c9eb4b7d1b6..00000000000 --- a/gnu/usr.bin/clang/libLLVMRISCVUtils/Makefile +++ /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 diff --git a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile index e9e56dddfdb..f56a0fd806d 100644 --- a/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile +++ b/gnu/usr.bin/clang/libLLVMScalarOpts/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile b/gnu/usr.bin/clang/libLLVMSupport/Makefile index b6413f48dee..5671c39fbfa 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared b/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared index 31d60447aa9..36b0a4a0aa5 100644 --- a/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared +++ b/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMTableGen/Makefile b/gnu/usr.bin/clang/libLLVMTableGen/Makefile index 2d3195c231e..7dfce6cb5d2 100644 --- a/gnu/usr.bin/clang/libLLVMTableGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMTableGen/Makefile @@ -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 -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 diff --git a/gnu/usr.bin/clang/libLLVMTextAPI/Makefile b/gnu/usr.bin/clang/libLLVMTextAPI/Makefile index 16bb0a10a3d..82f0a63f7db 100644 --- a/gnu/usr.bin/clang/libLLVMTextAPI/Makefile +++ b/gnu/usr.bin/clang/libLLVMTextAPI/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile index 076e1ed582b..5c8ebefef43 100644 --- a/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile +++ b/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile index 01c3a11eb10..707f2613dca 100644 --- a/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile +++ b/gnu/usr.bin/clang/libLLVMX86CodeGen/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libLLVMipo/Makefile b/gnu/usr.bin/clang/libLLVMipo/Makefile index 9b43fba3fda..5e9d2894b6b 100644 --- a/gnu/usr.bin/clang/libLLVMipo/Makefile +++ b/gnu/usr.bin/clang/libLLVMipo/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libclangAnalysis/Makefile b/gnu/usr.bin/clang/libclangAnalysis/Makefile index 16e2f9ce550..25669a34cc0 100644 --- a/gnu/usr.bin/clang/libclangAnalysis/Makefile +++ b/gnu/usr.bin/clang/libclangAnalysis/Makefile @@ -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 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 \ diff --git a/gnu/usr.bin/clang/libclangBasic/Makefile b/gnu/usr.bin/clang/libclangBasic/Makefile index 405e2933818..69111b89efa 100644 --- a/gnu/usr.bin/clang/libclangBasic/Makefile +++ b/gnu/usr.bin/clang/libclangBasic/Makefile @@ -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 ... diff --git a/gnu/usr.bin/clang/libclangCodeGen/Makefile b/gnu/usr.bin/clang/libclangCodeGen/Makefile index 157759fb05f..98332f588e4 100644 --- a/gnu/usr.bin/clang/libclangCodeGen/Makefile +++ b/gnu/usr.bin/clang/libclangCodeGen/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libclangDriver/Makefile b/gnu/usr.bin/clang/libclangDriver/Makefile index 58b82b50192..cb1ecca8e6f 100644 --- a/gnu/usr.bin/clang/libclangDriver/Makefile +++ b/gnu/usr.bin/clang/libclangDriver/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/libclangFrontend/Makefile b/gnu/usr.bin/clang/libclangFrontend/Makefile index 9e7bbfae634..58bc3cbb0d2 100644 --- a/gnu/usr.bin/clang/libclangFrontend/Makefile +++ b/gnu/usr.bin/clang/libclangFrontend/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/liblldCommon/Makefile b/gnu/usr.bin/clang/liblldCommon/Makefile index 43837c9168e..d112a8bd9fa 100644 --- a/gnu/usr.bin/clang/liblldCommon/Makefile +++ b/gnu/usr.bin/clang/liblldCommon/Makefile @@ -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 ... diff --git a/gnu/usr.bin/clang/liblldbAPI/Makefile b/gnu/usr.bin/clang/liblldbAPI/Makefile index f1723eeb2cf..e8dfa8b1a26 100644 --- a/gnu/usr.bin/clang/liblldbAPI/Makefile +++ b/gnu/usr.bin/clang/liblldbAPI/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/liblldbBreakpoint/Makefile b/gnu/usr.bin/clang/liblldbBreakpoint/Makefile index aa9832d5081..5a24b7b8217 100644 --- a/gnu/usr.bin/clang/liblldbBreakpoint/Makefile +++ b/gnu/usr.bin/clang/liblldbBreakpoint/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/liblldbCommands/Makefile b/gnu/usr.bin/clang/liblldbCommands/Makefile index 816d0cf92a5..14dd4af979f 100644 --- a/gnu/usr.bin/clang/liblldbCommands/Makefile +++ b/gnu/usr.bin/clang/liblldbCommands/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/liblldbCore/Makefile b/gnu/usr.bin/clang/liblldbCore/Makefile index 63699bc5c10..eeeeb3f955c 100644 --- a/gnu/usr.bin/clang/liblldbCore/Makefile +++ b/gnu/usr.bin/clang/liblldbCore/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/liblldbInterpreter/Makefile b/gnu/usr.bin/clang/liblldbInterpreter/Makefile index effa1664384..05c86cdd748 100644 --- a/gnu/usr.bin/clang/liblldbInterpreter/Makefile +++ b/gnu/usr.bin/clang/liblldbInterpreter/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile index a21b7e2a60b..d49fe78c1f0 100644 --- a/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile index fa1bab69427..478b1f69223 100644 --- a/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile index 3cdbf481fe4..2800618d986 100644 --- a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile +++ b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile @@ -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 ... diff --git a/gnu/usr.bin/clang/liblldbSymbol/Makefile b/gnu/usr.bin/clang/liblldbSymbol/Makefile index 3620519d0e5..46354e2e274 100644 --- a/gnu/usr.bin/clang/liblldbSymbol/Makefile +++ b/gnu/usr.bin/clang/liblldbSymbol/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/liblldbTarget/Makefile b/gnu/usr.bin/clang/liblldbTarget/Makefile index d1f516ae20e..099a313b47f 100644 --- a/gnu/usr.bin/clang/liblldbTarget/Makefile +++ b/gnu/usr.bin/clang/liblldbTarget/Makefile @@ -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 diff --git a/gnu/usr.bin/clang/liblldbUtility/Makefile b/gnu/usr.bin/clang/liblldbUtility/Makefile index 579e62938d5..70e55d7ff2e 100644 --- a/gnu/usr.bin/clang/liblldbUtility/Makefile +++ b/gnu/usr.bin/clang/liblldbUtility/Makefile @@ -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 \ diff --git a/gnu/usr.bin/clang/lldb-server/Makefile b/gnu/usr.bin/clang/lldb-server/Makefile index af2613e8cdf..f55f44e489c 100644 --- a/gnu/usr.bin/clang/lldb-server/Makefile +++ b/gnu/usr.bin/clang/lldb-server/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/04/28 12:55:42 patrick Exp $ +# $OpenBSD: Makefile,v 1.6 2021/12/17 14:55:47 patrick Exp $ .include @@ -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 diff --git a/gnu/usr.bin/clang/lldb/Makefile b/gnu/usr.bin/clang/lldb/Makefile index 20ff77ab2c5..3ab9247c4a1 100644 --- a/gnu/usr.bin/clang/lldb/Makefile +++ b/gnu/usr.bin/clang/lldb/Makefile @@ -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 @@ -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 diff --git a/gnu/usr.bin/clang/lldb/lldb.1 b/gnu/usr.bin/clang/lldb/lldb.1 index f4c99a9efb4..ddd2e6ceb0b 100644 --- a/gnu/usr.bin/clang/lldb/lldb.1 +++ b/gnu/usr.bin/clang/lldb/lldb.1 @@ -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\-\-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 diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 index c80ef69aa3d..4c29e147308 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.AArch64 @@ -1,107 +1,102 @@ -//===- 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 diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM index 0bcca931c5e..51c1da4fc14 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.ARM @@ -1,107 +1,102 @@ -//===- 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 diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips index 62ac309d8c0..3aebfc96689 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Mips @@ -1,106 +1,101 @@ -//===- 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 diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC index a7fa25ce323..e0fa1f2b34c 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.PowerPC @@ -1,106 +1,101 @@ -//===- 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 diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV index 4892aa918d4..e1e2c694208 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.RISCV @@ -1,107 +1,101 @@ -//===- 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 diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc index 1a80f8b0a08..ea1b4bc94f8 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.Sparc @@ -1,106 +1,101 @@ -//===- 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 diff --git a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 index 295931b6e21..c8eb326b402 100644 --- a/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 +++ b/gnu/usr.bin/clang/llvm-config/LibraryDependencies.inc.X86 @@ -1,106 +1,101 @@ -//===- 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 diff --git a/gnu/usr.bin/clang/llvm-config/Makefile b/gnu/usr.bin/clang/llvm-config/Makefile index b6bce21091d..37731506a68 100644 --- a/gnu/usr.bin/clang/llvm-config/Makefile +++ b/gnu/usr.bin/clang/llvm-config/Makefile @@ -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 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 diff --git a/gnu/usr.bin/clang/llvm-config/llvm-config.1 b/gnu/usr.bin/clang/llvm-config/llvm-config.1 index 394cb666706..8fe5bd10f01 100644 --- a/gnu/usr.bin/clang/llvm-config/llvm-config.1 +++ b/gnu/usr.bin/clang/llvm-config/llvm-config.1 @@ -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 . diff --git a/gnu/usr.bin/clang/llvm-objcopy/Makefile b/gnu/usr.bin/clang/llvm-objcopy/Makefile index 99c5728335e..4eb15f00857 100644 --- a/gnu/usr.bin/clang/llvm-objcopy/Makefile +++ b/gnu/usr.bin/clang/llvm-objcopy/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2021/08/02 08:50:52 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:47 patrick Exp $ .include @@ -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 $@ diff --git a/gnu/usr.bin/clang/llvm-objcopy/llvm-objcopy.1 b/gnu/usr.bin/clang/llvm-objcopy/llvm-objcopy.1 index 68868fc1f71..b4e5cf35231 100644 --- a/gnu/usr.bin/clang/llvm-objcopy/llvm-objcopy.1 +++ b/gnu/usr.bin/clang/llvm-objcopy/llvm-objcopy.1 @@ -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 -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 -Hard\-link the input to \fB/xx/xxx\fP, where \fB\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 -Hard\-link the output to \fB/xx/xxx\fP, where \fB\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 , \-\-adjust\-start Add \fB\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 diff --git a/gnu/usr.bin/clang/llvm-objdump/Makefile b/gnu/usr.bin/clang/llvm-objdump/Makefile index 1d0d146ecab..c6e4b308f14 100644 --- a/gnu/usr.bin/clang/llvm-objdump/Makefile +++ b/gnu/usr.bin/clang/llvm-objdump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2021/08/02 08:50:52 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:47 patrick Exp $ .include @@ -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 diff --git a/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 b/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 index 520fc03c27a..d3e735f49e3 100644 --- a/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 +++ b/gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1 @@ -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= 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= -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= -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= +When disassembling with the \fI\%\-\-source\fP option, prepend \fBprefix\fP to +absolute paths. +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-prefix\-strip= +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 +: + cmp eax, dword ptr + jge +.ft P +.fi +.UNINDENT +.UNINDENT +.UNINDENT +.INDENT 0.0 +.TP .B \-\-triple= 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=