1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:21:22 -06:00
go/src/libmach
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
..
5.c build: fixes for mingw-w64 2011-07-25 13:39:01 -04:00
5db.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
5obj.c ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
6.c rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
6obj.c rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
8.c rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
8db.c runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
8obj.c fix build after Mercurial move. 2009-10-22 10:59:27 -07:00
access.c rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
darwin.c runtime/cgo: check for errors from pthread_create 2011-06-28 12:04:50 -04:00
elf.h rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
executable.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
fakeobj.c build: fix unused parameters 2011-08-25 16:08:13 -04:00
freebsd.c libmach: fix freebsd compiler errors 2011-04-13 16:26:25 -04:00
linux.c build: fix unused parameters 2011-08-25 16:08:13 -04:00
machdata.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
macho.h rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
Makefile build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
map.c build: fix unused parameters 2011-08-25 16:08:13 -04:00
netbsd.c os: OS-dependent bits to support NetBSD. 2011-12-15 12:19:19 -05:00
obj.c libmach: use the standardized format for designated initializers. 2011-06-06 06:56:09 +00:00
obj.h rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
openbsd.c libmach: stubs for openbsd 2011-07-29 13:48:00 -04:00
plan9.c libmach: add stubs for Plan 9 2012-01-31 18:13:17 -08:00
setmach.c support for 5.out files 2009-10-19 22:33:56 -07:00
swap.c rename libmach_amd64 libmach 2009-08-14 10:46:04 -07:00
sym.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
windows.c libmach: fix the windows build. 2011-04-13 14:57:47 -07:00