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.

Reply via email to