[PATCH] D39365: [libunwind] Change unw_word_t to always have the same size as the pointer size

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 27 13:12:35 PDT 2017

mstorsjo added a comment.

In https://reviews.llvm.org/D39365#909706, @rnk wrote:

> Doesn't this change the ABI considerably? I suspect Apple cares about that.

It does change the ABI of the lower level unw_* API yes, but it shouldn't be visible outside via the higher level APIs.

> Is remotely unwinding a 64-bit thread from a 32-bit process a concern? That's the main use case that forcing 64-bit words seems to enable.

If that's a concern, then the other patch I propsed earlier would make things even more consistent, by using 64 bit words even on ARM EHABI: https://reviews.llvm.org/D39280


More information about the cfe-commits mailing list