This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176019 - in /trunk/gcc: ChangeLog ada/ChangeLo...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 08 Jul 2011 00:05:57 -0000
- Subject: r176019 - in /trunk/gcc: ChangeLog ada/ChangeLo...
Author: rth
Date: Fri Jul 8 00:05:57 2011
New Revision: 176019
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176019
Log:
dwarf2: Extract cfi creation to a new pass.
* tree-pass.h (pass_dwarf2_frame): Declare.
* passes.c (init_optimization_passes): Add it.
* dwarf2cfi.c (dwarf2out_frame_debug): Make static.
(create_cfi_notes): Rename from dwarf2out_frame_debug_after_prologue;
make static, do not call add_cfis_to_fde.
(dwarf2out_frame_debug_init, dwarf2cfi_function_init,
dwarf2out_frame_init): Merge into...
(execute_dwarf2_frame): ... here. New function.
(dwarf2out_do_frame, dwarf2out_do_cfi_asm): Make boolean. Change
saved_do_cfi_asm to a tri-state variable.
(gate_dwarf2_frame, pass_dwarf2_frame): New.
* dwarf2out.c (dwarf2out_begin_prologue): Only allocate the fde
if it has yet to be done. Don't call dwarf2cfi_function_init.
* dwarf2out.h, debug.h: Update decls.
* final.c (final_start_function): Don't call
dwarf2out_frame_debug_init or dwarf2out_frame_debug_after_prologue.
* lto-streamer-in.c (lto_init_eh): Don't call dwarf2out_frame_init.
* toplev.c (lang_dependent_init): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/misc.c
trunk/gcc/debug.h
trunk/gcc/dwarf2cfi.c
trunk/gcc/dwarf2out.c
trunk/gcc/dwarf2out.h
trunk/gcc/final.c
trunk/gcc/lto-streamer-in.c
trunk/gcc/passes.c
trunk/gcc/toplev.c
trunk/gcc/tree-pass.h