re PR go/60406 (recover.go: test13reflect2 test failure)
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 Oct 2014 14:03:13 +0000 (14:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 Oct 2014 14:03:13 +0000 (14:03 +0000)
commit19d4baed5721eb7c95e56c2bec68ae7db6308f9e
treed77929061927995d8e986e036e1f3492deb0e252
parent9d07d890e6542570950e1b0bbbb231fac3249774
re PR go/60406 (recover.go: test13reflect2 test failure)

PR go/60406
runtime: Check callers in can_recover if return address doesn't match.

Also use __builtin_extract_return_address and tighten up the
checks in FFI code.

Fixes PR 60406.

From-SVN: r216003
libgo/go/reflect/makefunc_ffi_c.c
libgo/runtime/go-defer.c
libgo/runtime/go-panic.h
libgo/runtime/go-recover.c
libgo/runtime/panic.c