Roll libc++ from f0f0465d77a2 to f42ef1b11914 (46 revisions)

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

2025-07-16 steve@obrien.cc Minor formatting fix in 'generate_feature_test_macro_components' (#148889)
2025-07-16 nikolasklauser@berlin.de [libc++] Simplify __hash_table further (#148375)
2025-07-16 corentinjabot@gmail.com [Clang] Diagnose forming references to nullptr (#143667)
2025-07-16 enh@google.com Remove workarounds for NDK versions before 2017's r16. (#148879)
2025-07-16 nikolasklauser@berlin.de [libc++] Implement _LIBCPP_SUPPRESS_DEPRECATED macros in terms of _LIBCPP_DIAGNOSTIC macros (#143857)
2025-07-16 nikolasklauser@berlin.de [libc++][NFC] Remove some __tree internal accessor functions (#147266)
2025-07-16 nikolasklauser@berlin.de [libc++] Update polymorphic_allocator to never contain a nullptr (#148423)
2025-07-16 nikolasklauser@berlin.de [libc++] Always initialize __tree::{,const_}iterator (#147167)
2025-07-16 nikolasklauser@berlin.de [libc++] Simplify std::launder (#147985)
2025-07-15 nikolasklauser@berlin.de [libc++] Annotate barrier functions that are defined in the dylib (#148542)
2025-07-15 varconsteq@gmail.com [libc++] Add missing unsupported attributes to hardening timezone tests. (#148406)
2025-07-15 de34@live.cn [libc++][docs] Add missing entry for status pages, fix bad formatting, and deduplicate (#148186)
2025-07-15 ldionne.2@gmail.com [libc++] Bump Xcode support (#148651)
2025-07-15 ldionne.2@gmail.com [libc++] Ensure that we restore invariants in basic_filebuf::overflow (#147389)
2025-07-15 tobias@hieta.se Bump version to 22.0.0-git
2025-07-15 nikolasklauser@berlin.de Revert "[libc++][hardening] Introduce assertion semantics" (#148822)
2025-07-15 nikolasklauser@berlin.de Revert "[libc++][hardening] Introduce a dylib function to log hardening errors." (#148787)
2025-07-15 nikolasklauser@berlin.de [libc++] Simplify the implementation of __libcpp_{,de}allocate (#147989)
2025-07-15 varconsteq@gmail.com [libc++][hardening] Introduce assertion semantics (#148268)
2025-07-15 hghristov.rmm@gmail.com [libc++] P2944R3: Constrained comparisons - `optional` (#144249)
2025-07-15 varconsteq@gmail.com [libc++][hardening] Introduce a dylib function to log hardening errors. (#148266)
2025-07-14 ikudrin@accesssoftek.com [clang] Add -Wuninitialized-const-pointer (#148337)
2025-07-14 michaelbuch12@gmail.com Revert "[libc++][NFC] atomic::wait use public API on macOS" (#148705)
2025-07-14 de34@live.cn [libc++][docs] Confirm that P2372R3 has been implemented (#148573)
2025-07-14 varconsteq@gmail.com [libc++] Introduce the _LIBCPP_VERBOSE_TRAP macro (#148262)
2025-07-14 kazu@google.com [libcxx] Fix a typo in documentation (#148557)
2025-07-13 nikolasklauser@berlin.de [libc++] Don't instantiate allocators in __hash_table on an incomplete type (#148353)
2025-07-11 ldionne.2@gmail.com [libc++][NFC] Fix documentation for using the libstdc++ test config
2025-07-11 hui.xie1990@gmail.com [libc++][NFC] atomic::wait use public API on macOS (#147146)
2025-07-11 nikolasklauser@berlin.de [libc++] XFAIL is_bounded_array.pass.cpp for Android as well
2025-07-10 nikolasklauser@berlin.de [libc++] Move a few tests into more correct places (#147557)
2025-07-10 huberjn@outlook.com [LLVM] Fix GPU build of libcxx/compiler-rt libraries
2025-07-10 nikolasklauser@berlin.de [libc++] Temporarily disable failing test for Android CI runners
2025-07-10 nikolasklauser@berlin.de [libc++] Fix insert() calling incorrect constructors (#146231)
2025-07-10 nikolasklauser@berlin.de [libc++] Implement the public invoke API in terms of the libc++-internal API (#146334)
2025-07-10 nikolasklauser@berlin.de [libc++][NFC] Simplify std::__destroy_at a bit (#147025)
2025-07-10 nikolasklauser@berlin.de [libc++][NFC] Remove special handling for __hash_value_type in <__node_handle> (#147271)
2025-07-10 de34@live.cn [libc++] Remove the `packaged_task::result_type` extension (#147671)
2025-07-10 de34@live.cn [libc++][docs] Update paper & LWG issue lists after 2025-06 meeting (#147668)
2025-07-09 aidengrossman@google.com [libcxx] Bump Container Runner Version (#147831)
2025-07-09 hpoussin@reactos.org [libc++] Simplify definition of __libcpp_recursive_mutex_t (#147385)
2025-07-09 nikolasklauser@berlin.de [libc++] Optimize ctype::to{lower,upper} (#145344)
2025-07-09 ldionne.2@gmail.com [libc++] Mark a few LWG issues as complete instead of Nothing To Do
2025-07-09 de34@live.cn [libc++][docs] Fix bad status and links in Cxx2cIssues.csv (#147669)
2025-07-09 phosek@google.com [libcxxabi][libunwind] Support for using LLVM libc (#134893)
2025-07-08 zibi@ca.ibm.com [libc++][z/OS] XFAIL thread_create_failure.pass.cpp on z/OS (#147520)

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: I499b27cb9aa9b0dc4dfec303296f0d85c396d727
Bug: 428050052
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6762461
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1488077}
NOKEYCHECK=True
GitOrigin-RevId: 59f6e6f3b6c7cbd8ce52be6ab50bcbfa70ee0214
7 files changed
tree: 51e736f2f7d5d3334435da6d7df9ecdc6d3e9472
  1. .github/
  2. absl/
  3. ci/
  4. CMake/
  5. patches/
  6. .clang-format-ignore
  7. ABSEIL_ISSUE_TEMPLATE.md
  8. absl.gni
  9. absl_hardening_test.cc
  10. AUTHORS
  11. BUILD.bazel
  12. BUILD.gn
  13. CMakeLists.txt
  14. conanfile.py
  15. CONTRIBUTING.md
  16. create_lts.py
  17. DIR_METADATA
  18. FAQ.md
  19. generate_def_files.py
  20. LICENSE
  21. MODULE.bazel
  22. OWNERS
  23. PrivacyInfo.xcprivacy
  24. README.chromium
  25. README.md
  26. roll_abseil.py
  27. symbols_arm64_dbg.def
  28. symbols_arm64_rel.def
  29. symbols_x64_dbg.def
  30. symbols_x64_rel.def
  31. symbols_x64_rel_asan.def
  32. symbols_x86_dbg.def
  33. symbols_x86_rel.def
  34. 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: