]> git.ipfire.org Git - thirdparty/gcc.git/commit
Write CodeView information about optimized stack variables
authorMark Harmstone <mark@harmstone.com>
Sun, 11 Aug 2024 01:23:26 +0000 (02:23 +0100)
committerMark Harmstone <mark@harmstone.com>
Sun, 25 Aug 2024 16:35:20 +0000 (17:35 +0100)
commitbe23c8befcf37cabb3cef500d22d1af592139959
tree79bf4226b86c7ca05f89526783f4eec6d8cbb7a3
parentee020b4a6cb796c3363bed562fb43d7b36603108
Write CodeView information about optimized stack variables

Outputs S_DEFRANGE_REGISTER_REL symbols for optimized local variables that are
on the stack, consisting of the stack register, the offset, and the code range
for which this applies.

gcc/
* dwarf2codeview.cc (enum cv_sym_type): Add S_DEFRANGE_REGISTER_REL.
(write_defrange_register_rel): New function.
(write_optimized_local_variable_loc): Add fbloc param, and call
write_defrange_register_rel.
(write_optimized_local_variable): Add fbloc param.
(write_optimized_function_vars): Add fbloc param.
gcc/dwarf2codeview.cc