diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-22 16:26:52 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-22 16:26:52 +0000 |
commit | e0a0aad24291b7fa727ca7515b5522a2c74cb853 (patch) | |
tree | 3a610ed9f5084ab4ef905d107dd27ccc753514d8 /gcc/reg-notes.def | |
parent | 94a8f2c3c2755ab5fbfa6ebc6f2cffc2eac2c837 (diff) | |
download | gcc-e0a0aad24291b7fa727ca7515b5522a2c74cb853.tar.gz |
* 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>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175297 138bc75d-0d04-0410-961f-82ee72b054a4
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 329cd6799d5..9924355f772 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. */ |