This is an archive of the discontinued LLVM Phabricator instance.

[clang] Correct the macOS version that supports aligned allocation
ClosedPublic

Authored by ldionne on Jul 6 2022, 6:09 AM.

Details

Summary

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.

Diff Detail

Event Timeline

ldionne created this revision.Jul 6 2022, 6:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2022, 6:09 AM
ldionne requested review of this revision.Jul 6 2022, 6:09 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 6 2022, 6:09 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision as: Restricted Project.Jul 6 2022, 11:10 AM

I looked at the CI failures and they look like flukes.

This revision is now accepted and ready to land.Jul 6 2022, 11:19 AM
This revision was landed with ongoing or failed builds.Jul 6 2022, 12:05 PM
This revision was automatically updated to reflect the committed changes.