[Lldb-commits] [PATCH] D90598: [lldb/DWARF] Fix implementation of DW_OP_convert

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 2 05:27:31 PST 2020


labath created this revision.
labath added reviewers: JDevlieghere, aprantl, dblaikie.
Herald added a project: LLDB.
labath requested review of this revision.

According to the standard the DW_OP_convert operand is an offset
relative to the current compilation unit, not to the start of the
debug_info section.

To test this, extend YAMLModuleTester with the ability to hold multiple
DWARF units.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90598

Files:
  lldb/source/Expression/DWARFExpression.cpp
  lldb/unittests/Expression/DWARFExpressionTest.cpp
  lldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
  lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
  lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp
  lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90598.302250.patch
Type: text/x-patch
Size: 10165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201102/f25f7442/attachment-0001.bin>


More information about the lldb-commits mailing list