commit | f70ef19badafb85b1caa72b51b0082deb48d433a | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Jun 21 17:45:45 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Jun 22 04:15:18 2017 +0000 |
tree | 41c3d61420e4a638696fd70d5c9633ad198a3191 | |
parent | 075e67bdbcb730669c1af1aa2d53bb77cbb2a3c5 [diff] |
runtime: in traceback, print panic rather than runtime.gopanic The gc toolchain does the same thing, in gentraceback in runtime/traceback.go. The test for this is TestPanicTraceback in runtime/crash_test.go. We don't yet run that test, but we will in a future change. Change-Id: I72c6eef5cd8190b5ec804e6970fd7bc24f2fd3a4 Reviewed-on: https://go-review.googlesource.com/46397 Reviewed-by: Than McIntosh <thanm@google.com>