DWARFExpression: Don't resolve load address in DW_OP_plus
authorTamas Berghammer <tberghammer@google.com>
Tue, 1 Mar 2016 15:01:05 +0000 (15:01 +0000)
committerTamas Berghammer <tberghammer@google.com>
Tue, 1 Mar 2016 15:01:05 +0000 (15:01 +0000)
commitf46c5259bdeb620a2b9b5144db9b5c52a5be4b66
tree29f0a1b0f23b3a2f920276a68842bc4cc156e242
parent47a115cd417b24809749b1cfcea5c5db60a7c0bd
DWARFExpression: Don't resolve load address in DW_OP_plus

If we have a TargetLoadAddress on the top of the DWARF stack then a
DW_OP_plus or a DW_OP_plus_ucons sholudn't dereference (resolve) it
and then add the value to the dereferenced value but it should offset
the load address by the specified constant.

llvm-svn: 262339
lldb/source/Expression/DWARFExpression.cpp