public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re:emit DW_AT_entry_pc along with DW_AT_ranges
@ 2007-07-03  0:56 Geoffrey Keating
  2007-07-05  5:46 ` emit " Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Geoffrey Keating @ 2007-07-03  0:56 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-patches List

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

Hi Alexandre,

> 	* dwarf2out.c (add_high_low_attributes): Emit DW_AT_entry_pc
> 	along with DW_AT_range.

Mainline has changed since you wrote this patch, it now says:

>       if (is_inlined_entry_point (stmt))
>         {
>           ASM_GENERATE_INTERNAL_LABEL (label, BLOCK_BEGIN_LABEL,
>                                        BLOCK_NUMBER (stmt));
>           add_AT_lbl_id (die, DW_AT_entry_pc, label);
>         }

I think mainline is as good as you're likely to get, because there's  
no reason the entry point for a block should be at the start.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2462 bytes --]

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

end of thread, other threads:[~2007-07-05  5:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03  0:56 Re:emit DW_AT_entry_pc along with DW_AT_ranges Geoffrey Keating
2007-07-05  5:46 ` emit " Alexandre Oliva

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).