|
From: <sv...@va...> - 2012-09-21 08:58:14
|
tom 2012-09-21 09:57:46 +0100 (Fri, 21 Sep 2012)
New Revision: 13008
Log:
When processing DW_OP_plus_uconst make sure we record an add, not
whatever binary operation we happened to see last.
Modified files:
trunk/coregrind/m_debuginfo/readdwarf.c
Modified: trunk/coregrind/m_debuginfo/readdwarf.c (+1 -1)
===================================================================
--- trunk/coregrind/m_debuginfo/readdwarf.c 2012-09-20 02:22:53 +01:00 (rev 13007)
+++ trunk/coregrind/m_debuginfo/readdwarf.c 2012-09-21 09:57:46 +01:00 (rev 13008)
@@ -2822,7 +2822,7 @@
PUSH( ML_(CfiExpr_Const)( dst, uw ) );
POP( ix );
POP( ix2 );
- PUSH( ML_(CfiExpr_Binop)( dst, op, ix2, ix ) );
+ PUSH( ML_(CfiExpr_Binop)( dst, Cop_Add, ix2, ix ) );
if (ddump_frames)
VG_(printf)("DW_OP_plus_uconst: %lu", uw);
break;
|