[Bug debug/53927] wrong value for DW_AT_static_link
derodat at adacore dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 25 15:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53927
--- Comment #14 from Pierre-Marie de Rodat <derodat at adacore dot com> ---
Created attachment 34868
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34868&action=edit
patch to generate DWARF-compliant DW_AT_static_link attributes
gcc/
* tree-nested.c (finalize_nesting_tree_1): Append a field to
hold the frame base address.
* dwarf2out.c (gen_subprogram_die): Generate for
DW_AT_static_link a location description that computes the value
of this field.
More information about the Gcc-bugs
mailing list