diff options
| author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-03-06 21:13:09 +0000 |
|---|---|---|
| committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-03-06 21:13:09 +0000 |
| commit | 9e9f1db866eac0df049266a54ea937ffd40ad297 (patch) | |
| tree | ebf76f98b3f7406cb7547218d5d83bf0913f6428 | |
| parent | 23c85ed52b4b910e4918f7aa82044d4886c37fe7 (diff) | |
| download | bcm5719-llvm-9e9f1db866eac0df049266a54ea937ffd40ad297.tar.gz bcm5719-llvm-9e9f1db866eac0df049266a54ea937ffd40ad297.zip | |
Adding support for DW_OP_stack_value in DWARFExpression::Evaluate
llvm-svn: 176578
| -rw-r--r-- | lldb/source/Expression/DWARFExpression.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/source/Expression/DWARFExpression.cpp b/lldb/source/Expression/DWARFExpression.cpp index 27671b20463..a6950d6a5dc 100644 --- a/lldb/source/Expression/DWARFExpression.cpp +++ b/lldb/source/Expression/DWARFExpression.cpp @@ -2612,6 +2612,18 @@ DWARFExpression::Evaluate error_ptr->SetErrorString ("Unimplemented opcode DW_OP_call4."); return false; + //---------------------------------------------------------------------- + // OPCODE: DW_OP_stack_value + // OPERANDS: None + // DESCRIPTION: Specifies that the object does not exist in memory but + // rather is a constant value. The value from the top of the stack is + // the value to be used. This is the actual object value and not the + // location. + //---------------------------------------------------------------------- + case DW_OP_stack_value: + stack.back().SetValueType(Value::eValueTypeScalar); + break; + #if 0 //---------------------------------------------------------------------- // OPCODE: DW_OP_call_ref |

