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

Issue 73990043: code review 73990043: cmd/ld: restore the call graph dump (Closed)

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

Description

cmd/ld: restore the call graph dump Before the switch to liblink, the linkers accepted the -c flag to print the call graph. This change restores the functionality. This came in handy when I was trying to audit the use of SSE instructions inside the Plan 9 note handler.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 08dcdcdb757b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M src/cmd/ld/lib.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/ld/lib.c View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M src/cmd/ld/pobj.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
ality
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 2 months ago (2014-03-11 10:37:14 UTC) #1
bradfitz
R=rsc On Tue, Mar 11, 2014 at 3:37 AM, <ality@pbrane.org> wrote: > Reviewers: golang-codereviews, > ...
11 years, 2 months ago (2014-03-11 17:32:23 UTC) #2
rsc
I'd prefer to keep this in the linker. You can implement it by: (1) wait ...
11 years, 2 months ago (2014-03-12 12:09:46 UTC) #3
ality
Russ Cox <rsc@golang.org> once said: > I'd prefer to keep this in the linker. You ...
11 years, 2 months ago (2014-03-12 12:15:44 UTC) #4
ality
Hello golang-codereviews@googlegroups.com, bradfitz@golang.org, rsc@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
11 years, 1 month ago (2014-03-14 21:59:38 UTC) #5
rsc
LGTM Much nicer, thanks.
11 years, 1 month ago (2014-03-24 18:58:41 UTC) #6
rsc
11 years ago (2014-04-17 02:42:06 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=5afa3eb2db7c ***

cmd/ld: restore the call graph dump

Before the switch to liblink, the linkers accepted the -c flag
to print the call graph. This change restores the functionality.

This came in handy when I was trying to audit the use of SSE
instructions inside the Plan 9 note handler.

LGTM=rsc
R=golang-codereviews, bradfitz, rsc
CC=golang-codereviews
https://codereview.appspot.com/73990043

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