Roll libc++ from a9cc573e7c59 to c2e409462f54 (61 revisions)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/a9cc573e7c59..c2e409462f54

2025-05-31 jrtc27@jrtc27.com Revert "[libc++] Re-enable std::pair trivial copy constructor for FreeBSD >= 14" (#142204)
2025-05-30 hui.xie1990@gmail.com [libc++][test] Fix  test not relying on MinSequenceContainer (#140372)
2025-05-30 hcwenyc@hotmail.com [libc++] P2165R4: Update deduction guides for map containers and container adaptors (#136011)
2025-05-28 winner245@hotmail.com [libc++] Refactor bitset::{any, all} (#128445)
2025-05-28 winner245@hotmail.com [libc++] Simplify __bitset::__init (#121357)
2025-05-28 jyknight@google.com Revert "[libc++] Introduce ABI sensitive areas to avoid requiring _LIBCPP_HIDE_FROM_ABI everywhere (#131156)" (#141756)
2025-05-28 ldionne.2@gmail.com Revert "[libc++] Fix build failure with libdispatch backend (#141606)"
2025-05-28 ldionne.2@gmail.com [libc++] Fix build failure with libdispatch backend (#141606)
2025-05-28 david.spickett@linaro.org [libcxx][docs] Fix bullet point in Additional Tools section
2025-05-28 martin@martin.st [libcxx] [test] Change an MSVC mode XFAIL into UNSUPPORTED (#141609)
2025-05-27 LRFLEW@aol.com [libc++] Fix directory name in libcxx rand.dist tests path (#140160)
2025-05-27 nikolasklauser@berlin.de [libc++] Bump the docker image hash (#140517)
2025-05-23 nikolasklauser@berlin.de [libc++][NFC] Replace a few "namespace std" with the correct macro (#140510)
2025-05-23 martin@martin.st [libcxx] [test] Extend mingw target checks to cover the arm64ec architecture too (#141227)
2025-05-21 winner245@hotmail.com [libc++] Optimize bitset::to_string (#128832)
2025-05-21 winner245@hotmail.com [libc++] Optimize std::for_each_n for segmented iterators (#135468)
2025-05-20 nikolasklauser@berlin.de [libc++] Make ABI annotations explicit for windows-specific code (#140507)
2025-05-20 nikolasklauser@berlin.de [libc++] Add explicit ABI annotations to functions from the block runtime declared in <__functional/function.h> (#140592)
2025-05-19 nikolasklauser@berlin.de [libc++] Optimize std::getline (#121346)
2025-05-19 nikolasklauser@berlin.de [libc++] Bump GCC_HEAD_VERSION to 16
2025-05-18 koraq@xs4all.nl [libc++] Implements the new FTM header test generator. (#134542)
2025-05-18 nikolasklauser@berlin.de [libc++] Introduce ABI sensitive areas to avoid requiring _LIBCPP_HIDE_FROM_ABI everywhere (#131156)
2025-05-18 nikolasklauser@berlin.de [libc++] Fix set::operator= when instantiating with a std::pair (#140385)
2025-05-18 nikolasklauser@berlin.de [libc++] Don't instantiate allocators in __tree on an incomplete type (#140225)
2025-05-16 hui.xie1990@gmail.com [libc++] Fix flat_{multi}set insert_range (#137462)
2025-05-16 nikolasklauser@berlin.de [libc++] Reject abilist if it contains an ABI tag (#139030)
2025-05-16 ldionne.2@gmail.com [libc++][NFC] Update the documentation for _LIBCPP_OVERRIDABLE_FUNCTION (#140121)
2025-05-16 cjdb@google.com [libcxx] applies #134819 to `insert_or_assign` with `const key_type&` (#140124)
2025-05-15 corentinjabot@gmail.com [Clang] Add warnings when mixing different charN_t types (#138708)
2025-05-15 kazu@google.com [libc++] Fix typos in documentation (#139853)
2025-05-15 nikolasklauser@berlin.de [libc++] Add basic constant folding for std::format (#107197)
2025-05-15 nikolasklauser@berlin.de [libc++] run clang-tidy on src/ in the CI (#121198)
2025-05-15 nikolasklauser@berlin.de [libc++] Avoid type-punning between __value_type and pair (#134819)
2025-05-14 ldionne.2@gmail.com [libc++] Refactor and add benchmark coverage for [alg.sort] (#128236)
2025-05-14 winner245@hotmail.com [libc++] Improve test coverage and readability for swap_ranges (#133752)
2025-05-14 nikolasklauser@berlin.de [libc++] Enable the GDB pretty printers for Clang (#135484)
2025-05-14 nikolasklauser@berlin.de [libc++][C++03] Remove macros that expand to nothing (#134046)
2025-05-13 de34@live.cn [libc++] Remove the constexpr `hash<vector<bool>>` extension (#132617)
2025-05-13 martin@martin.st [libcxx] Fix a comment link for the unicode NBSP char. NFC. (#139692)
2025-05-13 mcgrathr@google.com [libc++] Work around new GCC 15 type_traits builtins that can't be used as Clang's can (#137871)
2025-05-12 de34@live.cn [libc++][format] Discard contents since null-terminator in character arrays in formatting (#116571)
2025-05-12 nikolasklauser@berlin.de [libc++] Simplify the implementation of std::get for pairs (#114984)
2025-05-12 mattstark75@gmail.com [libc++] Fix missing #includes (#130536)
2025-05-12 hehiralbi@gmail.com [libc++] Improve test coverage for containers' scary.pass.cpp (#131550)
2025-05-12 martin.licht@epfl.ch [libc++] Documentation polish (#132962)
2025-05-12 raul@tambre.ee [cmake] Normalize TARGET_SUBDIR paths (#138524)
2025-05-12 sbergman@redhat.com [libc++] Fix use of std::errc() for C++ < 11 (#138522)
2025-05-10 nikolasklauser@berlin.de [libc++] Fix disabling of extension warnings in C++20 and later (#134989)
2025-05-09 nikolasklauser@berlin.de [libc++] Use __is_address_in_range in vector (#139032)
2025-05-09 phosek@google.com [libcxx][NFC] Use macros for functions that support overriding detection (#133876)
2025-05-08 nikolasklauser@berlin.de [libc++] Simplify __promote (#136101)
2025-05-08 hui.xie1990@gmail.com [libc++] Add test for flat_set::insert not creating temporaries (#138387)
2025-05-08 ldionne.2@gmail.com [libc++] Add the __is_replaceable type trait (#132408)
2025-05-08 aaron@aaronballman.com [www][docs] Remove last mentions of IRC (#139076)
2025-05-07 rprichard@google.com [libc++][Android] Disable fdsan in filebuf close.pass.cpp (#102412)
2025-05-07 yronglin777@gmail.com [libc++] Implement P3379R0 Constrain `std::expected` equality operators (#135759)
2025-05-07 de34@live.cn [libc++][docs] Confirm that P3136R1 Retiring niebloids is Complete (#135932)
2025-05-07 ldionne.2@gmail.com [libc++] Reword release note section about future releases (#138544)
2025-05-07 ldionne.2@gmail.com [libc++] Reword std::advance assertion message for consistency with ranges::advance (#138749)
2025-05-07 nikolasklauser@berlin.de [libc++] Remove a few unnecessary branches from basic_string::find (#137266)
2025-05-07 nikolasklauser@berlin.de [libc++] Add _LIBCPP_NO_UNIQUE_ADDRESS to flat_{,multi}map::value_compare (#137594)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/libcxx-chromium
Please CC hans@chromium.org,thakis@chromium.org on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Compile-Size: libc++ roll; reasonably small increase.
Change-Id: Idab577088432bafd7865b6ebf591b5af84671247
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6608968
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1467825}
NOKEYCHECK=True
GitOrigin-RevId: 2ce8607b6d45836a249d967c49796e2eb8d16760
7 files changed
tree: aae1ef704779e8ea1f84154b81366e12137cbe4f
  1. .github/
  2. absl/
  3. ci/
  4. CMake/
  5. patches/
  6. ABSEIL_ISSUE_TEMPLATE.md
  7. absl.gni
  8. absl_hardening_test.cc
  9. AUTHORS
  10. BUILD.bazel
  11. BUILD.gn
  12. CMakeLists.txt
  13. conanfile.py
  14. CONTRIBUTING.md
  15. create_lts.py
  16. DIR_METADATA
  17. FAQ.md
  18. generate_def_files.py
  19. LICENSE
  20. MODULE.bazel
  21. OWNERS
  22. PrivacyInfo.xcprivacy
  23. README.chromium
  24. README.md
  25. roll_abseil.py
  26. symbols_arm64_dbg.def
  27. symbols_arm64_rel.def
  28. symbols_x64_dbg.def
  29. symbols_x64_rel.def
  30. symbols_x64_rel_asan.def
  31. symbols_x86_dbg.def
  32. symbols_x86_rel.def
  33. UPGRADES.md
README.md

Abseil - C++ Common Libraries

The repository contains the Abseil C++ library code. Abseil is an open-source collection of C++ code (compliant to C++17) designed to augment the C++ standard library.

Table of Contents

About Abseil

Abseil is an open-source collection of C++ library code designed to augment the C++ standard library. The Abseil library code is collected from Google's own C++ code base, has been extensively tested and used in production, and is the same code we depend on in our daily coding lives.

In some cases, Abseil provides pieces missing from the C++ standard; in others, Abseil provides alternatives to the standard for special needs we've found through usage in the Google code base. We denote those cases clearly within the library code we provide you.

Abseil is not meant to be a competitor to the standard library; we've just found that many of these utilities serve a purpose within our code base, and we now want to provide those resources to the C++ community as a whole.

Quickstart

If you want to just get started, make sure you at least run through the Abseil Quickstart. The Quickstart contains information about setting up your development environment, downloading the Abseil code, running tests, and getting a simple binary working.

Building Abseil

Bazel and CMake are the official build systems for Abseil. See the quickstart for more information on building Abseil using the Bazel build system. If you require CMake support, please check the CMake build instructions and CMake Quickstart.

Support

Abseil follows Google's Foundational C++ Support Policy. See this table for a list of currently supported versions compilers, platforms, and build tools.

Codemap

Abseil contains the following C++ library components:

  • base
    The base library contains initialization code and other code which all other Abseil code depends on. Code within base may not depend on any other code (other than the C++ standard library).
  • algorithm
    The algorithm library contains additions to the C++ <algorithm> library and container-based versions of such algorithms.
  • cleanup
    The cleanup library contains the control-flow-construct-like type absl::Cleanup which is used for executing a callback on scope exit.
  • container
    The container library contains additional STL-style containers, including Abseil's unordered “Swiss table” containers.
  • crc The crc library contains code for computing error-detecting cyclic redundancy checks on data.
  • debugging
    The debugging library contains code useful for enabling leak checks, and stacktrace and symbolization utilities.
  • flags
    The flags library contains code for handling command line flags for libraries and binaries built with Abseil.
  • hash
    The hash library contains the hashing framework and default hash functor implementations for hashable types in Abseil.
  • log
    The log library contains LOG and CHECK macros and facilities for writing logged messages out to disk, stderr, or user-extensible destinations.
  • memory
    The memory library contains memory management facilities that augment C++'s <memory> library.
  • meta
    The meta library contains type checks similar to those available in the C++ <type_traits> library.
  • numeric
    The numeric library contains 128-bit integer types as well as implementations of C++20's bitwise math functions.
  • profiling
    The profiling library contains utility code for profiling C++ entities. It is currently a private dependency of other Abseil libraries.
  • random
    The random library contains functions for generating pseudorandom values.
  • status
    The status library contains abstractions for error handling, specifically absl::Status and absl::StatusOr<T>.
  • strings
    The strings library contains a variety of strings routines and utilities.
  • synchronization
    The synchronization library contains concurrency primitives (Abseil's absl::Mutex class, an alternative to std::mutex) and a variety of synchronization abstractions.
  • time
    The time library contains abstractions for computing with absolute points in time, durations of time, and formatting and parsing time within time zones.
  • types
    The types library contains non-container utility types.
  • utility
    The utility library contains utility and helper code.

Releases

Abseil recommends users “live-at-head” (update to the latest commit from the master branch as often as possible). However, we realize this philosophy doesn't work for every project, so we also provide Long Term Support Releases to which we backport fixes for severe bugs. See our release management document for more details.

License

The Abseil C++ library is licensed under the terms of the Apache license. See LICENSE for more information.

Links

For more information about Abseil: