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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon May 5 16:09:56 PDT 2014


On 5 May 2014 16:20, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> Hi all,
> 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.

Please make sure that PersonalityEncoding, LSDAEncoding, FDEEncoding
and TTypeEncoding are tested, both pic and non-pic.

Is the fp-elim difference relevant for what the patch is changing? If
it is, can you use multiple FileCheck prefixes? The check sequences
are almost identical.

Cheers,
Rafael



More information about the llvm-commits mailing list