diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-04 22:08:04 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-04 22:08:04 +0000 |
commit | 349867486c2f209d13ce942bae4449a382768cdc (patch) | |
tree | fb40a2b7673d57f55dfc5ac1a79cb20828a95882 /gcc/toplev.c | |
parent | ea347d9102f600a5ac11c4ece444323737363235 (diff) | |
download | gcc-349867486c2f209d13ce942bae4449a382768cdc.tar.gz |
PR debug/24444
* config/ia64/ia64.c: Include debug.h.
(MAX_ARTIFICIAL_LABEL_BYTES): New.
(ia64_label_after_insn, ia64_dwarf2out_def_steady_cfa): New.
(IA64_CHANGE_CFA_IN_EPILOGUE): Define to 0.
(process_epilogue, process_set, process_for_unwind_directive):
Output unwind info only if requested. Add CFA info if requested.
Add new arguments as needed. Adjust callers.
* config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Override
incorrect default.
(DWARF2_FRAME_INFO): Define to zero.
* config/ia64/unwind-ia64.c: Remove code that compensated for
the CFA offset error fixed above.
* config/ia64/t-ia64 (ia64.o): Depend on debug.h.
* dwarf2out.c (DWARF2_FRAME_INFO): Define default.
(dwarf2out_do_frame): Require nonzero DWARF2_UNWIND_INFO for
-funwind-tables and -fexceptions to enable frame info.
(dwarf2out_frame_init): Define initial CFA even if
DWARF2_UNWIND_INFO is disabled. Call initial_return_save if
DWARF2_UNWIND_INFO is nonzero, not just defined.
(dwarf2out_frame_finish): Output non-EH call frame info only
if DWARF2_FRAME_INFO is nonzero.
(convert_cfa_to_loc_list,
compute_frame_pointer_to_cfa_displacement): Define even if
unwind info is not supported.
(gen_subprogram_die): Use the above unconditionally. Remove
legacy alternate code.
* toplev.c (compile_file): Compile in call to
dwarf2out_frame_finish if DWARF2_DEBUGGING_INFO is defined.
(lang_dependent_init): Ditto for dwarf2out_frame_init.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110594 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index f6cfe7c8176..6b49f17206b 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1028,7 +1028,7 @@ compile_file (void) /* Do dbx symbols. */ timevar_push (TV_SYMOUT); -#ifdef DWARF2_UNWIND_INFO +#if defined DWARF2_DEBUGGING_INFO || defined DWARF2_UNWIND_INFO if (dwarf2out_do_frame ()) dwarf2out_frame_finish (); #endif @@ -1868,7 +1868,7 @@ lang_dependent_init (const char *name) predefined types. */ timevar_push (TV_SYMOUT); -#ifdef DWARF2_UNWIND_INFO +#if defined DWARF2_DEBUGGING_INFO || defined DWARF2_UNWIND_INFO if (dwarf2out_do_frame ()) dwarf2out_frame_init (); #endif |