Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6907)

Issue 5553069: [google-main] Add DW_AT_GNU_pubtypes and DW_AT_GNU_pubnames to comdat type units.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by saugustine
Modified:
12 years, 3 months ago
Reviewers:
Cary
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Description

commit de9e01e3b50f75bcd47da9d32ab0691c65094df5 Author: Sterling Augustine <saugustine@google.com> Date: Thu Jan 19 14:31:14 2012 -0800 Add DW_AT_GNU_pubtypes and Add DW_AT_GNU_pubnames to comdat type dies. M gcc/dwarf2out.c Tested: Via make check-c and make check-c++ ChangeLog: <Split this into multiple sections if you're touching directories covered by multiple ChangeLog files.> 2012-01-19 Sterling Augustine <saugustine@google.com> * gcc/dwarf2out.c (break_out_comdat_types): Call add_AT_lineptr with DW_AT_GNU_pubnames and DW_AT_GNU_pubtypes.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M gcc/dwarf2out.c View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 4
saugustine
commit de9e01e3b50f75bcd47da9d32ab0691c65094df5 Author: Sterling Augustine <saugustine@google.com> Date: Thu Jan 19 14:31:14 2012 -0800 Add DW_AT_GNU_pubtypes ...
12 years, 3 months ago (2012-01-19 22:45:01 UTC) #1
Cary
LGTM -cary On Jan 19, 2012 2:45 PM, "Sterling Augustine" <saugustine@google.com> wrote: > commit de9e01e3b50f75bcd47da9d32ab0691c65094df5 ...
12 years, 3 months ago (2012-01-19 23:33:20 UTC) #2
saugustine
Committed on both google/main and google/gcc-4_6. Sterling On Thu, Jan 19, 2012 at 3:33 PM, ...
12 years, 3 months ago (2012-01-20 18:18:03 UTC) #3
Cary
12 years, 3 months ago (2012-01-20 18:48:04 UTC) #4
For the record...

My LGTM bounced from gcc-patches because I sent it from my phone,
which has no way to send plain text email. grrr.

-cary

On Thu, Jan 19, 2012 at 3:33 PM, Cary Coutant <ccoutant@google.com> wrote:
> LGTM
>
> -cary
>
> On Jan 19, 2012 2:45 PM, "Sterling Augustine" <saugustine@google.com> wrote:
>>
>> commit de9e01e3b50f75bcd47da9d32ab0691c65094df5
>> Author: Sterling Augustine <saugustine@google.com>
>> Date:   Thu Jan 19 14:31:14 2012 -0800
>>
>>    Add DW_AT_GNU_pubtypes and Add DW_AT_GNU_pubnames to comdat type dies.
>>
>> M       gcc/dwarf2out.c
>>
>> Tested:
>>        Via make check-c and make check-c++. No new issues found.
>>
>> ChangeLog:
>>
>> 2012-01-19   Sterling Augustine  <saugustine@google.com>
>>
>>        * gcc/dwarf2out.c (break_out_comdat_types): Call add_AT_lineptr
>> with
>>        DW_AT_GNU_pubnames and DW_AT_GNU_pubtypes.
>>
>> diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
>> index 57f18ad..3e34354 100644
>> --- a/gcc/dwarf2out.c
>> +++ b/gcc/dwarf2out.c
>> @@ -7287,6 +7287,15 @@ break_out_comdat_types (dw_die_ref die)
>>         type_node->root_die = unit;
>>         type_node->next = comdat_type_list;
>>         comdat_type_list = type_node;
>> +        if (targetm.want_debug_pub_sections)
>> +        {
>> +          /* FIXME: Should use add_AT_pubnamesptr.  This works because
>> most
>> +             targets don't care what the base section is.  */
>> +          add_AT_lineptr (unit, DW_AT_GNU_pubnames,
>> +                          debug_pubnames_section_label);
>> +          add_AT_lineptr (unit, DW_AT_GNU_pubtypes,
>> +                          debug_pubtypes_section_label);
>> +        }
>>
>>         /* Generate the type signature.  */
>>         generate_type_signature (c, type_node);
>>
>> --
>> This patch is available for review at
>> http://codereview.appspot.com/5553069
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b