-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
Milestone
Description
On darwin, running the list command in pprof produces an error from the go-supplied objdump. Weblist is similarly affected. What steps will reproduce the problem? If possible, include a link to a program on play.golang.org. 1. Create code to be profiled (eg: http://play.golang.org/p/wW7KHrZQyB) 2. Profile it (go test -bench . -memprofile mem.prof) 3. Load the profile in pprof (go tool pprof --alloc_space alloc.test mem.profile) 4. Try to get a listing of a function (list alloc.BenchmarkAlloc) What is the expected output? A code listing w/ profile data for each line. What do you see instead? objdump: syminit: Undefined error: 0 no filename found in _/Users/cookieo9/alloc.BenchmarkAlloc<3c040> Which operating system are you using? Mac OS X 10.9.2 (darwin/amd64) Which version are you using? (run 'go version' or 'gccgo --version') go version devel +7257b771f12b Mon Mar 03 11:25:57 2014 -0800 darwin/amd64 (tip) Go 1.2.1 (homebrew) works, tip does not. I believe it has something to do with one of the changes to address https://golang.org/issue/6853 and objdump hasn't been brought up-to date.