[all-commits] [llvm/llvm-project] 4722b5: [clang] Correct the macOS version that supports al...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Jul 6 12:05:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4722b5d1330a1104a0aa256804b9537c4d2c39d4
      https://github.com/llvm/llvm-project/commit/4722b5d1330a1104a0aa256804b9537c4d2c39d4
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-07-06 (Wed, 06 Jul 2022)

  Changed paths:
    M clang/include/clang/Basic/AlignedAllocation.h
    M clang/test/Driver/unavailable_aligned_allocation.cpp
    M clang/test/SemaCXX/unavailable_aligned_allocation.cpp
    M libcxx/test/libcxx/language.support/support.dynamic/aligned_alloc_availability.verify.cpp
    M libcxx/test/libcxx/memory/aligned_allocation_macro.compile.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp

  Log Message:
  -----------
  [clang] Correct the macOS version that supports aligned allocation

After checking the libc++abi.dylib shipped in macOS 10.13, I can confirm
that it contains the align_val_t variants of operator new and operator
delete. However, the libc++abi.dylib shipped on macOS 10.12 does not.

Differential Revision: https://reviews.llvm.org/D129198




More information about the All-commits mailing list