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

Issue 129240043: code review 129240043: dwarf: differentiate DW_FORM_ref_alt from DW_FORM_strp_alt

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by dhiru
Modified:
10 years, 10 months ago
Reviewers:
CC:
golang-codereviews, iant, rsc
Visibility:
Public.

Description

dwarf: differentiate DW_FORM_ref_alt from DW_FORM_strp_alt "Val" isn't sufficient by itself to differentiate DW_FORM_ref_alt from DW_FORM_strp_alt. See http://www.dwarfstd.org/ShowIssue.php?issue=120604.1 DW_FORM_ref_alt represents offset in alternate .debug_info while DW_FORM_strp_alt represents offset in alternate .debug_str section. So we introduce two different types to handle such scenarios.

Patch Set 1 : diff -r ff34a3e84dc0b99eaf080eb19decc1f0a1f615a0 https://code.google.com/p/go #

Total comments: 2

Patch Set 2 : diff -r 89e04c22c1194db18bedff0e136010d9b5d2275f https://code.google.com/p/go #

Total comments: 2

Patch Set 3 : diff -r 89e04c22c1194db18bedff0e136010d9b5d2275f https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -2 lines) Patch
M src/pkg/debug/dwarf/entry.go View 1 2 2 chunks +25 lines, -2 lines 0 comments Download
A src/pkg/debug/dwarf/testdata/README View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A src/pkg/debug/dwarf/testdata/typedef.gnu View 1 Binary file 0 comments Download

Messages

Total messages: 11
dhiru
Hello golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com, iant@golang.org, rsc@golang.org), I'd like you to review this change to https://code.google.com/p/go
11 years, 2 months ago (2014-08-15 17:59:01 UTC) #1
iant
Any chance of a test case? https://codereview.appspot.com/129240043/diff/40001/src/pkg/debug/dwarf/entry.go File src/pkg/debug/dwarf/entry.go (right): https://codereview.appspot.com/129240043/diff/40001/src/pkg/debug/dwarf/entry.go#newcode135 src/pkg/debug/dwarf/entry.go:135: type Offset_ref_alt int64 ...
11 years, 2 months ago (2014-08-15 18:01:25 UTC) #2
dhiru
Hello golang-codereviews@googlegroups.com, iant@golang.org (cc: golang-codereviews@googlegroups.com, rsc@golang.org), Please take another look.
11 years, 2 months ago (2014-08-15 20:22:09 UTC) #3
iant
https://codereview.appspot.com/129240043/diff/230001/src/pkg/debug/dwarf/DW_FORM_strp_alt-HOWTO.txt File src/pkg/debug/dwarf/DW_FORM_strp_alt-HOWTO.txt (right): https://codereview.appspot.com/129240043/diff/230001/src/pkg/debug/dwarf/DW_FORM_strp_alt-HOWTO.txt#newcode1 src/pkg/debug/dwarf/DW_FORM_strp_alt-HOWTO.txt:1: Separate .debug files Instead of this file, please add ...
11 years, 2 months ago (2014-08-15 20:45:09 UTC) #4
dhiru
Hello golang-codereviews@googlegroups.com, iant@golang.org (cc: golang-codereviews@googlegroups.com, rsc@golang.org), Please take another look.
11 years, 2 months ago (2014-08-15 21:01:03 UTC) #5
iant
Looks pretty good but I just realized that you need to add typedef.gnu to type_test.go. ...
11 years, 2 months ago (2014-08-15 21:12:22 UTC) #6
dhiru
On 2014/08/15 21:12:22, iant wrote: > Looks pretty good but I just realized that you ...
11 years, 2 months ago (2014-08-16 09:25:33 UTC) #7
iant
On 2014/08/16 09:25:33, dhiru wrote: > On 2014/08/15 21:12:22, iant wrote: > > Looks pretty ...
11 years, 2 months ago (2014-08-17 02:10:52 UTC) #8
dhiru
On 2014/08/17 02:10:52, iant wrote: > On 2014/08/16 09:25:33, dhiru wrote: > > Does it ...
11 years, 2 months ago (2014-08-27 13:17:36 UTC) #9
iant
On 2014/08/27 13:17:36, dhiru wrote: > > It would great if this ticket could get ...
11 years, 2 months ago (2014-08-27 19:15:34 UTC) #10
gobot
10 years, 10 months ago (2014-12-19 05:12:07 UTC) #11
R=close To the author of this CL: The Go project has moved to Gerrit Code Review. If this CL should be continued, please see the latest version of https://golang.org/doc/contribute.html for instructions on how to set up Git and the Go project's Gerrit codereview plugin, and then create a new change with your current code. If there has been discussion on this CL, please give a link to it (golang.org/cl/129240043 is best) in the description in your new CL. Thanks very much.
Sign in to reply to this message.

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