[PATCH] D33030: [libcxxabi] Align unwindHeader on a double-word boundary

Mehdi AMINI via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 10 10:26:07 PDT 2017


mehdi_amini added a comment.

Something still isn't clear to me: the issue IIUC is not with the `unwindHeader` itself, but with the misaligned thrown object that is allocated right after the __cxa_exception itself. Isn't it?

Then are you aligning the `unwindHeader` field and by side-effect the size of the __cxa_exception structure becomes aligned and then the thrown object will be as well?


https://reviews.llvm.org/D33030





More information about the cfe-commits mailing list