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

Issue 6459099: [Google 4.7] Generate pubnames compatible with gdb-index version 7.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by saugustine
Modified:
11 years, 10 months ago
Reviewers:
Cary
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7/gcc/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -38 lines) Patch
M common.opt View 1 chunk +4 lines, -0 lines 0 comments Download
M doc/invoke.texi View 1 chunk +6 lines, -0 lines 0 comments Download
M dwarf2out.c View 9 chunks +124 lines, -38 lines 0 comments Download

Messages

Total messages: 3
saugustine
The enclosed patch adds a new option -ggnu-pubnames to solve the problem that current pubnames ...
11 years, 10 months ago (2012-08-16 23:52:49 UTC) #1
Cary
> +/* Output a single entry in the pubnames table. */ > + > +static ...
11 years, 10 months ago (2012-08-17 00:32:52 UTC) #2
saugustine
11 years, 10 months ago (2012-08-20 18:23:32 UTC) #3
On Thu, Aug 16, 2012 at 5:32 PM, Cary Coutant <ccoutant@google.com> wrote:
>> +/* Output a single entry in the pubnames table.  */
>> +
>> +static void
>> +output_pubname (dw_offset die_offset, pubname_entry *entry)
>
> For this function, I'd suggest a comment to the effect that the logic
> is lifted from GDB.
>
>> @@ -2424,6 +2424,10 @@ gpubnames
>>  Common RejectNegative Var(debug_generate_pub_sections, 1)
>>  Generate DWARF pubnames and pubtypes sections.
>>
>> +ggnu-pubnames
>> +Common RejectNegative Var(debug_generate_pub_sections, 2)
>> +Generate DWARF pubnames and pubtypes sections.
>
> Instead of "RejectNegative", I think these three options should now
> use "Negative(...)" flags (each one naming the next, circularly). Not
> sure about that, though. (See the treatment of -gdwarf-, -gstabs,
> etc.)
>
> OK for google/gcc-4_7 branch.

Committed with your recommended changes, as attached.

Sterling
Sign in to reply to this message.

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