runtime: in traceback, print panic rather than runtime.gopanic
commitac50db1ddf0a04bc8137642ddebe8511c444243b
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 04:16:23 +0000 (22 04:16 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 04:16:23 +0000 (22 04:16 +0000)
tree2e3bf46eda5e29d75f44af906c268c0ccb288170
parent789c8746707c870f6d3aa4e33f81e362914a398c
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249495 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/traceback_gccgo.go