| 1 |
/* DWARF2 frame unwind data structure for Xtensa. |
| 2 |
Copyright (C) 1997-2025 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
This file is part of GCC. |
| 5 |
|
| 6 |
GCC is free software; you can redistribute it and/or modify it |
| 7 |
under the terms of the GNU General Public License as published by |
| 8 |
the Free Software Foundation; either version 3, or (at your option) |
| 9 |
any later version. |
| 10 |
|
| 11 |
GCC is distributed in the hope that it will be useful, but WITHOUT |
| 12 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 13 |
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 14 |
License for more details. |
| 15 |
|
| 16 |
Under Section 7 of GPL version 3, you are granted additional |
| 17 |
permissions described in the GCC Runtime Library Exception, version |
| 18 |
3.1, as published by the Free Software Foundation. |
| 19 |
|
| 20 |
You should have received a copy of the GNU General Public License and |
| 21 |
a copy of the GCC Runtime Library Exception along with this program; |
| 22 |
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
| 23 |
<http://www.gnu.org/licenses/>. */ |
| 24 |
|
| 25 |
/* Xtensa's variable-size register window save areas can be unwound without |
| 26 |
any unwind info. This is a stripped down version of the standard DWARF |
| 27 |
_Unwind_FrameState. */ |
| 28 |
typedef struct |
| 29 |
{ |
| 30 |
/* The information we care about from the CIE/FDE. */ |
| 31 |
_Unwind_Personality_Fn personality; |
| 32 |
_Unwind_Word retaddr_column; |
| 33 |
unsigned char fde_encoding; |
| 34 |
unsigned char lsda_encoding; |
| 35 |
unsigned char saw_z; |
| 36 |
unsigned char signal_frame; |
| 37 |
void *eh_ptr; |
| 38 |
|
| 39 |
/* Saved registers for a signal frame. */ |
| 40 |
_Unwind_Word *signal_regs; |
| 41 |
_Unwind_Word signal_ra; |
| 42 |
} _Unwind_FrameState; |
| 43 |
|