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

Issue 7891044: code review 7891044: cmd/ld: generate relocated DWARF in hostobj mode (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by rsc
Modified:
11 years, 1 month ago
Reviewers:
CC:
golang-dev, minux1
Visibility:
Public.

Description

cmd/ld: generate relocated DWARF in hostobj mode While we're here, downgrade DWARF to version 2. We're not using any version 3 features, and OS X gdb only supports version 2. Fixes issue 3436.

Patch Set 1 #

Patch Set 2 : diff -r ec901f2b8171 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r ec901f2b8171 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 07e7d82f760e https://go.googlecode.com/hg #

Patch Set 5 : diff -r ec901f2b8171 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 5c43f676b8ec https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 7 : diff -r 31e21a7acb35 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -54 lines) Patch
M src/cmd/ld/dwarf.c View 1 2 3 4 5 6 33 chunks +153 lines, -39 lines 0 comments Download
M src/cmd/ld/dwarf_defs.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/ld/lib.c View 1 2 3 4 5 6 4 chunks +16 lines, -4 lines 0 comments Download
M src/cmd/ld/macho.c View 1 2 3 4 5 6 10 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 9
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 1 month ago (2013-03-18 19:38:11 UTC) #1
minux1
On Tue, Mar 19, 2013 at 3:38 AM, <rsc@golang.org> wrote: > While we're here, downgrade ...
11 years, 1 month ago (2013-03-18 19:57:04 UTC) #2
minux1
Fixes issue 3436.
11 years, 1 month ago (2013-03-18 19:57:36 UTC) #3
rsc
On Mon, Mar 18, 2013 at 3:56 PM, minux <minux.ma@gmail.com> wrote: > On Tue, Mar ...
11 years, 1 month ago (2013-03-18 19:59:55 UTC) #4
minux1
On Tue, Mar 19, 2013 at 3:59 AM, Russ Cox <rsc@golang.org> wrote: > On Mon, ...
11 years, 1 month ago (2013-03-18 20:15:49 UTC) #5
rsc
The gdb version is not relevant anymore; what matters is the Apple version. I tested ...
11 years, 1 month ago (2013-03-18 20:30:17 UTC) #6
rsc
Ping (nothing changed, just looking for a review)
11 years, 1 month ago (2013-03-19 19:37:40 UTC) #7
minux1
lgtm. https://codereview.appspot.com/7891044/diff/14001/src/cmd/ld/dwarf.c File src/cmd/ld/dwarf.c (right): https://codereview.appspot.com/7891044/diff/14001/src/cmd/ld/dwarf.c#newcode2432 src/cmd/ld/dwarf.c:2432: //msect->nreloc = inforelocsize / 8; ?
11 years, 1 month ago (2013-03-19 19:59:11 UTC) #8
rsc
11 years, 1 month ago (2013-03-19 20:32:06 UTC) #9
*** Submitted as https://code.google.com/p/go/source/detail?r=95c3a7bdfb03 ***

cmd/ld: generate relocated DWARF in hostobj mode

While we're here, downgrade DWARF to version 2.
We're not using any version 3 features, and OS X gdb
only supports version 2.

Fixes issue 3436.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7891044
Sign in to reply to this message.

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