This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR debug/24444: incorrect frame base in IA64 prologues
On Mon, Feb 20, 2006 at 03:29:33PM -0300, Alexandre Oliva wrote:
> * defaults.h (CFA_FRAME_BASE_OFFSET): Define.
> * config/ia64/ia64.h (CFA_FRAME_BASE_OFFSET): Override.
> * doc/tm.texi (CFA_FRAME_BASE_OFFSET): Document.
> * dwarf2out.c (build_cfa_loc): New offset parameter. Add it
> to the result of the expression.
> (def_cfa_1): Adjust.
> (frame_pointer_cfa_offset): Rename to...
> (frame_pointer_fb_offset): ... this. Adjust all uses.
> (convert_cfa_to_loc_list): Rename to...
> (convert_cfa_to_fb_loc_list): ... this. New offset parameter.
> Pass it on to build_cfa_loc.
> (compute_frame_pointer_to_cfa_displacement): Rename to...
> (compute_frame_pointer_to_fb_displacement): ... this. New
> offset parameter. Use it in computation.
> (gen_subprogram_die): Compute cfa_fb_offset with the new
> macro, and use it to compute the fb loc list and the
> displacement.
Ok.
r~