This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176018 - in /trunk/gcc: ChangeLog dwarf2cfi.c ...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 07 Jul 2011 23:57:26 -0000
- Subject: r176018 - in /trunk/gcc: ChangeLog dwarf2cfi.c ...
Author: rth
Date: Thu Jul 7 23:57:26 2011
New Revision: 176018
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176018
Log:
dwarf2out: Convert fde_table to a VEC.
Prepare for allocating the FDE for the current function earlier
than dwarf2out_begin_prologue.
* dwarf2out.c (fde_table, fde_table_allocated, fde_table_in_use,
FDE_TABLE_INCREMENT): Replace with...
(fde_vec): ... this, a new vector.
(current_fde): Remove. Replace all users with cfun->fde.
(output_call_frame_info): Use FOR_EACH_VEC_ELT over fde_vec.
(size_of_aranges, dwarf2out_finish): Likewise.
(dwarf2out_alloc_current_fde): Break out from ...
(dwarf2out_begin_prologue): ... here.
(dwarf2out_frame_init): Remove.
* dwarf2cfi.c: Update all users of current_fde.
(dwarf2out_frame_init): Rename from dwarf2cfi_frame_init.
* dwarf2out.h: Update decls.
(dw_fde_node): Add fde_index member.
* function.h (struct function): Add fde member.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2cfi.c
trunk/gcc/dwarf2out.c
trunk/gcc/dwarf2out.h
trunk/gcc/function.h