public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] PR debug/53927: fix value for DW_AT_static_link
@ 2015-07-20  7:52 Pierre-Marie de Rodat
  2015-07-27  9:07 ` [PATCH, PING] " Pierre-Marie de Rodat
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre-Marie de Rodat @ 2015-07-20  7:52 UTC (permalink / raw)
  To: GCC Patches

Hello,

This patch fixes the static link description in DWARF to comply with the 
specification. In order to do so, it appends a field to all FRAME 
objects to hold the frame base address (DW_AT_frame_base) so that the 
nested subrograms can directly reference this field.

See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53927> for the context 
(in particular why we need this additional field in FRAME objects).

Bootstrapped and regtested successfuly on x86_64-linux. Ok for trunk? 
Thank you in advance!

gcc/ChangeLog:

         PR debug/53927
         * 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.

-- 
Pierre-Marie de Rodat

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-11-26 14:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-20  7:52 [PATCH] PR debug/53927: fix value for DW_AT_static_link Pierre-Marie de Rodat
2015-07-27  9:07 ` [PATCH, PING] " Pierre-Marie de Rodat
2015-08-03  8:40   ` [PATCH, PING*2] " Pierre-Marie de Rodat
2015-08-08  9:52     ` [PATCH, PING*3] " Pierre-Marie de Rodat
2015-08-31  7:29       ` [PATCH, PING*4] " Pierre-Marie de Rodat
2015-11-24 16:35         ` Pierre-Marie de Rodat
2015-11-25 17:59           ` Jason Merrill
2015-11-25 21:08             ` Eric Botcazou
2015-11-26 14:23               ` Pierre-Marie de Rodat
2015-11-26 14:56                 ` Eric Botcazou
2015-11-26 15:13                   ` Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).