]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: restore the call graph dump
authorAnthony Martin <ality@pbrane.org>
Thu, 17 Apr 2014 02:42:02 +0000 (22:42 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 17 Apr 2014 02:42:02 +0000 (22:42 -0400)
commit1e2a61aee19e9f327950a19131b1349ebb5240e6
treeda74dd4092d0114063a38b4aefedfd99a4d8b41c
parent6f2d91a094c78165646ddaa0c139191f6943c7d2
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://golang.org/cl/73990043
src/cmd/ld/lib.c
src/cmd/ld/lib.h
src/cmd/ld/pobj.c