[all-commits] [llvm/llvm-project] 08457e: [libc++] Add tests to pin down the ABI of deque, l...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Tue Feb 6 15:52:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08457e1f7693bdafe5330cde2bf41290cad4cade
      https://github.com/llvm/llvm-project/commit/08457e1f7693bdafe5330cde2bf41290cad4cade
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M libcxx/test/libcxx/containers/sequences/deque/abi.compile.pass.cpp
    A libcxx/test/libcxx/containers/sequences/list/abi.compile.pass.cpp
    A libcxx/test/libcxx/containers/sequences/vector.bool/abi.compile.pass.cpp
    A libcxx/test/libcxx/containers/sequences/vector/abi.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Add tests to pin down the ABI of deque, list and vector (#80191)

This patch adds tests that lock down the ABI of types like deque, list
and vector.
An upcoming patch will replace the usage of __compressed_pair in these
classes
by [[no_unique_address]], so we are adding these tests to pin down their
ABI
before making the change. That way, we can be confident that the patch
making
the actual ABI-sensitive change is safe if it doesn't break these tests.




More information about the All-commits mailing list