Reland "Roll libc++ from 64f64c14ae2f to d0731bcefafa (43 revisions)"

This is a reland of commit 0403d3326250c694760b880bb2ec5ca46b6bed3c

The revert also undid the autoroller's follow-up roll from d0731bcefafa
to 2c7b40480843 (4 revisions, commit
009da158b7d26da35c6bc95586aaf1e54eb6458c), so this reland restores that
too and leaves libc++ at 2c7b40480843.

Reason for reland:
The roll made content_browsertests crash on
fuchsia-arm64-cast-receiver-rel. libc++ stopped calling uselocale()
around MB_CUR_MAX and the multibyte/wide conversion functions on Fuchsia
(https://github.com/llvm/llvm-project/pull/239100), and those
dereference a null thread locale on threads other than the main thread.
PS2 works around this in //base by setting the locale of each new
thread on Fuchsia.

Original change's description:
> Roll libc++ from 64f64c14ae2f to d0731bcefafa (43 revisions)
>
> https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/64f64c14ae2f..d0731bcefafa
>
> - Re-exports `vcruntime_new` from `std.new.nothrow_t` on Windows in `build/modules/BUILD.gn` for `<__pstl/backends/statpart/decoupled_lookback.h>` (#238772).
> - Regenerates Abseil `.def` symbol files in `third_party/abseil-cpp/`.
>
> 2026-11-16 nikolasklauser@berlin.de [libc++] Add __checked_int and replace uses of the overflow builtins with it (#234585)
> 2026-11-16 c8ef@outlook.com [libc++] Add missing module export for `ranges::elements_of` (#242655)
> 2026-11-16 c8ef@outlook.com [libc++][NFC] `ranges::elements_of` cleanup (#242657)
> 2026-11-14 hghristov.rmm@gmail.com Reapply "[libc++][FTM] Added FTMs from Sofia Meeting 202506 (#239614)" (#242088) (#242210)
> 2026-11-13 anant1234466@gmail.com [libc++] Mark LWG4299 and LWG4304 as Complete (#241193)
> 2026-11-12 sharjeelkhan@google.com Revert "[libc++][FTM] Added FTMs from Sofia Meeting 202506 (#239614)" (#242088)
> 2026-11-12 hghristov.rmm@gmail.com [libc++][FTM] Added FTMs from Sofia Meeting 202506 (#239614)
> 2026-11-12 goldvitaly@google.com [libc++] Apply __assume_separate_storage to vector's __end_ptr() (#240627)
> 2026-11-12 nikolasklauser@berlin.de [libc++][NFC] Remove <tuple> include from <__functional/function.h> (#240828)
> 2026-11-11 ndesaulniers@google.com [libcxx] mark intentionally unused fields [[maybe_unused]] (#241054)
> 2026-11-11 mike.kazakov@gmail.com [libc++][pstl] Added tests for corner cases of calling __apply() (#240398)
> 2026-11-11 github.snugness349@passinbox.com [libc++] Mark LWG2166 as "Nothing To Do" (#236422)
> 2026-11-10 mike.kazakov@gmail.com [libc++][pstl] Remove the libdispatch and the std_thread PSTL backends (#239290)
> 2026-11-10 ldionne.2@gmail.com [libc++] Add Michael Kazakov as the main PSTL maintainer (#240857)
> 2026-11-10 higher.performance.github@gmail.com Speed up std::invoke() compile times and rename __invoke_result_t to __direct_invoke_result_t (#213403)
> 2026-11-10 ldionne.2@gmail.com [libc++] Add CI running on macOS without exceptions (#230157)
> 2026-11-10 ldionne.2@gmail.com [libc++] Use section-based overridden function detection on Mach-O (#240482)
> 2026-11-09 ldionne.2@gmail.com [libc++] Add a target to validate the conformance status CSV files (#238977)
> 2026-11-09 aidengrossman@google.com [libcxx] Switch to llvm-premerge-linux-4-runners for benchmarking (#239065)
> 2026-11-09 hghristov.rmm@gmail.com [libc++] Mark P3774R1 as "Nothing to Do" (#239648)
> 2026-11-09 hghristov.rmm@gmail.com [libc++][FTM] Fix wrong standard versions (#240098)
> 2026-11-09 3shandan@gmail.com [libc++] Implement ADL tests for std::expected (#236608)
> 2026-11-06 phosek@google.com [libcxx] Simplify locale support for Fuchsia (#239100)
> 2026-11-06 mike.kazakov@gmail.com Revert "[libc++] Allow the compiler to reorder computation in reduction loops" (#239721)
> 2026-11-06 mike.kazakov@gmail.com [libc++][pstl] Implementation of parallel inclusive scan based on decoupled lookback (#238772)
> 2026-11-06 anant1234466@gmail.com [libc++] Mark LWG4269 as Complete and test unique_copy argument order (#239085)
> 2026-11-06 mike.kazakov@gmail.com [libc++][pstl] Add serial implementations of partitioning algorithms to PSTL (#234598)
> 2026-11-06 hghristov.rmm@gmail.com [libc++] Added FTMs from Hagenberg 2025 and earlier (#233352)
> 2026-11-06 wtranviet@proton.me [libc++][docs] Introduce `Experimental` Implementation Status (#235526)
> 2026-11-06 ldionne.2@gmail.com [libc++] Adapt the LNT tooling to the new format of GET /series (#239352)
> 2026-11-06 gulfem@google.com Revert "[libc++] Use glibc random APIs for std::random_device on Linux" (#239435)
> 2026-11-05 ldionne.2@gmail.com [libc++] Rewrite some std::allocator verify tests (#238802)
> 2026-11-05 mike.kazakov@gmail.com [libc++][pstl] Statpart backend is unconditionally used when threading is enabled (#237177)
> 2026-11-05 mike.kazakov@gmail.com [libc++] Allow the compiler to reorder computation in reduction loops (#237918)
> 2026-11-05 pavel@labath.sk [libc] Find linux kernel headers in Debian multiarch directories (#224314)
> 2026-11-05 qcf@ecnelises.com [libc++] Use glibc random APIs for std::random_device on Linux (#222567)
> 2026-11-04 ldionne.2@gmail.com [ci] Adapt the LNT tooling to LNT projects (#238898)
> 2026-11-04 wtranviet@proton.me [libc++] Provide `optional::iterator` a packed, bounded representation (#203782)
> 2026-11-04 nikolasklauser@berlin.de [libc++] Optimize vector assign for trivially copyable types (#233863)
> 2026-11-04 nikolasklauser@berlin.de [libc++] Remove redundant `_LIBCPP_HIDE_FROM_ABI` from detail headers d-i (#234100)
> 2026-11-03 dthorn@google.com Revert "[libc++] Optimize filebuf::seekoff" (#238594)
> 2026-11-03 ldionne.2@gmail.com [libc++][test] Increase the constexpr step limit for ranges.ends_with.pass.cpp (#238491)
> 2026-11-03 aotodev@gmail.com [libc++] Implement LWG3601: `common_iterator`'s postfix-proxy needs `indirectly_readable` (#237574)
>
> If this roll has caused a breakage, revert this CL and set the roller
> to dry run mode 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.
>
> Bug: 534049474, 503250165
> Change-Id: Ifd2d8f92254496f63f81b71051db4ed30aef3691
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8812313
> Reviewed-by: Nico Weber <thakis@chromium.org>
> Commit-Queue: Nico Weber <thakis@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1747349}

Bug: 534049474, 503250165
Change-Id: I28e4c0e1df154fc68819b30550e92960eb98dfd0
Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast-receiver-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8855921
Commit-Queue: Liza Burakova <liza@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1752713}
NOKEYCHECK=True
GitOrigin-RevId: 94f46004f3fe44f9db1d2665a24a84ee64ef4483
6 files changed
tree: 5a5a7fe3d74ff53eac04958cd305e6e7be04b26c
  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: