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

Renato Golin renato.golin at linaro.org
Wed Sep 3 07:01:07 PDT 2014


On 3 September 2014 14:25, Jonathan Roelofs <jonathan at codesourcery.com> wrote:
> Hmm, re-reading those sections, I see that it doesn't. I suppose all that
> can be done is to check that the prel31 points at __gxx_personality_v0, and
> fail to unwind otherwise.

Hi Jon,

I think that'd be the safest option, for now.

My memory fails me now, but I remember that the EH tables had some
offsets calculated at the beginning, so you could infer what were the
offsets of the unwind data, catch types, etc.

cheers,
--renato



More information about the cfe-commits mailing list