commit | 16a48dbc1c69075321b388d235651b59abcb58ce | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Wed Dec 12 11:03:45 2018 -0500 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Dec 12 23:26:28 2018 +0000 |
tree | 64e03df31caa05ab607e537bf71970e1fd4485fa | |
parent | be6dbbdbe29f39d6d2ec0d5574ced398cb6e250a [diff] |
runtime: handle DW_EH_PE_absptr in type table encoding The type table encoding can be DW_EH_PE_absptr, but this case was missing, which was causing abort on ARM32 EABI. Add the missing case. Change-Id: Id68d907b2fb0bc1868cb2c28a4cde867e3971736 Reviewed-on: https://go-review.googlesource.com/c/153857 Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/libgo/runtime/go-unwind.c b/libgo/runtime/go-unwind.c index c44755f..f4bbfb6 100644 --- a/libgo/runtime/go-unwind.c +++ b/libgo/runtime/go-unwind.c
@@ -318,6 +318,8 @@ case DW_EH_PE_sdata8: case DW_EH_PE_udata8: return 8; + case DW_EH_PE_absptr: + return sizeof(uintptr); default: break; }