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)


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)
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to