|
From: <sv...@va...> - 2008-05-14 12:55:29
|
Author: sewardj
Date: 2008-05-14 13:55:14 +0100 (Wed, 14 May 2008)
New Revision: 8085
Log:
Merge r7347 (fixes #155091,#156960: Warning [...] unhandled DW_OP_
opcode 0x23)
Modified:
branches/VALGRIND_3_3_BRANCH/coregrind/m_debuginfo/readdwarf.c
Modified: branches/VALGRIND_3_3_BRANCH/coregrind/m_debuginfo/readdwarf.c
===================================================================
--- branches/VALGRIND_3_3_BRANCH/coregrind/m_debuginfo/readdwarf.c 2008-05-14 12:49:51 UTC (rev 8084)
+++ branches/VALGRIND_3_3_BRANCH/coregrind/m_debuginfo/readdwarf.c 2008-05-14 12:55:14 UTC (rev 8085)
@@ -2638,6 +2638,7 @@
Int ix, ix2, reg;
UChar opcode;
Word sw;
+ UWord uw;
CfiOp op;
HChar* opname;
@@ -2712,6 +2713,16 @@
VG_(printf)("DW_OP_breg%d: %ld", reg, sw);
break;
+ case DW_OP_plus_uconst:
+ uw = read_leb128U( &expr );
+ PUSH( ML_(CfiExpr_Const)( dst, uw ) );
+ POP( ix );
+ POP( ix2 );
+ PUSH( ML_(CfiExpr_Binop)( dst, op, ix2, ix ) );
+ if (ddump_frames)
+ VG_(printf)("DW_OP_plus_uconst: %lu", uw);
+ break;
+
case DW_OP_const4s:
/* push: 32-bit signed immediate */
sw = read_le_s_encoded_literal( expr, 4 );
|