commit | b73a8f17dfe8d7c7ecc9ccd0317be5abe71c5509 | [log] [tgz] |
---|---|---|
author | Nikhil Benesch <nikhil.benesch@gmail.com> | Sat Oct 10 16:26:54 2020 +0000 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Oct 14 23:59:01 2020 +0000 |
tree | 54ffaeb7cc774e8de822ddf63340577830b91494 | |
parent | cc1f7d613f9b0666bbf8aac3dd208d5adfe88546 [diff] |
libgo: print reason code if throwing unwind exception fails Calls to _Unwind_RaiseException and friends *can* return due to bugs in libgo or memory corruption. When this occurs, print a message to stderr with the reason code before aborting to aid debugging. Change-Id: Iadd7bfca40def25fa7fa9208dca52a56dbbe2208 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/261257 Trust: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>