diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2024-04-19 16:48:17 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2024-07-09 10:23:31 -0700 |
commit | 4de9a5ccd666e218e5985d35895406f94db65f3c (patch) | |
tree | 8679be3365c28ed80b9631680ea3e996874ca816 /bfd/elf32-wasm32.c | |
parent | 6dacff8a2f4d2c24648fb96334fb272b67beff7c (diff) | |
download | gdb-4de9a5ccd666e218e5985d35895406f94db65f3c.zip gdb-4de9a5ccd666e218e5985d35895406f94db65f3c.tar.gz gdb-4de9a5ccd666e218e5985d35895406f94db65f3c.tar.bz2 |
include: sframe: update code comments around SFrame FRE stack offsets
This also amends the incorrect comment:
offset3 (intrepreted as FP = CFA + offset2)
If RA tracking is enabled, the offset to recover FP is at the third
index. The SFrame format (V2) has assumption that if FP is saved on
stack, RA must have been saved as well. This is true for the currently
supported arch Aarch64. For AMD64, RA tracking per SFrame FRE is not
necessary.
In future, when extending support for more architectures, this will
likely need to be revisited.
include/
* sframe.h: Make the comments clearer by enumerating what
happens per-ABI.
Diffstat (limited to 'bfd/elf32-wasm32.c')
0 files changed, 0 insertions, 0 deletions