[all-commits] [llvm/llvm-project] ba25a5: [libc++] Mark -fexperimental-library test as unsup...

Jez Ng via All-commits all-commits at lists.llvm.org
Mon Aug 8 15:38:26 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ba25a5d6dd717928512aa1181f37ab87a9d16b93
      https://github.com/llvm/llvm-project/commit/ba25a5d6dd717928512aa1181f37ab87a9d16b93
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Mark -fexperimental-library test as unsupported on another AppleClang

(cherry picked from commit 144cea2ce9b9536acaf2a7513b9fdccfd3880db9)


  Commit: 33e5f15934e91586a316671e49dfe29ce529d1bf
      https://github.com/llvm/llvm-project/commit/33e5f15934e91586a316671e49dfe29ce529d1bf
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/docs/Status/RangesAlgorithms.csv
    M libcxx/include/CMakeLists.txt
    R libcxx/include/__algorithm/algorithm_family.h
    M libcxx/include/__algorithm/inplace_merge.h
    M libcxx/include/__algorithm/iterator_operations.h
    M libcxx/include/__algorithm/move.h
    M libcxx/include/__algorithm/move_backward.h
    M libcxx/include/__algorithm/ranges_move.h
    A libcxx/include/__algorithm/ranges_rotate.h
    M libcxx/include/__algorithm/ranges_swap_ranges.h
    M libcxx/include/__algorithm/rotate.h
    M libcxx/include/__algorithm/stable_partition.h
    M libcxx/include/__algorithm/swap_ranges.h
    M libcxx/include/__iterator/reverse_iterator.h
    M libcxx/include/algorithm
    M libcxx/include/module.modulemap.in
    M libcxx/test/libcxx/private_headers.verify.cpp
    A libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/ranges_rotate.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_dangling.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_proxy_iterators.pass.cpp
    M libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp

  Log Message:
  -----------
  [libc++][ranges] Implement `ranges::rotate`.

Also fix `ranges::stable_sort` and `ranges::inplace_merge` to support
proxy iterators now that their internal implementations can correctly
dispatch `rotate`.

Differential Revision: https://reviews.llvm.org/D130758

(cherry picked from commit 36c746ca2d5b325a7ac64135c1ff8774c06ab34c)


  Commit: f20566daeb0eb7d560e69847b37cb9dc38cd6129
      https://github.com/llvm/llvm-project/commit/f20566daeb0eb7d560e69847b37cb9dc38cd6129
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/docs/Status/RangesAlgorithms.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/clamp.h
    A libcxx/include/__algorithm/ranges_clamp.h
    M libcxx/include/algorithm
    M libcxx/include/module.modulemap.in
    M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp
    M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
    M libcxx/test/libcxx/private_headers.verify.cpp
    A libcxx/test/std/algorithms/alg.sorting/alg.clamp/assert.ranges_clamp.pass.cpp
    A libcxx/test/std/algorithms/alg.sorting/alg.clamp/ranges.clamp.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.pass.cpp
    M libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp

  Log Message:
  -----------
  [libc++][ranges] Implement `ranges::clamp`

Differential Revision: https://reviews.llvm.org/D126193

(cherry picked from commit a203acb9dd7227323d6161431225189d49917744)


  Commit: 1711b90981ff1be8fe5c04f0b9caaeb8a23f3235
      https://github.com/llvm/llvm-project/commit/1711b90981ff1be8fe5c04f0b9caaeb8a23f3235
  Author: Igor Zhukov <fsb4000 at yandex.ru>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/include/algorithm

  Log Message:
  -----------
  [libc++][NFC] Remove rebase artifact

I found it in this commit: https://github.com/llvm/llvm-project/commit/a203acb9dd7227323d6161431225189d49917744

Reviewed By: Mordante

Differential Revision: https://reviews.llvm.org/D131163

(cherry picked from commit 1915c1c01e6c84a1fda5a313f85e2a3dbccd7ce0)


  Commit: 80f03ecb130d8d16f5c747bd4a4d0146734e7d81
      https://github.com/llvm/llvm-project/commit/80f03ecb130d8d16f5c747bd4a4d0146734e7d81
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/docs/Status/RangesAlgorithms.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/is_permutation.h
    A libcxx/include/__algorithm/ranges_is_permutation.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/algorithm
    M libcxx/include/module.modulemap.in
    M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp
    M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
    M libcxx/test/libcxx/private_headers.verify.cpp
    A libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ranges.is_permutation.pass.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort_constexpr.pass.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort_constexpr_comp.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_differing_projections.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_proxy_iterators.pass.cpp
    M libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp

  Log Message:
  -----------
  [libc++][ranges] Implement `ranges::is_permutation`

Co-authored-by: Konstantin Varlamov <varconst at apple.com>

Differential Revision: https://reviews.llvm.org/D127194

(cherry picked from commit 4038c859e58c12e997041927a87e880f2f3ef883)


  Commit: a447396dd7878fed889c3726834f032540ba6b30
      https://github.com/llvm/llvm-project/commit/a447396dd7878fed889c3726834f032540ba6b30
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/include/__memory/pointer_traits.h
    M libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/contiguous_iterator.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Fix a hard error in `contiguous_iterator<NoOperatorArrowIter>`.

Evaluating `contiguous_iterator` on an iterator that satisfies all the
constraints except the `to_address` constraint and doesn't have
`operator->` defined results in a hard error. This is because
instantiating `to_address` ends up instantiating templates
dependent on the given type which might lead to a hard error even
in a SFINAE context.

Differential Revision: https://reviews.llvm.org/D130835

(cherry picked from commit 52d4c5016c4f8eca6abe84f658fc5f358bdfd2d0)


  Commit: 3a95060f00586db4140c25fddd75583788cf798c
      https://github.com/llvm/llvm-project/commit/3a95060f00586db4140c25fddd75583788cf798c
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/utils/ci/buildkite-pipeline.yml

  Log Message:
  -----------
  [libc++][NFC] Remove outdated comment in CI pipeline definition

(cherry picked from commit 7d855bb8e133720ac1555dc189d9f41e7a50ea93)


  Commit: db9c521e4f24ca5f46921902be3fd3e6dd27fb71
      https://github.com/llvm/llvm-project/commit/db9c521e4f24ca5f46921902be3fd3e6dd27fb71
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/utils/ci/buildkite-pipeline.yml

  Log Message:
  -----------
  [libc++] Clarify comment in CI pipeline definition

This partially reverts commit 7d855bb8e133. The comments were actually
not outdated, they were simply unclear.

(cherry picked from commit cf08452e918e04c5a95b6dce11a977b317ac4476)


  Commit: 187bac761200d6b1d36346c5e0d6b3bb035377e6
      https://github.com/llvm/llvm-project/commit/187bac761200d6b1d36346c5e0d6b3bb035377e6
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/include/__algorithm/find_first_of.h
    M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp
    M libcxx/test/libcxx/algorithms/robust_against_copying_comparators.pass.cpp
    M libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_dangling.pass.cpp
    M libcxx/test/std/algorithms/ranges_robust_against_proxy_iterators.pass.cpp
    M libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp

  Log Message:
  -----------
  [libc++][ranges][NFC] Make sure all implemented algorithms are enabled in "robust" tests.

Also fix `std::find_first_of` (which accidentally copied the predicate
in the implementation).

Differential Revision: https://reviews.llvm.org/D131235

(cherry picked from commit 8ac015caf627a0db89540950d6343e955ba9500b)


  Commit: 1c4ee5de1a8a5aa0d9b07ca8d4503794a7b5f4e4
      https://github.com/llvm/llvm-project/commit/1c4ee5de1a8a5aa0d9b07ca8d4503794a7b5f4e4
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/docs/Status/RangesIssues.csv

  Log Message:
  -----------
  [libc++][ranges][NFC] Mark the completed Ranges papers and issues as done.

The newly-completed papers:
- P0896R4 ("The One Ranges Proposal");
- P1243R4 ("Rangify New Algorithms");
- P1252R2 ("Ranges Design Cleanup");
- P1716R3 ("Range Comparison Algorithms Are Over-Constrained");
- P1871R1 ("Concept traits should be named after concepts");
- P2106R0 ("Alternative wording for GB315 and GB316").

Differential Revision: https://reviews.llvm.org/D131234

(cherry picked from commit 3fa291fa925dad4bae215fbcbc64db5ce66f0d9f)


  Commit: 2fb8f67ee64315d22ce6a4c44a170f651bb1cb07
      https://github.com/llvm/llvm-project/commit/2fb8f67ee64315d22ce6a4c44a170f651bb1cb07
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/__availability
    M libcxx/include/__verbose_abort
    R libcxx/test/libcxx/assertions/default_verbose_abort.availability.verify.cpp
    M libcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp
    M libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp
    M libcxx/test/libcxx/assertions/single_expression.sh.cpp
    M libcxx/utils/ci/buildkite-pipeline.yml
    M libcxx/utils/ci/run-buildbot

  Log Message:
  -----------
  [libc++] Allow enabling assertions when back-deploying

When back-deploying to older platforms, we can still provide assertions,
but we might not be able to provide a great implementation for the verbose
handler. Instead, we can just call ::abort().

Differential Revision: https://reviews.llvm.org/D131199

(cherry picked from commit e36f9e13bca41223bd6af7e49bf020e58a676e9d)


  Commit: d6e5bfce508af9e4c3f9b7357a00f7c02e94657c
      https://github.com/llvm/llvm-project/commit/d6e5bfce508af9e4c3f9b7357a00f7c02e94657c
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M lld/MachO/EhFrame.cpp
    M lld/MachO/EhFrame.h
    M lld/MachO/InputFiles.cpp
    A lld/test/MachO/eh-frame-sdata4.s

  Log Message:
  -----------
  [lld-macho] Support EH frame pointer encodings that use sdata4

Previously we only supporting using the system pointer size (aka the
`absptr` encoding) because `llvm-mc`'s CFI directives always generate EH
frames with that encoding. But libffi uses 4-byte-encoded, hand-rolled
EH frames, so this patch adds support for it.

Fixes #56576.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D130804

(cherry picked from commit 6c9f6812523a706c11a12e6cb4119b0cf67bbb21)


Compare: https://github.com/llvm/llvm-project/compare/1f9561096d89...d6e5bfce508a


More information about the All-commits mailing list