I have submitted 26844 into the llvm bugzilla for TARGET_ARCH=powerpc (or 
powerpc64) via clang3.8.0 not getting the 4 scratch registers (or mfcr/mtcr) 
handling for the C++ exceptions ABI. This leads to getting a SEGV in the code:


> 678     /* For targets with pointers smaller than the word size, we must 
> extend the
> 679        pointer, and this extension is target dependent.  */
> 680     _Unwind_SetGR (context, __builtin_eh_return_data_regno (0),
> 681                    __builtin_extend_pointer (ue_header));
> 682     _Unwind_SetGR (context, __builtin_eh_return_data_regno (1),
> 683                    handler_switch_value);
> 684     _Unwind_SetIP (context, landing_pad);



===
Mark Millard
markmi at dsl-only.net

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to