[Lldb-commits] [PATCH] D19927: Fix DW_AT_specification handling in DWO files

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed May 4 10:27:47 PDT 2016


labath created this revision.
labath added reviewers: clayborg, tberghammer.
labath added subscribers: ovyalov, lldb-commits.

We were trying to get a DWARFDIE from a CompileUnit belonging to a DWO file. However, this
function does not understand the die encoding used by the DWO files. Instead use GetDIE on the
SymbolFileDWARF, which is overriden in DWO to do the right thing.

http://reviews.llvm.org/D19927

Files:
  packages/Python/lldbsuite/test/python_api/symbol-context/two-files/Makefile
  packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
  packages/Python/lldbsuite/test/python_api/symbol-context/two-files/decls.h
  packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file1.cpp
  packages/Python/lldbsuite/test/python_api/symbol-context/two-files/file2.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19927.56168.patch
Type: text/x-patch
Size: 3695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160504/6eaa1dc6/attachment.bin>


More information about the lldb-commits mailing list