]> granicus.if.org Git - clang/commit
[clang] Aligned allocation is actually supported in macosx 10.13
authorLouis Dionne <ldionne@apple.com>
Mon, 15 Apr 2019 14:14:45 +0000 (14:14 +0000)
committerLouis Dionne <ldionne@apple.com>
Mon, 15 Apr 2019 14:14:45 +0000 (14:14 +0000)
commit560277939aeb4b20b5e535f9fcee696299a608bf
tree70d7fb5a7bd41b57589147f0eb792ccb38284da0
parent9f00a64d0e008b7c62a08ecde9e35715d373323c
[clang] Aligned allocation is actually supported in macosx 10.13

Summary:
In r350649, I changed aligned allocation from being available starting
in macosx10.13 to macosx10.14. However, aligned allocation is indeed
available starting with macosx10.13, my investigation had been based
on the wrong libc++abi dylib.

This means that Clang before the fix will be more stringent when it
comes to aligned allocation -- it will not allow it when back-deploying
to macosx 10.13, when it would actually be safe to do so.

Note that a companion change will be coming to fix the libc++ tests.

Reviewers: ahatanak

Subscribers: jkorous, dexonsmith, cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358409 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/AlignedAllocation.h
test/Driver/unavailable_aligned_allocation.cpp
test/SemaCXX/unavailable_aligned_allocation.cpp