[Lldb-commits] [PATCH] D12674: Remove an invalid check in DW_OP_piece processing.

Hafiz Abid Qadeer via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 9 02:07:20 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL247124: Remove an invalid check in DW_OP_piece processing. (authored by abidh).

Changed prior to commit:
  http://reviews.llvm.org/D12674?vs=34154&id=34301#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12674

Files:
  lldb/trunk/source/Expression/DWARFExpression.cpp

Index: lldb/trunk/source/Expression/DWARFExpression.cpp
===================================================================
--- lldb/trunk/source/Expression/DWARFExpression.cpp
+++ lldb/trunk/source/Expression/DWARFExpression.cpp
@@ -2770,7 +2770,7 @@
                                 return false;
                             }
                         }
-                        else if (!stack.empty())
+                        else
                         {
                             // If this is the second or later piece there should be a value on the stack
                             if (pieces.GetBuffer().GetByteSize() != op_piece_offset)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12674.34301.patch
Type: text/x-patch
Size: 656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150909/bab757c0/attachment.bin>


More information about the lldb-commits mailing list