diff options
author | Daniel King <dmking@adacore.com> | 2023-08-23 14:13:55 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-09-26 13:43:17 +0200 |
commit | 198e643b35df4743e3177fc3a77b50325ae44717 (patch) | |
tree | b4ee5592659761e4ed51b83bf9f4842089030bf7 /gcc/tree-ssa-phiopt.cc | |
parent | 0787c56c48750156783bd5d3280579e9c68a8aa5 (diff) | |
download | gcc-198e643b35df4743e3177fc3a77b50325ae44717.zip gcc-198e643b35df4743e3177fc3a77b50325ae44717.tar.gz gcc-198e643b35df4743e3177fc3a77b50325ae44717.tar.bz2 |
ada: Update personality function for CHERI purecap
This makes two changes to the GNAT personality function to reflect
differences for pure capability CHERI/Morello. The first is to use
__builtin_code_address_from_pointer to drop the LSB from Morello
code pointers when searching through call-site tables (without this
we would never find the right landing pad when unwinding).
The second change is to reflect the change in the exception table
format for pure-capability Morello where the landing pad is a capability
indirected by an offset in the call-site table.
gcc/ada/
* raise-gcc.c (get_ip_from_context): Adapt for CHERI purecap
(get_call_site_action_for): Adapt for CHERI purecap
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions