From e7db55f636486e101b2d812dda6f9768e1a6b419 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 12 Dec 2018 23:26:58 +0000 Subject: 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. Reviewed-on: https://go-review.googlesource.com/c/153857 From-SVN: r267070 --- libgo/runtime/go-unwind.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libgo') 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 @@ value_size (uint8_t encoding) case DW_EH_PE_sdata8: case DW_EH_PE_udata8: return 8; + case DW_EH_PE_absptr: + return sizeof(uintptr); default: break; } -- cgit v1.1