aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorDaniel King <dmking@adacore.com>2023-08-23 14:13:55 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-09-26 13:43:17 +0200
commit198e643b35df4743e3177fc3a77b50325ae44717 (patch)
treeb4ee5592659761e4ed51b83bf9f4842089030bf7 /gcc/tree-ssa-phiopt.cc
parent0787c56c48750156783bd5d3280579e9c68a8aa5 (diff)
downloadgcc-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