This is an archive of the discontinued LLVM Phabricator instance.

libunwind: Enable zero-cost exceptions on non-Apple arm64 platforms
ClosedPublic

Authored by emaste on Aug 12 2015, 6:24 PM.

Details

Summary

Use the canonical aarch64 predefined macro for 64-bit ARM. Apple-specific cases are left as arm64. Also add an #error for unsupported architectures to catch this sort of case in the future.

Diff Detail

Repository
rL LLVM

Event Timeline

emaste updated this revision to Diff 32024.Aug 12 2015, 6:24 PM
emaste retitled this revision from to libunwind: Enable zero-cost exceptions on non-Apple arm64 platforms.
emaste updated this object.
emaste added a subscriber: llvm-commits.
rengolin accepted this revision.Aug 13 2015, 7:19 AM
rengolin added a reviewer: rengolin.

As discussed in IRC, this has been working on AArch64/Darwin for some time, so any Linux compatibility shall be investigated before creating a buildbot for it (which I'm in the process of doing).

LGTM, thanks!

This revision is now accepted and ready to land.Aug 13 2015, 7:19 AM
This revision was automatically updated to reflect the committed changes.