This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Patch, microblaze]: Enable DWARF exception handling support
- From: David Holsgrove <david dot holsgrove at xilinx dot com>
- To: Michael Eager <eager at eagerm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Edgar Iglesias <edgari at xilinx dot com>, John Williams <jwilliams at xilinx dot com>, Vinod Kathail <vinodk at xilinx dot com>, Vidhumouli Hunsigida <vidhum at xilinx dot com>, Nagaraju Mekala <nmekala at xilinx dot com>, Tom Shui <tshui at xilinx dot com>
- Date: Tue, 19 Mar 2013 21:29:59 +0000
- Subject: RE: [Patch, microblaze]: Enable DWARF exception handling support
- References: <f4fde0bc-9667-483e-8ca2-dcf11611c7a8 at CO9EHSMHS029 dot ehs dot local> <51489AD2 dot 4050802 at eagerm dot com>
> -----Original Message-----
> From: Michael Eager [mailto:eager@eagerm.com]
> Sent: Wednesday, 20 March 2013 3:05 am
> To: David Holsgrove
> Cc: gcc-patches@gcc.gnu.org; Edgar Iglesias; John Williams; Vinod Kathail;
> Vidhumouli Hunsigida; Nagaraju Mekala; Tom Shui
> Subject: Re: [Patch, microblaze]: Enable DWARF exception handling support
>
> On 03/18/2013 05:47 AM, David Holsgrove wrote:
> > Add DWARF exception handling support for MicroBlaze.
> >
> > Changelog
> >
> > 2013-03-18 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
> > David Holsgrove <david.holsgrove@xilinx.com>
> >
> > * common/config/microblaze/microblaze-common.c: Remove
> > TARGET_EXCEPT_UNWIND_INFO definition.
> > * config/microblaze/microblaze-protos.h: Add microblaze_eh_return
> prototype.
> > * gcc/config/microblaze/microblaze.c: (microblaze_must_save_register,
> > microblaze_expand_epilogue, microblaze_return_addr): Handle
> > calls_eh_return
> > (microblaze_eh_return): New function.
> > * gcc/config/microblaze/microblaze.h: Define RETURN_ADDR_OFFSET,
> > EH_RETURN_DATA_REGNO, MB_EH_STACKADJ_REGNUM,
> EH_RETURN_STACKADJ_RTX,
> > ASM_PREFERRED_EH_DATA_FORMAT
> > * gcc/config/microblaze/microblaze.md: Define eh_return pattern.
>
> Hi David --
>
> I see about 50 more failures (an increase from 137 to 189) in the g++
> regression tests after applying this patch. I haven't looked at the
> failures in detail.
>
Hi Michael,
Thanks I'll have another look at the regression tests today. We should be
enabling new tests now by supporting DWARF, but I donât think my
last run with a microblaze-xilinx-linux-gnu was giving me as many
failures as you see;
=== g++ Summary ===
# of expected passes 26617
# of unexpected failures 17
# of unexpected successes 2
# of expected failures 167
# of unresolved testcases 3
# of unsupported tests 433
thanks,
David
>
> --
> Michael Eager eager@eagercon.com
> 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077