aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2cfi.cc
diff options
context:
space:
mode:
authorMatthieu Longo <matthieu.longo@arm.com>2024-09-23 15:31:18 +0100
committerTamar Christina <tamar.christina@arm.com>2024-09-23 15:31:18 +0100
commit4068096fbf5aef65883a7492f4940cea85b39f40 (patch)
tree57e2100aeab5789eb696f0f9630fa9465875e1eb /gcc/dwarf2cfi.cc
parentbdf41d627c13bc5f0dc676991f4513daa9d9ae36 (diff)
downloadgcc-4068096fbf5aef65883a7492f4940cea85b39f40.zip
gcc-4068096fbf5aef65883a7492f4940cea85b39f40.tar.gz
gcc-4068096fbf5aef65883a7492f4940cea85b39f40.tar.bz2
Rename REG_CFA_TOGGLE_RA_MANGLE to REG_CFA_NEGATE_RA_STATE
The current name REG_CFA_TOGGLE_RA_MANGLE is not representative of what it really is, i.e. a register to represent several states, not only a binary one. Same for dwarf2out_frame_debug_cfa_toggle_ra_mangle. gcc/ChangeLog: * combine-stack-adj.cc (no_unhandled_cfa): Rename. * config/aarch64/aarch64.cc (aarch64_expand_prologue): Rename. (aarch64_expand_epilogue): Rename. * dwarf2cfi.cc (dwarf2out_frame_debug_cfa_toggle_ra_mangle): Rename this... (dwarf2out_frame_debug_cfa_negate_ra_state): To this. (dwarf2out_frame_debug): Rename. * reg-notes.def (REG_CFA_NOTE): Rename REG_CFA_TOGGLE_RA_MANGLE.
Diffstat (limited to 'gcc/dwarf2cfi.cc')
-rw-r--r--gcc/dwarf2cfi.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dwarf2cfi.cc b/gcc/dwarf2cfi.cc
index 1231b5b..4ad9acb 100644
--- a/gcc/dwarf2cfi.cc
+++ b/gcc/dwarf2cfi.cc
@@ -1547,13 +1547,13 @@ dwarf2out_frame_debug_cfa_window_save (void)
cur_row->window_save = true;
}
-/* A subroutine of dwarf2out_frame_debug, process a REG_CFA_TOGGLE_RA_MANGLE.
+/* A subroutine of dwarf2out_frame_debug, process a REG_CFA_NEGATE_RA_STATE.
Note: DW_CFA_GNU_window_save dwarf opcode is reused for toggling RA mangle
state, this is a target specific operation on AArch64 and can only be used
on other targets if they don't use the window save operation otherwise. */
static void
-dwarf2out_frame_debug_cfa_toggle_ra_mangle (void)
+dwarf2out_frame_debug_cfa_negate_ra_state (void)
{
dw_cfi_ref cfi = new_cfi ();
@@ -2341,8 +2341,8 @@ dwarf2out_frame_debug (rtx_insn *insn)
handled_one = true;
break;
- case REG_CFA_TOGGLE_RA_MANGLE:
- dwarf2out_frame_debug_cfa_toggle_ra_mangle ();
+ case REG_CFA_NEGATE_RA_STATE:
+ dwarf2out_frame_debug_cfa_negate_ra_state ();
handled_one = true;
break;