diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-08-08 02:38:54 +0100 |
---|---|---|
committer | Mark Harmstone <mark@harmstone.com> | 2024-08-16 21:53:47 +0100 |
commit | 1e7dabbbe271bee0a9610dfdb0d62647c04a6194 (patch) | |
tree | 3c5881c28eaba9f661a73e792e4f6c041f4b0e30 /libcc1/callbacks.hh | |
parent | af61fc99f7a98efd6446692cc61d9fa43f6173a4 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
Outputs CodeView S_REGREL32 symbols for unoptimized local variables that
are stored on the stack. This includes a change to dwarf2out.cc to make
it easier to extract the function frame base without having to worry
about the function prologue or epilogue.
gcc/
* dwarf2codeview.cc (enum cv_sym_type): Add S_REGREL32.
(write_fbreg_variable): New function.
(write_unoptimized_local_variable): Add fblock parameter, and handle
DW_OP_fbreg locations.
(write_unoptimized_function_vars): Add fbloc parameter.
(write_function): Extract frame base from DWARF.
* dwarf2out.cc (convert_cfa_to_fb_loc_list): Output simplified frame
base information for CodeView.
Diffstat (limited to 'libcc1/callbacks.hh')
0 files changed, 0 insertions, 0 deletions