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

Issue 4894051: code review 4894051: libmach: support reading symbols from Windows .exe for nm

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by czaplinski
Modified:
12 years, 8 months ago
Reviewers:
brainman, rsc
CC:
rsc, brainman, golang-dev, vcc
Visibility:
Public.

Description

libmach: support reading symbols from Windows .exe for nm Fixes Issue 979.

Patch Set 1 #

Patch Set 2 : diff -r 9e0ce8b022f6 http://go.googlecode.com/hg/ #

Total comments: 43

Patch Set 3 : code review 4894051: libmach: support reading symbols from Windows .exe for nm #

Patch Set 4 : diff -r 5e1502ab5e217d35165e391d83d8b013f3f7e5f7 http://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 5 : diff -r dab583e3969f89bcf0f6ba03e5c971f2eb0c4a19 http://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -8 lines) Patch
M include/mach.h View 1 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/ld/pe.c View 1 2 3 4 4 chunks +24 lines, -8 lines 0 comments Download
M src/libmach/executable.c View 1 2 3 4 3 chunks +168 lines, -0 lines 0 comments Download

Messages

Total messages: 17
czaplinski
http://codereview.appspot.com/4894051/diff/2001/src/cmd/ld/pe.c File src/cmd/ld/pe.c (right): http://codereview.appspot.com/4894051/diff/2001/src/cmd/ld/pe.c#newcode460 src/cmd/ld/pe.c:460: size = nextsymoff + 4; I believe this is ...
12 years, 8 months ago (2011-08-18 01:02:03 UTC) #1
rsc
That was pretty easy! Does 6nm work now? http://codereview.appspot.com/4894051/diff/2001/src/cmd/ld/pe.c File src/cmd/ld/pe.c (right): http://codereview.appspot.com/4894051/diff/2001/src/cmd/ld/pe.c#newcode35 src/cmd/ld/pe.c:35: static ...
12 years, 8 months ago (2011-08-18 17:38:30 UTC) #2
czaplinski
Hello rsc@golang.org (cc: alex.brainman@gmail.com, golang-dev@googlegroups.com, vcc.163@gmail.com), I'd like you to review this change to http://go.googlecode.com/hg/
12 years, 8 months ago (2011-08-19 00:30:36 UTC) #3
brainman
It is a good start. Thank you. Please add "Fixes Issue 979" to CL description. ...
12 years, 8 months ago (2011-08-19 00:31:31 UTC) #4
czaplinski
> That was pretty easy! Does 6nm work now? Sure easier than debugging Windows callbacks ...
12 years, 8 months ago (2011-08-19 00:34:10 UTC) #5
brainman
Please add "Fixes Issue 979" to CL description. Other then that, it LGTM. Thank you. ...
12 years, 8 months ago (2011-08-19 01:14:00 UTC) #6
czaplinski
Just some comments, patchset will come later. http://codereview.appspot.com/4894051/diff/1002/src/cmd/ld/pe.c File src/cmd/ld/pe.c (right): http://codereview.appspot.com/4894051/diff/1002/src/cmd/ld/pe.c#newcode472 src/cmd/ld/pe.c:472: wputl(1); // ...
12 years, 8 months ago (2011-08-19 07:35:42 UTC) #7
czaplinski
PTAL.
12 years, 8 months ago (2011-08-19 12:31:31 UTC) #8
brainman
I don't have computer to build and check but it LGTM. Thank you for doing ...
12 years, 8 months ago (2011-08-20 03:35:48 UTC) #9
czaplinski
Happy to help. Wish I had more time for having fun with these kinds of ...
12 years, 8 months ago (2011-08-21 21:07:28 UTC) #10
brainman
I tried to use this changed 6nm with gopprof to view memory profile of a ...
12 years, 8 months ago (2011-08-23 04:08:43 UTC) #11
rsc
In the long term the right thing to do is to write them all out ...
12 years, 8 months ago (2011-08-23 04:57:55 UTC) #12
brainman
On Tue, Aug 23, 2011 at 2:57 PM, Russ Cox <rsc@golang.org> wrote: > In the ...
12 years, 8 months ago (2011-08-23 06:37:12 UTC) #13
rsc
On Tue, Aug 23, 2011 at 02:37, <alex.brainman@gmail.com> wrote: > On Tue, Aug 23, 2011 ...
12 years, 8 months ago (2011-08-26 20:02:35 UTC) #14
brainman
> > Are you saying that the dwarf and ".symtab" sections get > loaded into ...
12 years, 8 months ago (2011-08-29 02:36:40 UTC) #15
rsc
LGTM
12 years, 8 months ago (2011-08-29 13:30:14 UTC) #16
rsc
12 years, 8 months ago (2011-08-29 18:25:47 UTC) #17
*** Submitted as http://code.google.com/p/go/source/detail?r=3e2c2acc9e86 ***

libmach: support reading symbols from Windows .exe for nm

Fixes Issue 979.

R=rsc, alex.brainman
CC=golang-dev, vcc.163
http://codereview.appspot.com/4894051

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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