Reland "Roll libc++ from be1c391acca0 to 5abc7f839700 (17 revisions)" This is a reland of commit 99ebc432efc6f3a350332b01180e3b3d88e9ec6c Trybot corresponding to red waterfall bot that caused the revert is green; maybe it was a fluke? See crbug.com/511299729 Worst case, it'll get auto-reverted again. Original change's description: > Roll libc++ from be1c391acca0 to 5abc7f839700 (17 revisions) > > Depends on: > * https://chromium-review.googlesource.com/c/chromium/src/+/7821000 > * https://chromium-review.googlesource.com/c/chromium/src/+/7822522 > * https://webrtc-review.googlesource.com/c/src/+/470620 > > Ran > > build/modules/modularize/modularize.py --no-cache > > to update most BUILD.gn and module.modulemap.in files. Manually > updated buildtools/third_party/libc++/BUILD.gn to look similar. > > Ran > > third_party/abseil-cpp/generate_def_files.py > > for the (minor) def file updates. > > https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/be1c391acca0..5abc7f839700 > > 2026-05-06 public@kits.net [libcxx][string] Test: fix copy&paste typo for safe_allocator (#195820) > 2026-05-05 aidengrossman@google.com [libcxx] Include __utility/exchange.h in thread.h (#195786) > 2026-05-05 eiytoq@outlook.com [libc++][mdspan] Fix `mdspan::operator[]` bounds checking and implement LWG4020 (#192269) > 2026-05-05 aidengrossman@google.com [libcxx] Remove ASan container overflow checks for SSO strings (#194208) > 2026-05-04 cjdb@google.com [libc++] Add `__exchange` as a C++11 utility (#187953) > 2026-05-04 nikolasklauser@berlin.de [libc++] Remove libc++'s own fenv.h (#194629) > 2026-05-04 nikolasklauser@berlin.de [libc++] Remove libc++'s own ctype.h (#194615) > 2026-05-04 nikolasklauser@berlin.de [libc++] Simplify more <random> engines (#195504) > 2026-05-04 c8ef@outlook.com [libc++] Implement `ranges::fold_right` (#193997) > 2026-05-02 nikolasklauser@berlin.de [libc++] Make __is_seed_sequence a variable template (#195420) > 2026-05-02 sharjeelkhan@google.com Update Android CI and Emulator image to API 23 (#194936) > 2026-05-01 haowei@google.com [libcxx][lit] Fix dsl.sh.py test failure on Windows (#195230) > 2026-05-01 nikolasklauser@berlin.de [libc++][NFC] Simplify the mersenne_twister_engine implementation a bit (#194893) > 2026-04-30 nikolasklauser@berlin.de [libc++] Update macOS and AppleClang (#193711) > 2026-04-30 nikolasklauser@berlin.de [libc++] Refactor std::print to allow for constant folding of the format part (#185459) > 2026-04-30 nikolasklauser@berlin.de [libc++] Remove libc++'s own inttypes.h (#193716) > 2026-04-30 nikolasklauser@berlin.de [libc++] Avoid type-punning locale in ios_base (#193507) > > 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 > > Bug: 503250165 > Compile-Size: libc++ roll > Change-Id: I370861fd0bdd00eade265d6a61834c5c0df6aa66 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7821679 > Reviewed-by: Daniel Cheng <dcheng@chromium.org> > Owners-Override: Nico Weber <thakis@chromium.org> > Commit-Queue: Nico Weber <thakis@chromium.org> > Reviewed-by: Arthur Eubanks <aeubanks@google.com> > Cr-Commit-Position: refs/heads/main@{#1627935} Bug: 503250165 Compile-Size: libc++ roll Cq-Include-Trybots: luci.chromium.try:android_compile_x64_dbg Change-Id: I06d8b44eb3d76554f6800a7b95cd3a553fbe76d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7827748 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Owners-Override: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1628191} NOKEYCHECK=True GitOrigin-RevId: abbeaf76942ef4d643f43c541ddeec99e7e7245c
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.
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.
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.
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.
Abseil follows Google's Foundational C++ Support Policy. See this table for a list of currently supported versions compilers, platforms, and build tools.
Abseil contains the following C++ library components:
base 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 algorithm library contains additions to the C++ <algorithm> library and container-based versions of such algorithms.cleanup cleanup library contains the control-flow-construct-like type absl::Cleanup which is used for executing a callback on scope exit.container 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 debugging library contains code useful for enabling leak checks, and stacktrace and symbolization utilities.flags flags library contains code for handling command line flags for libraries and binaries built with Abseil.hash hash library contains the hashing framework and default hash functor implementations for hashable types in Abseil.log log library contains LOG and CHECK macros and facilities for writing logged messages out to disk, stderr, or user-extensible destinations.memory memory library contains memory management facilities that augment C++'s <memory> library.meta meta library contains type checks similar to those available in the C++ <type_traits> library.numeric numeric library contains 128-bit integer types as well as implementations of C++20's bitwise math functions.profiling profiling library contains utility code for profiling C++ entities. It is currently a private dependency of other Abseil libraries.random random library contains functions for generating pseudorandom values.status status library contains abstractions for error handling, specifically absl::Status and absl::StatusOr<T>.strings strings library contains a variety of strings routines and utilities.synchronization synchronization library contains concurrency primitives (Abseil's absl::Mutex class, an alternative to std::mutex) and a variety of synchronization abstractions.time time library contains abstractions for computing with absolute points in time, durations of time, and formatting and parsing time within time zones.types types library contains non-container utility types.utility utility library contains utility and helper code.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.
The Abseil C++ library is licensed under the terms of the Apache license. See LICENSE for more information.
For more information about Abseil: