[Lldb-commits] [PATCH] D121408: Fixing DWARFExpression handling of ValueType::FileAddress case for DW_OP_deref_size

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 10 13:15:01 PST 2022


shafik created this revision.
shafik added reviewers: aprantl, labath, jingham.
Herald added a project: All.
shafik requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Currently `DW_OP_deref_size` just drops the `ValueType::FileAddress` case and does not attempt to handle it. This adds support for this case and a test that verifies this support.

I did a little refactoring since `DW_OP_deref` and `DW_OP_deref_size` have some overlap in code.


https://reviews.llvm.org/D121408

Files:
  lldb/source/Expression/DWARFExpression.cpp
  lldb/test/Shell/SymbolFile/DWARF/x86/DW_OP_deref_size_static_var.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121408.414476.patch
Type: text/x-patch
Size: 23195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220310/4006b724/attachment-0001.bin>


More information about the lldb-commits mailing list