Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2016 13:51:56 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Roman Divacky <rdivacky@vlakno.cz>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   I have submitted 26844 into the llvm bugzilla for clang 3.8.0 powerpc/powerpc64 C++ exception ABI scratch-register handling problems
Message-ID:  <0DE2DD6A-774B-42A0-91D2-FD111F04AA05@dsl-only.net>

next in thread | raw e-mail | index | archive | help
I have submitted 26844 into the llvm bugzilla for TARGET_ARCH=3Dpowerpc =
(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);



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0DE2DD6A-774B-42A0-91D2-FD111F04AA05>