Skip to content

Commit

Permalink
runtime: handle DW_EH_PE_absptr in type table encoding
Browse files Browse the repository at this point in the history
    
    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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267070 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ian committed Dec 12, 2018
1 parent cb23c4b commit 11de78e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/go/gofrontend/MERGE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
be6dbbdbe29f39d6d2ec0d5574ced398cb6e250a
16a48dbc1c69075321b388d235651b59abcb58ce

The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
2 changes: 2 additions & 0 deletions libgo/runtime/go-unwind.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 11de78e

Please sign in to comment.