Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc++][C++03] Copy the LLVM 19 headers #108999

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

philnik777
Copy link
Contributor

@philnik777 philnik777 commented Sep 17, 2024

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.

Copy link
Contributor Author

philnik777 commented Sep 17, 2024

Copy link

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
git-clang-format --diff ab38ec9ac312460e4f71c8ad3f50b9b5723469f6 0dcf755a3e8fe605a5c6546c84997885ffc96b1a --extensions ,h -- libcxx/include/__cxx03/__algorithm/adjacent_find.h libcxx/include/__cxx03/__algorithm/all_of.h libcxx/include/__cxx03/__algorithm/any_of.h libcxx/include/__cxx03/__algorithm/binary_search.h libcxx/include/__cxx03/__algorithm/clamp.h libcxx/include/__cxx03/__algorithm/comp.h libcxx/include/__cxx03/__algorithm/comp_ref_type.h libcxx/include/__cxx03/__algorithm/copy.h libcxx/include/__cxx03/__algorithm/copy_backward.h libcxx/include/__cxx03/__algorithm/copy_if.h libcxx/include/__cxx03/__algorithm/copy_move_common.h libcxx/include/__cxx03/__algorithm/copy_n.h libcxx/include/__cxx03/__algorithm/count.h libcxx/include/__cxx03/__algorithm/count_if.h libcxx/include/__cxx03/__algorithm/equal.h libcxx/include/__cxx03/__algorithm/equal_range.h libcxx/include/__cxx03/__algorithm/fill.h libcxx/include/__cxx03/__algorithm/fill_n.h libcxx/include/__cxx03/__algorithm/find.h libcxx/include/__cxx03/__algorithm/find_end.h libcxx/include/__cxx03/__algorithm/find_first_of.h libcxx/include/__cxx03/__algorithm/find_if.h libcxx/include/__cxx03/__algorithm/find_if_not.h libcxx/include/__cxx03/__algorithm/find_segment_if.h libcxx/include/__cxx03/__algorithm/fold.h libcxx/include/__cxx03/__algorithm/for_each.h libcxx/include/__cxx03/__algorithm/for_each_n.h libcxx/include/__cxx03/__algorithm/for_each_segment.h libcxx/include/__cxx03/__algorithm/generate.h libcxx/include/__cxx03/__algorithm/generate_n.h libcxx/include/__cxx03/__algorithm/half_positive.h libcxx/include/__cxx03/__algorithm/in_found_result.h libcxx/include/__cxx03/__algorithm/in_fun_result.h libcxx/include/__cxx03/__algorithm/in_in_out_result.h libcxx/include/__cxx03/__algorithm/in_in_result.h libcxx/include/__cxx03/__algorithm/in_out_out_result.h libcxx/include/__cxx03/__algorithm/in_out_result.h libcxx/include/__cxx03/__algorithm/includes.h libcxx/include/__cxx03/__algorithm/inplace_merge.h libcxx/include/__cxx03/__algorithm/is_heap.h libcxx/include/__cxx03/__algorithm/is_heap_until.h libcxx/include/__cxx03/__algorithm/is_partitioned.h libcxx/include/__cxx03/__algorithm/is_permutation.h libcxx/include/__cxx03/__algorithm/is_sorted.h libcxx/include/__cxx03/__algorithm/is_sorted_until.h libcxx/include/__cxx03/__algorithm/iter_swap.h libcxx/include/__cxx03/__algorithm/iterator_operations.h libcxx/include/__cxx03/__algorithm/lexicographical_compare.h libcxx/include/__cxx03/__algorithm/lexicographical_compare_three_way.h libcxx/include/__cxx03/__algorithm/lower_bound.h libcxx/include/__cxx03/__algorithm/make_heap.h libcxx/include/__cxx03/__algorithm/make_projected.h libcxx/include/__cxx03/__algorithm/max.h libcxx/include/__cxx03/__algorithm/max_element.h libcxx/include/__cxx03/__algorithm/merge.h libcxx/include/__cxx03/__algorithm/min.h libcxx/include/__cxx03/__algorithm/min_element.h libcxx/include/__cxx03/__algorithm/min_max_result.h libcxx/include/__cxx03/__algorithm/minmax.h libcxx/include/__cxx03/__algorithm/minmax_element.h libcxx/include/__cxx03/__algorithm/mismatch.h libcxx/include/__cxx03/__algorithm/move.h libcxx/include/__cxx03/__algorithm/move_backward.h libcxx/include/__cxx03/__algorithm/next_permutation.h libcxx/include/__cxx03/__algorithm/none_of.h libcxx/include/__cxx03/__algorithm/nth_element.h libcxx/include/__cxx03/__algorithm/partial_sort.h libcxx/include/__cxx03/__algorithm/partial_sort_copy.h libcxx/include/__cxx03/__algorithm/partition.h libcxx/include/__cxx03/__algorithm/partition_copy.h libcxx/include/__cxx03/__algorithm/partition_point.h libcxx/include/__cxx03/__algorithm/pop_heap.h libcxx/include/__cxx03/__algorithm/prev_permutation.h libcxx/include/__cxx03/__algorithm/pstl.h libcxx/include/__cxx03/__algorithm/push_heap.h libcxx/include/__cxx03/__algorithm/ranges_adjacent_find.h libcxx/include/__cxx03/__algorithm/ranges_all_of.h libcxx/include/__cxx03/__algorithm/ranges_any_of.h libcxx/include/__cxx03/__algorithm/ranges_binary_search.h libcxx/include/__cxx03/__algorithm/ranges_clamp.h libcxx/include/__cxx03/__algorithm/ranges_contains.h libcxx/include/__cxx03/__algorithm/ranges_contains_subrange.h libcxx/include/__cxx03/__algorithm/ranges_copy.h libcxx/include/__cxx03/__algorithm/ranges_copy_backward.h libcxx/include/__cxx03/__algorithm/ranges_copy_if.h libcxx/include/__cxx03/__algorithm/ranges_copy_n.h libcxx/include/__cxx03/__algorithm/ranges_count.h libcxx/include/__cxx03/__algorithm/ranges_count_if.h libcxx/include/__cxx03/__algorithm/ranges_ends_with.h libcxx/include/__cxx03/__algorithm/ranges_equal.h libcxx/include/__cxx03/__algorithm/ranges_equal_range.h libcxx/include/__cxx03/__algorithm/ranges_fill.h libcxx/include/__cxx03/__algorithm/ranges_fill_n.h libcxx/include/__cxx03/__algorithm/ranges_find.h libcxx/include/__cxx03/__algorithm/ranges_find_end.h libcxx/include/__cxx03/__algorithm/ranges_find_first_of.h libcxx/include/__cxx03/__algorithm/ranges_find_if.h libcxx/include/__cxx03/__algorithm/ranges_find_if_not.h libcxx/include/__cxx03/__algorithm/ranges_find_last.h libcxx/include/__cxx03/__algorithm/ranges_for_each.h libcxx/include/__cxx03/__algorithm/ranges_for_each_n.h libcxx/include/__cxx03/__algorithm/ranges_generate.h libcxx/include/__cxx03/__algorithm/ranges_generate_n.h libcxx/include/__cxx03/__algorithm/ranges_includes.h libcxx/include/__cxx03/__algorithm/ranges_inplace_merge.h libcxx/include/__cxx03/__algorithm/ranges_is_heap.h libcxx/include/__cxx03/__algorithm/ranges_is_heap_until.h libcxx/include/__cxx03/__algorithm/ranges_is_partitioned.h libcxx/include/__cxx03/__algorithm/ranges_is_permutation.h libcxx/include/__cxx03/__algorithm/ranges_is_sorted.h libcxx/include/__cxx03/__algorithm/ranges_is_sorted_until.h libcxx/include/__cxx03/__algorithm/ranges_iterator_concept.h libcxx/include/__cxx03/__algorithm/ranges_lexicographical_compare.h libcxx/include/__cxx03/__algorithm/ranges_lower_bound.h libcxx/include/__cxx03/__algorithm/ranges_make_heap.h libcxx/include/__cxx03/__algorithm/ranges_max.h libcxx/include/__cxx03/__algorithm/ranges_max_element.h libcxx/include/__cxx03/__algorithm/ranges_merge.h libcxx/include/__cxx03/__algorithm/ranges_min.h libcxx/include/__cxx03/__algorithm/ranges_min_element.h libcxx/include/__cxx03/__algorithm/ranges_minmax.h libcxx/include/__cxx03/__algorithm/ranges_minmax_element.h libcxx/include/__cxx03/__algorithm/ranges_mismatch.h libcxx/include/__cxx03/__algorithm/ranges_move.h libcxx/include/__cxx03/__algorithm/ranges_move_backward.h libcxx/include/__cxx03/__algorithm/ranges_next_permutation.h libcxx/include/__cxx03/__algorithm/ranges_none_of.h libcxx/include/__cxx03/__algorithm/ranges_nth_element.h libcxx/include/__cxx03/__algorithm/ranges_partial_sort.h libcxx/include/__cxx03/__algorithm/ranges_partial_sort_copy.h libcxx/include/__cxx03/__algorithm/ranges_partition.h libcxx/include/__cxx03/__algorithm/ranges_partition_copy.h libcxx/include/__cxx03/__algorithm/ranges_partition_point.h libcxx/include/__cxx03/__algorithm/ranges_pop_heap.h libcxx/include/__cxx03/__algorithm/ranges_prev_permutation.h libcxx/include/__cxx03/__algorithm/ranges_push_heap.h libcxx/include/__cxx03/__algorithm/ranges_remove.h libcxx/include/__cxx03/__algorithm/ranges_remove_copy.h libcxx/include/__cxx03/__algorithm/ranges_remove_copy_if.h libcxx/include/__cxx03/__algorithm/ranges_remove_if.h libcxx/include/__cxx03/__algorithm/ranges_replace.h libcxx/include/__cxx03/__algorithm/ranges_replace_copy.h libcxx/include/__cxx03/__algorithm/ranges_replace_copy_if.h libcxx/include/__cxx03/__algorithm/ranges_replace_if.h libcxx/include/__cxx03/__algorithm/ranges_reverse.h libcxx/include/__cxx03/__algorithm/ranges_reverse_copy.h libcxx/include/__cxx03/__algorithm/ranges_rotate.h libcxx/include/__cxx03/__algorithm/ranges_rotate_copy.h libcxx/include/__cxx03/__algorithm/ranges_sample.h libcxx/include/__cxx03/__algorithm/ranges_search.h libcxx/include/__cxx03/__algorithm/ranges_search_n.h libcxx/include/__cxx03/__algorithm/ranges_set_difference.h libcxx/include/__cxx03/__algorithm/ranges_set_intersection.h libcxx/include/__cxx03/__algorithm/ranges_set_symmetric_difference.h libcxx/include/__cxx03/__algorithm/ranges_set_union.h libcxx/include/__cxx03/__algorithm/ranges_shuffle.h libcxx/include/__cxx03/__algorithm/ranges_sort.h libcxx/include/__cxx03/__algorithm/ranges_sort_heap.h libcxx/include/__cxx03/__algorithm/ranges_stable_partition.h libcxx/include/__cxx03/__algorithm/ranges_stable_sort.h libcxx/include/__cxx03/__algorithm/ranges_starts_with.h libcxx/include/__cxx03/__algorithm/ranges_swap_ranges.h libcxx/include/__cxx03/__algorithm/ranges_transform.h libcxx/include/__cxx03/__algorithm/ranges_unique.h libcxx/include/__cxx03/__algorithm/ranges_unique_copy.h libcxx/include/__cxx03/__algorithm/ranges_upper_bound.h libcxx/include/__cxx03/__algorithm/remove.h libcxx/include/__cxx03/__algorithm/remove_copy.h libcxx/include/__cxx03/__algorithm/remove_copy_if.h libcxx/include/__cxx03/__algorithm/remove_if.h libcxx/include/__cxx03/__algorithm/replace.h libcxx/include/__cxx03/__algorithm/replace_copy.h libcxx/include/__cxx03/__algorithm/replace_copy_if.h libcxx/include/__cxx03/__algorithm/replace_if.h libcxx/include/__cxx03/__algorithm/reverse.h libcxx/include/__cxx03/__algorithm/reverse_copy.h libcxx/include/__cxx03/__algorithm/rotate.h libcxx/include/__cxx03/__algorithm/rotate_copy.h libcxx/include/__cxx03/__algorithm/sample.h libcxx/include/__cxx03/__algorithm/search.h libcxx/include/__cxx03/__algorithm/search_n.h libcxx/include/__cxx03/__algorithm/set_difference.h libcxx/include/__cxx03/__algorithm/set_intersection.h libcxx/include/__cxx03/__algorithm/set_symmetric_difference.h libcxx/include/__cxx03/__algorithm/set_union.h libcxx/include/__cxx03/__algorithm/shift_left.h libcxx/include/__cxx03/__algorithm/shift_right.h libcxx/include/__cxx03/__algorithm/shuffle.h libcxx/include/__cxx03/__algorithm/sift_down.h libcxx/include/__cxx03/__algorithm/simd_utils.h libcxx/include/__cxx03/__algorithm/sort.h libcxx/include/__cxx03/__algorithm/sort_heap.h libcxx/include/__cxx03/__algorithm/stable_partition.h libcxx/include/__cxx03/__algorithm/stable_sort.h libcxx/include/__cxx03/__algorithm/swap_ranges.h libcxx/include/__cxx03/__algorithm/three_way_comp_ref_type.h libcxx/include/__cxx03/__algorithm/transform.h libcxx/include/__cxx03/__algorithm/uniform_random_bit_generator_adaptor.h libcxx/include/__cxx03/__algorithm/unique.h libcxx/include/__cxx03/__algorithm/unique_copy.h libcxx/include/__cxx03/__algorithm/unwrap_iter.h libcxx/include/__cxx03/__algorithm/unwrap_range.h libcxx/include/__cxx03/__algorithm/upper_bound.h libcxx/include/__cxx03/__assert libcxx/include/__cxx03/__atomic/aliases.h libcxx/include/__cxx03/__atomic/atomic.h libcxx/include/__cxx03/__atomic/atomic_base.h libcxx/include/__cxx03/__atomic/atomic_flag.h libcxx/include/__cxx03/__atomic/atomic_init.h libcxx/include/__cxx03/__atomic/atomic_lock_free.h libcxx/include/__cxx03/__atomic/atomic_ref.h libcxx/include/__cxx03/__atomic/atomic_sync.h libcxx/include/__cxx03/__atomic/check_memory_order.h libcxx/include/__cxx03/__atomic/contention_t.h libcxx/include/__cxx03/__atomic/cxx_atomic_impl.h libcxx/include/__cxx03/__atomic/fence.h libcxx/include/__cxx03/__atomic/is_always_lock_free.h libcxx/include/__cxx03/__atomic/kill_dependency.h libcxx/include/__cxx03/__atomic/memory_order.h libcxx/include/__cxx03/__atomic/to_gcc_order.h libcxx/include/__cxx03/__bit/bit_cast.h libcxx/include/__cxx03/__bit/bit_ceil.h libcxx/include/__cxx03/__bit/bit_floor.h libcxx/include/__cxx03/__bit/bit_log2.h libcxx/include/__cxx03/__bit/bit_width.h libcxx/include/__cxx03/__bit/blsr.h libcxx/include/__cxx03/__bit/byteswap.h libcxx/include/__cxx03/__bit/countl.h libcxx/include/__cxx03/__bit/countr.h libcxx/include/__cxx03/__bit/endian.h libcxx/include/__cxx03/__bit/has_single_bit.h libcxx/include/__cxx03/__bit/invert_if.h libcxx/include/__cxx03/__bit/popcount.h libcxx/include/__cxx03/__bit/rotate.h libcxx/include/__cxx03/__bit_reference libcxx/include/__cxx03/__charconv/chars_format.h libcxx/include/__cxx03/__charconv/from_chars_integral.h libcxx/include/__cxx03/__charconv/from_chars_result.h libcxx/include/__cxx03/__charconv/tables.h libcxx/include/__cxx03/__charconv/to_chars.h libcxx/include/__cxx03/__charconv/to_chars_base_10.h libcxx/include/__cxx03/__charconv/to_chars_floating_point.h libcxx/include/__cxx03/__charconv/to_chars_integral.h libcxx/include/__cxx03/__charconv/to_chars_result.h libcxx/include/__cxx03/__charconv/traits.h libcxx/include/__cxx03/__chrono/calendar.h libcxx/include/__cxx03/__chrono/concepts.h libcxx/include/__cxx03/__chrono/convert_to_timespec.h libcxx/include/__cxx03/__chrono/convert_to_tm.h libcxx/include/__cxx03/__chrono/day.h libcxx/include/__cxx03/__chrono/duration.h libcxx/include/__cxx03/__chrono/exception.h libcxx/include/__cxx03/__chrono/file_clock.h libcxx/include/__cxx03/__chrono/formatter.h libcxx/include/__cxx03/__chrono/hh_mm_ss.h libcxx/include/__cxx03/__chrono/high_resolution_clock.h libcxx/include/__cxx03/__chrono/leap_second.h libcxx/include/__cxx03/__chrono/literals.h libcxx/include/__cxx03/__chrono/local_info.h libcxx/include/__cxx03/__chrono/month.h libcxx/include/__cxx03/__chrono/month_weekday.h libcxx/include/__cxx03/__chrono/monthday.h libcxx/include/__cxx03/__chrono/ostream.h libcxx/include/__cxx03/__chrono/parser_std_format_spec.h libcxx/include/__cxx03/__chrono/statically_widen.h libcxx/include/__cxx03/__chrono/steady_clock.h libcxx/include/__cxx03/__chrono/sys_info.h libcxx/include/__cxx03/__chrono/system_clock.h libcxx/include/__cxx03/__chrono/time_point.h libcxx/include/__cxx03/__chrono/time_zone.h libcxx/include/__cxx03/__chrono/time_zone_link.h libcxx/include/__cxx03/__chrono/tzdb.h libcxx/include/__cxx03/__chrono/tzdb_list.h libcxx/include/__cxx03/__chrono/weekday.h libcxx/include/__cxx03/__chrono/year.h libcxx/include/__cxx03/__chrono/year_month.h libcxx/include/__cxx03/__chrono/year_month_day.h libcxx/include/__cxx03/__chrono/year_month_weekday.h libcxx/include/__cxx03/__chrono/zoned_time.h libcxx/include/__cxx03/__compare/common_comparison_category.h libcxx/include/__cxx03/__compare/compare_partial_order_fallback.h libcxx/include/__cxx03/__compare/compare_strong_order_fallback.h libcxx/include/__cxx03/__compare/compare_three_way.h libcxx/include/__cxx03/__compare/compare_three_way_result.h libcxx/include/__cxx03/__compare/compare_weak_order_fallback.h libcxx/include/__cxx03/__compare/is_eq.h libcxx/include/__cxx03/__compare/ordering.h libcxx/include/__cxx03/__compare/partial_order.h libcxx/include/__cxx03/__compare/strong_order.h libcxx/include/__cxx03/__compare/synth_three_way.h libcxx/include/__cxx03/__compare/three_way_comparable.h libcxx/include/__cxx03/__compare/weak_order.h libcxx/include/__cxx03/__concepts/arithmetic.h libcxx/include/__cxx03/__concepts/assignable.h libcxx/include/__cxx03/__concepts/boolean_testable.h libcxx/include/__cxx03/__concepts/class_or_enum.h libcxx/include/__cxx03/__concepts/common_reference_with.h libcxx/include/__cxx03/__concepts/common_with.h libcxx/include/__cxx03/__concepts/constructible.h libcxx/include/__cxx03/__concepts/convertible_to.h libcxx/include/__cxx03/__concepts/copyable.h libcxx/include/__cxx03/__concepts/derived_from.h libcxx/include/__cxx03/__concepts/destructible.h libcxx/include/__cxx03/__concepts/different_from.h libcxx/include/__cxx03/__concepts/equality_comparable.h libcxx/include/__cxx03/__concepts/invocable.h libcxx/include/__cxx03/__concepts/movable.h libcxx/include/__cxx03/__concepts/predicate.h libcxx/include/__cxx03/__concepts/regular.h libcxx/include/__cxx03/__concepts/relation.h libcxx/include/__cxx03/__concepts/same_as.h libcxx/include/__cxx03/__concepts/semiregular.h libcxx/include/__cxx03/__concepts/swappable.h libcxx/include/__cxx03/__concepts/totally_ordered.h libcxx/include/__cxx03/__condition_variable/condition_variable.h libcxx/include/__cxx03/__config libcxx/include/__cxx03/__configuration/abi.h libcxx/include/__cxx03/__configuration/availability.h libcxx/include/__cxx03/__configuration/compiler.h libcxx/include/__cxx03/__configuration/language.h libcxx/include/__cxx03/__configuration/platform.h libcxx/include/__cxx03/__coroutine/coroutine_handle.h libcxx/include/__cxx03/__coroutine/coroutine_traits.h libcxx/include/__cxx03/__coroutine/noop_coroutine_handle.h libcxx/include/__cxx03/__coroutine/trivial_awaitables.h libcxx/include/__cxx03/__debug_utils/randomize_range.h libcxx/include/__cxx03/__debug_utils/sanitizers.h libcxx/include/__cxx03/__debug_utils/strict_weak_ordering_check.h libcxx/include/__cxx03/__exception/exception.h libcxx/include/__cxx03/__exception/exception_ptr.h libcxx/include/__cxx03/__exception/nested_exception.h libcxx/include/__cxx03/__exception/operations.h libcxx/include/__cxx03/__exception/terminate.h libcxx/include/__cxx03/__expected/bad_expected_access.h libcxx/include/__cxx03/__expected/expected.h libcxx/include/__cxx03/__expected/unexpect.h libcxx/include/__cxx03/__expected/unexpected.h libcxx/include/__cxx03/__filesystem/copy_options.h libcxx/include/__cxx03/__filesystem/directory_entry.h libcxx/include/__cxx03/__filesystem/directory_iterator.h libcxx/include/__cxx03/__filesystem/directory_options.h libcxx/include/__cxx03/__filesystem/file_status.h libcxx/include/__cxx03/__filesystem/file_time_type.h libcxx/include/__cxx03/__filesystem/file_type.h libcxx/include/__cxx03/__filesystem/filesystem_error.h libcxx/include/__cxx03/__filesystem/operations.h libcxx/include/__cxx03/__filesystem/path.h libcxx/include/__cxx03/__filesystem/path_iterator.h libcxx/include/__cxx03/__filesystem/perm_options.h libcxx/include/__cxx03/__filesystem/perms.h libcxx/include/__cxx03/__filesystem/recursive_directory_iterator.h libcxx/include/__cxx03/__filesystem/space_info.h libcxx/include/__cxx03/__filesystem/u8path.h libcxx/include/__cxx03/__format/buffer.h libcxx/include/__cxx03/__format/concepts.h libcxx/include/__cxx03/__format/container_adaptor.h libcxx/include/__cxx03/__format/enable_insertable.h libcxx/include/__cxx03/__format/escaped_output_table.h libcxx/include/__cxx03/__format/extended_grapheme_cluster_table.h libcxx/include/__cxx03/__format/format_arg.h libcxx/include/__cxx03/__format/format_arg_store.h libcxx/include/__cxx03/__format/format_args.h libcxx/include/__cxx03/__format/format_context.h libcxx/include/__cxx03/__format/format_error.h libcxx/include/__cxx03/__format/format_functions.h libcxx/include/__cxx03/__format/format_parse_context.h libcxx/include/__cxx03/__format/format_string.h libcxx/include/__cxx03/__format/format_to_n_result.h libcxx/include/__cxx03/__format/formatter.h libcxx/include/__cxx03/__format/formatter_bool.h libcxx/include/__cxx03/__format/formatter_char.h libcxx/include/__cxx03/__format/formatter_floating_point.h libcxx/include/__cxx03/__format/formatter_integer.h libcxx/include/__cxx03/__format/formatter_integral.h libcxx/include/__cxx03/__format/formatter_output.h libcxx/include/__cxx03/__format/formatter_pointer.h libcxx/include/__cxx03/__format/formatter_string.h libcxx/include/__cxx03/__format/formatter_tuple.h libcxx/include/__cxx03/__format/indic_conjunct_break_table.h libcxx/include/__cxx03/__format/parser_std_format_spec.h libcxx/include/__cxx03/__format/range_default_formatter.h libcxx/include/__cxx03/__format/range_formatter.h libcxx/include/__cxx03/__format/unicode.h libcxx/include/__cxx03/__format/width_estimation_table.h libcxx/include/__cxx03/__format/write_escaped.h libcxx/include/__cxx03/__functional/binary_function.h libcxx/include/__cxx03/__functional/binary_negate.h libcxx/include/__cxx03/__functional/bind.h libcxx/include/__cxx03/__functional/bind_back.h libcxx/include/__cxx03/__functional/bind_front.h libcxx/include/__cxx03/__functional/binder1st.h libcxx/include/__cxx03/__functional/binder2nd.h libcxx/include/__cxx03/__functional/boyer_moore_searcher.h libcxx/include/__cxx03/__functional/compose.h libcxx/include/__cxx03/__functional/default_searcher.h libcxx/include/__cxx03/__functional/function.h libcxx/include/__cxx03/__functional/hash.h libcxx/include/__cxx03/__functional/identity.h libcxx/include/__cxx03/__functional/invoke.h libcxx/include/__cxx03/__functional/is_transparent.h libcxx/include/__cxx03/__functional/mem_fn.h libcxx/include/__cxx03/__functional/mem_fun_ref.h libcxx/include/__cxx03/__functional/not_fn.h libcxx/include/__cxx03/__functional/operations.h libcxx/include/__cxx03/__functional/perfect_forward.h libcxx/include/__cxx03/__functional/pointer_to_binary_function.h libcxx/include/__cxx03/__functional/pointer_to_unary_function.h libcxx/include/__cxx03/__functional/ranges_operations.h libcxx/include/__cxx03/__functional/reference_wrapper.h libcxx/include/__cxx03/__functional/unary_function.h libcxx/include/__cxx03/__functional/unary_negate.h libcxx/include/__cxx03/__functional/weak_result_type.h libcxx/include/__cxx03/__fwd/array.h libcxx/include/__cxx03/__fwd/bit_reference.h libcxx/include/__cxx03/__fwd/complex.h libcxx/include/__cxx03/__fwd/deque.h libcxx/include/__cxx03/__fwd/format.h libcxx/include/__cxx03/__fwd/fstream.h libcxx/include/__cxx03/__fwd/functional.h libcxx/include/__cxx03/__fwd/ios.h libcxx/include/__cxx03/__fwd/istream.h libcxx/include/__cxx03/__fwd/mdspan.h libcxx/include/__cxx03/__fwd/memory.h libcxx/include/__cxx03/__fwd/memory_resource.h libcxx/include/__cxx03/__fwd/ostream.h libcxx/include/__cxx03/__fwd/pair.h libcxx/include/__cxx03/__fwd/queue.h libcxx/include/__cxx03/__fwd/span.h libcxx/include/__cxx03/__fwd/sstream.h libcxx/include/__cxx03/__fwd/stack.h libcxx/include/__cxx03/__fwd/streambuf.h libcxx/include/__cxx03/__fwd/string.h libcxx/include/__cxx03/__fwd/string_view.h libcxx/include/__cxx03/__fwd/subrange.h libcxx/include/__cxx03/__fwd/tuple.h libcxx/include/__cxx03/__fwd/vector.h libcxx/include/__cxx03/__hash_table libcxx/include/__cxx03/__ios/fpos.h libcxx/include/__cxx03/__iterator/access.h libcxx/include/__cxx03/__iterator/advance.h libcxx/include/__cxx03/__iterator/aliasing_iterator.h libcxx/include/__cxx03/__iterator/back_insert_iterator.h libcxx/include/__cxx03/__iterator/bounded_iter.h libcxx/include/__cxx03/__iterator/common_iterator.h libcxx/include/__cxx03/__iterator/concepts.h libcxx/include/__cxx03/__iterator/counted_iterator.h libcxx/include/__cxx03/__iterator/cpp17_iterator_concepts.h libcxx/include/__cxx03/__iterator/data.h libcxx/include/__cxx03/__iterator/default_sentinel.h libcxx/include/__cxx03/__iterator/distance.h libcxx/include/__cxx03/__iterator/empty.h libcxx/include/__cxx03/__iterator/erase_if_container.h libcxx/include/__cxx03/__iterator/front_insert_iterator.h libcxx/include/__cxx03/__iterator/incrementable_traits.h libcxx/include/__cxx03/__iterator/indirectly_comparable.h libcxx/include/__cxx03/__iterator/insert_iterator.h libcxx/include/__cxx03/__iterator/istream_iterator.h libcxx/include/__cxx03/__iterator/istreambuf_iterator.h libcxx/include/__cxx03/__iterator/iter_move.h libcxx/include/__cxx03/__iterator/iter_swap.h libcxx/include/__cxx03/__iterator/iterator.h libcxx/include/__cxx03/__iterator/iterator_traits.h libcxx/include/__cxx03/__iterator/iterator_with_data.h libcxx/include/__cxx03/__iterator/mergeable.h libcxx/include/__cxx03/__iterator/move_iterator.h libcxx/include/__cxx03/__iterator/move_sentinel.h libcxx/include/__cxx03/__iterator/next.h libcxx/include/__cxx03/__iterator/ostream_iterator.h libcxx/include/__cxx03/__iterator/ostreambuf_iterator.h libcxx/include/__cxx03/__iterator/permutable.h libcxx/include/__cxx03/__iterator/prev.h libcxx/include/__cxx03/__iterator/projected.h libcxx/include/__cxx03/__iterator/ranges_iterator_traits.h libcxx/include/__cxx03/__iterator/readable_traits.h libcxx/include/__cxx03/__iterator/reverse_access.h libcxx/include/__cxx03/__iterator/reverse_iterator.h libcxx/include/__cxx03/__iterator/segmented_iterator.h libcxx/include/__cxx03/__iterator/size.h libcxx/include/__cxx03/__iterator/sortable.h libcxx/include/__cxx03/__iterator/unreachable_sentinel.h libcxx/include/__cxx03/__iterator/wrap_iter.h libcxx/include/__cxx03/__locale libcxx/include/__cxx03/__locale_dir/locale_base_api.h libcxx/include/__cxx03/__locale_dir/locale_base_api/android.h libcxx/include/__cxx03/__locale_dir/locale_base_api/bsd_locale_defaults.h libcxx/include/__cxx03/__locale_dir/locale_base_api/bsd_locale_fallbacks.h libcxx/include/__cxx03/__locale_dir/locale_base_api/fuchsia.h libcxx/include/__cxx03/__locale_dir/locale_base_api/ibm.h libcxx/include/__cxx03/__locale_dir/locale_base_api/locale_guard.h libcxx/include/__cxx03/__locale_dir/locale_base_api/musl.h libcxx/include/__cxx03/__locale_dir/locale_base_api/newlib.h libcxx/include/__cxx03/__locale_dir/locale_base_api/openbsd.h libcxx/include/__cxx03/__locale_dir/locale_base_api/win32.h libcxx/include/__cxx03/__math/abs.h libcxx/include/__cxx03/__math/copysign.h libcxx/include/__cxx03/__math/error_functions.h libcxx/include/__cxx03/__math/exponential_functions.h libcxx/include/__cxx03/__math/fdim.h libcxx/include/__cxx03/__math/fma.h libcxx/include/__cxx03/__math/gamma.h libcxx/include/__cxx03/__math/hyperbolic_functions.h libcxx/include/__cxx03/__math/hypot.h libcxx/include/__cxx03/__math/inverse_hyperbolic_functions.h libcxx/include/__cxx03/__math/inverse_trigonometric_functions.h libcxx/include/__cxx03/__math/logarithms.h libcxx/include/__cxx03/__math/min_max.h libcxx/include/__cxx03/__math/modulo.h libcxx/include/__cxx03/__math/remainder.h libcxx/include/__cxx03/__math/roots.h libcxx/include/__cxx03/__math/rounding_functions.h libcxx/include/__cxx03/__math/special_functions.h libcxx/include/__cxx03/__math/traits.h libcxx/include/__cxx03/__math/trigonometric_functions.h libcxx/include/__cxx03/__mbstate_t.h libcxx/include/__cxx03/__mdspan/default_accessor.h libcxx/include/__cxx03/__mdspan/extents.h libcxx/include/__cxx03/__mdspan/layout_left.h libcxx/include/__cxx03/__mdspan/layout_right.h libcxx/include/__cxx03/__mdspan/layout_stride.h libcxx/include/__cxx03/__mdspan/mdspan.h libcxx/include/__cxx03/__memory/addressof.h libcxx/include/__cxx03/__memory/align.h libcxx/include/__cxx03/__memory/aligned_alloc.h libcxx/include/__cxx03/__memory/allocate_at_least.h libcxx/include/__cxx03/__memory/allocation_guard.h libcxx/include/__cxx03/__memory/allocator.h libcxx/include/__cxx03/__memory/allocator_arg_t.h libcxx/include/__cxx03/__memory/allocator_destructor.h libcxx/include/__cxx03/__memory/allocator_traits.h libcxx/include/__cxx03/__memory/assume_aligned.h libcxx/include/__cxx03/__memory/auto_ptr.h libcxx/include/__cxx03/__memory/builtin_new_allocator.h libcxx/include/__cxx03/__memory/compressed_pair.h libcxx/include/__cxx03/__memory/concepts.h libcxx/include/__cxx03/__memory/construct_at.h libcxx/include/__cxx03/__memory/destruct_n.h libcxx/include/__cxx03/__memory/inout_ptr.h libcxx/include/__cxx03/__memory/out_ptr.h libcxx/include/__cxx03/__memory/pointer_traits.h libcxx/include/__cxx03/__memory/ranges_construct_at.h libcxx/include/__cxx03/__memory/ranges_uninitialized_algorithms.h libcxx/include/__cxx03/__memory/raw_storage_iterator.h libcxx/include/__cxx03/__memory/shared_ptr.h libcxx/include/__cxx03/__memory/swap_allocator.h libcxx/include/__cxx03/__memory/temp_value.h libcxx/include/__cxx03/__memory/temporary_buffer.h libcxx/include/__cxx03/__memory/uninitialized_algorithms.h libcxx/include/__cxx03/__memory/unique_ptr.h libcxx/include/__cxx03/__memory/uses_allocator.h libcxx/include/__cxx03/__memory/uses_allocator_construction.h libcxx/include/__cxx03/__memory/voidify.h libcxx/include/__cxx03/__memory_resource/memory_resource.h libcxx/include/__cxx03/__memory_resource/monotonic_buffer_resource.h libcxx/include/__cxx03/__memory_resource/polymorphic_allocator.h libcxx/include/__cxx03/__memory_resource/pool_options.h libcxx/include/__cxx03/__memory_resource/synchronized_pool_resource.h libcxx/include/__cxx03/__memory_resource/unsynchronized_pool_resource.h libcxx/include/__cxx03/__mutex/lock_guard.h libcxx/include/__cxx03/__mutex/mutex.h libcxx/include/__cxx03/__mutex/once_flag.h libcxx/include/__cxx03/__mutex/tag_types.h libcxx/include/__cxx03/__mutex/unique_lock.h libcxx/include/__cxx03/__node_handle libcxx/include/__cxx03/__numeric/accumulate.h libcxx/include/__cxx03/__numeric/adjacent_difference.h libcxx/include/__cxx03/__numeric/exclusive_scan.h libcxx/include/__cxx03/__numeric/gcd_lcm.h libcxx/include/__cxx03/__numeric/inclusive_scan.h libcxx/include/__cxx03/__numeric/inner_product.h libcxx/include/__cxx03/__numeric/iota.h libcxx/include/__cxx03/__numeric/midpoint.h libcxx/include/__cxx03/__numeric/partial_sum.h libcxx/include/__cxx03/__numeric/pstl.h libcxx/include/__cxx03/__numeric/reduce.h libcxx/include/__cxx03/__numeric/saturation_arithmetic.h libcxx/include/__cxx03/__numeric/transform_exclusive_scan.h libcxx/include/__cxx03/__numeric/transform_inclusive_scan.h libcxx/include/__cxx03/__numeric/transform_reduce.h libcxx/include/__cxx03/__ostream/basic_ostream.h libcxx/include/__cxx03/__ostream/print.h libcxx/include/__cxx03/__pstl/backend.h libcxx/include/__cxx03/__pstl/backend_fwd.h libcxx/include/__cxx03/__pstl/backends/default.h libcxx/include/__cxx03/__pstl/backends/libdispatch.h libcxx/include/__cxx03/__pstl/backends/serial.h libcxx/include/__cxx03/__pstl/backends/std_thread.h libcxx/include/__cxx03/__pstl/cpu_algos/any_of.h libcxx/include/__cxx03/__pstl/cpu_algos/cpu_traits.h libcxx/include/__cxx03/__pstl/cpu_algos/fill.h libcxx/include/__cxx03/__pstl/cpu_algos/find_if.h libcxx/include/__cxx03/__pstl/cpu_algos/for_each.h libcxx/include/__cxx03/__pstl/cpu_algos/merge.h libcxx/include/__cxx03/__pstl/cpu_algos/stable_sort.h libcxx/include/__cxx03/__pstl/cpu_algos/transform.h libcxx/include/__cxx03/__pstl/cpu_algos/transform_reduce.h libcxx/include/__cxx03/__pstl/dispatch.h libcxx/include/__cxx03/__pstl/handle_exception.h libcxx/include/__cxx03/__random/bernoulli_distribution.h libcxx/include/__cxx03/__random/binomial_distribution.h libcxx/include/__cxx03/__random/cauchy_distribution.h libcxx/include/__cxx03/__random/chi_squared_distribution.h libcxx/include/__cxx03/__random/clamp_to_integral.h libcxx/include/__cxx03/__random/default_random_engine.h libcxx/include/__cxx03/__random/discard_block_engine.h libcxx/include/__cxx03/__random/discrete_distribution.h libcxx/include/__cxx03/__random/exponential_distribution.h libcxx/include/__cxx03/__random/extreme_value_distribution.h libcxx/include/__cxx03/__random/fisher_f_distribution.h libcxx/include/__cxx03/__random/gamma_distribution.h libcxx/include/__cxx03/__random/generate_canonical.h libcxx/include/__cxx03/__random/geometric_distribution.h libcxx/include/__cxx03/__random/independent_bits_engine.h libcxx/include/__cxx03/__random/is_seed_sequence.h libcxx/include/__cxx03/__random/is_valid.h libcxx/include/__cxx03/__random/knuth_b.h libcxx/include/__cxx03/__random/linear_congruential_engine.h libcxx/include/__cxx03/__random/log2.h libcxx/include/__cxx03/__random/lognormal_distribution.h libcxx/include/__cxx03/__random/mersenne_twister_engine.h libcxx/include/__cxx03/__random/negative_binomial_distribution.h libcxx/include/__cxx03/__random/normal_distribution.h libcxx/include/__cxx03/__random/piecewise_constant_distribution.h libcxx/include/__cxx03/__random/piecewise_linear_distribution.h libcxx/include/__cxx03/__random/poisson_distribution.h libcxx/include/__cxx03/__random/random_device.h libcxx/include/__cxx03/__random/ranlux.h libcxx/include/__cxx03/__random/seed_seq.h libcxx/include/__cxx03/__random/shuffle_order_engine.h libcxx/include/__cxx03/__random/student_t_distribution.h libcxx/include/__cxx03/__random/subtract_with_carry_engine.h libcxx/include/__cxx03/__random/uniform_int_distribution.h libcxx/include/__cxx03/__random/uniform_random_bit_generator.h libcxx/include/__cxx03/__random/uniform_real_distribution.h libcxx/include/__cxx03/__random/weibull_distribution.h libcxx/include/__cxx03/__ranges/access.h libcxx/include/__cxx03/__ranges/all.h libcxx/include/__cxx03/__ranges/as_rvalue_view.h libcxx/include/__cxx03/__ranges/chunk_by_view.h libcxx/include/__cxx03/__ranges/common_view.h libcxx/include/__cxx03/__ranges/concepts.h libcxx/include/__cxx03/__ranges/container_compatible_range.h libcxx/include/__cxx03/__ranges/counted.h libcxx/include/__cxx03/__ranges/dangling.h libcxx/include/__cxx03/__ranges/data.h libcxx/include/__cxx03/__ranges/drop_view.h libcxx/include/__cxx03/__ranges/drop_while_view.h libcxx/include/__cxx03/__ranges/elements_view.h libcxx/include/__cxx03/__ranges/empty.h libcxx/include/__cxx03/__ranges/empty_view.h libcxx/include/__cxx03/__ranges/enable_borrowed_range.h libcxx/include/__cxx03/__ranges/enable_view.h libcxx/include/__cxx03/__ranges/filter_view.h libcxx/include/__cxx03/__ranges/from_range.h libcxx/include/__cxx03/__ranges/iota_view.h libcxx/include/__cxx03/__ranges/istream_view.h libcxx/include/__cxx03/__ranges/join_view.h libcxx/include/__cxx03/__ranges/lazy_split_view.h libcxx/include/__cxx03/__ranges/movable_box.h libcxx/include/__cxx03/__ranges/non_propagating_cache.h libcxx/include/__cxx03/__ranges/owning_view.h libcxx/include/__cxx03/__ranges/range_adaptor.h libcxx/include/__cxx03/__ranges/rbegin.h libcxx/include/__cxx03/__ranges/ref_view.h libcxx/include/__cxx03/__ranges/rend.h libcxx/include/__cxx03/__ranges/repeat_view.h libcxx/include/__cxx03/__ranges/reverse_view.h libcxx/include/__cxx03/__ranges/single_view.h libcxx/include/__cxx03/__ranges/size.h libcxx/include/__cxx03/__ranges/split_view.h libcxx/include/__cxx03/__ranges/subrange.h libcxx/include/__cxx03/__ranges/take_view.h libcxx/include/__cxx03/__ranges/take_while_view.h libcxx/include/__cxx03/__ranges/to.h libcxx/include/__cxx03/__ranges/transform_view.h libcxx/include/__cxx03/__ranges/view_interface.h libcxx/include/__cxx03/__ranges/views.h libcxx/include/__cxx03/__ranges/zip_view.h libcxx/include/__cxx03/__split_buffer libcxx/include/__cxx03/__std_clang_module libcxx/include/__cxx03/__std_mbstate_t.h libcxx/include/__cxx03/__stop_token/atomic_unique_lock.h libcxx/include/__cxx03/__stop_token/intrusive_list_view.h libcxx/include/__cxx03/__stop_token/intrusive_shared_ptr.h libcxx/include/__cxx03/__stop_token/stop_callback.h libcxx/include/__cxx03/__stop_token/stop_source.h libcxx/include/__cxx03/__stop_token/stop_state.h libcxx/include/__cxx03/__stop_token/stop_token.h libcxx/include/__cxx03/__string/char_traits.h libcxx/include/__cxx03/__string/constexpr_c_functions.h libcxx/include/__cxx03/__string/extern_template_lists.h libcxx/include/__cxx03/__support/ibm/gettod_zos.h libcxx/include/__cxx03/__support/ibm/locale_mgmt_zos.h libcxx/include/__cxx03/__support/ibm/nanosleep.h libcxx/include/__cxx03/__support/xlocale/__nop_locale_mgmt.h libcxx/include/__cxx03/__support/xlocale/__posix_l_fallback.h libcxx/include/__cxx03/__support/xlocale/__strtonum_fallback.h libcxx/include/__cxx03/__system_error/errc.h libcxx/include/__cxx03/__system_error/error_category.h libcxx/include/__cxx03/__system_error/error_code.h libcxx/include/__cxx03/__system_error/error_condition.h libcxx/include/__cxx03/__system_error/system_error.h libcxx/include/__cxx03/__thread/formatter.h libcxx/include/__cxx03/__thread/id.h libcxx/include/__cxx03/__thread/jthread.h libcxx/include/__cxx03/__thread/poll_with_backoff.h libcxx/include/__cxx03/__thread/support.h libcxx/include/__cxx03/__thread/support/c11.h libcxx/include/__cxx03/__thread/support/external.h libcxx/include/__cxx03/__thread/support/pthread.h libcxx/include/__cxx03/__thread/support/windows.h libcxx/include/__cxx03/__thread/this_thread.h libcxx/include/__cxx03/__thread/thread.h libcxx/include/__cxx03/__thread/timed_backoff_policy.h libcxx/include/__cxx03/__tree libcxx/include/__cxx03/__tuple/find_index.h libcxx/include/__cxx03/__tuple/ignore.h libcxx/include/__cxx03/__tuple/make_tuple_types.h libcxx/include/__cxx03/__tuple/sfinae_helpers.h libcxx/include/__cxx03/__tuple/tuple_element.h libcxx/include/__cxx03/__tuple/tuple_indices.h libcxx/include/__cxx03/__tuple/tuple_like.h libcxx/include/__cxx03/__tuple/tuple_like_ext.h libcxx/include/__cxx03/__tuple/tuple_like_no_subrange.h libcxx/include/__cxx03/__tuple/tuple_size.h libcxx/include/__cxx03/__tuple/tuple_types.h libcxx/include/__cxx03/__type_traits/add_const.h libcxx/include/__cxx03/__type_traits/add_cv.h libcxx/include/__cxx03/__type_traits/add_lvalue_reference.h libcxx/include/__cxx03/__type_traits/add_pointer.h libcxx/include/__cxx03/__type_traits/add_rvalue_reference.h libcxx/include/__cxx03/__type_traits/add_volatile.h libcxx/include/__cxx03/__type_traits/aligned_storage.h libcxx/include/__cxx03/__type_traits/aligned_union.h libcxx/include/__cxx03/__type_traits/alignment_of.h libcxx/include/__cxx03/__type_traits/can_extract_key.h libcxx/include/__cxx03/__type_traits/common_reference.h libcxx/include/__cxx03/__type_traits/common_type.h libcxx/include/__cxx03/__type_traits/conditional.h libcxx/include/__cxx03/__type_traits/conjunction.h libcxx/include/__cxx03/__type_traits/copy_cv.h libcxx/include/__cxx03/__type_traits/copy_cvref.h libcxx/include/__cxx03/__type_traits/datasizeof.h libcxx/include/__cxx03/__type_traits/decay.h libcxx/include/__cxx03/__type_traits/dependent_type.h libcxx/include/__cxx03/__type_traits/desugars_to.h libcxx/include/__cxx03/__type_traits/disjunction.h libcxx/include/__cxx03/__type_traits/enable_if.h libcxx/include/__cxx03/__type_traits/extent.h libcxx/include/__cxx03/__type_traits/has_unique_object_representation.h libcxx/include/__cxx03/__type_traits/has_virtual_destructor.h libcxx/include/__cxx03/__type_traits/integral_constant.h libcxx/include/__cxx03/__type_traits/invoke.h libcxx/include/__cxx03/__type_traits/is_abstract.h libcxx/include/__cxx03/__type_traits/is_aggregate.h libcxx/include/__cxx03/__type_traits/is_allocator.h libcxx/include/__cxx03/__type_traits/is_always_bitcastable.h libcxx/include/__cxx03/__type_traits/is_arithmetic.h libcxx/include/__cxx03/__type_traits/is_array.h libcxx/include/__cxx03/__type_traits/is_assignable.h libcxx/include/__cxx03/__type_traits/is_base_of.h libcxx/include/__cxx03/__type_traits/is_bounded_array.h libcxx/include/__cxx03/__type_traits/is_callable.h libcxx/include/__cxx03/__type_traits/is_char_like_type.h libcxx/include/__cxx03/__type_traits/is_class.h libcxx/include/__cxx03/__type_traits/is_compound.h libcxx/include/__cxx03/__type_traits/is_const.h libcxx/include/__cxx03/__type_traits/is_constant_evaluated.h libcxx/include/__cxx03/__type_traits/is_constructible.h libcxx/include/__cxx03/__type_traits/is_convertible.h libcxx/include/__cxx03/__type_traits/is_core_convertible.h libcxx/include/__cxx03/__type_traits/is_destructible.h libcxx/include/__cxx03/__type_traits/is_empty.h libcxx/include/__cxx03/__type_traits/is_enum.h libcxx/include/__cxx03/__type_traits/is_equality_comparable.h libcxx/include/__cxx03/__type_traits/is_execution_policy.h libcxx/include/__cxx03/__type_traits/is_final.h libcxx/include/__cxx03/__type_traits/is_floating_point.h libcxx/include/__cxx03/__type_traits/is_function.h libcxx/include/__cxx03/__type_traits/is_fundamental.h libcxx/include/__cxx03/__type_traits/is_implicitly_default_constructible.h libcxx/include/__cxx03/__type_traits/is_integral.h libcxx/include/__cxx03/__type_traits/is_literal_type.h libcxx/include/__cxx03/__type_traits/is_member_pointer.h libcxx/include/__cxx03/__type_traits/is_nothrow_assignable.h libcxx/include/__cxx03/__type_traits/is_nothrow_constructible.h libcxx/include/__cxx03/__type_traits/is_nothrow_convertible.h libcxx/include/__cxx03/__type_traits/is_nothrow_destructible.h libcxx/include/__cxx03/__type_traits/is_null_pointer.h libcxx/include/__cxx03/__type_traits/is_object.h libcxx/include/__cxx03/__type_traits/is_pod.h libcxx/include/__cxx03/__type_traits/is_pointer.h libcxx/include/__cxx03/__type_traits/is_polymorphic.h libcxx/include/__cxx03/__type_traits/is_primary_template.h libcxx/include/__cxx03/__type_traits/is_reference.h libcxx/include/__cxx03/__type_traits/is_reference_wrapper.h libcxx/include/__cxx03/__type_traits/is_referenceable.h libcxx/include/__cxx03/__type_traits/is_same.h libcxx/include/__cxx03/__type_traits/is_scalar.h libcxx/include/__cxx03/__type_traits/is_signed.h libcxx/include/__cxx03/__type_traits/is_signed_integer.h libcxx/include/__cxx03/__type_traits/is_specialization.h libcxx/include/__cxx03/__type_traits/is_standard_layout.h libcxx/include/__cxx03/__type_traits/is_swappable.h libcxx/include/__cxx03/__type_traits/is_trivial.h libcxx/include/__cxx03/__type_traits/is_trivially_assignable.h libcxx/include/__cxx03/__type_traits/is_trivially_constructible.h libcxx/include/__cxx03/__type_traits/is_trivially_copyable.h libcxx/include/__cxx03/__type_traits/is_trivially_destructible.h libcxx/include/__cxx03/__type_traits/is_trivially_lexicographically_comparable.h libcxx/include/__cxx03/__type_traits/is_trivially_relocatable.h libcxx/include/__cxx03/__type_traits/is_unbounded_array.h libcxx/include/__cxx03/__type_traits/is_union.h libcxx/include/__cxx03/__type_traits/is_unsigned.h libcxx/include/__cxx03/__type_traits/is_unsigned_integer.h libcxx/include/__cxx03/__type_traits/is_valid_expansion.h libcxx/include/__cxx03/__type_traits/is_void.h libcxx/include/__cxx03/__type_traits/is_volatile.h libcxx/include/__cxx03/__type_traits/lazy.h libcxx/include/__cxx03/__type_traits/make_32_64_or_128_bit.h libcxx/include/__cxx03/__type_traits/make_const_lvalue_ref.h libcxx/include/__cxx03/__type_traits/make_signed.h libcxx/include/__cxx03/__type_traits/make_unsigned.h libcxx/include/__cxx03/__type_traits/maybe_const.h libcxx/include/__cxx03/__type_traits/nat.h libcxx/include/__cxx03/__type_traits/negation.h libcxx/include/__cxx03/__type_traits/noexcept_move_assign_container.h libcxx/include/__cxx03/__type_traits/promote.h libcxx/include/__cxx03/__type_traits/rank.h libcxx/include/__cxx03/__type_traits/remove_all_extents.h libcxx/include/__cxx03/__type_traits/remove_const.h libcxx/include/__cxx03/__type_traits/remove_const_ref.h libcxx/include/__cxx03/__type_traits/remove_cv.h libcxx/include/__cxx03/__type_traits/remove_cvref.h libcxx/include/__cxx03/__type_traits/remove_extent.h libcxx/include/__cxx03/__type_traits/remove_pointer.h libcxx/include/__cxx03/__type_traits/remove_reference.h libcxx/include/__cxx03/__type_traits/remove_volatile.h libcxx/include/__cxx03/__type_traits/result_of.h libcxx/include/__cxx03/__type_traits/strip_signature.h libcxx/include/__cxx03/__type_traits/type_identity.h libcxx/include/__cxx03/__type_traits/type_list.h libcxx/include/__cxx03/__type_traits/underlying_type.h libcxx/include/__cxx03/__type_traits/unwrap_ref.h libcxx/include/__cxx03/__type_traits/void_t.h libcxx/include/__cxx03/__undef_macros libcxx/include/__cxx03/__utility/as_const.h libcxx/include/__cxx03/__utility/as_lvalue.h libcxx/include/__cxx03/__utility/auto_cast.h libcxx/include/__cxx03/__utility/cmp.h libcxx/include/__cxx03/__utility/convert_to_integral.h libcxx/include/__cxx03/__utility/declval.h libcxx/include/__cxx03/__utility/empty.h libcxx/include/__cxx03/__utility/exception_guard.h libcxx/include/__cxx03/__utility/exchange.h libcxx/include/__cxx03/__utility/forward.h libcxx/include/__cxx03/__utility/forward_like.h libcxx/include/__cxx03/__utility/in_place.h libcxx/include/__cxx03/__utility/integer_sequence.h libcxx/include/__cxx03/__utility/is_pointer_in_range.h libcxx/include/__cxx03/__utility/is_valid_range.h libcxx/include/__cxx03/__utility/move.h libcxx/include/__cxx03/__utility/no_destroy.h libcxx/include/__cxx03/__utility/pair.h libcxx/include/__cxx03/__utility/piecewise_construct.h libcxx/include/__cxx03/__utility/priority_tag.h libcxx/include/__cxx03/__utility/private_constructor_tag.h libcxx/include/__cxx03/__utility/rel_ops.h libcxx/include/__cxx03/__utility/small_buffer.h libcxx/include/__cxx03/__utility/swap.h libcxx/include/__cxx03/__utility/to_underlying.h libcxx/include/__cxx03/__utility/unreachable.h libcxx/include/__cxx03/__variant/monostate.h libcxx/include/__cxx03/__verbose_abort libcxx/include/__cxx03/algorithm libcxx/include/__cxx03/any libcxx/include/__cxx03/array libcxx/include/__cxx03/atomic libcxx/include/__cxx03/barrier libcxx/include/__cxx03/bit libcxx/include/__cxx03/bitset libcxx/include/__cxx03/cassert libcxx/include/__cxx03/ccomplex libcxx/include/__cxx03/cctype libcxx/include/__cxx03/cerrno libcxx/include/__cxx03/cfenv libcxx/include/__cxx03/cfloat libcxx/include/__cxx03/charconv libcxx/include/__cxx03/chrono libcxx/include/__cxx03/cinttypes libcxx/include/__cxx03/ciso646 libcxx/include/__cxx03/climits libcxx/include/__cxx03/clocale libcxx/include/__cxx03/cmath libcxx/include/__cxx03/codecvt libcxx/include/__cxx03/compare libcxx/include/__cxx03/complex libcxx/include/__cxx03/complex.h libcxx/include/__cxx03/concepts libcxx/include/__cxx03/condition_variable libcxx/include/__cxx03/coroutine libcxx/include/__cxx03/csetjmp libcxx/include/__cxx03/csignal libcxx/include/__cxx03/cstdarg libcxx/include/__cxx03/cstdbool libcxx/include/__cxx03/cstddef libcxx/include/__cxx03/cstdint libcxx/include/__cxx03/cstdio libcxx/include/__cxx03/cstdlib libcxx/include/__cxx03/cstring libcxx/include/__cxx03/ctgmath libcxx/include/__cxx03/ctime libcxx/include/__cxx03/ctype.h libcxx/include/__cxx03/cuchar libcxx/include/__cxx03/cwchar libcxx/include/__cxx03/cwctype libcxx/include/__cxx03/deque libcxx/include/__cxx03/errno.h libcxx/include/__cxx03/exception libcxx/include/__cxx03/execution libcxx/include/__cxx03/expected libcxx/include/__cxx03/experimental/__config libcxx/include/__cxx03/experimental/__simd/aligned_tag.h libcxx/include/__cxx03/experimental/__simd/declaration.h libcxx/include/__cxx03/experimental/__simd/reference.h libcxx/include/__cxx03/experimental/__simd/scalar.h libcxx/include/__cxx03/experimental/__simd/simd.h libcxx/include/__cxx03/experimental/__simd/simd_mask.h libcxx/include/__cxx03/experimental/__simd/traits.h libcxx/include/__cxx03/experimental/__simd/utility.h libcxx/include/__cxx03/experimental/__simd/vec_ext.h libcxx/include/__cxx03/experimental/iterator libcxx/include/__cxx03/experimental/memory libcxx/include/__cxx03/experimental/propagate_const libcxx/include/__cxx03/experimental/simd libcxx/include/__cxx03/experimental/type_traits libcxx/include/__cxx03/experimental/utility libcxx/include/__cxx03/ext/__hash libcxx/include/__cxx03/ext/hash_map libcxx/include/__cxx03/ext/hash_set libcxx/include/__cxx03/fenv.h libcxx/include/__cxx03/filesystem libcxx/include/__cxx03/float.h libcxx/include/__cxx03/format libcxx/include/__cxx03/forward_list libcxx/include/__cxx03/fstream libcxx/include/__cxx03/functional libcxx/include/__cxx03/future libcxx/include/__cxx03/initializer_list libcxx/include/__cxx03/inttypes.h libcxx/include/__cxx03/iomanip libcxx/include/__cxx03/ios libcxx/include/__cxx03/iosfwd libcxx/include/__cxx03/iostream libcxx/include/__cxx03/istream libcxx/include/__cxx03/iterator libcxx/include/__cxx03/latch libcxx/include/__cxx03/limits libcxx/include/__cxx03/list libcxx/include/__cxx03/locale libcxx/include/__cxx03/locale.h libcxx/include/__cxx03/map libcxx/include/__cxx03/math.h libcxx/include/__cxx03/mdspan libcxx/include/__cxx03/memory libcxx/include/__cxx03/memory_resource libcxx/include/__cxx03/mutex libcxx/include/__cxx03/new libcxx/include/__cxx03/numbers libcxx/include/__cxx03/numeric libcxx/include/__cxx03/optional libcxx/include/__cxx03/ostream libcxx/include/__cxx03/print libcxx/include/__cxx03/queue libcxx/include/__cxx03/random libcxx/include/__cxx03/ranges libcxx/include/__cxx03/ratio libcxx/include/__cxx03/regex libcxx/include/__cxx03/scoped_allocator libcxx/include/__cxx03/semaphore libcxx/include/__cxx03/set libcxx/include/__cxx03/shared_mutex libcxx/include/__cxx03/source_location libcxx/include/__cxx03/span libcxx/include/__cxx03/sstream libcxx/include/__cxx03/stack libcxx/include/__cxx03/stdatomic.h libcxx/include/__cxx03/stdbool.h libcxx/include/__cxx03/stddef.h libcxx/include/__cxx03/stdexcept libcxx/include/__cxx03/stdint.h libcxx/include/__cxx03/stdio.h libcxx/include/__cxx03/stdlib.h libcxx/include/__cxx03/stop_token libcxx/include/__cxx03/streambuf libcxx/include/__cxx03/string libcxx/include/__cxx03/string.h libcxx/include/__cxx03/string_view libcxx/include/__cxx03/strstream libcxx/include/__cxx03/syncstream libcxx/include/__cxx03/system_error libcxx/include/__cxx03/tgmath.h libcxx/include/__cxx03/thread libcxx/include/__cxx03/tuple libcxx/include/__cxx03/type_traits libcxx/include/__cxx03/typeindex libcxx/include/__cxx03/typeinfo libcxx/include/__cxx03/uchar.h libcxx/include/__cxx03/unordered_map libcxx/include/__cxx03/unordered_set libcxx/include/__cxx03/utility libcxx/include/__cxx03/valarray libcxx/include/__cxx03/variant libcxx/include/__cxx03/vector libcxx/include/__cxx03/version libcxx/include/__cxx03/wchar.h libcxx/include/__cxx03/wctype.h
View the diff from clang-format here.
diff --git a/libcxx/include/__cxx03/__expected/expected.h b/libcxx/include/__cxx03/__expected/expected.h
index f618b20603..7a6f04c50d 100644
--- a/libcxx/include/__cxx03/__expected/expected.h
+++ b/libcxx/include/__cxx03/__expected/expected.h
@@ -503,25 +503,24 @@ public:
 
 private:
   template <class _Up, class _OtherErr, class _UfQual, class _OtherErrQual>
-  using __can_convert =
-      _And< is_constructible<_Tp, _UfQual>,
-            is_constructible<_Err, _OtherErrQual>,
-            _If<_Not<is_same<remove_cv_t<_Tp>, bool>>::value,
-                _And< 
-                      _Not<_And<is_same<_Tp, _Up>, is_same<_Err, _OtherErr>>>, // use the copy constructor instead, see #92676
-                      _Not<is_constructible<_Tp, expected<_Up, _OtherErr>&>>,
-                      _Not<is_constructible<_Tp, expected<_Up, _OtherErr>>>,
-                      _Not<is_constructible<_Tp, const expected<_Up, _OtherErr>&>>,
-                      _Not<is_constructible<_Tp, const expected<_Up, _OtherErr>>>,
-                      _Not<is_convertible<expected<_Up, _OtherErr>&, _Tp>>,
-                      _Not<is_convertible<expected<_Up, _OtherErr>&&, _Tp>>,
-                      _Not<is_convertible<const expected<_Up, _OtherErr>&, _Tp>>,
-                      _Not<is_convertible<const expected<_Up, _OtherErr>&&, _Tp>>>,
-                true_type>,
-            _Not<is_constructible<unexpected<_Err>, expected<_Up, _OtherErr>&>>,
-            _Not<is_constructible<unexpected<_Err>, expected<_Up, _OtherErr>>>,
-            _Not<is_constructible<unexpected<_Err>, const expected<_Up, _OtherErr>&>>,
-            _Not<is_constructible<unexpected<_Err>, const expected<_Up, _OtherErr>>> >;
+  using __can_convert = _And<
+      is_constructible<_Tp, _UfQual>,
+      is_constructible<_Err, _OtherErrQual>,
+      _If<_Not<is_same<remove_cv_t<_Tp>, bool>>::value,
+          _And< _Not<_And<is_same<_Tp, _Up>, is_same<_Err, _OtherErr>>>, // use the copy constructor instead, see #92676
+                _Not<is_constructible<_Tp, expected<_Up, _OtherErr>&>>,
+                _Not<is_constructible<_Tp, expected<_Up, _OtherErr>>>,
+                _Not<is_constructible<_Tp, const expected<_Up, _OtherErr>&>>,
+                _Not<is_constructible<_Tp, const expected<_Up, _OtherErr>>>,
+                _Not<is_convertible<expected<_Up, _OtherErr>&, _Tp>>,
+                _Not<is_convertible<expected<_Up, _OtherErr>&&, _Tp>>,
+                _Not<is_convertible<const expected<_Up, _OtherErr>&, _Tp>>,
+                _Not<is_convertible<const expected<_Up, _OtherErr>&&, _Tp>>>,
+          true_type>,
+      _Not<is_constructible<unexpected<_Err>, expected<_Up, _OtherErr>&>>,
+      _Not<is_constructible<unexpected<_Err>, expected<_Up, _OtherErr>>>,
+      _Not<is_constructible<unexpected<_Err>, const expected<_Up, _OtherErr>&>>,
+      _Not<is_constructible<unexpected<_Err>, const expected<_Up, _OtherErr>>> >;
 
   template <class _Func, class... _Args>
   _LIBCPP_HIDE_FROM_ABI constexpr explicit expected(
diff --git a/libcxx/include/__cxx03/__type_traits/is_member_pointer.h b/libcxx/include/__cxx03/__type_traits/is_member_pointer.h
index cc125e318c..3e2753ac42 100644
--- a/libcxx/include/__cxx03/__type_traits/is_member_pointer.h
+++ b/libcxx/include/__cxx03/__type_traits/is_member_pointer.h
@@ -27,7 +27,7 @@ struct _LIBCPP_TEMPLATE_VIS is_member_object_pointer : _BoolConstant<__is_member
 template <class _Tp>
 struct _LIBCPP_TEMPLATE_VIS is_member_function_pointer : _BoolConstant<__is_member_function_pointer(_Tp)> {};
 
-#  if _LIBCPP_STD_VER >= 17
+#if _LIBCPP_STD_VER >= 17
 template <class _Tp>
 inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
 
@@ -36,7 +36,7 @@ inline constexpr bool is_member_object_pointer_v = __is_member_object_pointer(_T
 
 template <class _Tp>
 inline constexpr bool is_member_function_pointer_v = __is_member_function_pointer(_Tp);
-#  endif
+#endif
 
 _LIBCPP_END_NAMESPACE_STD
 
diff --git a/libcxx/include/__cxx03/__type_traits/is_void.h b/libcxx/include/__cxx03/__type_traits/is_void.h
index 46316b0d3a..562faae9fb 100644
--- a/libcxx/include/__cxx03/__type_traits/is_void.h
+++ b/libcxx/include/__cxx03/__type_traits/is_void.h
@@ -21,10 +21,10 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 template <class _Tp>
 struct _LIBCPP_TEMPLATE_VIS is_void : _BoolConstant<__is_same(__remove_cv(_Tp), void)> {};
 
-#  if _LIBCPP_STD_VER >= 17
+#if _LIBCPP_STD_VER >= 17
 template <class _Tp>
 inline constexpr bool is_void_v = __is_same(__remove_cv(_Tp), void);
-#  endif
+#endif
 
 _LIBCPP_END_NAMESPACE_STD
 
diff --git a/libcxx/include/__cxx03/array b/libcxx/include/__cxx03/array
index 6ffde852f4..b8ad288524 100644
--- a/libcxx/include/__cxx03/array
+++ b/libcxx/include/__cxx03/array
@@ -422,8 +422,7 @@ inline _LIBCPP_HIDE_FROM_ABI bool operator>=(const array<_Tp, _Size>& __x, const
 template <class _Tp, size_t _Size>
 _LIBCPP_HIDE_FROM_ABI constexpr __synth_three_way_result<_Tp>
 operator<=>(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) {
-  return std::lexicographical_compare_three_way(
-      __x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
+  return std::lexicographical_compare_three_way(__x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
 }
 
 #endif // _LIBCPP_STD_VER <= 17
diff --git a/libcxx/include/__cxx03/forward_list b/libcxx/include/__cxx03/forward_list
index b14d2cb6c7..7330a6619b 100644
--- a/libcxx/include/__cxx03/forward_list
+++ b/libcxx/include/__cxx03/forward_list
@@ -1518,8 +1518,7 @@ operator<=(const forward_list<_Tp, _Alloc>& __x, const forward_list<_Tp, _Alloc>
 template <class _Tp, class _Allocator>
 _LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Tp>
 operator<=>(const forward_list<_Tp, _Allocator>& __x, const forward_list<_Tp, _Allocator>& __y) {
-  return std::lexicographical_compare_three_way(
-      __x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
+  return std::lexicographical_compare_three_way(__x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
 }
 
 #endif // #if _LIBCPP_STD_VER <= 17
diff --git a/libcxx/include/__cxx03/ios b/libcxx/include/__cxx03/ios
index d8a3643c7a..fae71caa87 100644
--- a/libcxx/include/__cxx03/ios
+++ b/libcxx/include/__cxx03/ios
@@ -621,11 +621,11 @@ protected:
 private:
   basic_ostream<char_type, traits_type>* __tie_;
 
-#if defined(_LIBCPP_ABI_IOS_ALLOW_ARBITRARY_FILL_VALUE)
+#  if defined(_LIBCPP_ABI_IOS_ALLOW_ARBITRARY_FILL_VALUE)
   using _FillType = _FillHelper<traits_type>;
-#else
+#  else
   using _FillType = _SentinelValueFill<traits_type>;
-#endif
+#  endif
   mutable _FillType __fill_;
 };
 
@@ -640,7 +640,7 @@ basic_ios<_CharT, _Traits>::~basic_ios() {}
 template <class _CharT, class _Traits>
 inline _LIBCPP_HIDE_FROM_ABI void basic_ios<_CharT, _Traits>::init(basic_streambuf<char_type, traits_type>* __sb) {
   ios_base::init(__sb);
-  __tie_  = nullptr;
+  __tie_ = nullptr;
   __fill_.__init();
 }
 
diff --git a/libcxx/include/__cxx03/iosfwd b/libcxx/include/__cxx03/iosfwd
index 051c73995e..eeafcc37c5 100644
--- a/libcxx/include/__cxx03/iosfwd
+++ b/libcxx/include/__cxx03/iosfwd
@@ -170,8 +170,8 @@ class __save_flags {
   _CharT __fill_;
 
 public:
-    __save_flags(const __save_flags&) = delete;
-    __save_flags& operator=(const __save_flags&) = delete;
+  __save_flags(const __save_flags&)            = delete;
+  __save_flags& operator=(const __save_flags&) = delete;
 
   _LIBCPP_HIDE_FROM_ABI explicit __save_flags(__stream_type& __stream)
       : __stream_(__stream), __fmtflags_(__stream.flags()), __fill_(__stream.fill()) {}
diff --git a/libcxx/include/__cxx03/list b/libcxx/include/__cxx03/list
index 929c84de7b..76b1d9241b 100644
--- a/libcxx/include/__cxx03/list
+++ b/libcxx/include/__cxx03/list
@@ -466,7 +466,7 @@ public:
 template <class _Tp, class _Alloc>
 class __list_imp {
 public:
-  __list_imp(const __list_imp&) = delete;
+  __list_imp(const __list_imp&)            = delete;
   __list_imp& operator=(const __list_imp&) = delete;
 
   typedef _Alloc allocator_type;
@@ -1679,8 +1679,7 @@ inline _LIBCPP_HIDE_FROM_ABI bool operator<=(const list<_Tp, _Alloc>& __x, const
 template <class _Tp, class _Allocator>
 _LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Tp>
 operator<=>(const list<_Tp, _Allocator>& __x, const list<_Tp, _Allocator>& __y) {
-  return std::lexicographical_compare_three_way(
-      __x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
+  return std::lexicographical_compare_three_way(__x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
 }
 
 #endif // _LIBCPP_STD_VER <= 17
diff --git a/libcxx/include/__cxx03/set b/libcxx/include/__cxx03/set
index 9453358379..7e9661a014 100644
--- a/libcxx/include/__cxx03/set
+++ b/libcxx/include/__cxx03/set
@@ -1452,8 +1452,7 @@ operator<=(const multiset<_Key, _Compare, _Allocator>& __x, const multiset<_Key,
 template <class _Key, class _Allocator>
 _LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Key>
 operator<=>(const multiset<_Key, _Allocator>& __x, const multiset<_Key, _Allocator>& __y) {
-  return std::lexicographical_compare_three_way(
-      __x.begin(), __x.end(), __y.begin(), __y.end(), __synth_three_way);
+  return std::lexicographical_compare_three_way(__x.begin(), __x.end(), __y.begin(), __y.end(), __synth_three_way);
 }
 
 #endif // _LIBCPP_STD_VER <= 17
diff --git a/libcxx/include/__cxx03/string b/libcxx/include/__cxx03/string
index 9fa979e3a5..08d66803f8 100644
--- a/libcxx/include/__cxx03/string
+++ b/libcxx/include/__cxx03/string
@@ -2014,11 +2014,11 @@ private:
     (void)__old_mid;
     (void)__new_mid;
 #if !defined(_LIBCPP_HAS_NO_ASAN) && defined(_LIBCPP_INSTRUMENTED_WITH_ASAN)
-  #if defined(__APPLE__)
+#  if defined(__APPLE__)
     // TODO: remove after addressing issue #96099 (https://github.com/llvm/llvm-project/issues/96099)
-    if(!__is_long())
+    if (!__is_long())
       return;
-  #endif
+#  endif
     std::__annotate_contiguous_container<_Allocator>(data(), data() + capacity() + 1, __old_mid, __new_mid);
 #endif
   }
diff --git a/libcxx/include/__cxx03/tuple b/libcxx/include/__cxx03/tuple
index 081b90c7bb..5161c2aa97 100644
--- a/libcxx/include/__cxx03/tuple
+++ b/libcxx/include/__cxx03/tuple
@@ -833,8 +833,8 @@ public:
 
   // [tuple.assign]
   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
-  operator=(_If<_And<is_copy_assignable<_Tp>...>::value, tuple, __nat> const& __tuple)
-      noexcept(_And<is_nothrow_copy_assignable<_Tp>...>::value) {
+  operator=(_If<_And<is_copy_assignable<_Tp>...>::value, tuple, __nat> const& __tuple) noexcept(
+      _And<is_nothrow_copy_assignable<_Tp>...>::value) {
     std::__memberwise_copy_assign(*this, __tuple, typename __make_tuple_indices<sizeof...(_Tp)>::type());
     return *this;
   }
@@ -857,8 +857,8 @@ public:
 #  endif // _LIBCPP_STD_VER >= 23
 
   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
-  operator=(_If<_And<is_move_assignable<_Tp>...>::value, tuple, __nat>&& __tuple)
-      noexcept(_And<is_nothrow_move_assignable<_Tp>...>::value) {
+  operator=(_If<_And<is_move_assignable<_Tp>...>::value, tuple, __nat>&& __tuple) noexcept(
+      _And<is_nothrow_move_assignable<_Tp>...>::value) {
     std::__memberwise_forward_assign(
         *this, std::move(__tuple), __tuple_types<_Tp...>(), typename __make_tuple_indices<sizeof...(_Tp)>::type());
     return *this;
@@ -868,8 +868,8 @@ public:
       class... _Up,
       __enable_if_t< _And< _BoolConstant<sizeof...(_Tp) == sizeof...(_Up)>, is_assignable<_Tp&, _Up const&>... >::value,
                      int> = 0>
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator=(tuple<_Up...> const& __tuple)
-      noexcept(_And<is_nothrow_assignable<_Tp&, _Up const&>...>::value) {
+  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
+  operator=(tuple<_Up...> const& __tuple) noexcept(_And<is_nothrow_assignable<_Tp&, _Up const&>...>::value) {
     std::__memberwise_copy_assign(*this, __tuple, typename __make_tuple_indices<sizeof...(_Tp)>::type());
     return *this;
   }
@@ -877,8 +877,8 @@ public:
   template <class... _Up,
             __enable_if_t< _And< _BoolConstant<sizeof...(_Tp) == sizeof...(_Up)>, is_assignable<_Tp&, _Up>... >::value,
                            int> = 0>
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator=(tuple<_Up...>&& __tuple)
-      noexcept(_And<is_nothrow_assignable<_Tp&, _Up>...>::value) {
+  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
+  operator=(tuple<_Up...>&& __tuple) noexcept(_And<is_nothrow_assignable<_Tp&, _Up>...>::value) {
     std::__memberwise_forward_assign(
         *this, std::move(__tuple), __tuple_types<_Up...>(), typename __make_tuple_indices<sizeof...(_Tp)>::type());
     return *this;
@@ -942,16 +942,16 @@ public:
   template <class _Up1,
             class _Up2,
             __enable_if_t< _EnableAssignFromPair<false, pair<_Up1, _Up2> const&>::value, int> = 0>
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator=(pair<_Up1, _Up2> const& __pair)
-      noexcept(_NothrowAssignFromPair<false, pair<_Up1, _Up2> const&>::value) {
+  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
+  operator=(pair<_Up1, _Up2> const& __pair) noexcept(_NothrowAssignFromPair<false, pair<_Up1, _Up2> const&>::value) {
     std::get<0>(*this) = __pair.first;
     std::get<1>(*this) = __pair.second;
     return *this;
   }
 
   template <class _Up1, class _Up2, __enable_if_t< _EnableAssignFromPair<false, pair<_Up1, _Up2>&&>::value, int> = 0>
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator=(pair<_Up1, _Up2>&& __pair)
-      noexcept(_NothrowAssignFromPair<false, pair<_Up1, _Up2>&&>::value) {
+  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
+  operator=(pair<_Up1, _Up2>&& __pair) noexcept(_NothrowAssignFromPair<false, pair<_Up1, _Up2>&&>::value) {
     std::get<0>(*this) = std::forward<_Up1>(__pair.first);
     std::get<1>(*this) = std::forward<_Up2>(__pair.second);
     return *this;
@@ -962,8 +962,8 @@ public:
       class _Up,
       size_t _Np,
       __enable_if_t< _And< _BoolConstant<_Np == sizeof...(_Tp)>, is_assignable<_Tp&, _Up const&>... >::value, int> = 0>
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator=(array<_Up, _Np> const& __array)
-      noexcept(_And<is_nothrow_assignable<_Tp&, _Up const&>...>::value) {
+  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
+  operator=(array<_Up, _Np> const& __array) noexcept(_And<is_nothrow_assignable<_Tp&, _Up const&>...>::value) {
     std::__memberwise_copy_assign(*this, __array, typename __make_tuple_indices<sizeof...(_Tp)>::type());
     return *this;
   }
@@ -973,8 +973,8 @@ public:
             size_t _Np,
             class = void,
             __enable_if_t< _And< _BoolConstant<_Np == sizeof...(_Tp)>, is_assignable<_Tp&, _Up>... >::value, int> = 0>
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator=(array<_Up, _Np>&& __array)
-      noexcept(_And<is_nothrow_assignable<_Tp&, _Up>...>::value) {
+  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
+  operator=(array<_Up, _Np>&& __array) noexcept(_And<is_nothrow_assignable<_Tp&, _Up>...>::value) {
     std::__memberwise_forward_assign(
         *this,
         std::move(__array),
@@ -984,8 +984,8 @@ public:
   }
 
   // [tuple.swap]
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(tuple& __t)
-      noexcept(__all<__is_nothrow_swappable_v<_Tp>...>::value) {
+  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void
+  swap(tuple& __t) noexcept(__all<__is_nothrow_swappable_v<_Tp>...>::value) {
     __base_.swap(__t.__base_);
   }
 
@@ -1043,8 +1043,8 @@ tuple(allocator_arg_t, _Alloc, tuple<_Tp...>) -> tuple<_Tp...>;
 #  endif
 
 template <class... _Tp, __enable_if_t<__all<__is_swappable_v<_Tp>...>::value, int> = 0>
-inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(tuple<_Tp...>& __t, tuple<_Tp...>& __u)
-    noexcept(__all<__is_nothrow_swappable_v<_Tp>...>::value) {
+inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void
+swap(tuple<_Tp...>& __t, tuple<_Tp...>& __u) noexcept(__all<__is_nothrow_swappable_v<_Tp>...>::value) {
   __t.swap(__u);
 }
 
diff --git a/libcxx/include/__cxx03/vector b/libcxx/include/__cxx03/vector
index 4d83d4b6ed..0e4804a69f 100644
--- a/libcxx/include/__cxx03/vector
+++ b/libcxx/include/__cxx03/vector
@@ -2941,8 +2941,7 @@ inline _LIBCPP_HIDE_FROM_ABI bool operator<=(const vector<_Tp, _Allocator>& __x,
 template <class _Tp, class _Allocator>
 _LIBCPP_HIDE_FROM_ABI constexpr __synth_three_way_result<_Tp>
 operator<=>(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Allocator>& __y) {
-  return std::lexicographical_compare_three_way(
-      __x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
+  return std::lexicographical_compare_three_way(__x.begin(), __x.end(), __y.begin(), __y.end(), std::__synth_three_way);
 }
 
 #endif // _LIBCPP_STD_VER <= 17

@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Sep 17, 2024
@llvmbot
Copy link
Member

llvmbot commented Sep 17, 2024

@llvm/pr-subscribers-libcxx

Author: Nikolas Klauser (philnik777)

Changes

This starts implementing what has been proposed in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.


Patch is 7.63 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/108999.diff

1019 Files Affected:

  • (added) libcxx/include/__cxx03/CMakeLists.txt (+1092)
  • (added) libcxx/include/__cxx03/__algorithm/adjacent_find.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/all_of.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/any_of.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/binary_search.h (+39)
  • (added) libcxx/include/__cxx03/__algorithm/clamp.h (+44)
  • (added) libcxx/include/__cxx03/__algorithm/comp.h (+49)
  • (added) libcxx/include/__cxx03/__algorithm/comp_ref_type.h (+67)
  • (added) libcxx/include/__cxx03/__algorithm/copy.h (+123)
  • (added) libcxx/include/__cxx03/__algorithm/copy_backward.h (+137)
  • (added) libcxx/include/__cxx03/__algorithm/copy_if.h (+34)
  • (added) libcxx/include/__cxx03/__algorithm/copy_move_common.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/copy_n.h (+60)
  • (added) libcxx/include/__cxx03/__algorithm/count.h (+92)
  • (added) libcxx/include/__cxx03/__algorithm/count_if.h (+35)
  • (added) libcxx/include/__cxx03/__algorithm/equal.h (+133)
  • (added) libcxx/include/__cxx03/__algorithm/equal_range.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/fill.h (+45)
  • (added) libcxx/include/__cxx03/__algorithm/fill_n.h (+98)
  • (added) libcxx/include/__cxx03/__algorithm/find.h (+181)
  • (added) libcxx/include/__cxx03/__algorithm/find_end.h (+225)
  • (added) libcxx/include/__cxx03/__algorithm/find_first_of.h (+55)
  • (added) libcxx/include/__cxx03/__algorithm/find_if.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/find_if_not.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/find_segment_if.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/fold.h (+128)
  • (added) libcxx/include/__cxx03/__algorithm/for_each.h (+57)
  • (added) libcxx/include/__cxx03/__algorithm/for_each_n.h (+41)
  • (added) libcxx/include/__cxx03/__algorithm/for_each_segment.h (+53)
  • (added) libcxx/include/__cxx03/__algorithm/generate.h (+29)
  • (added) libcxx/include/__cxx03/__algorithm/generate_n.h (+33)
  • (added) libcxx/include/__cxx03/__algorithm/half_positive.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/in_found_result.h (+54)
  • (added) libcxx/include/__cxx03/__algorithm/in_fun_result.h (+54)
  • (added) libcxx/include/__cxx03/__algorithm/in_in_out_result.h (+59)
  • (added) libcxx/include/__cxx03/__algorithm/in_in_result.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/in_out_out_result.h (+57)
  • (added) libcxx/include/__cxx03/__algorithm/in_out_result.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/includes.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/inplace_merge.h (+240)
  • (added) libcxx/include/__cxx03/__algorithm/is_heap.h (+38)
  • (added) libcxx/include/__cxx03/__algorithm/is_heap_until.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/is_partitioned.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/is_permutation.h (+308)
  • (added) libcxx/include/__cxx03/__algorithm/is_sorted.h (+38)
  • (added) libcxx/include/__cxx03/__algorithm/is_sorted_until.h (+51)
  • (added) libcxx/include/__cxx03/__algorithm/iter_swap.h (+31)
  • (added) libcxx/include/__cxx03/__algorithm/iterator_operations.h (+223)
  • (added) libcxx/include/__cxx03/__algorithm/lexicographical_compare.h (+57)
  • (added) libcxx/include/__cxx03/__algorithm/lexicographical_compare_three_way.h (+125)
  • (added) libcxx/include/__cxx03/__algorithm/lower_bound.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/make_heap.h (+60)
  • (added) libcxx/include/__cxx03/__algorithm/make_projected.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/max.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/max_element.h (+51)
  • (added) libcxx/include/__cxx03/__algorithm/merge.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/min.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/min_element.h (+71)
  • (added) libcxx/include/__cxx03/__algorithm/min_max_result.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/minmax.h (+59)
  • (added) libcxx/include/__cxx03/__algorithm/minmax_element.h (+100)
  • (added) libcxx/include/__cxx03/__algorithm/mismatch.h (+217)
  • (added) libcxx/include/__cxx03/__algorithm/move.h (+127)
  • (added) libcxx/include/__cxx03/__algorithm/move_backward.h (+137)
  • (added) libcxx/include/__cxx03/__algorithm/next_permutation.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/none_of.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/nth_element.h (+261)
  • (added) libcxx/include/__cxx03/__algorithm/partial_sort.h (+91)
  • (added) libcxx/include/__cxx03/__algorithm/partial_sort_copy.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/partition.h (+90)
  • (added) libcxx/include/__cxx03/__algorithm/partition_copy.h (+43)
  • (added) libcxx/include/__cxx03/__algorithm/partition_point.h (+44)
  • (added) libcxx/include/__cxx03/__algorithm/pop_heap.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/prev_permutation.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/pstl.h (+663)
  • (added) libcxx/include/__cxx03/__algorithm/push_heap.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_adjacent_find.h (+83)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_all_of.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_any_of.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_binary_search.h (+73)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_clamp.h (+66)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_contains.h (+66)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_contains_subrange.h (+97)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy.h (+71)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy_backward.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy_if.h (+87)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy_n.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_count.h (+66)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_count_if.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_ends_with.h (+201)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_equal.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_equal_range.h (+80)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_fill.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_fill_n.h (+53)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find.h (+80)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_end.h (+103)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_first_of.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_if.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_if_not.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_last.h (+175)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_for_each.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_for_each_n.h (+64)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_generate.h (+73)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_generate_n.h (+65)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_includes.h (+98)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_inplace_merge.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_heap.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_heap_until.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_partitioned.h (+86)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_permutation.h (+107)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_sorted.h (+67)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_sorted_until.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_iterator_concept.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_lexicographical_compare.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_lower_bound.h (+73)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_make_heap.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_max.h (+103)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_max_element.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_merge.h (+138)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_min.h (+95)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_min_element.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_minmax.h (+175)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_minmax_element.h (+78)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_mismatch.h (+100)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_move.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_move_backward.h (+76)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_next_permutation.h (+78)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_none_of.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_nth_element.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partial_sort.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partial_sort_copy.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partition.h (+88)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partition_copy.h (+110)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partition_point.h (+93)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_pop_heap.h (+86)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_prev_permutation.h (+78)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_push_heap.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove.h (+68)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove_copy.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove_copy_if.h (+95)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove_if.h (+89)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace.h (+68)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace_copy.h (+93)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace_copy_if.h (+98)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace_if.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_reverse.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_reverse_copy.h (+70)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_rotate.h (+71)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_rotate_copy.h (+68)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_sample.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_search.h (+134)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_search_n.h (+116)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_difference.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_intersection.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_symmetric_difference.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_union.h (+115)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_shuffle.h (+72)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_sort.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_sort_heap.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_stable_partition.h (+92)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_stable_sort.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_starts_with.h (+95)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_swap_ranges.h (+70)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_transform.h (+177)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_unique.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_unique_copy.h (+120)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_upper_bound.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/remove.h (+46)
  • (added) libcxx/include/__cxx03/__algorithm/remove_copy.h (+34)
  • (added) libcxx/include/__cxx03/__algorithm/remove_copy_if.h (+34)
  • (added) libcxx/include/__cxx03/__algorithm/remove_if.h (+45)
  • (added) libcxx/include/__cxx03/__algorithm/replace.h (+30)
  • (added) libcxx/include/__cxx03/__algorithm/replace_copy.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/replace_copy_if.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/replace_if.h (+30)
  • (added) libcxx/include/__cxx03/__algorithm/reverse.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/reverse_copy.h (+30)
  • (added) libcxx/include/__cxx03/__algorithm/rotate.h (+198)
  • (added) libcxx/include/__cxx03/__algorithm/rotate_copy.h (+29)
  • (added) libcxx/include/__cxx03/__algorithm/sample.h (+123)
  • (added) libcxx/include/__cxx03/__algorithm/search.h (+192)
  • (added) libcxx/include/__cxx03/__algorithm/search_n.h (+155)
  • (added) libcxx/include/__cxx03/__algorithm/set_difference.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/set_intersection.h (+217)
  • (added) libcxx/include/__cxx03/__algorithm/set_symmetric_difference.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/set_union.h (+105)
  • (added) libcxx/include/__cxx03/__algorithm/shift_left.h (+59)
  • (added) libcxx/include/__cxx03/__algorithm/shift_right.h (+105)
  • (added) libcxx/include/__cxx03/__algorithm/shuffle.h (+167)
  • (added) libcxx/include/__cxx03/__algorithm/sift_down.h (+118)
  • (added) libcxx/include/__cxx03/__algorithm/simd_utils.h (+164)
  • (added) libcxx/include/__cxx03/__algorithm/sort.h (+1016)
  • (added) libcxx/include/__cxx03/__algorithm/sort_heap.h (+63)
  • (added) libcxx/include/__cxx03/__algorithm/stable_partition.h (+307)
  • (added) libcxx/include/__cxx03/__algorithm/stable_sort.h (+273)
  • (added) libcxx/include/__cxx03/__algorithm/swap_ranges.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/three_way_comp_ref_type.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/transform.h (+42)
  • (added) libcxx/include/__cxx03/__algorithm/uniform_random_bit_generator_adaptor.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/unique.h (+64)
  • (added) libcxx/include/__cxx03/__algorithm/unique_copy.h (+127)
  • (added) libcxx/include/__cxx03/__algorithm/unwrap_iter.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/unwrap_range.h (+99)
  • (added) libcxx/include/__cxx03/__algorithm/upper_bound.h (+68)
  • (added) libcxx/include/__cxx03/__assert (+118)
  • (added) libcxx/include/__cxx03/__atomic/aliases.h (+110)
  • (added) libcxx/include/__cxx03/__atomic/atomic.h (+622)
  • (added) libcxx/include/__cxx03/__atomic/atomic_base.h (+221)
  • (added) libcxx/include/__cxx03/__atomic/atomic_flag.h (+189)
  • (added) libcxx/include/__cxx03/__atomic/atomic_init.h (+25)
  • (added) libcxx/include/__cxx03/__atomic/atomic_lock_free.h (+48)
  • (added) libcxx/include/__cxx03/__atomic/atomic_ref.h (+378)
  • (added) libcxx/include/__cxx03/__atomic/atomic_sync.h (+205)
  • (added) libcxx/include/__cxx03/__atomic/check_memory_order.h (+34)
  • (added) libcxx/include/__cxx03/__atomic/contention_t.h (+32)
  • (added) libcxx/include/__cxx03/__atomic/cxx_atomic_impl.h (+510)
  • (added) libcxx/include/__cxx03/__atomic/fence.h (+28)
  • (added) libcxx/include/__cxx03/__atomic/is_always_lock_free.h (+28)
  • (added) libcxx/include/__cxx03/__atomic/kill_dependency.h (+27)
  • (added) libcxx/include/__cxx03/__atomic/memory_order.h (+65)
  • (added) libcxx/include/__cxx03/__atomic/to_gcc_order.h (+54)
  • (added) libcxx/include/__cxx03/__bit/bit_cast.h (+44)
  • (added) libcxx/include/__cxx03/__bit/bit_ceil.h (+54)
  • (added) libcxx/include/__cxx03/__bit/bit_floor.h (+34)
  • (added) libcxx/include/__cxx03/__bit/bit_log2.h (+34)
  • (added) libcxx/include/__cxx03/__bit/bit_width.h (+33)
  • (added) libcxx/include/__cxx03/__bit/blsr.h (+34)
  • (added) libcxx/include/__cxx03/__bit/byteswap.h (+53)
  • (added) libcxx/include/__cxx03/__bit/countl.h (+113)
  • (added) libcxx/include/__cxx03/__bit/countr.h (+84)
  • (added) libcxx/include/__cxx03/__bit/endian.h (+38)
  • (added) libcxx/include/__cxx03/__bit/has_single_bit.h (+37)
  • (added) libcxx/include/__cxx03/__bit/invert_if.h (+30)
  • (added) libcxx/include/__cxx03/__bit/popcount.h (+71)
  • (added) libcxx/include/__cxx03/__bit/rotate.h (+72)
  • (added) libcxx/include/__cxx03/__bit_reference (+1024)
  • (added) libcxx/include/__cxx03/__charconv/chars_format.h (+61)
  • (added) libcxx/include/__cxx03/__charconv/from_chars_integral.h (+240)
  • (added) libcxx/include/__cxx03/__charconv/from_chars_result.h (+39)
  • (added) libcxx/include/__cxx03/__charconv/tables.h (+163)
  • (added) libcxx/include/__cxx03/__charconv/to_chars.h (+25)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_base_10.h (+188)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_floating_point.h (+55)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_integral.h (+327)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_result.h (+39)
  • (added) libcxx/include/__cxx03/__charconv/traits.h (+200)
  • (added) libcxx/include/__cxx03/__chrono/calendar.h (+44)
  • (added) libcxx/include/__cxx03/__chrono/concepts.h (+36)
  • (added) libcxx/include/__cxx03/__chrono/convert_to_timespec.h (+51)
  • (added) libcxx/include/__cxx03/__chrono/convert_to_tm.h (+202)
  • (added) libcxx/include/__cxx03/__chrono/day.h (+99)
  • (added) libcxx/include/__cxx03/__chrono/duration.h (+550)
  • (added) libcxx/include/__cxx03/__chrono/exception.h (+135)
  • (added) libcxx/include/__cxx03/__chrono/file_clock.h (+80)
  • (added) libcxx/include/__cxx03/__chrono/formatter.h (+990)
  • (added) libcxx/include/__cxx03/__chrono/hh_mm_ss.h (+112)
  • (added) libcxx/include/__cxx03/__chrono/high_resolution_clock.h (+35)
  • (added) libcxx/include/__cxx03/__chrono/leap_second.h (+126)
  • (added) libcxx/include/__cxx03/__chrono/literals.h (+45)
  • (added) libcxx/include/__cxx03/__chrono/local_info.h (+50)
  • (added) libcxx/include/__cxx03/__chrono/month.h (+115)
  • (added) libcxx/include/__cxx03/__chrono/month_weekday.h (+105)
  • (added) libcxx/include/__cxx03/__chrono/monthday.h (+133)
  • (added) libcxx/include/__cxx03/__chrono/ostream.h (+322)
  • (added) libcxx/include/__cxx03/__chrono/parser_std_format_spec.h (+416)
  • (added) libcxx/include/__cxx03/__chrono/statically_widen.h (+52)
  • (added) libcxx/include/__cxx03/__chrono/steady_clock.h (+42)
  • (added) libcxx/include/__cxx03/__chrono/sys_info.h (+51)
  • (added) libcxx/include/__cxx03/__chrono/system_clock.h (+52)
  • (added) libcxx/include/__cxx03/__chrono/time_point.h (+220)
  • (added) libcxx/include/__cxx03/__chrono/time_zone.h (+182)
  • (added) libcxx/include/__cxx03/__chrono/time_zone_link.h (+79)
  • (added) libcxx/include/__cxx03/__chrono/tzdb.h (+94)
  • (added) libcxx/include/__cxx03/__chrono/tzdb_list.h (+108)
  • (added) libcxx/include/__cxx03/__chrono/weekday.h (+186)
  • (added) libcxx/include/__cxx03/__chrono/year.h (+118)
  • (added) libcxx/include/__cxx03/__chrono/year_month.h (+123)
  • (added) libcxx/include/__cxx03/__chrono/year_month_day.h (+337)
  • (added) libcxx/include/__cxx03/__chrono/year_month_weekday.h (+287)
  • (added) libcxx/include/__cxx03/__chrono/zoned_time.h (+227)
  • (added) libcxx/include/__cxx03/__compare/common_comparison_category.h (+86)
  • (added) libcxx/include/__cxx03/__compare/compare_partial_order_fallback.h (+76)
  • (added) libcxx/include/__cxx03/__compare/compare_strong_order_fallback.h (+73)
  • (added) libcxx/include/__cxx03/__compare/compare_three_way.h (+40)
  • (added) libcxx/include/__cxx03/__compare/compare_three_way_result.h (+45)
  • (added) libcxx/include/__cxx03/__compare/compare_weak_order_fallback.h (+73)
  • (added) libcxx/include/__cxx03/__compare/is_eq.h (+34)
  • (added) libcxx/include/__cxx03/__compare/ordering.h (+278)
  • (added) libcxx/include/__cxx03/__compare/partial_order.h (+77)
  • (added) libcxx/include/__cxx03/__compare/strong_order.h (+143)
  • (added) libcxx/include/__cxx03/__compare/synth_three_way.h (+52)
  • (added) libcxx/include/__cxx03/__compare/three_way_comparable.h (+55)
  • (added) libcxx/include/__cxx03/__compare/weak_order.h (+105)
  • (added) libcxx/include/__cxx03/__concepts/arithmetic.h (+56)
  • (added) libcxx/include/__cxx03/__concepts/assignable.h (+41)
  • (added) libcxx/include/__cxx03/__concepts/boolean_testable.h (+38)
  • (added) libcxx/include/__cxx03/__concepts/class_or_enum.h (+35)
  • (added) libcxx/include/__cxx03/__concepts/common_reference_with.h (+36)
  • (added) libcxx/include/__cxx03/__concepts/common_with.h (+52)
  • (added) libcxx/include/__cxx03/__concepts/constructible.h (+55)
  • (added) libcxx/include/__cxx03/__concepts/convertible_to.h (+33)
  • (added) libcxx/include/__cxx03/__concepts/copyable.h (+41)
  • (added) libcxx/include/__cxx03/__concepts/derived_from.h (+33)
  • (added) libcxx/include/__cxx03/__concepts/destructible.h (+32)
diff --git a/libcxx/include/__cxx03/CMakeLists.txt b/libcxx/include/__cxx03/CMakeLists.txt
new file mode 100644
index 00000000000000..32579272858a8e
--- /dev/null
+++ b/libcxx/include/__cxx03/CMakeLists.txt
@@ -0,0 +1,1092 @@
+set(files
+  __algorithm/adjacent_find.h
+  __algorithm/all_of.h
+  __algorithm/any_of.h
+  __algorithm/binary_search.h
+  __algorithm/clamp.h
+  __algorithm/comp.h
+  __algorithm/comp_ref_type.h
+  __algorithm/copy.h
+  __algorithm/copy_backward.h
+  __algorithm/copy_if.h
+  __algorithm/copy_move_common.h
+  __algorithm/copy_n.h
+  __algorithm/count.h
+  __algorithm/count_if.h
+  __algorithm/equal.h
+  __algorithm/equal_range.h
+  __algorithm/fill.h
+  __algorithm/fill_n.h
+  __algorithm/find.h
+  __algorithm/find_end.h
+  __algorithm/find_first_of.h
+  __algorithm/find_if.h
+  __algorithm/find_if_not.h
+  __algorithm/find_segment_if.h
+  __algorithm/fold.h
+  __algorithm/for_each.h
+  __algorithm/for_each_n.h
+  __algorithm/for_each_segment.h
+  __algorithm/generate.h
+  __algorithm/generate_n.h
+  __algorithm/half_positive.h
+  __algorithm/in_found_result.h
+  __algorithm/in_fun_result.h
+  __algorithm/in_in_out_result.h
+  __algorithm/in_in_result.h
+  __algorithm/in_out_out_result.h
+  __algorithm/in_out_result.h
+  __algorithm/includes.h
+  __algorithm/inplace_merge.h
+  __algorithm/is_heap.h
+  __algorithm/is_heap_until.h
+  __algorithm/is_partitioned.h
+  __algorithm/is_permutation.h
+  __algorithm/is_sorted.h
+  __algorithm/is_sorted_until.h
+  __algorithm/iter_swap.h
+  __algorithm/iterator_operations.h
+  __algorithm/lexicographical_compare.h
+  __algorithm/lexicographical_compare_three_way.h
+  __algorithm/lower_bound.h
+  __algorithm/make_heap.h
+  __algorithm/make_projected.h
+  __algorithm/max.h
+  __algorithm/max_element.h
+  __algorithm/merge.h
+  __algorithm/min.h
+  __algorithm/min_element.h
+  __algorithm/min_max_result.h
+  __algorithm/minmax.h
+  __algorithm/minmax_element.h
+  __algorithm/mismatch.h
+  __algorithm/move.h
+  __algorithm/move_backward.h
+  __algorithm/next_permutation.h
+  __algorithm/none_of.h
+  __algorithm/nth_element.h
+  __algorithm/partial_sort.h
+  __algorithm/partial_sort_copy.h
+  __algorithm/partition.h
+  __algorithm/partition_copy.h
+  __algorithm/partition_point.h
+  __algorithm/pop_heap.h
+  __algorithm/prev_permutation.h
+  __algorithm/pstl.h
+  __algorithm/push_heap.h
+  __algorithm/ranges_adjacent_find.h
+  __algorithm/ranges_all_of.h
+  __algorithm/ranges_any_of.h
+  __algorithm/ranges_binary_search.h
+  __algorithm/ranges_clamp.h
+  __algorithm/ranges_contains.h
+  __algorithm/ranges_contains_subrange.h
+  __algorithm/ranges_copy.h
+  __algorithm/ranges_copy_backward.h
+  __algorithm/ranges_copy_if.h
+  __algorithm/ranges_copy_n.h
+  __algorithm/ranges_count.h
+  __algorithm/ranges_count_if.h
+  __algorithm/ranges_ends_with.h
+  __algorithm/ranges_equal.h
+  __algorithm/ranges_equal_range.h
+  __algorithm/ranges_fill.h
+  __algorithm/ranges_fill_n.h
+  __algorithm/ranges_find.h
+  __algorithm/ranges_find_end.h
+  __algorithm/ranges_find_first_of.h
+  __algorithm/ranges_find_if.h
+  __algorithm/ranges_find_if_not.h
+  __algorithm/ranges_find_last.h
+  __algorithm/ranges_for_each.h
+  __algorithm/ranges_for_each_n.h
+  __algorithm/ranges_generate.h
+  __algorithm/ranges_generate_n.h
+  __algorithm/ranges_includes.h
+  __algorithm/ranges_inplace_merge.h
+  __algorithm/ranges_is_heap.h
+  __algorithm/ranges_is_heap_until.h
+  __algorithm/ranges_is_partitioned.h
+  __algorithm/ranges_is_permutation.h
+  __algorithm/ranges_is_sorted.h
+  __algorithm/ranges_is_sorted_until.h
+  __algorithm/ranges_iterator_concept.h
+  __algorithm/ranges_lexicographical_compare.h
+  __algorithm/ranges_lower_bound.h
+  __algorithm/ranges_make_heap.h
+  __algorithm/ranges_max.h
+  __algorithm/ranges_max_element.h
+  __algorithm/ranges_merge.h
+  __algorithm/ranges_min.h
+  __algorithm/ranges_min_element.h
+  __algorithm/ranges_minmax.h
+  __algorithm/ranges_minmax_element.h
+  __algorithm/ranges_mismatch.h
+  __algorithm/ranges_move.h
+  __algorithm/ranges_move_backward.h
+  __algorithm/ranges_next_permutation.h
+  __algorithm/ranges_none_of.h
+  __algorithm/ranges_nth_element.h
+  __algorithm/ranges_partial_sort.h
+  __algorithm/ranges_partial_sort_copy.h
+  __algorithm/ranges_partition.h
+  __algorithm/ranges_partition_copy.h
+  __algorithm/ranges_partition_point.h
+  __algorithm/ranges_pop_heap.h
+  __algorithm/ranges_prev_permutation.h
+  __algorithm/ranges_push_heap.h
+  __algorithm/ranges_remove.h
+  __algorithm/ranges_remove_copy.h
+  __algorithm/ranges_remove_copy_if.h
+  __algorithm/ranges_remove_if.h
+  __algorithm/ranges_replace.h
+  __algorithm/ranges_replace_copy.h
+  __algorithm/ranges_replace_copy_if.h
+  __algorithm/ranges_replace_if.h
+  __algorithm/ranges_reverse.h
+  __algorithm/ranges_reverse_copy.h
+  __algorithm/ranges_rotate.h
+  __algorithm/ranges_rotate_copy.h
+  __algorithm/ranges_sample.h
+  __algorithm/ranges_search.h
+  __algorithm/ranges_search_n.h
+  __algorithm/ranges_set_difference.h
+  __algorithm/ranges_set_intersection.h
+  __algorithm/ranges_set_symmetric_difference.h
+  __algorithm/ranges_set_union.h
+  __algorithm/ranges_shuffle.h
+  __algorithm/ranges_sort.h
+  __algorithm/ranges_sort_heap.h
+  __algorithm/ranges_stable_partition.h
+  __algorithm/ranges_stable_sort.h
+  __algorithm/ranges_starts_with.h
+  __algorithm/ranges_swap_ranges.h
+  __algorithm/ranges_transform.h
+  __algorithm/ranges_unique.h
+  __algorithm/ranges_unique_copy.h
+  __algorithm/ranges_upper_bound.h
+  __algorithm/remove.h
+  __algorithm/remove_copy.h
+  __algorithm/remove_copy_if.h
+  __algorithm/remove_if.h
+  __algorithm/replace.h
+  __algorithm/replace_copy.h
+  __algorithm/replace_copy_if.h
+  __algorithm/replace_if.h
+  __algorithm/reverse.h
+  __algorithm/reverse_copy.h
+  __algorithm/rotate.h
+  __algorithm/rotate_copy.h
+  __algorithm/sample.h
+  __algorithm/search.h
+  __algorithm/search_n.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/simd_utils.h
+  __algorithm/sort.h
+  __algorithm/sort_heap.h
+  __algorithm/stable_partition.h
+  __algorithm/stable_sort.h
+  __algorithm/swap_ranges.h
+  __algorithm/three_way_comp_ref_type.h
+  __algorithm/transform.h
+  __algorithm/uniform_random_bit_generator_adaptor.h
+  __algorithm/unique.h
+  __algorithm/unique_copy.h
+  __algorithm/unwrap_iter.h
+  __algorithm/unwrap_range.h
+  __algorithm/upper_bound.h
+  __assert
+  __atomic/aliases.h
+  __atomic/atomic.h
+  __atomic/atomic_base.h
+  __atomic/atomic_flag.h
+  __atomic/atomic_init.h
+  __atomic/atomic_lock_free.h
+  __atomic/atomic_ref.h
+  __atomic/atomic_sync.h
+  __atomic/check_memory_order.h
+  __atomic/contention_t.h
+  __atomic/cxx_atomic_impl.h
+  __atomic/fence.h
+  __atomic/is_always_lock_free.h
+  __atomic/kill_dependency.h
+  __atomic/memory_order.h
+  __atomic/to_gcc_order.h
+  __bit/bit_cast.h
+  __bit/bit_ceil.h
+  __bit/bit_floor.h
+  __bit/bit_log2.h
+  __bit/bit_width.h
+  __bit/blsr.h
+  __bit/byteswap.h
+  __bit/countl.h
+  __bit/countr.h
+  __bit/endian.h
+  __bit/has_single_bit.h
+  __bit/invert_if.h
+  __bit/popcount.h
+  __bit/rotate.h
+  __bit_reference
+  __charconv/chars_format.h
+  __charconv/from_chars_integral.h
+  __charconv/from_chars_result.h
+  __charconv/tables.h
+  __charconv/to_chars.h
+  __charconv/to_chars_base_10.h
+  __charconv/to_chars_floating_point.h
+  __charconv/to_chars_integral.h
+  __charconv/to_chars_result.h
+  __charconv/traits.h
+  __chrono/calendar.h
+  __chrono/concepts.h
+  __chrono/convert_to_timespec.h
+  __chrono/convert_to_tm.h
+  __chrono/day.h
+  __chrono/duration.h
+  __chrono/exception.h
+  __chrono/file_clock.h
+  __chrono/formatter.h
+  __chrono/hh_mm_ss.h
+  __chrono/high_resolution_clock.h
+  __chrono/leap_second.h
+  __chrono/literals.h
+  __chrono/local_info.h
+  __chrono/month.h
+  __chrono/month_weekday.h
+  __chrono/monthday.h
+  __chrono/ostream.h
+  __chrono/parser_std_format_spec.h
+  __chrono/statically_widen.h
+  __chrono/steady_clock.h
+  __chrono/sys_info.h
+  __chrono/system_clock.h
+  __chrono/time_point.h
+  __chrono/time_zone.h
+  __chrono/time_zone_link.h
+  __chrono/tzdb.h
+  __chrono/tzdb_list.h
+  __chrono/weekday.h
+  __chrono/year.h
+  __chrono/year_month.h
+  __chrono/year_month_day.h
+  __chrono/year_month_weekday.h
+  __chrono/zoned_time.h
+  __compare/common_comparison_category.h
+  __compare/compare_partial_order_fallback.h
+  __compare/compare_strong_order_fallback.h
+  __compare/compare_three_way.h
+  __compare/compare_three_way_result.h
+  __compare/compare_weak_order_fallback.h
+  __compare/is_eq.h
+  __compare/ordering.h
+  __compare/partial_order.h
+  __compare/strong_order.h
+  __compare/synth_three_way.h
+  __compare/three_way_comparable.h
+  __compare/weak_order.h
+  __concepts/arithmetic.h
+  __concepts/assignable.h
+  __concepts/boolean_testable.h
+  __concepts/class_or_enum.h
+  __concepts/common_reference_with.h
+  __concepts/common_with.h
+  __concepts/constructible.h
+  __concepts/convertible_to.h
+  __concepts/copyable.h
+  __concepts/derived_from.h
+  __concepts/destructible.h
+  __concepts/different_from.h
+  __concepts/equality_comparable.h
+  __concepts/invocable.h
+  __concepts/movable.h
+  __concepts/predicate.h
+  __concepts/regular.h
+  __concepts/relation.h
+  __concepts/same_as.h
+  __concepts/semiregular.h
+  __concepts/swappable.h
+  __concepts/totally_ordered.h
+  __condition_variable/condition_variable.h
+  __config
+  __configuration/abi.h
+  __configuration/availability.h
+  __configuration/compiler.h
+  __configuration/language.h
+  __configuration/platform.h
+  __coroutine/coroutine_handle.h
+  __coroutine/coroutine_traits.h
+  __coroutine/noop_coroutine_handle.h
+  __coroutine/trivial_awaitables.h
+  __debug_utils/randomize_range.h
+  __debug_utils/sanitizers.h
+  __debug_utils/strict_weak_ordering_check.h
+  __exception/exception.h
+  __exception/exception_ptr.h
+  __exception/nested_exception.h
+  __exception/operations.h
+  __exception/terminate.h
+  __expected/bad_expected_access.h
+  __expected/expected.h
+  __expected/unexpect.h
+  __expected/unexpected.h
+  __filesystem/copy_options.h
+  __filesystem/directory_entry.h
+  __filesystem/directory_iterator.h
+  __filesystem/directory_options.h
+  __filesystem/file_status.h
+  __filesystem/file_time_type.h
+  __filesystem/file_type.h
+  __filesystem/filesystem_error.h
+  __filesystem/operations.h
+  __filesystem/path.h
+  __filesystem/path_iterator.h
+  __filesystem/perm_options.h
+  __filesystem/perms.h
+  __filesystem/recursive_directory_iterator.h
+  __filesystem/space_info.h
+  __filesystem/u8path.h
+  __format/buffer.h
+  __format/concepts.h
+  __format/container_adaptor.h
+  __format/enable_insertable.h
+  __format/escaped_output_table.h
+  __format/extended_grapheme_cluster_table.h
+  __format/format_arg.h
+  __format/format_arg_store.h
+  __format/format_args.h
+  __format/format_context.h
+  __format/format_error.h
+  __format/format_functions.h
+  __format/format_parse_context.h
+  __format/format_string.h
+  __format/format_to_n_result.h
+  __format/formatter.h
+  __format/formatter_bool.h
+  __format/formatter_char.h
+  __format/formatter_floating_point.h
+  __format/formatter_integer.h
+  __format/formatter_integral.h
+  __format/formatter_output.h
+  __format/formatter_pointer.h
+  __format/formatter_string.h
+  __format/formatter_tuple.h
+  __format/indic_conjunct_break_table.h
+  __format/parser_std_format_spec.h
+  __format/range_default_formatter.h
+  __format/range_formatter.h
+  __format/unicode.h
+  __format/width_estimation_table.h
+  __format/write_escaped.h
+  __functional/binary_function.h
+  __functional/binary_negate.h
+  __functional/bind.h
+  __functional/bind_back.h
+  __functional/bind_front.h
+  __functional/binder1st.h
+  __functional/binder2nd.h
+  __functional/boyer_moore_searcher.h
+  __functional/compose.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/weak_result_type.h
+  __fwd/array.h
+  __fwd/bit_reference.h
+  __fwd/complex.h
+  __fwd/deque.h
+  __fwd/format.h
+  __fwd/fstream.h
+  __fwd/functional.h
+  __fwd/ios.h
+  __fwd/istream.h
+  __fwd/mdspan.h
+  __fwd/memory.h
+  __fwd/memory_resource.h
+  __fwd/ostream.h
+  __fwd/pair.h
+  __fwd/queue.h
+  __fwd/span.h
+  __fwd/sstream.h
+  __fwd/stack.h
+  __fwd/streambuf.h
+  __fwd/string.h
+  __fwd/string_view.h
+  __fwd/subrange.h
+  __fwd/tuple.h
+  __fwd/vector.h
+  __hash_table
+  __ios/fpos.h
+  __iterator/access.h
+  __iterator/advance.h
+  __iterator/aliasing_iterator.h
+  __iterator/back_insert_iterator.h
+  __iterator/bounded_iter.h
+  __iterator/common_iterator.h
+  __iterator/concepts.h
+  __iterator/counted_iterator.h
+  __iterator/cpp17_iterator_concepts.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/indirectly_comparable.h
+  __iterator/insert_iterator.h
+  __iterator/istream_iterator.h
+  __iterator/istreambuf_iterator.h
+  __iterator/iter_move.h
+  __iterator/iter_swap.h
+  __iterator/iterator.h
+  __iterator/iterator_traits.h
+  __iterator/iterator_with_data.h
+  __iterator/mergeable.h
+  __iterator/move_iterator.h
+  __iterator/move_sentinel.h
+  __iterator/next.h
+  __iterator/ostream_iterator.h
+  __iterator/ostreambuf_iterator.h
+  __iterator/permutable.h
+  __iterator/prev.h
+  __iterator/projected.h
+  __iterator/ranges_iterator_traits.h
+  __iterator/readable_traits.h
+  __iterator/reverse_access.h
+  __iterator/reverse_iterator.h
+  __iterator/segmented_iterator.h
+  __iterator/size.h
+  __iterator/sortable.h
+  __iterator/unreachable_sentinel.h
+  __iterator/wrap_iter.h
+  __locale
+  __locale_dir/locale_base_api.h
+  __locale_dir/locale_base_api/android.h
+  __locale_dir/locale_base_api/bsd_locale_defaults.h
+  __locale_dir/locale_base_api/bsd_locale_fallbacks.h
+  __locale_dir/locale_base_api/fuchsia.h
+  __locale_dir/locale_base_api/ibm.h
+  __locale_dir/locale_base_api/locale_guard.h
+  __locale_dir/locale_base_api/musl.h
+  __locale_dir/locale_base_api/newlib.h
+  __locale_dir/locale_base_api/openbsd.h
+  __locale_dir/locale_base_api/win32.h
+  __math/abs.h
+  __math/copysign.h
+  __math/error_functions.h
+  __math/exponential_functions.h
+  __math/fdim.h
+  __math/fma.h
+  __math/gamma.h
+  __math/hyperbolic_functions.h
+  __math/hypot.h
+  __math/inverse_hyperbolic_functions.h
+  __math/inverse_trigonometric_functions.h
+  __math/logarithms.h
+  __math/min_max.h
+  __math/modulo.h
+  __math/remainder.h
+  __math/roots.h
+  __math/rounding_functions.h
+  __math/special_functions.h
+  __math/traits.h
+  __math/trigonometric_functions.h
+  __mbstate_t.h
+  __mdspan/default_accessor.h
+  __mdspan/extents.h
+  __mdspan/layout_left.h
+  __mdspan/layout_right.h
+  __mdspan/layout_stride.h
+  __mdspan/mdspan.h
+  __memory/addressof.h
+  __memory/align.h
+  __memory/aligned_alloc.h
+  __memory/allocate_at_least.h
+  __memory/allocation_guard.h
+  __memory/allocator.h
+  __memory/allocator_arg_t.h
+  __memory/allocator_destructor.h
+  __memory/allocator_traits.h
+  __memory/assume_aligned.h
+  __memory/auto_ptr.h
+  __memory/builtin_new_allocator.h
+  __memory/compressed_pair.h
+  __memory/concepts.h
+  __memory/construct_at.h
+  __memory/destruct_n.h
+  __memory/inout_ptr.h
+  __memory/out_ptr.h
+  __memory/pointer_traits.h
+  __memory/ranges_construct_at.h
+  __memory/ranges_uninitialized_algorithms.h
+  __memory/raw_storage_iterator.h
+  __memory/shared_ptr.h
+  __memory/swap_allocator.h
+  __memory/temp_value.h
+  __memory/temporary_buffer.h
+  __memory/uninitialized_algorithms.h
+  __memory/unique_ptr.h
+  __memory/uses_allocator.h
+  __memory/uses_allocator_construction.h
+  __memory/voidify.h
+  __memory_resource/memory_resource.h
+  __memory_resource/monotonic_buffer_resource.h
+  __memory_resource/polymorphic_allocator.h
+  __memory_resource/pool_options.h
+  __memory_resource/synchronized_pool_resource.h
+  __memory_resource/unsynchronized_pool_resource.h
+  __mutex/lock_guard.h
+  __mutex/mutex.h
+  __mutex/once_flag.h
+  __mutex/tag_types.h
+  __mutex/unique_lock.h
+  __node_handle
+  __numeric/accumulate.h
+  __numeric/adjacent_difference.h
+  __numeric/exclusive_scan.h
+  __numeric/gcd_lcm.h
+  __numeric/inclusive_scan.h
+  __numeric/inner_product.h
+  __numeric/iota.h
+  __numeric/midpoint.h
+  __numeric/partial_sum.h
+  __numeric/pstl.h
+  __numeric/reduce.h
+  __numeric/saturation_arithmetic.h
+  __numeric/transform_exclusive_scan.h
+  __numeric/transform_inclusive_scan.h
+  __numeric/transform_reduce.h
+  __ostream/basic_ostream.h
+  __ostream/print.h
+  __pstl/backend.h
+  __pstl/backend_fwd.h
+  __pstl/backends/default.h
+  __pstl/backends/libdispatch.h
+  __pstl/backends/serial.h
+  __pstl/backends/std_thread.h
+  __pstl/cpu_algos/any_of.h
+  __pstl/cpu_algos/cpu_traits.h
+  __pstl/cpu_algos/fill.h
+  __pstl/cpu_algos/find_if.h
+  __pstl/cpu_algos/for_each.h
+  __pstl/cpu_algos/merge.h
+  __pstl/cpu_algos/stable_sort.h
+  __pstl/cpu_algos/transform.h
+  __pstl/cpu_algos/transform_reduce.h
+  __pstl/dispatch.h
+  __pstl/handle_exception.h
+  __random/bernoulli_distribution.h
+  __random/binomial_distribution.h
+  __random/cauchy_distribution.h
+  __random/chi_squared_distribution.h
+  __random/clamp_to_integral.h
+  __random/default_random_engine.h
+  __random/discard_block_engine.h
+  __random/discrete_distribution.h
+  __random/exponential_distribution.h
+  __random/extreme_value_distribution.h
+  __random/fisher_f_distribution.h
+  __random/gamma_distribution.h
+  __random/generate_canonical.h
+  __random/geometric_distribution.h
+  __random/independent_bits_engine.h
+  __random/is_seed_sequence.h
+  __random/is_valid.h
+  __random/knuth_b.h
+  __random/linear_congruential_engine.h
+  __random/log2.h
+  __random/lognormal_distribution.h
+  __random/mersenne_twister_engine.h
+  __random/negative_binomial_distribution.h
+  __random/normal_distribution.h
+  __random/piecewise_constant_distribution.h
+  __random/piecewise_linear_distribution.h
+  __random/poisson_distribution.h
+  __random/random_device.h
+  __random/ranlux.h
+  __random/seed_seq.h
+  __random/shuffle_order_engine.h
+  __random/student_t_distribution.h
+  __random/subtract_with_carry_engine.h
+  __random/uniform_int_distribution.h
+  __random/uniform_random_bit_generator.h
+  __random/uniform_real_distribution.h
+  __random/weibull_distribution.h
+  __ranges/access.h
+  __ranges/all.h
+  __ranges/as_rvalue_view.h
+  __ranges/chunk_by_view.h
+  __ranges/common_view.h
+  __ranges/concepts.h
+  __ranges/container_compatible_range.h
+  __ranges/counted.h
+  __ranges/dangling.h
+  __ranges/data.h
+  __ranges/drop_view.h
+  __ranges/drop_while_view.h
+  __ranges/elements_view.h
+  __ranges/empty.h
+  __ranges/empty_view.h
+  __ranges/enable_borrowed_range.h
+  __ranges/enable_view.h
+  __ranges/filter_view.h
+  __ranges/from_range.h
+  __ranges/iota_view.h
+  __ranges/istream_view.h
+  __ranges/join_view.h
+  __ranges/lazy_split_view.h
+  __ranges/movable_box.h
+  __ranges/non_propagating_cache.h
+  __ranges/owning_view.h
+  __ranges/range_adaptor.h
+  __ranges/rbegin.h
+  __ranges/ref_view.h
+  __ranges/rend.h
+  __ranges/repeat_view.h
+  __ranges/reverse_view.h
+  __ranges/single_view.h
+  __ranges/size.h
+  __ranges/split_view.h
+  __ranges/subrange.h
+  __ranges/take_view.h
+  __ranges/take_while_view.h
+  __ranges/to.h
+  __ranges/transform_view.h
+  __ranges/view_interface.h
+  __ranges/views.h
+  __ranges/zip_view.h
+  __split_buffer
+  __std_clang_module
+  __std_mbstate_t.h
+  __stop_token/atomic_unique_lock.h
+  __stop_token/intrusive_list_view.h
+  __stop_...
[truncated]

@philnik777 philnik777 merged commit 67432f2 into main Oct 1, 2024
14 of 21 checks passed
@philnik777 philnik777 deleted the users/philnik777/cxx03_copy branch October 1, 2024 20:57
@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-ppc64le-linux running on ppc64le-sanitizer while building libcxx at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/72/builds/3898

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[1541/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interface.cpp.o
[1542/1867] Linking CXX shared library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.ubsan_minimal.so
[1543/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_allocator.cpp.o
[1544/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_suppressions.cpp.o
[1545/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_stats.cpp.o
[1546/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interceptors_memintrinsics.cpp.o
[1547/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_deadlock_detector1.cpp.o
[1548/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_rtl_proc.cpp.o
[1549/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_flags.cpp.o
[1550/1867] Generate the mapping file for include-what-you-use
FAILED: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/libcxx/include && /home/buildbots/llvm-external-buildbots/workers/env/bin/python3.8 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1551/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_flags.cpp.o
[1552/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_posix_libcdep.cpp.o
[1553/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_linux.cpp.o
[1554/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_allocator.cpp.o
[1555/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.powerpc64le.dir/sanitizer_symbolizer_posix_libcdep.cpp.o
[1556/1867] Generating exported symbols for clang_rt.msan_cxx-powerpc64le
[1557/1867] Generating exported symbols for clang_rt.ubsan_minimal-powerpc64le
[1558/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_interceptors_memintrinsics.cpp.o
[1559/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingFile.c.o
[1560/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_stackdepot.cpp.o
[1561/1867] Building CXX object compiler-rt/lib/msan/CMakeFiles/clang_rt.msan-powerpc64le.dir/msan_linux.cpp.o
[1562/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_malloc_linux.cpp.o
[1563/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_linux.cpp.o
[1564/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_flags.cpp.o
[1565/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_interceptors_memintrinsics.cpp.o
[1566/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_linux.cpp.o
[1567/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_fd.cpp.o
[1568/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_report.cpp.o
[1569/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_libcdep.cpp.o
[1570/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_platform_posix.cpp.o
[1571/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_suppressions.cpp.o
[1572/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan_cxx-powerpc64le.dir/tsan_new_delete.cpp.o
[1573/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interface_java.cpp.o
[1574/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_platform_posix.cpp.o
[1575/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingValue.c.o
[1576/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.powerpc64le.dir/asan_new_delete.cpp.o
[1577/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.powerpc64le.dir/sanitizer_stack_store.cpp.o
[1578/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_fd.cpp.o
[1579/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.powerpc64le.dir/sanitizer_linux_libcdep.cpp.o
[1580/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/GCDAProfiling.c.o
[1581/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.powerpc64le.dir/sanitizer_symbolizer_libcdep.cpp.o
Step 8 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[1541/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interface.cpp.o
[1542/1867] Linking CXX shared library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.ubsan_minimal.so
[1543/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_allocator.cpp.o
[1544/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_suppressions.cpp.o
[1545/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_stats.cpp.o
[1546/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interceptors_memintrinsics.cpp.o
[1547/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_deadlock_detector1.cpp.o
[1548/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_rtl_proc.cpp.o
[1549/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_flags.cpp.o
[1550/1867] Generate the mapping file for include-what-you-use
FAILED: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/libcxx/include && /home/buildbots/llvm-external-buildbots/workers/env/bin/python3.8 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1551/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_flags.cpp.o
[1552/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_posix_libcdep.cpp.o
[1553/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_linux.cpp.o
[1554/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_allocator.cpp.o
[1555/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.powerpc64le.dir/sanitizer_symbolizer_posix_libcdep.cpp.o
[1556/1867] Generating exported symbols for clang_rt.msan_cxx-powerpc64le
[1557/1867] Generating exported symbols for clang_rt.ubsan_minimal-powerpc64le
[1558/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_interceptors_memintrinsics.cpp.o
[1559/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingFile.c.o
[1560/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_stackdepot.cpp.o
[1561/1867] Building CXX object compiler-rt/lib/msan/CMakeFiles/clang_rt.msan-powerpc64le.dir/msan_linux.cpp.o
[1562/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_malloc_linux.cpp.o
[1563/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_linux.cpp.o
[1564/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_flags.cpp.o
[1565/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_interceptors_memintrinsics.cpp.o
[1566/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_linux.cpp.o
[1567/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_fd.cpp.o
[1568/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_report.cpp.o
[1569/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_libcdep.cpp.o
[1570/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_platform_posix.cpp.o
[1571/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_suppressions.cpp.o
[1572/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan_cxx-powerpc64le.dir/tsan_new_delete.cpp.o
[1573/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interface_java.cpp.o
[1574/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_platform_posix.cpp.o
[1575/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingValue.c.o
[1576/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.powerpc64le.dir/asan_new_delete.cpp.o
[1577/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.powerpc64le.dir/sanitizer_stack_store.cpp.o
[1578/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_fd.cpp.o
[1579/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.powerpc64le.dir/sanitizer_linux_libcdep.cpp.o
[1580/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/GCDAProfiling.c.o
[1581/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.powerpc64le.dir/sanitizer_symbolizer_libcdep.cpp.o
Step 9 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
-- Performing Test CXX_SUPPORTS_FSIZED_DEALLOCATION_FLAG - Success
-- check-runtimes does nothing.
-- Configuring done (4.4s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    LIBCXX_HAS_GCC_S_LIB
-- Build files have been written to: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/tsan/libcxx_tsan_powerpc64le
[40/173] Generate the mapping file for include-what-you-use
FAILED: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/libcxx/include && /home/buildbots/llvm-external-buildbots/workers/env/bin/python3.8 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[66/173] Generating ScudoUnitTestsObjects.wrappers_cpp_test.cpp.powerpc64le.o
[68/173] Generating ScudoUnitTestsObjects.primary_test.cpp.powerpc64le.o
[69/173] Generating ScudoUnitTestsObjects.gtest-all.cc.powerpc64le.o
[70/173] Generating ScudoUnitTestsObjects.combined_test.cpp.powerpc64le.o
ninja: build stopped: subcommand failed.
FAILED: runtimes/CMakeFiles/check-compiler-rt /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/CMakeFiles/check-compiler-rt 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins && /home/buildbots/llvm-external-buildbots/cmake-3.28.2/bin/cmake --build /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/ --target check-compiler-rt --config Release
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
Step 10 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[1569/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_mutexset.cpp.o
[1570/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_interceptors_memintrinsics.cpp.o
[1571/1862] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingValue.c.o
[1572/1862] Linking CXX static library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.stats.a
[1573/1862] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_thread_registry.cpp.o
[1574/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_interface.cpp.o
[1575/1862] Linking CXX static library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a
[1576/1862] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.powerpc64le.dir/sanitizer_linux_libcdep.cpp.o
[1577/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan_cxx-powerpc64le.dir/tsan_new_delete.cpp.o
[1578/1862] Generate the mapping file for include-what-you-use
FAILED: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/libcxx/include && /home/buildbots/llvm-external-buildbots/workers/env/bin/python3.8 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1579/1862] Generating exported symbols for clang_rt.msan_cxx-powerpc64le
[1580/1862] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_posix_libcdep.cpp.o
[1581/1862] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_malloc_linux.cpp.o
[1582/1862] Linking CXX static library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.tsan_cxx.a
[1583/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_fd.cpp.o
[1584/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_rtl_thread.cpp.o
[1585/1862] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_errors.cpp.o
[1586/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interceptors_memintrinsics.cpp.o
[1587/1862] Generating exported symbols for clang_rt.asan_cxx-powerpc64le
[1588/1862] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_descriptions.cpp.o
[1589/1862] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_libcdep.cpp.o
[1590/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_flags.cpp.o
[1591/1862] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_interceptors_memintrinsics.cpp.o
[1592/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_platform_posix.cpp.o
[1593/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_suppressions.cpp.o
[1594/1862] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_errors.cpp.o
[1595/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_debugging.cpp.o
[1596/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_report.cpp.o
[1597/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_rtl_thread.cpp.o
[1598/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_debugging.cpp.o
[1599/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_fd.cpp.o
[1600/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_report.cpp.o
[1601/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_external.cpp.o
[1602/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_external.cpp.o
[1603/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-powerpc64le.dir/tsan_platform_linux.cpp.o
[1604/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interface_java.cpp.o
[1605/1862] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_rtl.cpp.o
[1606/1862] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interface_ann.cpp.o
[1607/1862] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_poisoning.cpp.o
[1608/1862] Building CXX object compiler-rt/lib/msan/CMakeFiles/clang_rt.msan-powerpc64le.dir/msan.cpp.o
[1609/1862] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_stack_store.cpp.o
Step 11 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[1501/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_linux.cpp.o
[1502/1867] Building CXX object compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-powerpc64le.dir/string_utils.cpp.o
[1503/1867] Building CXX object compiler-rt/lib/scudo/standalone/CMakeFiles/RTScudoStandalone.powerpc64le.dir/string_utils.cpp.o
[1504/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_linux.cpp.o
[1505/1867] Building CXX object compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-powerpc64le.dir/string_utils.cpp.o
[1506/1867] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.powerpc64le.dir/ubsan_handlers_cxx.cpp.o
[1507/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.powerpc64le.dir/sanitizer_allocator.cpp.o
[1508/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_allocator.cpp.o
[1509/1867] Building CXX object compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.powerpc64le.dir/ubsan_minimal_handlers.cpp.o
[1510/1867] Generate the mapping file for include-what-you-use
FAILED: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/libcxx/include && /home/buildbots/llvm-external-buildbots/workers/env/bin/python3.8 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1511/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_allocator.cpp.o
[1512/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_activation.cpp.o
[1513/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingMerge.c.o
[1514/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.powerpc64le.dir/sanitizer_libc.cpp.o
[1515/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.powerpc64le.dir/sanitizer_linux_libcdep.cpp.o
[1516/1867] Linking CXX static library compiler-rt/lib/scudo/standalone/tests/libRTScudoUnitTest.powerpc64le.a
[1517/1867] Linking CXX static library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a
[1518/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_libc.cpp.o
[1519/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_posix.cpp.o
[1520/1867] Linking CXX static library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.ubsan_minimal.a
[1521/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_external.cpp.o
[1522/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingFile.c.o
[1523/1867] Linking CXX shared library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.ubsan_minimal.so
[1524/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_memory_profile.cpp.o
[1525/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_debugging.cpp.o
[1526/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_debugging.cpp.o
[1527/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/GCDAProfiling.c.o
[1528/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.powerpc64le.dir/sanitizer_deadlock_detector1.cpp.o
[1529/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_posix.cpp.o
[1530/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_memory_profile.cpp.o
[1531/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_linux.cpp.o
[1532/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_suppressions.cpp.o
[1533/1867] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-powerpc64le.dir/lsan_thread.cpp.o
[1534/1867] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-powerpc64le.dir/InstrProfilingValue.c.o
[1535/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.powerpc64le.dir/sanitizer_symbolizer_report.cpp.o
[1536/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_md5.cpp.o
[1537/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.powerpc64le.dir/asan_linux.cpp.o
[1538/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.powerpc64le.dir/sanitizer_symbolizer_libcdep.cpp.o
[1539/1867] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-powerpc64le.dir/tsan_interface.cpp.o
[1540/1867] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.powerpc64le.dir/sanitizer_libc.cpp.o
[1541/1867] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.powerpc64le.dir/asan_stack.cpp.o
Step 12 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[19/174] Generating exported symbols for clang_rt.ubsan_standalone_cxx-powerpc64le
[20/174] No download step for 'libcxx_tsan_powerpc64le'
[21/174] Generating exported symbols for clang_rt.ubsan_minimal-powerpc64le
[22/174] Creating directories for 'libcxx_msan_powerpc64le'
[23/174] Linking CXX shared library /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.tsan.so
[24/174] No update step for 'libcxx_tsan_powerpc64le'
[25/174] No download step for 'libcxx_msan_powerpc64le'
[26/174] Generating exported symbols for clang_rt.asan_cxx-powerpc64le
[27/174] Generating exported symbols for clang_rt.msan_cxx-powerpc64le
[28/174] Generate the mapping file for include-what-you-use
FAILED: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/libcxx/include && /home/buildbots/llvm-external-buildbots/workers/env/bin/python3.8 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[29/174] Generating exported symbols for clang_rt.tsan_cxx-powerpc64le
[30/174] No patch step for 'libcxx_tsan_powerpc64le'
[31/174] No update step for 'libcxx_msan_powerpc64le'
[32/174] Generating exported symbols for clang_rt.ubsan_standalone-powerpc64le
[33/174] Generating version list for clang_rt.ubsan_standalone-dynamic-powerpc64le
[34/174] Generating exported symbols for clang_rt.tsan-powerpc64le
[35/174] Generating exported symbols for clang_rt.msan-powerpc64le
[36/174] Generating exported symbols for clang_rt.asan-powerpc64le
[37/174] Generating version list for clang_rt.asan-dynamic-powerpc64le
[38/174] Generating ScudoUnitTestsObjects.mutex_test.cpp.powerpc64le.o
[39/174] Generating ScudoUnitTestsObjects.bytemap_test.cpp.powerpc64le.o
[40/174] Generating ScudoUnitTestsObjects.scudo_unit_test_main.cpp.powerpc64le.o
[41/174] Generating ScudoUnitTestsObjects.vector_test.cpp.powerpc64le.o
[42/174] Generating ScudoUnitTestsObjects.quarantine_test.cpp.powerpc64le.o
[43/174] Generating ScudoUnitTestsObjects.stats_test.cpp.powerpc64le.o
[44/174] Generating ScudoUnitTestsObjects.flags_test.cpp.powerpc64le.o
[45/174] Generating ScudoUnitTestsObjects.checksum_test.cpp.powerpc64le.o
[46/174] Generating ScudoUnitTestsObjects.condition_variable_test.cpp.powerpc64le.o
[47/174] Generating ScudoUnitTestsObjects.atomic_test.cpp.powerpc64le.o
[48/174] Generating ScudoUnitTestsObjects.size_class_map_test.cpp.powerpc64le.o
[49/174] Generating ScudoUnitTestsObjects.common_test.cpp.powerpc64le.o
[50/174] Generating ScudoUnitTestsObjects.timing_test.cpp.powerpc64le.o
[51/174] Generating ScudoUnitTestsObjects.chunk_test.cpp.powerpc64le.o
[52/174] Generating ScudoUnitTestsObjects.map_test.cpp.powerpc64le.o
[53/174] Generating ScudoUnitTestsObjects.strings_test.cpp.powerpc64le.o
[54/174] Generating ScudoUnitTestsObjects.memtag_test.cpp.powerpc64le.o
[55/174] Generating ScudoUnitTestsObjects.report_test.cpp.powerpc64le.o
[56/174] Generating ScudoUnitTestsObjects.tsd_test.cpp.powerpc64le.o
[57/174] Generating ScudoUnitTestsObjects.wrappers_cpp_test.cpp.powerpc64le.o
[58/174] Generating ScudoUnitTestsObjects.allocator_config_test.cpp.powerpc64le.o
[59/174] Generating ScudoUnitTestsObjects.list_test.cpp.powerpc64le.o
Step 14 (test standalone compiler-rt) failure: test standalone compiler-rt (failure)
...
[1150/1240] Copying CXX module std/typeindex.inc
[1151/1240] Copying CXX module std/typeinfo.inc
[1152/1240] Copying CXX module std/unordered_map.inc
[1153/1240] Copying CXX module std/unordered_set.inc
[1154/1240] Copying CXX module std/utility.inc
[1155/1240] Copying CXX module std/valarray.inc
[1156/1240] Copying CXX module std/variant.inc
[1157/1240] Copying CXX module std/vector.inc
[1158/1240] Copying CXX module std/version.inc
[1159/1240] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/msan/libcxx_msan_powerpc64le/include/c++/v1/libcxx.imp 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/msan/libcxx_msan_powerpc64le/libcxx/include && /home/buildbots/llvm-external-buildbots/workers/env/bin/python3.8 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/msan/libcxx_msan_powerpc64le/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
FAILED: lib/msan/tests/libcxx_msan_powerpc64le/src/libcxx_msan_powerpc64le-stamp/libcxx_msan_powerpc64le-build lib/msan/libcxx_msan_powerpc64le/lib/libc++.a lib/msan/libcxx_msan_powerpc64le/lib/libc++abi.a /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/msan/tests/libcxx_msan_powerpc64le/src/libcxx_msan_powerpc64le-stamp/libcxx_msan_powerpc64le-build /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/msan/libcxx_msan_powerpc64le/lib/libc++.a /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/msan/libcxx_msan_powerpc64le/lib/libc++abi.a 
cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/msan/libcxx_msan_powerpc64le && /home/buildbots/llvm-external-buildbots/cmake-3.28.2/bin/cmake --build .
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

@ldionne
Copy link
Member

ldionne commented Oct 1, 2024

@philnik777 It looks like that buildbot failure is caused by this patch.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux running on sanitizer-buildbot2 while building libcxx at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/4387

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[1252/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_win_interception.cpp.o
[1253/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o
[1254/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_errno.cpp.o
[1255/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_fuchsia.cpp.o
[1256/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_linux_s390.cpp.o
[1257/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_mac.cpp.o
[1258/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_netbsd.cpp.o
[1259/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_linux.cpp.o
[1260/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_netbsd.cpp.o
[1261/2572] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1262/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_common.cpp.o
[1263/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cpp.o
[1264/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector2.cpp.o
[1265/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o
[1266/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o
[1267/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o
[1268/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_deadlock_detector2.cpp.o
[1269/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_freebsd.cpp.o
[1270/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_solaris.cpp.o
[1271/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_bsd.cpp.o
[1272/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_fuchsia.cpp.o
[1273/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_mac.cpp.o
[1274/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_solaris.cpp.o
[1275/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_solaris.cpp.o
[1276/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_fuchsia.cpp.o
[1277/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_mac.cpp.o
[1278/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_win.cpp.o
[1279/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_type_traits.cpp.o
[1280/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_win.cpp.o
[1281/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_win_interception.cpp.o
[1282/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o
[1283/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o
[1284/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_errno.cpp.o
[1285/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_procmaps_common.cpp.o
[1286/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_mutex.cpp.o
[1287/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o
[1288/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o
[1289/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_fuchsia.cpp.o
[1290/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_tls_get_addr.cpp.o
[1291/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux_s390.cpp.o
[1292/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mac.cpp.o
Step 8 (build compiler-rt symbolizer) failure: build compiler-rt symbolizer (failure)
...
[1252/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_win_interception.cpp.o
[1253/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o
[1254/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_errno.cpp.o
[1255/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_fuchsia.cpp.o
[1256/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_linux_s390.cpp.o
[1257/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_mac.cpp.o
[1258/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_netbsd.cpp.o
[1259/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_linux.cpp.o
[1260/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_netbsd.cpp.o
[1261/2572] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1262/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_common.cpp.o
[1263/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cpp.o
[1264/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector2.cpp.o
[1265/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o
[1266/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o
[1267/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o
[1268/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_deadlock_detector2.cpp.o
[1269/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_freebsd.cpp.o
[1270/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_solaris.cpp.o
[1271/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_bsd.cpp.o
[1272/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_fuchsia.cpp.o
[1273/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_mac.cpp.o
[1274/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_solaris.cpp.o
[1275/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_solaris.cpp.o
[1276/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_fuchsia.cpp.o
[1277/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_mac.cpp.o
[1278/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_win.cpp.o
[1279/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_type_traits.cpp.o
[1280/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_win.cpp.o
[1281/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_win_interception.cpp.o
[1282/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o
[1283/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o
[1284/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_errno.cpp.o
[1285/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_procmaps_common.cpp.o
[1286/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_mutex.cpp.o
[1287/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o
[1288/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o
[1289/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_fuchsia.cpp.o
[1290/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_tls_get_addr.cpp.o
[1291/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux_s390.cpp.o
[1292/2572] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mac.cpp.o
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
[1019/1102] Copying CXX header unordered_map
[1020/1102] Copying CXX header unordered_set
[1021/1102] Copying CXX header utility
[1022/1102] Copying CXX header variant
[1023/1102] Copying CXX header version
[1024/1102] Copying CXX header valarray
[1025/1102] Copying CXX header vector
[1026/1102] Copying CXX header wctype.h
[1027/1102] Copying CXX header wchar.h
[1028/1102] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.i386/symbolizer/libcxx/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.i386/symbolizer/libcxx/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.i386/symbolizer/libcxx/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
[132/1387] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[219/1387] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o
FAILED: compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.i386.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.i386.o 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.i386 && FLAGS=-m32 CLANG=/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.i386.o
[221/1387] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_interceptors.cpp.o
ninja: build stopped: subcommand failed.
FAILED: runtimes/CMakeFiles/check-compiler-rt /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/CMakeFiles/check-compiler-rt 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins && /usr/bin/cmake --build /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/ --target check-compiler-rt --config Release
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
Step 10 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[1263/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_freebsd.cpp.o
[1264/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_linux.cpp.o
[1265/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_netbsd.cpp.o
[1266/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_solaris.cpp.o
[1267/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_bsd.cpp.o
[1268/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_fuchsia.cpp.o
[1269/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_solaris.cpp.o
[1270/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_fuchsia.cpp.o
[1271/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_win.cpp.o
[1272/2568] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1273/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_libc.cpp.o
[1274/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_printf.cpp.o
[1275/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_suppressions.cpp.o
[1276/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o
[1277/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o
[1278/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o
[1279/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_deadlock_detector2.cpp.o
[1280/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_mac.cpp.o
[1281/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_solaris.cpp.o
[1282/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_mac.cpp.o
[1283/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_type_traits.cpp.o
[1284/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_win.cpp.o
[1285/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_win_interception.cpp.o
[1286/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_errno.cpp.o
[1287/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_fuchsia.cpp.o
[1288/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mac.cpp.o
[1289/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux_s390.cpp.o
[1290/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_netbsd.cpp.o
[1291/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o
[1292/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o
[1293/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o
[1294/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o
[1295/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_bsd.cpp.o
[1296/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o
[1297/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o
[1298/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o
[1299/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_allocator.cpp.o
[1300/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_linux.cpp.o
[1301/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o
[1302/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_mac.cpp.o
[1303/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_solaris.cpp.o
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[116/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_fuchsia.cpp.o
[117/1383] Building CXX object compiler-rt/lib/stats/CMakeFiles/clang_rt.stats-i386.dir/stats.cpp.o
[118/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_premap_shadow.cpp.o
[119/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.x86_64.dir/ubsan_monitor.cpp.o
[120/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.i386.dir/lsan_common_linux.cpp.o
[121/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_globals_win.cpp.o
[122/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o
[123/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.i386.dir/ubsan_handlers_cxx.cpp.o
[124/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_malloc_mac.cpp.o
[125/1383] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[126/1383] Building CXX object compiler-rt/lib/stats/CMakeFiles/clang_rt.stats-x86_64.dir/stats.cpp.o
[127/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.x86_64.dir/ubsan_handlers_cxx.cpp.o
[128/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.i386.dir/ubsan_signals_standalone.cpp.o
[129/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.x86_64.dir/ubsan_signals_standalone.cpp.o
[130/1383] Building ASM object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_interceptors_vfork.S.o
[131/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_mac.cpp.o
[132/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_malloc_win.cpp.o
[133/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-x86_64.dir/lsan_posix.cpp.o
[134/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.x86_64.dir/ubsan_diag_standalone.cpp.o
[135/1383] Linking CXX static library /home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/20/lib/i386-unknown-linux-gnu/libclang_rt.ubsan_standalone_cxx.a
[136/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-i386.dir/lsan_thread.cpp.o
[137/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_win.cpp.o
[138/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o
[139/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.i386.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o
[140/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_symbolizer_posix_libcdep.cpp.o
[141/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_shadow_setup.cpp.o
[142/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.x86_64.dir/ubsan_diag.cpp.o
[143/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_premap_shadow.cpp.o
[144/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_stackdepot.cpp.o
[145/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-x86_64.dir/lsan_thread.cpp.o
[146/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_debugging.cpp.o
[147/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o
[148/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_shadow_setup.cpp.o
[149/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_linux.cpp.o
[150/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_activation.cpp.o
[151/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_suppressions.cpp.o
[152/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.i386.dir/ubsan_diag.cpp.o
[153/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_posix.cpp.o
[154/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.i386.dir/sanitizer_linux_libcdep.cpp.o
[155/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_stack.cpp.o
[156/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_activation.cpp.o
Step 12 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[1369/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_stacktrace.cpp.o
[1370/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_arg_retval.cpp.o
[1371/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_suppressions.cpp.o
[1372/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o
[1373/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_fuchsia.cpp.o
[1374/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_posix.cpp.o
[1375/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o
[1376/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_errno.cpp.o
[1377/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_linux_s390.cpp.o
[1378/2477] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1379/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_mac.cpp.o
[1380/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_platform_limits_freebsd.cpp.o
[1381/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_platform_limits_netbsd.cpp.o
[1382/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_platform_limits_solaris.cpp.o
[1383/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_netbsd.cpp.o
[1384/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_libc.cpp.o
[1385/2477] Linking C shared library /home/b/sanitizer-x86_64-linux/build/build_default/lib/x86_64-unknown-linux-gnu/libunwind.so.1.0
[1386/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_allocator_report.cpp.o
[1387/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o
[1388/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_procmaps_bsd.cpp.o
[1389/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_procmaps_fuchsia.cpp.o
[1390/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o
[1391/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_procmaps_solaris.cpp.o
[1392/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o
[1393/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_thread_arg_retval.cpp.o
[1394/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_symbolizer_libbacktrace.cpp.o
[1395/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_platform_limits_linux.cpp.o
[1396/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o
[1397/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_procmaps_mac.cpp.o
[1398/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_unwind_linux_libcdep.cpp.o
[1399/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.i386.dir/sanitizer_common_libcdep.cpp.o
[1400/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o
[1401/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o
[1402/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o
[1403/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o
[1404/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_symbolizer.cpp.o
[1405/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o
[1406/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o
[1407/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_deadlock_detector2.cpp.o
[1408/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o
[1409/2477] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.i386.dir/sanitizer_posix_libcdep.cpp.o
Step 13 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[1232/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_netbsd.cpp.o
[1233/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o
[1234/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o
[1235/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_bsd.cpp.o
[1236/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_solaris.cpp.o
[1237/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_solaris.cpp.o
[1238/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o
[1239/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o
[1240/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_win.cpp.o
[1241/2568] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[1242/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_procmaps_linux.cpp.o
[1243/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_range.cpp.o
[1244/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_tls_get_addr.cpp.o
[1245/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_termination.cpp.o
[1246/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o
[1247/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_linux.cpp.o
[1248/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o
[1249/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o
[1250/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_mac.cpp.o
[1251/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_type_traits.cpp.o
[1252/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_win.cpp.o
[1253/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_win_interception.cpp.o
[1254/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_errno.cpp.o
[1255/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_fuchsia.cpp.o
[1256/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_linux_s390.cpp.o
[1257/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_mac.cpp.o
[1258/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_netbsd.cpp.o
[1259/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_freebsd.cpp.o
[1260/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_netbsd.cpp.o
[1261/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_solaris.cpp.o
[1262/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_bsd.cpp.o
[1263/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_fuchsia.cpp.o
[1264/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_solaris.cpp.o
[1265/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_linux.cpp.o
[1266/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_mac.cpp.o
[1267/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector2.cpp.o
[1268/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o
[1269/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_procmaps_solaris.cpp.o
[1270/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_mac.cpp.o
[1271/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_fuchsia.cpp.o
[1272/2568] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_stoptheworld_win.cpp.o
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[94/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o
[95/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.i386.dir/lsan_common_linux.cpp.o
[96/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.i386.dir/lsan_common_mac.cpp.o
[97/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_mac.cpp.o
[98/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.i386.dir/lsan_common_fuchsia.cpp.o
[99/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-x86_64.dir/lsan.cpp.o
[100/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-x86_64.dir/lsan_preinit.cpp.o
[101/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.i386.dir/ubsan_flags.cpp.o
[102/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_globals_win.cpp.o
[103/1383] Generate the mapping file for include-what-you-use
FAILED: /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/build_default/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
[104/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_malloc_win.cpp.o
[105/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-x86_64.dir/lsan_posix.cpp.o
[106/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.x86_64.dir/ubsan_signals_standalone.cpp.o
[107/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_malloc_mac.cpp.o
[108/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_markup.cpp.o
[109/1383] Building CXX object compiler-rt/lib/stats/CMakeFiles/clang_rt.stats-i386.dir/stats.cpp.o
[110/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-i386.dir/lsan_linux.cpp.o
[111/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.i386.dir/ubsan_init.cpp.o
[112/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.x86_64.dir/ubsan_value.cpp.o
[113/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_win.cpp.o
[114/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.x86_64.dir/ubsan_flags.cpp.o
[115/1383] Generating Sanitizer-x86_64-Test-Nolibc
[116/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o
[117/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_symbolizer_report.cpp.o
[118/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_fuchsia.cpp.o
[119/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.i386.dir/ubsan_value.cpp.o
[120/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o
[121/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_shadow_setup.cpp.o
[122/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.x86_64.dir/ubsan_monitor.cpp.o
[123/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.x86_64.dir/ubsan_diag_standalone.cpp.o
[124/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_stackdepot.cpp.o
[125/1383] Building CXX object compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan-x86_64.dir/lsan_linux.cpp.o
[126/1383] Building ASM object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_interceptors_vfork.S.o
[127/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.x86_64.dir/ubsan_init.cpp.o
[128/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.i386.dir/ubsan_type_hash_itanium.cpp.o
[129/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_premap_shadow.cpp.o
[130/1383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.i386.dir/sanitizer_linux_libcdep.cpp.o
[131/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.x86_64.dir/ubsan_type_hash_itanium.cpp.o
[132/1383] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.i386.dir/asan_debugging.cpp.o
[133/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.x86_64.dir/ubsan_handlers_cxx.cpp.o
[134/1383] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.x86_64.dir/ubsan_diag.cpp.o
Step 15 (build standalone compiler-rt) failure: build standalone compiler-rt (failure)
...
[1150/1239] Copying CXX module std/typeindex.inc
[1151/1239] Copying CXX module std/typeinfo.inc
[1152/1239] Copying CXX module std/unordered_map.inc
[1153/1239] Copying CXX module std/unordered_set.inc
[1154/1239] Copying CXX module std/valarray.inc
[1155/1239] Copying CXX module std/utility.inc
[1156/1239] Copying CXX module std/variant.inc
[1157/1239] Copying CXX module std/version.inc
[1158/1239] Copying CXX module std/vector.inc
[1159/1239] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
[920/951] Linking CXX shared library lib/linux/libclang_rt.asan-x86_64.so
FAILED: lib/fuzzer/libcxx_fuzzer_x86_64/src/libcxx_fuzzer_x86_64-stamp/libcxx_fuzzer_x86_64-build lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++abi.a /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/src/libcxx_fuzzer_x86_64-stamp/libcxx_fuzzer_x86_64-build /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++abi.a 
cd /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64 && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
Step 16 (test standalone compiler-rt) failure: test standalone compiler-rt (failure)
...
[83/258] Generating ScudoUnitTestsObjects.chunk_test.cpp.x86_64.o
[84/258] Generating SANITIZER_TEST_OBJECTS.sanitizer_flat_map_test.cpp.x86_64.o
[85/258] Generating TsanUnitTestsObjects.tsan_thread.cpp.x86_64.o
[86/258] Generating SANITIZER_TEST_OBJECTS.sanitizer_stacktrace_printer_test.cpp.x86_64.o
[87/258] Generating TsanUnitTestsObjects.tsan_test_util_posix.cpp.x86_64.o
[88/258] Generating TsanUnitTestsObjects.tsan_sync_test.cpp.x86_64.o
[89/258] Generating TsanUnitTestsObjects.tsan_stack_test.cpp.x86_64.o
[90/258] Generating ScudoUnitTestsObjects.bytemap_test.cpp.x86_64.o
[90/258] Performing build step for 'libcxx_fuzzer_x86_64'
[1/81] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/libcxx.imp 
cd /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/libcxx/include && /usr/bin/python3 /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
[108/258] Generating MEMPROF_TEST_OBJECTS.memprof_mibmap.cpp.x86_64.o
FAILED: lib/fuzzer/libcxx_fuzzer_x86_64/src/libcxx_fuzzer_x86_64-stamp/libcxx_fuzzer_x86_64-build lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++abi.a /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/src/libcxx_fuzzer_x86_64-stamp/libcxx_fuzzer_x86_64-build /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++abi.a 
cd /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/fuzzer/libcxx_fuzzer_x86_64 && /usr/bin/cmake --build .
[110/258] Generating ScudoUnitTestsObjects.flags_test.cpp.x86_64.o
[111/258] Generating ScudoUnitTestsObjects.list_test.cpp.x86_64.o
[112/258] Generating SANITIZER_TEST_OBJECTS.sanitizer_bvgraph_test.cpp.x86_64.o
[113/258] Generating ScudoUnitTestsObjects.tsd_test.cpp.x86_64.o
[114/258] Generating ScudoUnitTestsObjects.memtag_test.cpp.x86_64.o
[115/258] Generating MEMPROF_TEST_OBJECTS.memprof_rawprofile.cpp.x86_64.o
[116/258] Generating ScudoUnitTestsObjects.report_test.cpp.x86_64.o
[117/258] Generating ScudoUnitTestsObjects.size_class_map_test.cpp.x86_64.o
[118/258] Generating ScudoUnitTestsObjects.map_test.cpp.x86_64.o
[119/258] Generating ScudoUnitTestsObjects.quarantine_test.cpp.x86_64.o
[120/258] Generating ScudoUnitTestsObjects.strings_test.cpp.x86_64.o
[121/258] Generating GwpAsanTestObjects.late_init.cpp.x86_64.o
[122/258] Generating ScudoUnitTestsObjects.timing_test.cpp.x86_64.o
[123/258] Generating RtsanTestObjects.gmock-all.cc.x86_64.o
[124/258] Generating ScudoUnitTestsObjects.vector_test.cpp.x86_64.o
[125/258] Generating RtsanTestObjects.rtsan_test_functional.cpp.x86_64.o
[126/258] Generating GwpAsanTestObjects.driver.cpp.x86_64.o
[127/258] Generating GwpAsanTestObjects.thread_contention.cpp.x86_64.o
[128/258] Generating ASAN_INST_TEST_OBJECTS.asan_interface_test.cpp.x86_64-calls.o
[129/258] Generating ScudoUnitTestsObjects.wrappers_c_test.cpp.x86_64.o
[130/258] Generating GwpAsanTestObjects.alignment.cpp.x86_64.o
[131/258] Generating GwpAsanTestObjects.harness.cpp.x86_64.o
[132/258] Generating GwpAsanTestObjects.iterate.cpp.x86_64.o
[133/258] Generating RtsanTestObjects_FileOffset64.rtsan_test_functional.cpp.x86_64.o
[134/258] Generating ASAN_INST_TEST_OBJECTS.asan_interface_test.cpp.x86_64-inline.o
[135/258] Generating NsanTestObjects.nsan_unit_test_main.cpp.x86_64.o
[136/258] Generating GwpAsanTestObjects.basic.cpp.x86_64.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-android running on sanitizer-buildbot-android while building libcxx at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/2843

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[1150/1239] Copying CXX module std/typeinfo.inc
[1151/1239] Copying CXX module std/typeindex.inc
[1152/1239] Copying CXX module std/unordered_map.inc
[1153/1239] Copying CXX module std/variant.inc
[1154/1239] Copying CXX module std/unordered_set.inc
[1155/1239] Copying CXX module std/vector.inc
[1156/1239] Copying CXX module std/valarray.inc
[1157/1239] Copying CXX module std/utility.inc
[1158/1239] Copying CXX module std/version.inc
[1159/1239] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/libcxx.imp 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/libcxx/include && /usr/bin/python3 /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
[476/514] Linking CXX shared library /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/lib/clang/20/lib/linux/libclang_rt.asan-aarch64-android.so
FAILED: lib/fuzzer/libcxx_fuzzer_aarch64/src/libcxx_fuzzer_aarch64-stamp/libcxx_fuzzer_aarch64-build lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++.a lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++abi.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/src/libcxx_fuzzer_aarch64-stamp/libcxx_fuzzer_aarch64-build /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++abi.a 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64 && /usr/bin/cmake --build .
[478/514] Building CXX object lib/orc/CMakeFiles/RTOrc.aarch64.dir/elfnix_platform.cpp.o
[479/514] Building CXX object lib/asan/tests/CMakeFiles/AsanNoinstTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
[480/514] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

@@@STEP_FAILURE@@@
@@@BUILD_STEP build android/arm@@@
ninja: Entering directory `llvm_build_android_arm'
[1/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ABIBreak.cpp.o
[2/654] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/Demangle.cpp.o
[3/654] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/DLangDemangle.cpp.o
[4/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AutoConvert.cpp.o
[5/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
[6/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
[7/654] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/RustDemangle.cpp.o
[8/654] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangleNodes.cpp.o
[9/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
[10/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
[11/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o
[12/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamError.cpp.o
[13/654] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o
[14/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Base64.cpp.o
[15/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AMDGPUMetadata.cpp.o
[16/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
[17/654] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o
Step 10 (build android/aarch64) failure: build android/aarch64 (failure)
...
[1150/1239] Copying CXX module std/typeinfo.inc
[1151/1239] Copying CXX module std/typeindex.inc
[1152/1239] Copying CXX module std/unordered_map.inc
[1153/1239] Copying CXX module std/variant.inc
[1154/1239] Copying CXX module std/unordered_set.inc
[1155/1239] Copying CXX module std/vector.inc
[1156/1239] Copying CXX module std/valarray.inc
[1157/1239] Copying CXX module std/utility.inc
[1158/1239] Copying CXX module std/version.inc
[1159/1239] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/libcxx.imp 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/libcxx/include && /usr/bin/python3 /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
[476/514] Linking CXX shared library /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/lib/clang/20/lib/linux/libclang_rt.asan-aarch64-android.so
FAILED: lib/fuzzer/libcxx_fuzzer_aarch64/src/libcxx_fuzzer_aarch64-stamp/libcxx_fuzzer_aarch64-build lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++.a lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++abi.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/src/libcxx_fuzzer_aarch64-stamp/libcxx_fuzzer_aarch64-build /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64/lib/libc++abi.a 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_aarch64/lib/fuzzer/libcxx_fuzzer_aarch64 && /usr/bin/cmake --build .
[478/514] Building CXX object lib/orc/CMakeFiles/RTOrc.aarch64.dir/elfnix_platform.cpp.o
[479/514] Building CXX object lib/asan/tests/CMakeFiles/AsanNoinstTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
[480/514] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

Step 11 (build android/arm) failure: build android/arm (failure)
...
[1150/1239] Copying CXX module std/unordered_map.inc
[1151/1239] Copying CXX module std/tuple.inc
[1152/1239] Copying CXX module std/thread.inc
[1153/1239] Copying CXX module std/unordered_set.inc
[1154/1239] Copying CXX module std/variant.inc
[1155/1239] Copying CXX module std/typeindex.inc
[1156/1239] Copying CXX module std/vector.inc
[1157/1239] Copying CXX module std/version.inc
[1158/1239] Copying CXX module std/utility.inc
[1159/1239] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/lib/fuzzer/libcxx_fuzzer_arm/include/c++/v1/libcxx.imp 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/lib/fuzzer/libcxx_fuzzer_arm/libcxx/include && /usr/bin/python3 /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/lib/fuzzer/libcxx_fuzzer_arm/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
[426/464] Linking CXX static library lib/orc/tests/libRTOrc.test.arm.a
FAILED: lib/fuzzer/libcxx_fuzzer_arm/src/libcxx_fuzzer_arm-stamp/libcxx_fuzzer_arm-build lib/fuzzer/libcxx_fuzzer_arm/lib/libc++.a lib/fuzzer/libcxx_fuzzer_arm/lib/libc++abi.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/lib/fuzzer/libcxx_fuzzer_arm/src/libcxx_fuzzer_arm-stamp/libcxx_fuzzer_arm-build /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/lib/fuzzer/libcxx_fuzzer_arm/lib/libc++.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/lib/fuzzer/libcxx_fuzzer_arm/lib/libc++abi.a 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_arm/lib/fuzzer/libcxx_fuzzer_arm && /usr/bin/cmake --build .
[428/464] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/asan_str_test.cpp.o
[429/464] Building CXX object lib/sanitizer_common/tests/CMakeFiles/SanitizerTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
[430/464] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/asan_test.cpp.o
[431/464] Building CXX object lib/asan/tests/CMakeFiles/AsanNoinstTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
[432/464] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

Step 12 (build android/i686) failure: build android/i686 (failure)
...
[1150/1239] Copying CXX module std/tuple.inc
[1151/1239] Copying CXX module std/unordered_map.inc
[1152/1239] Copying CXX module std/unordered_set.inc
[1153/1239] Copying CXX module std/typeinfo.inc
[1154/1239] Copying CXX module std/utility.inc
[1155/1239] Copying CXX module std/version.inc
[1156/1239] Copying CXX module std/vector.inc
[1157/1239] Copying CXX module std/valarray.inc
[1158/1239] Copying CXX module std/variant.inc
[1159/1239] Generate the mapping file for include-what-you-use
FAILED: include/c++/v1/libcxx.imp /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/libcxx.imp 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/lib/fuzzer/libcxx_fuzzer_i386/libcxx/include && /usr/bin/python3 /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header
ninja: build stopped: subcommand failed.
[405/449] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/asan_mem_test.cpp.o
FAILED: lib/fuzzer/libcxx_fuzzer_i386/src/libcxx_fuzzer_i386-stamp/libcxx_fuzzer_i386-build lib/fuzzer/libcxx_fuzzer_i386/lib/libc++.a lib/fuzzer/libcxx_fuzzer_i386/lib/libc++abi.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/lib/fuzzer/libcxx_fuzzer_i386/src/libcxx_fuzzer_i386-stamp/libcxx_fuzzer_i386-build /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/lib/fuzzer/libcxx_fuzzer_i386/lib/libc++.a /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/lib/fuzzer/libcxx_fuzzer_i386/lib/libc++abi.a 
cd /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/lib/fuzzer/libcxx_fuzzer_i386 && /usr/bin/cmake --build .
[407/449] Building CXX object lib/sanitizer_common/tests/CMakeFiles/SanitizerTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
[408/449] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/asan_str_test.cpp.o
[409/449] Building CXX object lib/asan/CMakeFiles/RTAsan.i386.dir/asan_interceptors.cpp.o
[410/449] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/asan_test.cpp.o
[411/449] Building CXX object lib/asan/tests/CMakeFiles/AsanNoinstTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
[412/449] Building CXX object lib/asan/tests/CMakeFiles/AsanTest.dir/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/third-party/unittest/googletest/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

Step 14 (run all tests) failure: run all tests (failure)
@@@BUILD_STEP run all tests@@@
skipping tests on arm

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
skipping tests on aarch64

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

skipping tests on arm

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

skipping tests on aarch64

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

program finished with exit code 1
elapsedTime=1315.335642

@zeroomega
Copy link
Contributor

We are seeing runtime build failures on our bot after this patch landed:

[1223/1598](61) Generate the mapping file for include-what-you-use
FAILED: /b/s/w/ir/x/w/llvm_build/include/c++/v1/libcxx.imp 
cd /b/s/w/ir/x/w/llvm_build/runtimes/runtimes-x86_64-pc-windows-msvc-bins/libcxx/include && /b/s/w/ir/cipd_bin_packages/cpython3/bin/python3.8 /b/s/w/ir/x/w/llvm-llvm-project/libcxx/utils/generate_iwyu_mapping.py -o /b/s/w/ir/x/w/llvm_build/include/c++/v1/libcxx.imp
Traceback (most recent call last):
  File "/b/s/w/ir/x/w/llvm-llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 92, in <module>
    main(sys.argv[1:])
  File "/b/s/w/ir/x/w/llvm-llvm-project/libcxx/utils/generate_iwyu_mapping.py", line 82, in main
    raise RuntimeError(f"{header}: Header {public} is not a valid header")
RuntimeError: __cxx03/__algorithm/adjacent_find.h: Header cxx03 is not a valid header

Failing task: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8735245579486612113/overview
Could you revert this change please?

zeroomega added a commit to zeroomega/llvm-project that referenced this pull request Oct 1, 2024
VitaNuo pushed a commit to VitaNuo/llvm-project that referenced this pull request Oct 2, 2024
This is the first part of the "Freezing C++03 headers" proposal
explained in
https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release
into a subdirectory of libc++ so that we can start using these headers
when building in C++03 mode. We are going to be backporting important
changes to that copy of the headers until the LLVM 21 release. After the
LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy
of the headers.

This patch only performs a copy of the headers -- these headers are
still unused by the rest of the codebase.
sylvestre added a commit that referenced this pull request Oct 2, 2024
VitaNuo pushed a commit to VitaNuo/llvm-project that referenced this pull request Oct 2, 2024
This is the first part of the "Freezing C++03 headers" proposal
explained in
https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release
into a subdirectory of libc++ so that we can start using these headers
when building in C++03 mode. We are going to be backporting important
changes to that copy of the headers until the LLVM 21 release. After the
LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy
of the headers.

This patch only performs a copy of the headers -- these headers are
still unused by the rest of the codebase.
@EricWF
Copy link
Member

EricWF commented Oct 2, 2024

This is one of those times where having 1000 headers makes things slightly trickier.

@ldionne
Copy link
Member

ldionne commented Oct 2, 2024

This is one of those times where having 1000 headers makes things slightly trickier.

Actually the exact same issue would have happened if we had just a few headers, since they would have been moved to e.g. __cxx03/vector and the same issue would have been triggered. The real issue here IMO is the flakiness of our CI recently, which is probably what led Nikolas to ignore the CI failure before merging.

Sterling-Augustine pushed a commit to Sterling-Augustine/llvm-project that referenced this pull request Oct 3, 2024
This is the first part of the "Freezing C++03 headers" proposal
explained in
https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release
into a subdirectory of libc++ so that we can start using these headers
when building in C++03 mode. We are going to be backporting important
changes to that copy of the headers until the LLVM 21 release. After the
LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy
of the headers.

This patch only performs a copy of the headers -- these headers are
still unused by the rest of the codebase.
Sterling-Augustine pushed a commit to Sterling-Augustine/llvm-project that referenced this pull request Oct 3, 2024
xgupta pushed a commit to xgupta/llvm-project that referenced this pull request Oct 4, 2024
This is the first part of the "Freezing C++03 headers" proposal
explained in
https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release
into a subdirectory of libc++ so that we can start using these headers
when building in C++03 mode. We are going to be backporting important
changes to that copy of the headers until the LLVM 21 release. After the
LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy
of the headers.

This patch only performs a copy of the headers -- these headers are
still unused by the rest of the codebase.
xgupta pushed a commit to xgupta/llvm-project that referenced this pull request Oct 4, 2024
@philnik777
Copy link
Contributor Author

This is one of those times where having 1000 headers makes things slightly trickier.

Actually the exact same issue would have happened if we had just a few headers, since they would have been moved to e.g. __cxx03/vector and the same issue would have been triggered. The real issue here IMO is the flakiness of our CI recently, which is probably what led Nikolas to ignore the CI failure before merging.

Yes, exactly. I thought "what could possibly fail when just copying headers? It's probably just a broken CI."

philnik777 added a commit to philnik777/llvm-project that referenced this pull request Oct 13, 2024
This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.
philnik777 added a commit to philnik777/llvm-project that referenced this pull request Oct 16, 2024
This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.
philnik777 added a commit to philnik777/llvm-project that referenced this pull request Oct 16, 2024
This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.
philnik777 added a commit to philnik777/llvm-project that referenced this pull request Oct 16, 2024
This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.
philnik777 added a commit that referenced this pull request Oct 23, 2024
This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal
explained in
https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release
into a subdirectory of libc++ so that we can start using these headers
when building in C++03 mode. We are going to be backporting important
changes to that copy of the headers until the LLVM 21 release. After the
LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy
of the headers.

This patch only performs a copy of the headers -- these headers are
still unused by the rest of the codebase.
@frobtech frobtech mentioned this pull request Oct 25, 2024
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
…m#112127)

This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal
explained in
https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release
into a subdirectory of libc++ so that we can start using these headers
when building in C++03 mode. We are going to be backporting important
changes to that copy of the headers until the LLVM 21 release. After the
LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy
of the headers.

This patch only performs a copy of the headers -- these headers are
still unused by the rest of the codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants