[all-commits] [llvm/llvm-project] f71b63: [libcxx] Use `aligned_alloc` for testing instead o...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Aug 15 05:11:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f71b63865140cf3c286baf3a77ba3e467f929504
      https://github.com/llvm/llvm-project/commit/f71b63865140cf3c286baf3a77ba3e467f929504
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M libcxx/test/libcxx/language.support/support.dynamic/new_faligned_allocation.pass.cpp
    M libcxx/test/support/count_new.h

  Log Message:
  -----------
  [libcxx] Use `aligned_alloc` for testing instead of `posix_memalign` (#101748)

Summary:
The `aligned_alloc` function is the C11 replacement for
`posix_memalign`. We should favor the C standard over the POSIX standard
so more C library implementations can run the tests.



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