diff options
author | Richard Henderson <rth@redhat.com> | 2011-06-22 09:26:52 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-06-22 09:26:52 -0700 |
commit | 78a8eb4edcc2352b7af778d2a3563825d8d72b36 (patch) | |
tree | 3a610ed9f5084ab4ef905d107dd27ccc753514d8 /gcc/reg-notes.def | |
parent | 8288cc7387c4490e0331f8288902159149f59889 (diff) | |
download | gcc-78a8eb4edcc2352b7af778d2a3563825d8d72b36.zip gcc-78a8eb4edcc2352b7af778d2a3563825d8d72b36.tar.gz gcc-78a8eb4edcc2352b7af778d2a3563825d8d72b36.tar.bz2 |
reg-notes.def (REG_CFA_WINDOW_SAVE): New.
* reg-notes.def (REG_CFA_WINDOW_SAVE): New.
* dwarf2out.c (dwarf2out_frame_debug): Handle it.
(dwarf2out_frame_debug_cfa_window_save): Rename from
dwarf2out_window_save; make static.
* tree.h (dwarf2out_window_save): Don't declare.
* config/sparc/sparc.c (sparc_dwarf_handle_frame_unspec): Remove.
(TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove.
(emit_save_register_window): Rename from gen_save_register_window;
emit the insn and add REG_CFA_* notes.
(sparc_expand_prologue): Update to match.
* config/sparc/sparc.md (save_register_window_1): Simplify from
save_register_window<P:mode>.
From-SVN: r175297
Diffstat (limited to 'gcc/reg-notes.def')
-rw-r--r-- | gcc/reg-notes.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def index 329cd67..9924355 100644 --- a/gcc/reg-notes.def +++ b/gcc/reg-notes.def @@ -160,6 +160,11 @@ REG_NOTE (CFA_RESTORE) to the argument, if it is a MEM, it is ignored. */ REG_NOTE (CFA_SET_VDRAP) +/* Attached to insn that are RTX_FRAME_RELATED_P, indicating a window + save operation, i.e. will result in a DW_CFA_GNU_window_save. + The argument is ignored. */ +REG_NOTE (CFA_WINDOW_SAVE) + /* Indicates that REG holds the exception context for the function. This context is shared by inline functions, so the code to acquire the real exception context is delayed until after inlining. */ |