[all-commits] [llvm/llvm-project] 01df77: [libc++] Take the ABI break for `std::list`'s poin...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Mon Sep 16 08:55:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01df775dc42b62141ad07ad30aaa361ab162b8f5
      https://github.com/llvm/llvm-project/commit/01df775dc42b62141ad07ad30aaa361ab162b8f5
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-09-16 (Mon, 16 Sep 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/include/__hash_table
    M libcxx/include/__tree
    M libcxx/include/forward_list
    M libcxx/include/list

  Log Message:
  -----------
  [libc++] Take the ABI break for `std::list`'s pointer UB unconditionally (#100585)

This ABI break only affects fancy pointer which have a different value
representation when pointing to a base of T instead of T itself. This
seems like a rather small set of fancy pointers, which themselves
already represent a very small niche. This patch swaps a pointer to T
with a pointer to base of T in a few library-internal types.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list