gcc/libgo/go
Ian Lance Taylor 053a1f2320 runtime: use the call instruction's PC for panic-in-runtime detection
If a panic happens in the runtime we turn that into a fatal error.
    We use the caller's PC to determine if the panic call is inside
    the runtime. getcallerpc returns the PC immediately after the
    call instruction. If the call is the very last instruction of a
    function, it may not find this PC belong to a runtime function,
    giving false result. We need to back off the PC by 1 to the call
    instruction.
    
    The gc runtime doesn't do this because the gc compiler always
    emit an instruction following a panic call, presumably an UNDEF
    instruction which turns into an architecture-specific illegal
    instruction. Our compiler doesn't do this.
    
    Reviewed-on: https://go-review.googlesource.com/c/159437

From-SVN: r268358
2019-01-29 00:49:23 +00:00
..
archive libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
bufio libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
builtin libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
bytes libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
cmd libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
compress libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
container libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
context libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
crypto libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
database/sql libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
debug libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
encoding libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
errors
expvar libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
flag libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
fmt libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
golang.org/x/tools golang.org/x/tools/go/analysis: pass "gccgo" to types.SizesFor 2019-01-22 15:43:40 +00:00
hash libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
html libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
image libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
index/suffixarray
internal re PR go/88927 (Bootstrap failure on arm in libgo starting with r268084) 2019-01-22 00:06:44 +00:00
io libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
log libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
math libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
mime libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
net libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
os libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
path libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
plugin libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
reflect libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
regexp libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
runtime runtime: use the call instruction's PC for panic-in-runtime detection 2019-01-29 00:49:23 +00:00
sort
strconv libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
strings libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
sync libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
syscall libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
testdata libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
testing libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
text libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
time libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
unicode libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00