[PATCH] D53155: [DWARF] Make llvm-dwarfdump display location lists in a .dwp file correctly. Fixes PR38990.

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 11:18:44 PDT 2018


wolfgangp created this revision.
wolfgangp added a reviewer: dblaikie.
Herald added a subscriber: JDevlieghere.

Considers the index when extracting location lists from a .dwp file. The location list sections are added when constructing units.

Majority of the patch by David Blaikie.

@dblaikie:
I've extracted the cleanup portion of your patch with the intent to apply it separately.


https://reviews.llvm.org/D53155

Files:
  include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
  include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
  include/llvm/DebugInfo/DWARF/DWARFUnit.h
  lib/DebugInfo/DWARF/DWARFDie.cpp
  lib/DebugInfo/DWARF/DWARFUnit.cpp
  lib/DebugInfo/DWARF/DWARFVerifier.cpp
  test/DebugInfo/Inputs/loclists-dwp-b.ll
  test/DebugInfo/X86/loclists-dwp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53155.169244.patch
Type: text/x-patch
Size: 20524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181011/890516c1/attachment.bin>


More information about the llvm-commits mailing list