Reland "Roll libc++ from cb9c06560a68 to af4386908c37 (64 revisions)" This is a reland of commit 1a580b58216b763955184e9796d04bbac5fc6010 It adds a CFI suppression. Original change's description: > Roll libc++ from cb9c06560a68 to af4386908c37 (64 revisions) > > buildtools/third_party/libc++/__config_site needs two additions for > these two commits: > > 2026-01-09 nikolasklauser@berlin.de [libc++] Introduce the notion of a minimum header version (#166074) > 2026-01-15 vturanskyy@gmail.com [libc++] Provide flag for RUNTIMES_USE_LIBC=llvm-libc (#174967) > > Depends on: > https://chromium-review.googlesource.com/c/chromium/src/+/7774536 > > https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/cb9c06560a68..af4386908c37 > > 2026-01-19 com.webkit.iidmsa@gmail.com [libc++] Use correct Apple platform naming (#176290) > 2026-01-19 com.webkit.iidmsa@gmail.com [libc++] Remove redundant code after static_assert(false) (#176294) > 2026-01-19 ldionne.2@gmail.com [libc++] Update maintainer list (#175044) > 2026-01-19 nikolasklauser@berlin.de [libc++] Remove benchmarks for ranges algorithms that have a std equivalent (#176138) > 2026-01-16 aidengrossman@google.com [libcxx] Bump release runner image version (#176184) > 2026-01-16 de34@live.cn [libc++][test] Fix `constexpr` stdver. for tests for `find_if(_not)` (#176303) > 2026-01-15 vturanskyy@gmail.com [libc++] Provide flag for RUNTIMES_USE_LIBC=llvm-libc (#174967) > 2026-01-15 nikolasklauser@berlin.de Reapply "[libc++] Optimize std::find_if" (#175903) (#175921) > 2026-01-14 com.webkit.iidmsa@gmail.com [libc++] Add parentheses around shift operations in bitwise expressions (#175407) > 2026-01-14 ldionne.2@gmail.com [libc++][NFC] Refactor __request_unbuffered_mode (#168950) > 2026-01-14 ldionne.2@gmail.com [runtimes] Post-branch tasks for the LLVM 23 release (#176007) > 2026-01-14 ldionne.2@gmail.com [libc++] Remove CSV tracking for PSTL (#175797) > 2026-01-14 nikolasklauser@berlin.de [libc++] Add benchmarks to the associative containers that don't go to the end of the container (#175005) > 2026-01-14 prabhukr@google.com [libc++] Fix use of static in constexpr (#175667) > 2026-01-14 nikolasklauser@berlin.de Revert "[libc++] Optimize std::find_if" (#175903) > 2026-01-14 hghristov.rmm@gmail.com [libc++][ranges][NFC] Merge `join_with_view`s `[[nodiscard]]` tests (#175734) > 2026-01-13 ldionne.2@gmail.com [libc++] Fix backslash substitution in RST synchronization scripts > 2026-01-13 ldionne.2@gmail.com [libc++] Improve the script to manage libc++ conformance issues (#172905) > 2026-01-13 hghristov.rmm@gmail.com [libc++][ranges][NFC] Cleanup `nodiscard.verify.cpp` tests (#175725) > 2026-01-13 nikolasklauser@berlin.de [libc++] Simplify __unwrap_iter a bit (#175153) > 2026-01-13 hghristov.rmm@gmail.com [libc++][ranges] Applied `[[nodiscard]]` to Range access (#173550) > 2026-01-13 de34@live.cn [libc++][test] Move the SFINAE test for return types of `quoted` to `libcxx/test/libcxx/` (#157026) > 2026-01-13 ldionne.2@gmail.com [libc++] Fix typo in math special functions > 2026-01-13 nikolasklauser@berlin.de [libc++] Replace uses of _LIBCPP_WEAK with [[gnu::weak]] (#171798) > 2026-01-13 nikolasklauser@berlin.de [libc++] Optimize std::find_if (#167697) > 2026-01-13 nikolasklauser@berlin.de [libc++] Remove empty container benchmarks that are meaningless from the associative containers (#175180) > 2026-01-13 hehiralbi@gmail.com [libc++][NFC] Remove unused __key_equiv from flat_multimap and flat_multiset (#175612) > 2026-01-13 nikolasklauser@berlin.de [libc++] Annotate filesystem::path with [[clang::lifetimebound]] (#175507) > 2026-01-13 cullen.rhodes@arm.com Bump version to 23.0.0-git > 2026-01-13 hghristov.rmm@gmail.com [libc++][istream] Removed `[[nodiscard]]` from `peek()` (#175591) > 2026-01-12 nikolasklauser@berlin.de [libc++] Remove some low value benchmarks (#175178) > 2026-01-12 ldionne.2@gmail.com [libc++] Fix filebuf resetting its underlying buffer upon close() (#168947) > 2026-01-12 hghristov.rmm@gmail.com [libc++][memory_resource] Applied `[[nodiscard]]` (#172134) > 2026-01-12 eiytoq@outlook.com [libc++] Removed unused internal helper functions from the midpoint.h header (#175514) > 2026-01-12 nikolasklauser@berlin.de [libc++] Make basic_string::__erase_external_with_move noexcept (#171591) > 2026-01-12 hghristov.rmm@gmail.com [libc++][scoped_allocator] Applied `[[nodiscard]]` (#175291) > 2026-01-11 hghristov.rmm@gmail.com [libc++][NFC] Refactored `nodiscard.verify.cpp` tests (#175285) > 2026-01-11 hghristov.rmm@gmail.com [libc++][chrono][NFC] Refactor `nodiscard.verify.cpp` (#175411) > 2026-01-10 aidengrossman@google.com [libcxx][Github] Bump container version in premerge CI > 2026-01-10 aidengrossman@google.com [libcxx][Github] Bump Github Runner Version to v2.331.0 > 2026-01-10 eiytoq@outlook.com [libc++][mdspan][NFC] Remove redundant `else` and trailing semicolons (#175024) > 2026-01-10 wtranviet@proton.me [libc++] Guard `optional::iterator` range variables behind experimental (#175222) > 2026-01-10 de34@live.cn [libc++][NFC] Small cleanups for `any` (#175164) > 2026-01-10 vojta.michall@email.cz [libcxx] Add missing member `cend()` to `MinSequenceContainer` (#175114) > 2026-01-09 nikolasklauser@berlin.de [libc++] Make optional::iterator experimental (#173470) > 2026-01-09 nikolasklauser@berlin.de [libc++][NFC] Simplify the implementation of __mul_overflowed (#174956) > 2026-01-09 nikolasklauser@berlin.de [libc++][NFC] Refactor _LIBCPP_OVERRIDABLE_FUNCTION to be a normal attribute macro (#174964) > 2026-01-09 nikolasklauser@berlin.de [libc++] Fix {deque,vector}::append_range assuming too much about the types (#162438) > 2026-01-09 nikolasklauser@berlin.de [libc++] Refactor variant benchmarks (#174743) > 2026-01-09 nikolasklauser@berlin.de [libc++] Introduce the notion of a minimum header version (#166074) > 2026-01-09 wtranviet@proton.me [libc++] Correct `optional<T&>` implementation (#174537) > 2026-01-08 eiytoq@outlook.com [libc++] Fix LWG 4265: std::midpoint should not accept const bool (#174579) > 2026-01-08 nikolasklauser@berlin.de [libc++][NFC] Update <any> to a more modern code style (#174619) > 2026-01-08 hghristov.rmm@gmail.com [libc++][future] Applied `[[nodiscard]]` (#174924) > 2026-01-08 nikolasklauser@berlin.de [libc++] Update our release notes for the upcoming release (#174625) > 2026-01-08 nikolasklauser@berlin.de [libc++] Avoid ranges::upper_bound inside <format> (#173150) > 2026-01-08 nikolasklauser@berlin.de [libc++] Remove numpunct_byname::__init (#173283) > 2026-01-08 nikolasklauser@berlin.de [libc++] Optimize search_n (#171389) > 2026-01-08 hghristov.rmm@gmail.com [libc++][memory] Applied `[[nodiscard]]` to more functions (#172131) > 2026-01-08 hghristov.rmm@gmail.com [libc++][numeric] Modernized `std::midpoint` (#174596) > 2026-01-08 de34@live.cn [libc++] Revert undesired `[[nodiscard]]` added to conversion functions (#173658) > 2026-01-07 hui.xie1990@gmail.com [libc++] Refactor poll_with_backoff (#173184) > 2026-01-07 ldionne.2@gmail.com [libc++] Force rebuilding of the CI Docker image > 2026-01-07 nikolasklauser@berlin.de [libc++] Add benchmark for std::find(vector<short>) > > 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 > Change-Id: I927d67b5eeb35cb15f917542e08cc7c0b4c58884 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7495232 > Reviewed-by: Arthur Eubanks <aeubanks@google.com> > Commit-Queue: Nico Weber <thakis@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1617751} Bug: 503250165,504680934 Cq-Include-Trybots: luci.chromium.try:linux_chromium_cfi_rel_ng Change-Id: I44b7608b9d88b6c00362635f146f5f7b6dc31c95 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7780722 Commit-Queue: Hans Wennborg <hans@chromium.org> Reviewed-by: Hans Wennborg <hans@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1618768} NOKEYCHECK=True GitOrigin-RevId: 8b96b55fd2a759c80471c8345adb999b7b1ea3d5
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: