[Patch,ARM] unwind in epilogue ignore dwarf info

Greta Yorsh Greta.Yorsh@arm.com
Fri Jul 20 18:28:00 GMT 2012


The final pass of gcc uses dwarf information to generate unwind tables and
directives (e.g., with command line option -fexceptions). Dwarf information
generated for epilogues should be ignored when generating unwind info,
because the ARM ABI only allows unwind at procedure boundaries. This patch
adds a flag unwind_in_epilogue for it. It wasn't needed in the past, because
there was no dwarf info generated for epilogues, but recent patches for
epilogue generation in RTL added it.

No regression on qemu.

2012-07-20  Greta Yorsh  <Greta.Yorsh@arm.com>

        * config/arm/arm.c (arm_unwind_function_begin_epilogue): New
function.
        (unwind_in_epilogue) New static variable.
        (arm_unwind_emit) Use unwind_in_epilogue flag.
        (arm_asm_emit_except_personality) Clear unwind_in_epilogue flag.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unwind_in_epilog.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120720/bd6d06f1/attachment.txt>


More information about the Gcc-patches mailing list