[PATCH] [libcxxabi] Make _Unwind_Backtrace() work on ARM.

Antoine Labour piman at google.com
Tue Sep 2 17:02:33 PDT 2014


On Fri, Aug 29, 2014 at 6:18 AM, Jon Roelofs <jonathan at codesourcery.com>
wrote:

> ================
> Comment at: src/Unwind/Unwind-EHABI.cpp:223
> @@ +222,3 @@
> +    *len = (((data[1] >> 24) & 0xff) + 1) * 4;
> +    data++; // Skip the first word, which is the prel31 offset.
> +  } else {
> ----------------
> piman wrote:
> > Mmh, this makes assumptions about the personality routine doesn't it?
> > The generic model is supposed to be compatible with a variety of
> languages and I'm not sure we can assume the generic data is the same as
> what the C++ personality routine expects, can we?
> In the generic model, the unwind opcodes come first, and then the LSDA
> comes after... this looks correct to me.
>

Where in the EHABI spec is that defined? AFAICT all it says in section 6.2
is that there's data for the PR, but it doesn't say anything about the
contents of that data.


> http://reviews.llvm.org/D5112
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140902/f1a4e5e4/attachment.html>


More information about the cfe-commits mailing list