[Lldb-commits] [PATCH] D10843: Fix handling of DW_CFA_restore_state

Tamas Berghammer tberghammer at google.com
Fri Jul 3 02:30:31 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL241331: Fix handling of DW_CFA_restore_state (authored by tberghammer).

Changed prior to commit:
  http://reviews.llvm.org/D10843?vs=28797&id=28998#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D10843

Files:
  lldb/trunk/source/Symbol/DWARFCallFrameInfo.cpp

Index: lldb/trunk/source/Symbol/DWARFCallFrameInfo.cpp
===================================================================
--- lldb/trunk/source/Symbol/DWARFCallFrameInfo.cpp
+++ lldb/trunk/source/Symbol/DWARFCallFrameInfo.cpp
@@ -743,8 +743,10 @@
                     // useful for compilers that move epilogue code into the body of a
                     // function.)
                     {
+                        lldb::addr_t offset = row->GetOffset ();
                         row = stack.back ();
                         stack.pop_back ();
+                        row->SetOffset (offset);
                     }
                     break;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10843.28998.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150703/dc515dd7/attachment.bin>


More information about the lldb-commits mailing list