r306722 added diagnostics when aligned allocation is used with deployment
targets that do not support it, but the first macosx supporting aligned
allocation was incorrectly set to 10.13. In reality, the dylib shipped
with macosx10.13 does not support aligned allocation, but the dylib
shipped with macosx10.14 does.
Details
Details
- Reviewers
ahatanak - Commits
- rG4d3366e257ac: [Sema] Teach Clang that aligned allocation is not supported with macosx10.13
rCXX350649: [Sema] Teach Clang that aligned allocation is not supported with macosx10.13
rC350649: [Sema] Teach Clang that aligned allocation is not supported with macosx10.13
rL350649: [Sema] Teach Clang that aligned allocation is not supported with macosx10.13
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 26507 Build 26506: arc lint + arc unit
Event Timeline
Comment Actions
LGTM.
We should probably check that alignedAllocMinVersion returns the correct versions for other OSes too, but this patch is fine.
Comment Actions
This (I think) caused a bunch of libc++ tests to start failing during testing of the newly created 8.0 branch on my machine, see https://bugs.llvm.org/show_bug.cgi?id=40354