diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2023-02-01 08:59:41 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.ibm.com> | 2023-02-01 08:59:41 +0100 |
commit | ef5f7b89bbc352255595069eb870d6f30f1f9134 (patch) | |
tree | 4f076743b14fc3cf7dd4d2b0c2906114295dbba1 /gcc/gcc.cc | |
parent | 97258480438db77e52f4b3947fa2c075b09d3fe1 (diff) | |
download | gcc-ef5f7b89bbc352255595069eb870d6f30f1f9134.zip gcc-ef5f7b89bbc352255595069eb870d6f30f1f9134.tar.gz gcc-ef5f7b89bbc352255595069eb870d6f30f1f9134.tar.bz2 |
New reg note REG_CFA_NORESTORE
This patch introduces a new reg note which can be used to tell the CFI
verification in dwarf2cfi that a register is stored without intending
to restore from it.
This is useful when storing e.g. register contents to the stack and
generate CFI for it although the register is not really supposed to be
restored.
gcc/ChangeLog:
* dwarf2cfi.cc (dwarf2out_frame_debug_cfa_restore): Add
EMIT_CFI parameter.
(dwarf2out_frame_debug): Add case for REG_CFA_NORESTORE.
* reg-notes.def (REG_CFA_NOTE): New reg note definition.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions