[PATCH] Support Itanium ABI like unwinding on ARM and use it for NetBSD

Joerg Sonnenberger joerg at britannica.bec.de
Tue May 6 14:39:06 PDT 2014

On Mon, May 05, 2014 at 10:20:07PM +0200, Joerg Sonnenberger wrote:
> as discussed with Tim, the attached patch allows using the normal
> .eh_frame based unwinding on ARM. This trades slightly larger unwind
> sections for much less platform specific code on the unwind side. Given
> that compact unwind information can be incrementally added later, I want
> to ignore EHABI for NetBSD. The patch also exposes a pre-existing bug in
> the ARM frame lowering, where the recorded VFP offsets and the actual
> spill slots don't agree. As that is otherwise completely unrelated to
> this patch, I am willing to ignore that for now.

Updated version with more tests for the encoding. The VFP bug was fixed
after some debugging hints from Jim.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-unwind.diff
Type: text/x-diff
Size: 14051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140506/8aaa9bc0/attachment.diff>

More information about the llvm-commits mailing list