compiler, runtime: mark stub methods, ignore them in runtime.Caller.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 3 Feb 2016 06:54:41 +0000 (06:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 3 Feb 2016 06:54:41 +0000 (06:54 +0000)
commit06caa02ccf41c3d32fb9e4cb91ebbd2daeda40ce
treec9fbab9c042a0361d5e78a65eee1132843133999
parente2bd26b72289a01eed0248a80abb5fb3687497d4
compiler, runtime: mark stub methods, ignore them in runtime.Caller.

    This fixes the long-standing bug in which the testing package misreports
    the file/line of an error.

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

From-SVN: r233098
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
libgo/runtime/go-callers.c