| commit | 1fe8486103e482bcd6cd74fdbf79a7d2ab9b111f | [log] [tgz] |
|---|---|---|
| author | Yichao Yu <yyc1992@gmail.com> | Wed May 18 15:00:00 2022 +0100 |
| committer | Luis Machado <luis.machado@arm.com> | Wed May 18 15:42:23 2022 +0100 |
| tree | 7242486ba0048cfea539d7428c362844f6e5be3e | |
| parent | 4bb8b8e9381bce9734454470ebd1572534e7514e [diff] |
[AArch64] Return the regnum for PC (32) on aarch64 This will allow the unwind info to explicitly specify a different value for the return address from the link register. Such usage, although uncommon, is valid and useful for signal frames. It is also supported by aadwarf64 from ARM (Note 9 in [1]). Ref https://sourceware.org/pipermail/gdb/2022-May/050091.html [1] https://github.com/ARM-software/abi-aa/blob/2022Q1/aadwarf64/aadwarf64.rst#dwarf-register-names Signed-off-by: Luis Machado <luis.machado@arm.com>