diff options
author | Richard Henderson <rth@redhat.com> | 2008-09-24 15:38:03 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2008-09-24 15:38:03 -0700 |
commit | b5e9dce1fe05d9f94399c64c25539f7473cf66e1 (patch) | |
tree | 19d40d9f8e6f85dbcdbe69c502e2c66a52e02e22 /gcc/unwind-dw2.c | |
parent | cf8e1455a453ac6f1d12d384845a94a0ccab21f1 (diff) | |
download | gcc-b5e9dce1fe05d9f94399c64c25539f7473cf66e1.tar.gz |
dwarf2.h (DW_OP_GNU_encoded_addr): New.
* dwarf2.h (DW_OP_GNU_encoded_addr): New.
* unwind-dw2.c (execute_stack_op): Handle it.
From-SVN: r140648
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r-- | gcc/unwind-dw2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index 1bea1b30700..f55f57707de 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -494,6 +494,14 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end, op_ptr += sizeof (void *); break; + case DW_OP_GNU_encoded_addr: + { + _Unwind_Ptr presult; + op_ptr = read_encoded_value (context, *op_ptr, op_ptr+1, &presult); + result = presult; + } + break; + case DW_OP_const1u: result = read_1u (op_ptr); op_ptr += 1; |