]> Cypherpunks repositories - gostls13.git/commit
cmd/pprof: don't use offset if we don't have a start address
authorIan Lance Taylor <iant@golang.org>
Mon, 20 Jun 2016 21:00:58 +0000 (14:00 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 21 Jun 2016 01:44:38 +0000 (01:44 +0000)
commit252eda470a3684a1ead5956f7e703532f4213f11
tree8f38ecd99ce5ca03932ee6af1be99eb241ca0b48
parent09834d1c082a2437b12584bebaa7353377e66f1a
cmd/pprof: don't use offset if we don't have a start address

The test is in the runtime package because there are other tests of
pprof there. At some point we should probably move them all into a pprof
testsuite.

Fixes #16128.

Change-Id: Ieefa40c61cf3edde11fe0cf04da1debfd8b3d7c0
Reviewed-on: https://go-review.googlesource.com/24274
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/pprof/pprof.go
src/runtime/crash_test.go
src/runtime/testdata/testprog/memprof.go [new file with mode: 0644]