Roll libc++ from 97b436da4c33 to 9ba7713d3a0f (88 revisions)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/97b436da4c33..9ba7713d3a0f

- This change also modifies base/threading/platform_thread_apple.mm.
It extracts the default `constexpr` constants and marks some
globals as `constinit`. This is now necessary due to #76180 causing
`std::atomic<TimeConstraints>` to emit a static initializer on
mac-rel.

2026-07-31 ldionne.2@gmail.com [libc++] Add an assertion for monotonic_buffer_resource's initial_size (#213136)
2026-07-31 ldionne.2@gmail.com [libc++] Fix dangling reference in the associative container benchmarks (#213139)
2026-07-31 ldionne.2@gmail.com [libc++] Actually partially populate the container in a benchmark (#213146)
2026-07-31 mike.kazakov@gmail.com [libc++][NFC] Make size_t -> int conversions explicit in a few PSTL tests (#213145)
2026-07-31 nikolasklauser@berlin.de [libc++abi] Add a clang-tidy config and test (#207324)
2026-07-31 nikolasklauser@berlin.de [libc++] Simplify clear_padding.h a bit (#212426)
2026-07-31 nikolasklauser@berlin.de [libc++] Make __has_array_cookie a variable template (#212767)
2026-07-31 mike.kazakov@gmail.com [libc++][pstl] Implementation of parallel std::lexicographical_compare() based on std::mismatch() (#212366)
2026-07-30 zibi@ca.ibm.com [libc++] Fix difference_type expectations in range adaptor iterator member_types tests (#201853)
2026-07-30 kevinwkt@google.com [libc++] Fix std::mt19937 seeding with std::seed_seq under vectorized ABI (#209860)
2026-07-30 hghristov.rmm@gmail.com [libc++][ranges] P3059R2: Making user-defined constructors of view iterators/sentinels private (#193891)
2026-07-30 nikolasklauser@berlin.de [libc++] Fix exception_fallback.ipp not compiling (#212961)
2026-07-30 nikolasklauser@berlin.de [libc++] Switch XFAIL in xsgetn.buffer.pass.cpp to LLVM 23 (#212969)
2026-07-30 nikolasklauser@berlin.de [libc++abi] Use the same .clang-format as libc++ (#208661)
2026-07-30 nikolasklauser@berlin.de [libc++] Clean up windows macros (#207577)
2026-07-30 ldionne.2@gmail.com [libc++] Fix incorrect paper statuses (#212827)
2026-07-30 nikolasklauser@berlin.de [libc++][NFC] Rename the streambuf members (#212277)
2026-07-30 nikolasklauser@berlin.de [libc++] Move numpunct into <__locale_dir/num.h> (#212465)
2026-07-30 nikolasklauser@berlin.de [libc++] Remove SFINAE checks in tuple which are always true (#212765)
2026-07-29 wtranviet@proton.me [libc++] Granularize `<optional>` (#206644)
2026-07-29 higher.performance.github@gmail.com Speed up compilation of typical invocations of std::visit(std::variant<...>) for up to 11 types (#164196)
2026-07-29 github.snugness349@passinbox.com [libc++][math] Add missing `constexpr since C++23` comment for `signbit` (#212458)
2026-07-29 mike.kazakov@gmail.com [libc++][pstl] Implementation of a parallel std::adjacent_find() based on std::mismatch() (#210604)
2026-07-29 nikolasklauser@berlin.de [libc++][NFC] Clean up atomic_support.h (#212464)
2026-07-29 hui.xie1990@gmail.com [libc++][test][NFC] remove old UNSUPPORTED clang from clear_padding.pass.cpp (#212690)
2026-07-29 vyordangiovani@gmail.com [libc++] Mark LWG3133 as Complete and add valarray operator[] safety tests (#208145)
2026-07-28 ldionne.2@gmail.com [libc++] Reduce sequence container benchmark size ladder (#212281)
2026-07-28 ldionne.2@gmail.com [libc++] Drop char8_t instantiation from string benchmarks (#212283)
2026-07-28 ldionne.2@gmail.com [libc++] Defer removal of two escape hatches to LLVM 25 (#211553)
2026-07-28 github.snugness349@passinbox.com [libc++][math] Add `constexpr` to comparison functions (#210075)
2026-07-28 hghristov.rmm@gmail.com [libc++][optional][NFC] Use variable templates instead of class templates (#212443)
2026-07-28 nikolasklauser@berlin.de [libc++] Fix ungetc failing after xsgetn (#210951)
2026-07-28 de34@live.cn [libc++][test] Suppress warning on bitwise shift with `bool` operands in `std::byte` tests for MSVC (#212433)
2026-07-28 de34@live.cn [libc++][test][NFC] Format `test_macros.h` (#212442)
2026-07-28 de34@live.cn [libc++][test] Disable test coverage for `_BitInt` for non-libc++ implementations (#212435)
2026-07-28 nikolasklauser@berlin.de [libc++] Simplify some meta-programming in tuple (#212436)
2026-07-28 hui.xie1990@gmail.com [libc++] Implement P0528R3 `std::atomic` CAS for types with padding (#76180)
2026-07-27 ldionne.2@gmail.com [libc++] Rename the test suite used on LNT (#212347)
2026-07-27 hui.xie1990@gmail.com [libc++][test] re-enable clear padding runtime test (#211258)
2026-07-27 ldionne.2@gmail.com [libc++] Add benchmark for std::nth_element (#210112)
2026-07-27 ldionne.2@gmail.com [libc++] Add benchmarks for std::min_element, std::max_element and std::ranges::max (#209590)
2026-07-27 ldionne.2@gmail.com [libc++] Add benchmarks for std::next_permutation and std::prev_permutation (#210966)
2026-07-27 nikolasklauser@berlin.de [libc++][NFC] Use [[deprecated]] for __grow_by (#209126)
2026-07-27 wtranviet@proton.me [libc++] Inline `text_encoding` alias offset table std::count to 884 (#207471)
2026-07-27 nikolasklauser@berlin.de [libc++] Remove locale::id::__next_id from the ABI (#210360)
2026-07-27 aviipatel06@gmail.com [libc++] Implement P1901R2: owner_hash and owner_equal for shared_ptr/weak_ptr (#210551)
2026-07-26 thakis@chromium.org [libc++] Removing traiilng whitespace at line end in CMakeLists.txt (#212135)
2026-07-27 emmettzhang2020@outlook.com [libc++][chrono] Implement LWG 4274: Allow chrono::hh_mm_ss to be constructed from unsigned durations (#209686)
2026-07-26 nikolasklauser@berlin.de [libc++][NFC] Inline fstream functions into the class body (#211738)
2026-07-26 mike.kazakov@gmail.com [libc++][pstl] Implementation of a parallel std::mismatch() based on __pstl::__parallel_find() (#209291)
2026-07-26 github.snugness349@passinbox.com [libc++][math] Add `constexpr` to `std::fpclassify` (#210993)
2026-07-25 hui.xie1990@gmail.com [libc++] Implement  `std::function_ref` (#186692)
2026-07-24 ldionne.2@gmail.com [libc++] Rename pre-commit CI workflows (#211844)
2026-07-24 ldionne.2@gmail.com [libc++][CI] Add a Github workflow to test libc++ tools (#211067)
2026-07-23 ldionne.2@gmail.com [libc++] Pin down the compiler in the various benchmark scripts and jobs (#211563)
2026-07-23 ldionne.2@gmail.com [libc++] Implement any_of in terms of find_if (#207274)
2026-07-23 ldionne.2@gmail.com [libc++] Remove workaround for Clang < 20 in clang-tidy plugin (#211314)
2026-07-23 ldionne.2@gmail.com [libc++] Update release procedure for libc++ & friends (#210383)
2026-07-23 nikolasklauser@berlin.de [libc++] Remove some adjacent_view::begin() benchmarks (#210265)
2026-07-23 nikolasklauser@berlin.de [libc++] Optimize standard streams with sync_with_stdio(false) (#209161)
2026-07-22 hghristov.rmm@gmail.com [libc++][NFC] Format and move `transform_view`'s `sentinel.pass.cpp` (#211252)
2026-07-22 ldionne.2@gmail.com [runtimes] LLVM 24 version bumps (#211262)
2026-07-22 nikolasklauser@berlin.de [libc++] Don't add #pragma clang attribute with GCC (#206989)
2026-07-22 nikolasklauser@berlin.de [libc++] Remove redundant benchmarks for lexicographical_compare_three_way (#210268)
2026-07-22 vvereschaka@accesssoftek.com Revert "[libc++][test] XFAIL `text/text_encoding/environment.pass.cpp` test on Armv7/Linux Ubuntu targets." (#211112)
2026-07-22 nikolasklauser@berlin.de [libc++] Remove {Pause,Resume}Timing from fast push_back benchmarks (#209130)
2026-07-21 dkovalev@accesssoftek.com [PAC][libc++] Fix build with `ptrauth_calls` feature (#211033)
2026-07-21 github.snugness349@passinbox.com [libc++][ranges] Mark LWG3664 as resolved (#210550)
2026-07-21 ldionne.2@gmail.com [libc++] Don't require complete types in vector<T>::empty() (#210754)
2026-07-21 ldionne.2@gmail.com [libc++] Fix test-at-commit after df4bb1f3106d (#210983)
2026-07-21 mike.kazakov@gmail.com [libc++][pstl] Default implementation of parallel std::adjacent_difference (#207585)
2026-07-21 c8ef@outlook.com [libc++] Implement P0493R5: Atomic minimum/maximum (#180333)
2026-07-21 mike.kazakov@gmail.com [libc++] Strip cv-refs in __desugars_to specialization for integral types (#208950)
2026-07-21 h.vetinari@gmx.com [libc++][NFC] Re-order availability mapping to `_LIBCPP_INTRODUCED_IN_LLVM_{N}` (#210694)
2026-07-21 ldionne.2@gmail.com [libc++] Compose the test suite Lit site config from harness and installation substitutions (#209638)
2026-07-21 ldionne.2@gmail.com [libc++][NFC] Fix synopsis comment for error_condition::message() (#210724)
2026-07-21 ldionne.2@gmail.com [libc++] Include sizes in string benchmark names (#210795)
2026-07-20 hghristov.rmm@gmail.com [libc++][ranges][NFC] Format a couple of `elements_view` tests (#210687)
2026-07-21 de34@live.cn [libc++][docs] Avoid talking about other implementations on DR status (#210637)
2026-07-20 ldionne.2@gmail.com [libc++] Bring std::{any,all,none}_of tests up to current standards (#209266)
2026-07-20 hubert.reinterpretcast@gmail.com [libc++][utils] Fix LIT `%if` substitution support (#209358)
2026-07-20 thurston@google.com [libc++][test] Fix build failure from typo in #171785 (#210552)
2026-07-20 hghristov.rmm@gmail.com [libc++][test][NFC] Removed unsupported compilers from tests (#210413)
2026-07-20 hghristov.rmm@gmail.com [libc++][NFC] Removed duplicated `_LIBCPP_INTRODUCED_IN_LLVM_23` macros (#210602)
2026-07-20 hghristov.rmm@gmail.com [libc++][ranges][NFC] Format `lazy_split_view` (#210644)
2026-07-20 nikolasklauser@berlin.de Reapply "[libc++][NFC] Inline std::function members into the class body" (#209555) (#210260)
2026-07-20 de34@live.cn [libc++] Add tests for LWG3798 and mark it as Complete (#210640)
2026-07-20 hghristov.rmm@gmail.com [libc++][cmp][NFC] Fix: Empty namespaces should be avoided (#210624)

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

Change-Id: I7b77dfc70c8f7018987e08ba18d8d5f6ed402526
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8581765
Commit-Queue: Liza Burakova <liza@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1725118}
NOKEYCHECK=True
GitOrigin-RevId: fb80ea1e4cdf5a1c2133ae9afb1c7db445612854
14 files changed
tree: 232a3e85133bdaca1b2632000a4e2fcf0ee554e1
  1. absl/
  2. ci/
  3. CMake/
  4. patches/
  5. .bazelrc
  6. .clang-format-ignore
  7. .style.yapf
  8. ABSEIL_ISSUE_TEMPLATE.md
  9. absl.gni
  10. absl_hardening_test.cc
  11. AUTHORS
  12. BUILD.bazel
  13. BUILD.gn
  14. CMakeLists.txt
  15. conanfile.py
  16. CONTRIBUTING.md
  17. convert_bazel_to_gn.py
  18. create_lts.py
  19. DIR_METADATA
  20. FAQ.md
  21. generate_def_files.py
  22. LICENSE
  23. MODULE.bazel
  24. OWNERS
  25. PrivacyInfo.xcprivacy
  26. README.chromium
  27. README.md
  28. roll_abseil.py
  29. symbols_arm64_dbg.def
  30. symbols_arm64_dbg_cxx23.def
  31. symbols_arm64_rel.def
  32. symbols_arm64_rel_cxx23.def
  33. symbols_x64_dbg.def
  34. symbols_x64_dbg_cxx23.def
  35. symbols_x64_rel.def
  36. symbols_x64_rel_asan.def
  37. symbols_x64_rel_asan_cxx23.def
  38. symbols_x64_rel_cxx23.def
  39. symbols_x86_dbg.def
  40. symbols_x86_dbg_cxx23.def
  41. symbols_x86_rel.def
  42. symbols_x86_rel_cxx23.def
  43. 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: