[cfe-commits] patch: libcxxabi __cxa_guard_* for ARM EABI

Howard Hinnant hhinnant at apple.com
Mon Jun 6 21:14:14 PDT 2011


Sorry, somehow this got by me.  I've got it marked for review now.

Howard

On Jun 6, 2011, at 8:12 PM, Nick Lewycky wrote:

> Ping! Howard, I'd like you to look at this for style.
> 
> Nick
> 
> On 3 June 2011 01:48, Nick Lewycky <nlewycky at google.com> wrote:
> On 3 June 2011 01:43, Renato Golin <rengolin at systemcall.org> wrote:
> On 3 June 2011 08:46, Nick Lewycky <nlewycky at google.com> wrote:
> >> The attached patch implements the ARM EABI versions of
> >> __cxa_guard_{acquire,release,abort} while trying to share as much code as
> >> possible. It appears to me that it's unlikely that this will build correctly
> >> on __APPLE__ machines, but that's beyond my ability to deal with here. I
> >> have also not actually tested this on an ARM machine, but I did #define
> >> LIBCXXABI_ARMEABI and build the tests and those pass on x86-64.
> 
> Hi Nick,
> 
> I also can't tell you about the Apple part (or the get_lock), but the
> ARM __cxa_* look correct.
> 
> Thanks for the fast review!
> 
> Is there a test for this in Clang? Have you tried at least running them on OSX?
> 
> There's a libcxxabi/test/test_guard.cpp, but it doesn't launch any threads. I have not even built it on OSX.
> 
> Nick
>  
> 
> cheers,
> --renato
> 
> 




More information about the cfe-commits mailing list