runtime: in traceback, print panic rather than runtime.gopanic
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 04:16:23 +0000 (04:16 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 04:16:23 +0000 (04:16 +0000)
commitc83c219a6359e2ab655e7b8a7fabe829fd7bc6b9
tree2e3bf46eda5e29d75f44af906c268c0ccb288170
parent55ea0ea07dc837e596f81ce972361ec46d2cb1fe
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.

    Reviewed-on: https://go-review.googlesource.com/46397

From-SVN: r249495
gcc/go/gofrontend/MERGE
libgo/go/runtime/traceback_gccgo.go