diff options
author | Louis Dionne <ldionne@apple.com> | 2019-04-15 14:14:45 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-04-15 14:14:45 +0000 |
commit | 560277939aeb4b20b5e535f9fcee696299a608bf (patch) | |
tree | 70d7fb5a7bd41b57589147f0eb792ccb38284da0 /include/clang/Basic/AlignedAllocation.h | |
parent | 9f00a64d0e008b7c62a08ecde9e35715d373323c (diff) | |
download | clang-560277939aeb4b20b5e535f9fcee696299a608bf.tar.gz |
[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
Diffstat (limited to 'include/clang/Basic/AlignedAllocation.h')
-rw-r--r-- | include/clang/Basic/AlignedAllocation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/AlignedAllocation.h b/include/clang/Basic/AlignedAllocation.h index 88410c5cb5..4505e15055 100644 --- a/include/clang/Basic/AlignedAllocation.h +++ b/include/clang/Basic/AlignedAllocation.h @@ -26,8 +26,8 @@ inline llvm::VersionTuple alignedAllocMinVersion(llvm::Triple::OSType OS) { default: break; case llvm::Triple::Darwin: - case llvm::Triple::MacOSX: // Earliest supporting version is 10.14. - return llvm::VersionTuple(10U, 14U); + case llvm::Triple::MacOSX: // Earliest supporting version is 10.13. + return llvm::VersionTuple(10U, 13U); case llvm::Triple::IOS: case llvm::Triple::TvOS: // Earliest supporting version is 11.0.0. return llvm::VersionTuple(11U); |