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

Jonathan Roelofs jonathan at codesourcery.com
Tue Sep 9 10:35:58 PDT 2014



On 9/9/14 3:22 AM, Renato Golin wrote:
> On 8 September 2014 18:36, Jonathan Roelofs <jonathan at codesourcery.com> wrote:
>> Anddd, here's the patch.
>
> Hi Jon,
>
> Would be good to not need to duplicate the personality declaration
> inside the function. Maybe include the eh header? Not sure...
That function isn't exposed in any of the headers, and this is sort of a 
layering violation (Unwinder looking for libcxxabi symbols). I'm not sure which 
header it would belong in if I were to add it. Suggestions?
>
> Also, would be good to add a big comment on why we do that check and
> what needs to be done to support other personality routines (ex.
> __aeabi_unwind_cpp_pr0).
The compact ones are already supported... so good point! :)

Cheers,
Jon
>
> cheers,
> --renato
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-commits mailing list