[PATCH] Support Itanium ABI like unwinding on ARM and use it for NetBSD
Joerg Sonnenberger
joerg at britannica.bec.de
Tue May 6 04:36:28 PDT 2014
On Mon, May 05, 2014 at 07:09:56PM -0400, Rafael EspĂndola wrote:
> 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.
OK, will try to build a test case for that.
> 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.
I just wanted to keep it consistent with the existing test cases. There
is the expected .cfe_def_cfa difference.
Joerg
More information about the llvm-commits
mailing list