diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-05-29 02:52:07 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-06-07 02:09:23 -0300 |
commit | 3472b5749df53b91bcb00a3e82cc85ef1f3b17ce (patch) | |
tree | 9c4d412918beaf08da85d4923d362b42d421948e /gcc/fortran | |
parent | b24f2954dbc13d85e9fb62e05a88e9df21e4d4f4 (diff) | |
download | gcc-3472b5749df53b91bcb00a3e82cc85ef1f3b17ce.zip gcc-3472b5749df53b91bcb00a3e82cc85ef1f3b17ce.tar.gz gcc-3472b5749df53b91bcb00a3e82cc85ef1f3b17ce.tar.bz2 |
enable adjustment of return_pc debug attrs
This patch introduces infrastructure for targets to add an offset to
the label issued after the call_insn to set the call_return_pc
attribute. This will be used on rs6000, that sometimes issues another
instruction after the call proper as part of a call insn.
for gcc/ChangeLog
* target.def (call_offset_return_label): New hook.
* doc/tm.texi.in (TARGET_CALL_OFFSET_RETURN_LABEL): Add
placeholder.
* doc/tm.texi: Rebuild.
* dwarf2out.cc (struct call_arg_loc_node): Record call_insn
instead of call_arg_loc_note.
(add_AT_lbl_id): Add optional offset argument.
(gen_call_site_die): Compute and pass on a return pc offset.
(gen_subprogram_die): Move call_arg_loc_note computation...
(dwarf2out_var_location): ... from here. Set call_insn.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions