go/src/cmd
Russ Cox 6e2ae0a12c runtime/pprof: support OS X CPU profiling
Work around profiling kernel bug with signal masks.
Still broken on 64-bit Snow Leopard kernel,
but I think we can ignore that one and let people
upgrade to Lion.

Add new trivial tools addr2line and objdump to take
the place of the GNU tools of the same name, since
those are not installed on OS X.

Adapt pprof to invoke 'go tool addr2line' and
'go tool objdump' if the system tools do not exist.

Clean up disassembly of base register on amd64.

Fixes #2008.

R=golang-dev, bradfitz, mikioh.mikioh, r, iant
CC=golang-dev
https://golang.org/cl/5697066
2012-02-28 16:18:24 -05:00
..
5a 5a: fix same arm bug 2012-02-22 17:36:25 -05:00
5c 5c, 5g, 5l: fix arm bug 2012-02-22 16:29:14 -05:00
5g 5c, 5g, 5l: fix arm bug 2012-02-22 16:29:14 -05:00
5l 5c, 5g, 5l: fix arm bug 2012-02-22 16:29:14 -05:00
6a 6a/6l: add IMUL3Q and SHLDL 2012-02-23 10:51:04 -05:00
6c ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
6g cmd/gc: don't believe that variables mentioned 256 times are unused. 2012-02-21 16:38:01 +11:00
6l 6a/6l: add IMUL3Q and SHLDL 2012-02-23 10:51:04 -05:00
8a cmd/*: add -d option to bison. 2012-02-21 10:50:58 -05:00
8c ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
8g cmd/gc: don't believe that variables mentioned 256 times are unused. 2012-02-21 16:38:01 +11:00
8l ld: get symbol table letters right 2012-02-22 01:30:04 -05:00
addr2line runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
api cmd/api: record return type of functions for variable typecheck. 2012-02-21 07:37:25 +01:00
cc cmd/cc: grow some global arrays 2012-02-23 22:45:55 -05:00
cgo cgo: fix definition of opaque types 2012-02-22 17:10:25 -02:00
cov all: rewrite references to old tool names 2012-02-20 13:42:37 +11:00
dist runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
fix encoding/json: drop MarshalForHTML; gofix calls to Marshal. 2012-02-28 11:41:16 +11:00
gc gc: reject import paths containing special characters 2012-02-24 14:48:36 -05:00
go cmd/go: mention examples in docs for -test.run 2012-02-28 08:55:25 +11:00
godoc tutorial: delete 2012-02-28 13:35:58 +11:00
gofmt cmd, pkg/go/*: fix "go vet" warnings for go/ast and go/printer 2012-02-16 22:43:41 +11:00
ld ld: fix alignment of rodata section 2012-02-23 23:01:36 -05:00
nm build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
objdump runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pack build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
prof cmd/dist: exclude cov and prof from releases 2012-02-14 00:18:30 -05:00
vet cmd/vet: don't give error for Printf("%+5.2e", x) 2012-02-25 01:16:17 +08:00
yacc cmd/yacc/units.y: update comment, give better error messages when $GOROOT not set 2012-02-26 01:36:26 +08:00